/* CSS Variables */
:root {
    /* Dark Theme Colors - Figma Design */
    --bg-primary: #090129;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    
    /* Vibrant Gradients - More Colors */
    --gradient-primary: linear-gradient(135deg, #007BFF 0%, #0056CC 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-orange: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-yellow: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-cyan: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-magenta: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gradient-lime: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    
    /* Accent Colors */
    --accent-orange: #fa709a;
    --accent-yellow: #fee140;
    --accent-cyan: #00f2fe;
    --accent-magenta: #ff9a9e;
    --accent-blue: #0000CD;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #888888;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
    --shadow-text: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.cow-logo {
    height: 49px;
    width: 61px;
}

.finnvest-logo {
    height: 40px;
    width: 130px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    flex-wrap: nowrap;
}

.nav-menu .nav-link {
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu .cta-nav-button {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.5555555555555556em;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    word-wrap: normal;
}

.nav-link:hover {
    color: #FFFFFF;
}

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

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

.cta-nav-button {
    background: #0000CD;
    color: #FFFFFF;
    padding: 7px 18px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4444444444444444em;
    text-align: center;
    box-shadow: 0px 6px 4px 0px rgba(0, 0, 0, 0.36);
    transition: all 0.3s ease;
    text-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    word-wrap: normal;
}

.cta-nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.4);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    width: 100vw;
    min-height: 120vh;
    position: relative;
    background: linear-gradient(135deg, #06255f 0%, #041A4F 100%);
    margin: 0;
    padding: 120px 0 60px;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/back.png');
    background-size: cover;
    background-position: center 100px;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

/* Hero Content Container */
.hero-content {
    max-width: 2400px;
    margin: 0 auto;
    padding: 0 2rem 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex: 1;
    min-height: 70vh;
    padding-top: 2rem;
    position: relative;
    z-index: 10;
    transform: translateY(-100px);
}

/* Hero Left Side - Text Content */
.hero-left {
    flex: 1;
    max-width: 2000px;
    z-index: 10;
    padding-right: 1rem;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-title-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 80px;
    margin-bottom: 1rem;
    display: block;
    object-fit: contain;
}

.hero-subtitle-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: contain;
}

/* Hero Right Side - Phone Image */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding-left: 1rem;
    margin-left: 40px;
    height: 100%;
}

.hero-phone-image {
    width: 400px;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Hero Bottom Section */
.hero-bottom {
    max-width: 2400px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

/* Hide mobile-only bottom section on desktop */
.hero-mobile-bottom {
    display: none;
}

.hero-icons {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.feature-icons {
    width: 350px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

.hero-cta-below {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-align: left;
    font-weight: 500;
    text-shadow: var(--shadow-text);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.hero-cta {
    font-size: 1.2rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 500;
    text-shadow: var(--shadow-text);
}

/* Learn Section (Second Section) */
.learn-section {
    position: relative;
    background: radial-gradient(60% 60% at 50% 40%, #0A3A7F 0%, #06255f 60%, #041A4F 100%);
    padding: 120px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.learn-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #EFFFFE;
}

.learn-mascot {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin-bottom: 28px;
}

.learn-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 28px 0;
    text-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.learn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.learn-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    line-height: 1.4;
    color: #EFFFFE;
}

.learn-item i { font-size: 18px; }
.learn-item-quizzes i { color: #F9C74F; }
.learn-item-simulator i { color: #00FF66; }
.learn-item-minutes i { color: #EFFFFE; }

.learn-button {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 28px;
    background: #0000C2;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.learn-button:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,0.3); }
.learn-button:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(0,0,0,0.2); }

@media (max-width: 768px) {
    .learn-section { padding: 80px 16px; }
    .learn-title {
        font-size: 34px;
        line-height: 1.15;
    }
    .learn-item { font-size: 16px; }
    .learn-mascot { width: 64px; height: 64px; margin-bottom: 20px; }
    .learn-button { width: 100%; max-width: 280px; text-align: center; }
}

/* Levels Section - matches learn-section background for seamless scroll */
.levels-section {
    background: radial-gradient(60% 60% at 50% 40%, #0A3A7F 0%, #06255f 60%, #041A4F 100%);
    padding: 120px 20px 140px;
}

.levels-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #EFFFFE;
    text-align: center;
}

.levels-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    margin: 0 0 10px 0;
}

.levels-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.level-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: left;
    min-height: 260px;
    padding-bottom: 14px;
}

.level-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    padding: 20px 22px;
    margin: 0;
}

.level-card ul {
    list-style: disc;
    margin: 6px 26px 26px 46px;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

/* App-like pill buttons inside level cards */
.level-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px 0 16px;
}

.pill-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 12px rgba(0,0,0,0.25);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.pill-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.12); }
.pill-btn:active { transform: translateY(0); background: rgba(255,255,255,0.1); }
.pill-emoji { font-size: 18px; width: 20px; text-align: center; }

.level-beginner { background: linear-gradient(180deg, #0E6B53 0%, #0C5C47 50%); }
.level-beginner h3 { background: rgba(255,255,255,0.06); }
.level-beginner h3::before { content: '🌱 '; }

.level-intermediate { background: linear-gradient(180deg, #0E4D9C 0%, #0C4183 50%); }
.level-intermediate h3 { background: rgba(255,255,255,0.06); }
.level-intermediate h3::before { content: '🧭 '; }

.level-advanced { background: linear-gradient(180deg, #3B2AA9 0%, #2E2286 50%); }
.level-advanced h3 { background: rgba(255,255,255,0.06); }
.level-advanced h3::before { content: '📈 '; }

.level-expert { background: linear-gradient(180deg, #FF8C00 0%, #FF6B35 50%); }
.level-expert h3 { background: rgba(255,255,255,0.06); }
.level-expert h3::before { content: '🚀 '; }

@media (max-width: 1024px) {
    .levels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .levels-section { padding: 80px 16px 100px; }
    .levels-title { font-size: 32px; }
    .levels-subtitle { font-size: 16px; }
    .levels-grid { grid-template-columns: 1fr; gap: 16px; }
    .level-card { min-height: 220px; }
    .level-card h3 { font-size: 22px; }
    .level-card ul { font-size: 16px; margin: 4px 18px 18px 34px; }
    .level-actions { padding: 10px 12px 0 12px; }
    .pill-btn { font-size: 14px; padding: 10px 14px; }
}

/* Experts Section */
.experts-section {
    background: #06255f;
    padding: 120px 20px;
    color: #EFFFFE;
}

.experts-section .section-title {
    color: #EFFFFE !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.experts-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.expert-item {
    flex: 1;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expert-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive for experts section */
@media (max-width: 768px) {
    .experts-section {
        padding: 80px 16px;
    }
    
    .experts-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .expert-item {
        max-width: 280px;
    }
    
    .expert-image {
        max-width: 220px;
    }
}

/* Why FinnVest Section - Visual Comparison */
.why-finnvest-section {
    background: #06255f;
    padding: 120px 20px;
    color: #EFFFFE;
}

.why-finnvest-section .section-title {
    color: #EFFFFE !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.comparison-side {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    width: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expensive-courses {
    border-color: #CC4444;
    background: rgba(204, 68, 68, 0.1);
}

.investing-blind {
    border-color: #CC4444;
    background: rgba(204, 68, 68, 0.1);
}

.comparison-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.comparison-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 20px 0;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.comparison-card li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.comparison-card li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #CC4444;
    font-weight: bold;
}

.investing-blind li::before {
    color: #CC4444;
}

.price-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #CC4444;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(204, 68, 68, 0.3);
}

.price-tag.loss {
    background: #CC4444;
    box-shadow: 0 4px 12px rgba(204, 68, 68, 0.3);
}

.comparison-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.finnvest-highlight {
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid #007BFF;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}


.finnvest-highlight h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin: 0 0 25px 0;
    color: #EFFFFE;
}

.finnvest-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.feature-pill {
    background: rgba(0, 123, 255, 0.2);
    color: #EFFFFE;
    padding: 10px 16px;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid #007BFF;
}

.price-tag.affordable {
    background: #007BFF;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

@media (max-width: 1024px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .comparison-center {
        order: -1;
    }
}

@media (max-width: 768px) {
    .why-finnvest-section { padding: 80px 16px; }
    .comparison-card { padding: 20px 15px; }
    .finnvest-highlight { padding: 30px 20px; }
    .finnvest-highlight h3 { font-size: 24px; }
}

/* Practice Section - Risk-Free Trading */
.practice-section {
    background: #06255f;
    padding: 120px 20px;
    color: #EFFFFE;
    position: relative;
    overflow: hidden;
}

.practice-section .section-title {
    color: #EFFFFE !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.practice-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 60px 0;
    align-items: center;
    position: relative;
    z-index: 2;
}

.practice-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.practice-right {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.app-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.app-image {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.app-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.3);
}

.practice-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: left;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.practice-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

.practice-icon {
    font-size: 48px;
    margin: 0;
    display: block;
    flex-shrink: 0;
}

.practice-card-content {
    flex: 1;
}

.practice-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 8px 0;
    color: #EFFFFE;
}

.practice-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.4;
}

.practice-cta {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.practice-button {
    display: inline-block;
    background: #0000CD;
    color: #FFFFFF;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0px 6px 4px 0px rgba(0, 0, 0, 0.36);
    border: none;
}

.practice-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    .practice-visual {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .practice-left {
        order: 2;
    }
    
    .practice-right {
        order: 1;
    }
}

@media (max-width: 768px) {
    .practice-section { padding: 80px 16px; }
    .practice-card { 
        padding: 20px 15px; 
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .practice-icon { font-size: 40px; }
    .practice-card h3 { font-size: 18px; }
    .practice-card p { font-size: 13px; }
    .practice-button { padding: 15px 30px; font-size: 16px; }
    .practice-right { min-height: 200px; }
    .app-image-container { padding: 10px; }
    .app-image { max-height: 400px; width: 100%; }
}

@media (max-width: 480px) {
    .app-image { max-height: 450px; width: 100%; }
    .app-image-container { padding: 5px; }
}



/* Background Elements */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    background: rgba(17, 13, 255, 0.5);
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 1069px;
    height: 1110px;
    top: -161px;
    left: 165px;
    animation-delay: 0s;
}

.orb-2 {
    width: 343px;
    height: 295px;
    top: 356px;
    left: 388px;
    animation-delay: 2s;
}

.orb-3 {
    width: 567px;
    height: 411px;
    top: -47px;
    left: 742px;
    animation-delay: 4s;
}

.orb-4 {
    width: 343px;
    height: 295px;
    top: 114px;
    left: 415px;
    animation-delay: 1s;
}

.orb-5 {
    width: 343px;
    height: 295px;
    top: 347px;
    left: 638px;
    animation-delay: 3s;
}

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

/* Lanterns Background - DISABLED */
.lanterns-bg {
    display: none;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    border-radius: 7px;
    opacity: 0.4000000059604645;
    animation: float-icon 8s ease-in-out infinite;
}

.purple-icon {
    width: 46px;
    height: 46px;
    top: 144px;
    left: 382px;
    animation-delay: 0s;
    box-shadow: 0px 8px 4px 4px rgba(0, 0, 0, 0.25);
}

.pink-icon {
    width: 42px;
    height: 42px;
    top: 686px;
    left: 128px;
    animation-delay: 1s;
    box-shadow: 0px 8px 4px 0px rgba(0, 0, 0, 0.25);
}

.blue-icon {
    width: 43px;
    height: 43px;
    top: 584px;
    left: 1056px;
    animation-delay: 2s;
    box-shadow: 0px 8px 4px 0px rgba(0, 0, 0, 0.25);
}

.gray-icon {
    width: 38px;
    height: 38px;
    top: 475px;
    left: 347px;
    animation-delay: 3s;
    box-shadow: 0px 8px 4px 0px rgba(0, 0, 0, 0.25);
}

.green-icon {
    width: 61px;
    height: 61px;
    top: 128px;
    left: 877px;
    animation-delay: 4s;
    box-shadow: 0px 8px 4px 0px rgba(0, 0, 0, 0.25);
}

.orange-icon {
    width: 51px;
    height: 51px;
    top: 278px;
    left: 1006px;
    animation-delay: 5s;
    box-shadow: 0px 8px 4px 0px rgba(0, 0, 0, 0.25);
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px); }
}

/* Floating Questions */
.floating-questions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.question {
    position: absolute;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1em;
    text-align: left;
    opacity: 0.4000000059604645;
    white-space: nowrap;
}

.question-1 {
    top: 144px;
    left: 943px;
    width: 128px;
    height: 30px;
}

.question-2 {
    top: 282px;
    left: 1061px;
    width: 113px;
    height: 45px;
}

.question-3 {
    top: 472px;
    left: 391px;
    width: 74px;
    height: 45px;
}

.question-4 {
    top: 144px;
    left: 432px;
    width: 74px;
    height: 45px;
}

.question-5 {
    top: 689px;
    left: 175px;
    width: 74px;
    height: 30px;
}

.question-6 {
    top: 584px;
    left: 1104px;
    width: 113px;
    height: 45px;
}

/* "Aprender a" Text Box */
.aprender-text {
    position: absolute;
    top: 262px;
    left: 383px;
    width: 286px;
    height: 75px;
    z-index: 3;
}

.aprender-text h1 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 58px;
    line-height: 1.1944444444444444em;
    letter-spacing: -1px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

/* "invertir..." Text Box */
.invertir-text {
    position: absolute;
    top: 307px;
    left: 410px;
    width: 239px;
    height: 80px;
    z-index: 3;
}

.invertir-text h1 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 58px;
    line-height: 1.1944444444444444em;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

/* Phone Mockup (Centered) */
.phone-mockup-fixed {
    position: absolute !important;
    top: 180px !important;
    left: 481px !important;
    width: 471px !important;
    height: 418px !important;
    z-index: 3 !important;
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* "cambiará tu" Text Box */
.cambiara-text {
    position: absolute;
    top: 406px;
    left: 789px;
    width: 297px;
    height: 66px;
    z-index: 3;
}

.cambiara-text h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 58px;
    line-height: 1.1944444444444444em;
    letter-spacing: -1px;
    text-align: left;
    color: #FFFFFF;
    margin: 0;
}

/* "futuro" Text Box */
.futuro-text {
    position: absolute;
    top: 458px;
    left: 771px;
    width: 171px;
    height: 53px;
    z-index: 3;
}

.futuro-text h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 58px;
    line-height: 55px;
    letter-spacing: 0px;
    text-align: left;
    color: #FFFFFF;
    margin: 0;
}

/* Game Text (Below Phone) */
.game-text {
    position: absolute;
    top: 600px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 40px;
    z-index: 3;
    text-align: center;
}

.game-text span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2000000476837158em;
    letter-spacing: -2%;
    text-align: center;
    color: #EFFFFE;
    text-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

/* Email Section (Below Game Text) */
.email-section {
    position: relative;
    width: 100%;
    max-width: 500px;
    z-index: 3;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    height: 50px;
}

.email-input input {
    width: 100%;
    height: 100%;
    padding: 15px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1em;
    text-align: left;
    opacity: 1;
    box-sizing: border-box;
}

.email-input input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.email-input input::placeholder {
    color: #FFFFFF;
    opacity: 0.4000000059604645;
}

.subscribe-button {
    width: 120px;
    height: 50px;
}

.subscribe-button button {
    width: 100%;
    height: 100%;
    background: #0000CD;
    border: none;
    border-radius: 30px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4444444444444444em;
    letter-spacing: -1.3888888888888888%;
    text-align: center;
    cursor: pointer;
    text-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.subscribe-button button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.3);
}

/* CTA Text (Bottom) */
.cta-text {
    position: absolute;
    top: 720px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 40px;
    z-index: 3;
    text-align: center;
}

.cta-text p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.4545454545454546em;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: progressFill 2s ease-out;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 75%; }
}

.game-progress span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Section Base Styles */
section {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #EFFFFE;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    color: #EFFFFE;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.problem-section {
    background: var(--bg-secondary);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.2);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.problem-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Solution Section */
.solution-section {
    background: var(--bg-primary);
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature-item:nth-child(1) .feature-icon {
    background: var(--gradient-primary);
}

.feature-item:nth-child(2) .feature-icon {
    background: var(--gradient-secondary);
}

.feature-item:nth-child(3) .feature-icon {
    background: var(--gradient-tertiary);
}

.feature-item:nth-child(4) .feature-icon {
    background: var(--gradient-accent);
}

.feature-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.benefit-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-author {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Final CTA Section */
.final-cta-section {
    background: #06255f;
    padding: 120px 20px;
    color: #EFFFFE;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    margin: 0 0 20px 0;
    color: #EFFFFE;
}

.cta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 40px 0;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 0 60px 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 16px 24px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-feature:hover::before {
    left: 100%;
}

.cta-feature:hover {
    border-color: rgba(0, 123, 255, 0.6);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.25);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

.cta-feature .feature-icon {
    font-size: 20px;
}

.cta-feature span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.final-cta-input-group {
    margin: 0 0 20px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.input-container {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.input-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.input-container:focus-within::before {
    left: 100%;
}

.input-container:focus-within {
    border-color: rgba(0, 123, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.final-cta-input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background: transparent;
    color: #EFFFFE;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
}

.final-cta-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.final-cta-button {
    padding: 18px 30px;
    background: #0000CD;
    border: none;
    border-radius: 50px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0px 6px 4px 0px rgba(0, 0, 0, 0.36);
    position: relative;
    overflow: hidden;
}

.final-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.final-cta-button:hover::before {
    left: 100%;
}

.final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.4);
}

.final-cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.final-cta-button i {
    transition: transform 0.3s ease;
}

.final-cta-button:hover i {
    transform: translateX(4px);
}

.cta-note {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

/* Floating Elements for CTA */
.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 24px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

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

.element-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1.2s;
}

.element-3 {
    top: 60%;
    left: 8%;
    animation-delay: 2.4s;
}

.element-4 {
    top: 70%;
    right: 12%;
    animation-delay: 3.6s;
}

.element-5 {
    top: 45%;
    left: 50%;
    animation-delay: 4.8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.2;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .cta-nav-button {
        font-size: 16px;
        padding: 6px 16px;
    }
}

@media (max-width: 768px) {
    .final-cta-section { padding: 80px 16px; }
    .cta-title { font-size: 32px; }
    .cta-subtitle { font-size: 16px; }
    .cta-features { gap: 20px; }
    .cta-feature { padding: 10px 16px; }
    .cta-feature span { font-size: 12px; }
    .input-container { flex-direction: column; gap: 10px; padding: 15px; }
    .final-cta-input { padding: 15px 20px; }
    .final-cta-button { padding: 15px 25px; font-size: 14px; }
}

/* Mobile Email Input Enhancements */
input[type="email"] {
    font-size: 16px; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    appearance: none;
}

/* Enhanced autocomplete styling */
input[type="email"]:autofill {
    background-color: rgba(0, 123, 255, 0.1) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 123, 255, 0.1) inset !important;
    -webkit-text-fill-color: #EFFFFE !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Success Notification Popup */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #44CC44, #00AA00);
    color: #FFFFFF;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(68, 204, 68, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    min-width: 320px;
}

.success-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
    position: relative;
}

.notification-icon {
    font-size: 32px;
    color: #FFFFFF;
    flex-shrink: 0;
    animation: checkPulse 0.6s ease-out;
}

.notification-text h3 {
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
}

.notification-text p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes checkPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsive for notification */
@media (max-width: 768px) {
    .success-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
        transform: translateY(-100px);
    }
    
    .success-notification.show {
        transform: translateY(0);
    }
    
    .notification-content {
        padding: 15px;
        gap: 12px;
    }
    
    .notification-icon {
        font-size: 28px;
    }
    
    .notification-text h3 {
        font-size: 16px;
    }
    
    .notification-text p {
        font-size: 13px;
    }
}

/* Footer */
.footer {
    background: #1a237e;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-cow-logo {
    height: 28px;
    width: auto;
}

.footer-finnvest-logo {
    height: 20px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Success Messages */
.waiting-success, .final-success {
    background: rgba(67, 233, 123, 0.1);
    border: 1px solid rgba(67, 233, 123, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #43e97b;
}

.waiting-success i, .final-success i {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hide floating questions on mobile */
    .floating-questions {
        display: none !important;
    }

    /* Hero Section Mobile */
    .hero-section {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 20px 20px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        position: relative;
        padding-top: 100px;
    }

    /* Hero Content Mobile */
    .hero-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
        min-height: auto;
        padding-top: 0;
        margin-top: 20px;
    }

    .hero-left {
        max-width: 100%;
        order: 1;
        padding-right: 0;
        margin-left: 0;
    }

    .hero-right {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
        padding-left: 0;
        margin-left: 0;
    }

    /* Hide CTA text and logos from hero-left on mobile */
    .hero-left .hero-cta-below,
    .hero-left .hero-icons {
        display: none;
    }

    /* Mobile-only content below phone image */
    .hero-mobile-bottom {
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 1.5rem;
        width: 100%;
    }

    .hero-mobile-bottom .hero-cta-below {
        font-size: 1rem;
        text-align: center;
        margin-top: -20px;
        margin-bottom: 1rem;
        color: #EFFFFE;
    }

    .hero-mobile-bottom .hero-icons {
        justify-content: center;
        margin-top: 130px;
    }

    .hero-mobile-bottom .feature-icons {
        width: 280px;
        max-height: 50px;
    }


    .hero-title-image {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .hero-subtitle-image {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-phone-image {
        width: 280px;
        max-height: 450px;
        transform: translateX(30px) translateY(-20px);
    }

    .hero-bottom {
        padding: 0 1rem;
        gap: 1rem;
    }

    .hero-icons {
        justify-content: center;
        margin-top: 1rem;
    }

    .feature-icons {
        width: 280px;
        max-height: 50px;
    }

    .hero-cta-below {
        font-size: 1rem;
        text-align: center;
        margin-top: 1rem;
    }

    .hero-cta {
        font-size: 1rem;
    }

    /* Hide text elements and phone on mobile */
    .aprender-text, .invertir-text, .phone-mockup, .cambiara-text, .futuro-text {
        display: none !important;
    }

    /* Centro image background - DISABLED */
    .hero-section::before {
        display: none;
    }

    /* Ensure other elements appear on top of Centro image */
    .nav, .game-text, .email-section, .cta-text {
        position: relative !important;
        z-index: 10 !important;
    }



    .game-text {
        position: absolute !important;
        top: calc(80vh + 30px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 0 !important;
        order: 6;
    }

    .game-text span {
        font-size: 20px;
    }

    .email-section {
        position: absolute !important;
        top: calc(70vh + 170px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        order: 7;
        margin: 0 !important;
    }

    .email-input {
        width: 100% !important;
        height: 50px !important;
        font-size: 16px !important;
        padding: 0 15px !important;
    }

    .subscribe-button {
        width: 100% !important;
        height: 50px !important;
        font-size: 16px !important;
    }

    .cta-text {
        position: absolute !important;
        top: calc(70vh - 80px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        order: 8;
        margin: 0 !important;
        text-align: center !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }


    .floating-icons {
        display: none;
    }

    .lanterns-bg {
        display: none;
    }

    .floating-orb {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .problem-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solution-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .final-cta-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .final-cta-button {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .aprender-text h1 {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .invertir-text h1 {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .cambiara-text h2 {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .futuro-text h2 {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .phone-mockup {
        width: 180px;
        height: 160px;
        margin: 0.3rem 0;
    }

    .solution-features {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .section-content {
        padding: 0 1rem;
    }

    .cta-text p {
        font-size: 28px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        text-align: center !important;
    }

    .game-text span {
        font-size: 18px;
    }
} 