/* YouPractice Landing Page - Modern Redesign */

/* Variables - Enhanced Color Scheme */
:root {
    --primary-color: #6366F1;
    --primary-hover: #4F46E5;
    --primary-light: #EEF2FF;
    --primary-dark: #3730A3;
    --secondary-color: #06B6D4;
    --secondary-light: #CFFAFE;
    --accent-color: #F59E0B;
    --accent-pink: #EC4899;
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #64748B;
    --background: #FFFFFF;
    --background-alt: #F8FAFC;
    --background-dark: #0F172A;
    --border-color: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(245, 100%, 70%, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.3) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, hsla(328, 100%, 70%, 0.2) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, hsla(245, 100%, 70%, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, hsla(189, 100%, 56%, 0.2) 0px, transparent 50%);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.animate-fade-in {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.logo-img-small {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.logo-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

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

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

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

.cta-button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
    animation: gradient-shift 2s ease infinite;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.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.5s ease;
}

.button:hover::before {
    left: 100%;
}

.button.primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
    animation: gradient-shift 2s ease infinite;
}

.button.secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 16px;
}

/* Hero Section - Complete Overhaul */
.hero {
    min-height: 100vh;
    padding: 8rem 0 5rem;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    z-index: 0;
}

/* Animated Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: blob 8s ease-in-out infinite;
    z-index: 0;
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.3);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.25);
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

.hero-blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.2);
    top: 40%;
    left: 60%;
    animation-delay: -2s;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fade-in-up 0.6s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    animation: fade-in-up 0.6s ease-out 0.1s both;
}

.hero .highlight {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
    display: block;
}

.subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fade-in-up 0.6s ease-out 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fade-in-up 0.6s ease-out 0.3s both;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fade-in-up 0.6s ease-out 0.4s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--secondary-color);
}

.hero-image {
    max-width: 1000px;
    margin: 0 auto;
    animation: fade-in-up 0.8s ease-out 0.5s both;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 24px;
    filter: blur(40px);
    z-index: -1;
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

/* Hero Video */
.hero-video {
    max-width: 1000px;
    margin: 0 auto;
    animation: fade-in-up 0.8s ease-out 0.5s both;
    position: relative;
}

.hero-video::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-primary);
    opacity: 0.15;
    border-radius: 24px;
    filter: blur(40px);
    z-index: -1;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(226, 232, 240, 0.5);
    background: #0f0f23;
}

.promo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-sound-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
}

.video-sound-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.video-sound-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.sound-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .video-sound-btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .video-sound-btn svg {
        width: 16px;
        height: 16px;
    }

    .sound-text {
        display: none;
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.floating-element.left {
    left: 5%;
    top: 60%;
    animation-delay: -1s;
}

.floating-element.right {
    right: 5%;
    top: 40%;
    animation-delay: -3s;
}

.floating-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.floating-subtext {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Platforms/Audience Section */
.platforms {
    padding: 7rem 0;
    background: var(--background-alt);
    position: relative;
}

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

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.glass-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.glass-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
}

/* Quote Box */
.quote-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 150px;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.quote-box p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.quote-box .quote-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    font-style: normal;
}

/* Problems Section */
.problems {
    padding: 7rem 0;
    background: var(--background);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.problem-card:hover::after {
    transform: scaleX(1);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.problem-description {
    margin-bottom: 1.5rem;
}

.problem-text {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.problem-impact {
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
    border-left: 4px solid #EF4444;
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    color: #991B1B;
    font-size: 0.9rem;
    font-weight: 500;
}

.solution {
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    border-left: 4px solid var(--secondary-color);
    padding: 1.25rem;
    border-radius: 0 16px 16px 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.solution-icon {
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.solution-text {
    color: #065F46;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 6s ease infinite;
    color: white;
    padding: 4rem;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: float 10s ease-in-out infinite;
}

.cta-box h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-box .button.primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-box .button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* How It Works Section */
.how-it-works {
    padding: 7rem 0;
    background: var(--background-alt);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    transition: all 0.4s ease;
    position: relative;
}

.step-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.feature-highlight {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.highlight-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.highlight-text:last-child {
    margin-bottom: 0;
}

.step-workflow {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: 16px;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.workflow-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
}

.workflow-text {
    font-size: 0.8rem;
    color: var(--text-medium);
    font-weight: 600;
}

.workflow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
}

/* Practice Modes Section */
.practice-modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.mode-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mode-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.mode-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.mode-card.pro {
    border: 2px solid var(--accent-pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.mode-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mode-badge.free {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.mode-badge.plus {
    background: var(--gradient-primary);
    color: white;
}

.mode-badge.pro-badge {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: white;
}

.platform-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gradient-primary);
    color: white;
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.platform-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.platform-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.platform-description {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
}

.platform-cta {
    width: 100%;
    margin-top: 1.5rem;
}

/* Web Features Section */
.web-features {
    padding: 7rem 0;
    background: linear-gradient(180deg, #F0FDF4 0%, #ECFDF5 50%, white 100%);
}

.web-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.web-feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.web-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.web-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.web-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.web-feature-description {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 7rem 0;
    background: var(--background);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: white;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 7rem 0;
    background: var(--background-alt);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

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

/* Pricing Section */
.pricing {
    padding: 7rem 0;
    background: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

.pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1rem 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Final CTA Section */
.final-cta {
    padding: 7rem 0;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .button.primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.final-cta .button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
}

.final-cta-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: var(--background-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0.25rem 0;
}

/* Platform Grid for Pricing */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

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

    .pricing-grid,
    .platform-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

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

    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 100%;
        max-width: 300px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .problem-card,
    .glass-card {
        padding: 1.75rem;
    }

    .feature-grid,
    .web-feature-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-workflow {
        justify-content: center;
    }

    .workflow-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 0.875rem 1rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .section-header h2 {
        font-size: 1.625rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

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

    .step-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
