/* ================================================
   RESET & BASE STYLES
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-purple: #8B5CF6;
    --primary-pink: #EC4899;
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --bg-light: #FFF5F8;
    --bg-white: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ================================================
   HEADER WITH LOGO
   ================================================ */
.main-header {
    background: var(--bg-white);
    padding: var(--spacing-lg) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    width: 48px;
    height: 48px;
    display: block;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* ================================================
   LANGUAGE SELECTOR
   ================================================ */
.language-selector {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-xs);
    background: var(--bg-white);
    padding: var(--spacing-xs);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.lang-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--bg-light);
    color: var(--primary-purple);
}

.lang-btn.active {
    background: var(--gradient-purple);
    color: white;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.btn-white {
    background: white;
    color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: white;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.social-proof {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.avatars {
    display: flex;
    margin-left: -8px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -8px;
    background: var(--gradient-purple);
}

.social-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    border-radius: 32px;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

/* ================================================
   FEATURES SECTION
   ================================================ */
.features {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.section-header {
    margin-bottom: var(--spacing-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* Carousel Container */
.features-carousel-container {
    position: relative;
    overflow: hidden;
}

.features-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.features-carousel {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s ease-in-out;
}

.features-carousel .feature-card {
    flex: 0 0 auto;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    display: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: var(--primary-purple);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:hover svg path {
    stroke: white;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    display: block;
}

.carousel-arrow.prev {
    left: -24px;
}

.carousel-arrow.next {
    right: -24px;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: white;
    transform: translateY(-50%);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-lg);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-purple);
    width: 24px;
    border-radius: 5px;
}

/* Desktop: Show 3 cards, scroll to 4th */
@media (min-width: 769px) {
    .features-carousel .feature-card {
        width: calc((100% - var(--spacing-lg) * 2) / 3);
    }
    
    .carousel-nav {
        display: block;
    }
}

/* Mobile: Show 1 card at a time */
@media (max-width: 768px) {
    .features-carousel {
        gap: var(--spacing-md);
    }
    
    .features-carousel .feature-card {
        width: 100%;
    }
    
    .carousel-dots {
        display: flex;
    }
}

.feature-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    padding: 4px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.feature-icon.purple {
    background: var(--primary-purple);
}

.feature-icon.pink {
    background: var(--primary-pink);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================
   UI PREVIEW SECTION
   ================================================ */
.ui-preview {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.ui-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.ui-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.ui-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ui-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
}

.ui-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm);
    color: var(--text-primary);
}

.ui-card-description {
    color: var(--text-secondary);
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    line-height: 1.6;
}

/* ================================================
   BENEFITS SECTION
   ================================================ */
.benefits {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.benefit-card {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================================
   FINAL CTA SECTION
   ================================================ */
.final-cta {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-purple);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.cta-headline {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    padding: var(--spacing-2xl) 0;
    background: white;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #E5E7EB;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-headline {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .main-header {
        padding: var(--spacing-md) 0;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .language-selector {
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .hero {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features-grid,
    .ui-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .ui-grid,
    .benefits-grid {
        display: grid;
    }
    
    .cta-headline {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.125rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-headline {
        font-size: 1.75rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}
