/* ===================================
   Mi Bienestar Landing Page - Styles
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --calm-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --nature-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --secondary: #764ba2;
    --accent: #f093fb;
    
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-white: #ffffff;
    
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-dark: #1a202c;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 60px rgba(102, 126, 234, 0.3);
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Typography */
    --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-gradient);
    color: var(--text-white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(118, 75, 162, 0.05) 50%,
        rgba(240, 147, 251, 0.03) 100%);
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
}

.hero-waves svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame.small {
    width: 220px;
    height: 450px;
    border-radius: 32px;
    padding: 10px;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-screenshots {
    width: 100%;
    height: 100%;
    position: relative;
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.app-screenshot.active {
    opacity: 1;
}

.app-preview {
    padding: 60px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.greeting {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.user-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.feature-card-mini {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    color: white;
}

.feature-icon-mini {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.feature-card-mini span {
    font-size: 0.75rem;
    font-weight: 500;
}

.breathing-circle {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: breathe 8s infinite ease-in-out;
}

.app-motivation {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
}

.app-motivation p {
    color: white;
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
}

.phone-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    z-index: 1;
}

/* La animación vive aquí (inner), así el JS puede mover el outer sin romperla */
.floating-inner {
    display: inline-block;
    animation: floatElement 6s infinite ease-in-out;
}


.float-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.float-2 {
    top: 30%;
    right: -5%;
    animation-delay: 1s;
}

.float-3 {
    bottom: 30%;
    left: -15%;
    animation-delay: 2s;
}

.float-4 {
    bottom: 10%;
    right: -10%;
    animation-delay: 3s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.75rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    position: relative;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary);
}

/* Breathing Animation in Feature Card */
.breathing-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.breath-animation {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breath-circle {
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: breathe 8s infinite ease-in-out;
}

.breath-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 8s infinite ease-out;
}

.breath-ring.delay-1 {
    animation-delay: 2.6s;
}

.breath-ring.delay-2 {
    animation-delay: 5.3s;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-gradient {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.05;
    transition: var(--transition-slow);
}

.breathing-gradient {
    background: var(--primary-gradient);
}

.diary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pomodoro-gradient {
    background: var(--secondary-gradient);
}

.audio-gradient {
    background: var(--calm-gradient);
}

.feature-card:hover .feature-gradient {
    opacity: 0.1;
    transform: scale(1.5);
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.benefits-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 0 0 0 200px;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.benefits-phone .phone-frame {
    width: 240px;
    height: 480px;
}

.benefits-phone .phone-screen {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.benefits-phone .phone-screen {
    background: #f5f5f5;
}

.benefits-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.breathing-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.demo-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    animation: breathe 8s infinite ease-in-out;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.demo-progress {
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.demo-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: white;
    border-radius: 2px;
    animation: progress 8s infinite ease-in-out;
}

.benefits-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(102, 126, 234, 0.2);
}

.deco-circle.c1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite;
}

.deco-circle.c2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 40s linear infinite reverse;
}

.deco-circle.c3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.benefit-content h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-normal);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 24px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.step-connector {
    width: 80px;
    height: 40px;
    margin-top: 100px;
    opacity: 0.5;
}

.step-connector svg {
    width: 100%;
    height: 100%;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.03) 50%, transparent 100%);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: -30px;
}

.testimonial-content p {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    letter-spacing: 4px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary);
}

/* ===================================
   Download Section
   =================================== */
.download {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.download-gradient {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
}

.download-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.download-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.download-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    color: white;
    transition: var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.store-button:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.store-button svg {
    width: 32px;
    height: 32px;
}

.store-text {
    text-align: left;
}

.store-text span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-text strong {
    font-size: 1.125rem;
}

.download-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    opacity: 0.8;
}

.download-note svg {
    width: 16px;
    height: 16px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    color: var(--bg-dark);
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 80px 24px 32px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--primary);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    opacity: 0.7;
    transition: var(--transition-fast);
    font-size: 0.9375rem;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

.footer-bottom a {
    color: var(--primary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .benefits-visual {
        order: 0;
    }
    
    .benefits-list {
        order: 1;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .phone-frame {
        width: 200px;
        height: 420px;
        border-radius: 32px;
    }
    
    .floating-element {
        display: none;
    }
    
    .step {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
