:root {
    --background-color: #121212;
    --card-color: rgba(255, 255, 255, 0.05);
    --primary-green: #4ade80;
    --text-color: #E5E7EB;
    --text-muted: #9CA3AF;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
}

#vanta-background {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    padding: 1.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-color);
}

.cta-button {
    background-color: var(--primary-green);
    color: var(--background-color);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none; /* Hide by default */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above other elements */
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Animate hamburger to X */
.mobile-menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav.is-active {
    transform: translateY(0);
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.mobile-nav a.cta-button {
    color: var(--background-color);
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text .highlight {
    color: var(--primary-green);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.highlight-subtle {
    color: var(--text-color);
    font-weight: 700;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.app-button {
    background-color: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.app-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.store-badge img {
    height: 50px;
    transition: transform 0.3s ease;
}

.store-badge:hover img {
    transform: scale(1.05);
}

.hero-images {
    position: relative;
    height: 498px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrapper {
    position: absolute;
    height: 100%;
    width: 230px;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-out;
    opacity: 0; /* Başlangıçta görünmez */
    will-change: transform, opacity; /* Animasyon performansını iyileştirir */
}

.pos-1 {
    background-image: url('images/02.jpg');
    /* Başlangıç pozisyonu */
    transform: translateY(20px) scale(0.98) rotate(-5deg);
    z-index: 1;
}
.pos-2 {
    background-image: url('images/01.jpg');
    /* Başlangıç pozisyonu */
    transform: translateY(20px) scale(1);
    z-index: 2;
}
.pos-3 {
    background-image: url('images/03.PNG');
    /* Başlangıç pozisyonu */
    transform: translateY(20px) scale(0.98) rotate(5deg);
    z-index: 1;
}

/* JavaScript ile .anim-start sınıfı eklendiğinde hedeflenen son pozisyonlar */
.hero-images.anim-start .pos-1 {
    opacity: 1;
    transform: translateX(-35%) rotate(-12deg);
}
.hero-images.anim-start .pos-2 {
    opacity: 1;
    transform: scale(1.05);
}
.hero-images.anim-start .pos-3 {
    opacity: 1;
    transform: translateX(35%) rotate(12deg);
}


/* Features Section */
.features-section {
    padding: 6rem 0;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.feature-card {
    background-color: var(--card-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    text-align: center;
}
.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.testimonial-card {
    background-color: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.testimonial-card.wide {
    grid-column: span 2;
}
.testimonial-quote-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}
.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.author-name {
    display: block;
    font-weight: 700;
}
.author-title {
    color: var(--primary-green);
    font-size: 0.875rem;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 0;
    text-align: center;
}
.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.final-cta-section > p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.final-cta-section .app-buttons {
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-nav-links {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
}
.footer-nav-links a:hover {
    color: var(--text-color);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--primary-green);
}
.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.hero-text, .features-grid, .testimonials-grid, .final-cta-section .app-buttons, footer {
    position: relative;
    z-index: 1;
}

.features-section h2, .testimonials-section h2, .final-cta-section h2, .final-cta-section > p {
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--card-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

.testimonial-card {
    background-color: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.testimonial-card.wide {
    grid-column: span 2;
}
.testimonial-quote-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}
.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.author-name {
    display: block;
    font-weight: 700;
}
.author-title {
    color: var(--primary-green);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .app-buttons {
        justify-content: center;
    }
    .hero-images {
        margin-top: 3rem;
        height: 400px;
    }
    .hero-img-wrapper {
        width: 184px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card.wide {
        grid-column: span 1;
    }
    .premium-features-card ul {
        grid-template-columns: 1fr;
        padding-left: 2rem; /* Indent for better readability */
    }
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    header nav .nav-links, header nav .cta-button {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card.wide {
        grid-column: span 1;
    }
    .premium-features-card ul {
        grid-template-columns: 1fr;
        padding-left: 2rem; /* Indent for better readability */
    }
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
} 