:root {
    --whatsapp-green: #25D366;
    --whatsapp-light-green: #DCF8C6;
    --whatsapp-dark: #075E54;
    --whatsapp-teal: #128C7E;
    --accent-purple: #9C27B0;
    --accent-pink: #FF4081;
    --accent-blue: #42A5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-gradient {
    background: linear-gradient(120deg, var(--whatsapp-green), var(--whatsapp-teal));
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(18,140,126,0.8), rgba(37,211,102,0.8));
    z-index: -1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

/* WhatsApp Specific Elements */
.whatsapp-heart {
    position: absolute;
    font-size: 30px;
    color: #ff4b4b;
    animation: float-rotate 10s ease-in-out infinite;
    z-index: -5;
    opacity: 0.4;
}

.whatsapp-typing {
    position: absolute;
    background: var(--whatsapp-light-green);
    border-radius: 18px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    z-index: -5;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    opacity: 0.6;
}

.typing-indicator {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 20px;
}

.typing-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #777;
    margin-right: 4px;
}

.typing-dot:nth-child(1) {
    animation: typing-animation 1.5s infinite 0s;
}

.typing-dot:nth-child(2) {
    animation: typing-animation 1.5s infinite 0.3s;
}

.typing-dot:nth-child(3) {
    animation: typing-animation 1.5s infinite 0.6s;
    margin-right: 0;
}

.whatsapp-checkmark {
    position: absolute;
    padding: 10px;
    border-radius: 12px;
    background: white;
    color: var(--whatsapp-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    z-index: -5;
    opacity: 0.5;
}

.checkmark-blue {
    color: #4fc3f7;
}

.whatsapp-emoji {
    position: absolute;
    font-size: 28px;
    z-index: -5;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

@keyframes typing-animation {
    0% {
        transform: translateY(0px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0px);
        opacity: 0.6;
    }
}

@keyframes float-rotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 26px;
}

.feature-green {
    background: rgba(37,211,102,0.1);
    color: var(--whatsapp-green);
}

.feature-purple {
    background: rgba(156,39,176,0.1);
    color: var(--accent-purple);
}

.feature-blue {
    background: rgba(66,165,245,0.1);
    color: var(--accent-blue);
}

.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title p {
    color: #6c757d;
    font-size: 18px;
}

.step-item {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 600;
}

.stat-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.stat-header {
    padding: 20px;
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 24px;
}

.stat-body {
    padding: 30px;
    text-align: center;
}

.bg-red-gradient {
    background: linear-gradient(120deg, #ff4b2b, #ff416c);
}

.bg-blue-gradient {
    background: linear-gradient(120deg, #4e54c8, #8f94fb);
}

.bg-purple-gradient {
    background: linear-gradient(120deg, #8e2de2, #4a00e0);
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 20px 0;
}

.security-feature {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.security-icon {
    width: 60px;
    height: 60px;
    background: rgba(37,211,102,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--whatsapp-green);
    font-size: 24px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(37,211,102,0.1);
    color: var(--whatsapp-teal);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(37,211,102,0.25);
}

.accordion-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.1);
}

.example-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.example-card img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.example-card:hover img {
    transform: scale(1.05);
}

footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
    color: #6c757d;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--whatsapp-teal);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.social-icons a:hover {
    background: var(--whatsapp-green);
    color: white;
    transform: translateY(-3px);
}

.phone-mockup {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.phone-frame {
    max-width: 100%;
    height: auto;
    border-radius: 40px;
    border: 10px solid #222;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* MacBook ekranlarında telefonu küçültüyoruz */
@media (min-width: 992px) and (max-width: 1399px) {
    .phone-mockup {
        max-width: 250px;
    }
}

/* Extra large ekranlarda biraz daha büyük olabilir */
@media (min-width: 1400px) {
    .phone-mockup {
        max-width: 300px;
    }
}

.message-bubble {
    background: var(--whatsapp-light-green);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
    display: inline-block;
    max-width: 80%;
}

.message-bubble::after {
    content: '';
    position: absolute;
    top: 10px;
    right: -10px;
    border-width: 10px 0 0 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--whatsapp-light-green);
}

.navbar {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.navbar-scrolled {
    background: rgba(7, 94, 84, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    color: white;
    font-size: 24px;
    position: relative;
    z-index: 100;
}

/* Scrolled navbar metnini beyaz tutuyoruz */
.navbar-scrolled .navbar-brand,
.navbar-scrolled .nav-link {
    color: white;
}

.nav-link {
    font-weight: 500;
    color: white;
}

.nav-link:hover {
    color: rgba(255,255,255,0.8);
}

.navbar-toggler {
    border: none;
    padding: 0;
    position: relative;
    z-index: 100;
}

/* Language Dropdown Styles */
.navbar .dropdown-menu {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 10px;
}

.navbar .dropdown-item {
    padding: 0.5rem 1.5rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: #f8f9fa;
    color: var(--whatsapp-green);
}

.navbar .dropdown-toggle {
    color: white;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.3rem;
}

.navbar-collapse {
    transition: all 0.3s ease;
    transform-origin: top;
}

.navbar-collapse.show {
    background: rgba(7, 94, 84, 0.95);
    padding: 15px;
    margin: 0 -15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: auto;
    transform: scaleY(1);
    z-index: 99;
}

.navbar-collapse.collapsing {
    background: rgba(7, 94, 84, 0.95);
    padding: 15px;
    margin: 0 -15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: auto !important;
    transform: scaleY(0);
    z-index: 99;
}

.navbar-collapse.show .navbar-nav, 
.navbar-collapse.collapsing .navbar-nav {
    padding: 10px 20px;
    text-align: center;
}

.navbar-collapse.show .nav-item, 
.navbar-collapse.collapsing .nav-item {
    margin: 10px 0;
}

@media (max-width: 991px) {
    .hero-content {
        padding-top: 90px;
    }
    
    .navbar {
        background: rgba(7, 94, 84, 0.95);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
}

.cta-section {
    background: linear-gradient(45deg, var(--whatsapp-dark), var(--whatsapp-teal));
    color: white;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Sağdaki boşluk problemi için container düzeltmesi */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1320px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Responsive styles */
@media (max-width: 991px) {
    .section {
        padding: 70px 0;
    }
    .hero {
        min-height: 80vh;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }
    .section-title {
        margin-bottom: 40px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .security-feature {
        flex-direction: column;
        text-align: center;
    }
    .security-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
