@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #e0e5ec;
    --bg-secondary: #e8edf4;
    --accent: #6c63ff;
    --accent-light: #8b85ff;
    --accent-dark: #5248cc;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --white: #ffffff;
    
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    --neu-light: #ffffff;
    --neu-dark: #a3b1c6;
    --neu-shadow-light: -9px -9px 16px rgba(255, 255, 255, 0.8);
    --neu-shadow-dark: 9px 9px 16px rgba(163, 177, 198, 0.6);
    
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.neu-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
    transition: all 0.3s ease;
}

.neu-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        -12px -12px 20px rgba(255, 255, 255, 0.9),
        12px 12px 20px rgba(163, 177, 198, 0.4);
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 
        0 4px 15px rgba(108, 99, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(108, 99, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-dark);
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 
        -6px -6px 12px rgba(255, 255, 255, 0.9),
        6px 6px 12px rgba(163, 177, 198, 0.4);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(224, 229, 236, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.logo .highlight {
    color: var(--accent);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
}

.btn-login:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
}

.hero-content {
    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);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-badge span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-family: var(--font-inter);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    min-width: 150px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-inter);
}

.problem-section {
    position: relative;
}

.prob__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.prob__card {
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
    transition: all 0.3s ease;
}

.prob__card:hover {
    transform: translateY(-8px);
    box-shadow: 
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        12px 12px 24px rgba(163, 177, 198, 0.4);
}

.prob__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
}

.prob__icon--teal { background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%); }
.prob__icon--blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.prob__icon--gold { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.prob__icon--red { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }

.prob__card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.prob__card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.prob__compare-side {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.prob__compare-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.prob__compare-label {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.prob__compare-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.prob__compare-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
}

.prob__compare-arrow {
    font-size: 1.5rem;
    color: var(--accent);
}

.features-section {
    position: relative;
}

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

.feature-card {
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        -10px -10px 20px rgba(255, 255, 255, 0.9),
        10px 10px 20px rgba(163, 177, 198, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.steps-section {
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--neu-shadow-dark), var(--neu-shadow-light);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.step-card h3 {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.step-card p {
    color: var(--text-light);
}

.step-connector {
    width: 80px;
    height: 4px;
    background: var(--bg-primary);
    border-radius: 2px;
    margin-top: 3.5rem;
    box-shadow: var(--neu-shadow-dark);
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(108, 99, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(163, 177, 198, 0.3);
}

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

.footer-col .logo {
    margin-bottom: 1rem;
}

.footer-col>p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.875rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(163, 177, 198, 0.3);
    color: var(--text-light);
    font-size: 0.9rem;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: floatShape 20s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(15px, 10px) rotate(3deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem 1.25rem;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 4px;
        height: 40px;
        margin: 0;
    }
    
    .step-connector::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .prob__compare {
        flex-direction: column;
    }
    
    .prob__compare-divider {
        transform: rotate(90deg);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator span {
    width: 20px;
    height: 30px;
    border: 2px solid var(--text-light);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0.5; top: 16px; }
}

/* ================================
   RESPONSIVE DESIGN - ALL SCREENS
   ================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
}

/* Desktop & Laptop (1024px - 1399px) */
@media (max-width: 1399px) and (min-width: 1024px) {
    .container {
        max-width: 1140px;
    }
    
    .hero h1 {
        font-size: 3.75rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 1.25rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .prob__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .steps-container {
        gap: 1.5rem;
    }
    
    .step-card {
        min-width: 250px;
    }
}

/* Tablet Portrait & Large Phone (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .navbar {
        padding: 0.875rem 0;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
    }
    
    .nav-actions {
        gap: 0.75rem;
    }
    
    .btn-login {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1rem;
        padding-top: 2rem;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 130px;
        flex: 1 1 calc(50% - 0.5rem);
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .prob__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .prob__card {
        padding: 1.5rem;
    }
    
    .prob__icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .prob__compare {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .prob__compare-side {
        min-width: 100%;
        max-width: 100%;
        padding: 2rem;
    }
    
    .prob__compare-emoji {
        font-size: 2.5rem;
    }
    
    .prob__compare-label {
        font-size: 1.15rem;
    }
    
    .prob__compare-divider {
        width: 50px;
        height: 50px;
        transform: rotate(0);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .step-card {
        min-width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-col .logo {
        font-size: 1.25rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .logo {
        font-size: 1.1rem;
        gap: 0.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        padding: 0.375rem;
        font-size: 1.25rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .btn-login {
        display: none;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .hero {
        padding: 6rem 0 2.5rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 0.75rem;
        padding-top: 1.5rem;
    }
    
    .stat-item {
        min-width: 100%;
        flex: 1 1 100%;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .prob__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .prob__card {
        padding: 1.25rem;
    }
    
    .prob__icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .prob__card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .prob__card p {
        font-size: 0.85rem;
    }
    
    .prob__compare {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .prob__compare-side {
        min-width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .prob__compare-emoji {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .prob__compare-label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .prob__compare-text {
        font-size: 0.85rem;
    }
    
    .prob__compare-divider {
        width: 40px;
        height: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }
    
    .step-card {
        min-width: 100%;
        max-width: 100%;
        padding: 1.75rem 1.25rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -15px;
    }
    
    .step-card h3 {
        font-size: 1.1rem;
        margin-top: 0.75rem;
    }
    
    .step-card p {
        font-size: 0.85rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-col .logo {
        font-size: 1.1rem;
    }
    
    .footer-col > p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-col a {
        font-size: 0.85rem;
        margin-bottom: 0.625rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .floating-shapes {
        display: none;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(224, 229, 236, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 1rem;
}

.nav-links.active a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(163, 177, 198, 0.3);
}

.nav-links.active a:last-child {
    border-bottom: none;
}

/* Loss row highlight in tables */
.loss-row {
    background-color: rgba(239, 68, 68, 0.05) !important;
}

/* Anomaly item types */
.anomaly-item.loss {
    border-left: 3px solid var(--danger);
}

.anomaly-item.low_margin {
    border-left: 3px solid var(--warning);
}