/*
 * Ragenaizer Landing Pages - Shared Styles
 * Consistent design language across all service landing pages
 */

/* ═══════════════════════════════════════════════════════════════════════════
   BASE & RESET
   ═══════════════════════════════════════════════════════════════════════════ */

.landing-page {
    font-family: var(--font-family);
    background: #050810;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-inverse);

    /* Override theme variables for dark landing pages */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --bg-primary: #050810;
    --bg-secondary: rgba(255, 255, 255, 0.03);
    --bg-tertiary: rgba(255, 255, 255, 0.06);
    --border-primary: rgba(255, 255, 255, 0.08);
    --border-secondary: rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
    height: 32px;
    filter: invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-colors);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-colors);
    cursor: pointer;
    padding: 8px 0;
}

.nav-dropdown-trigger:hover {
    color: #ffffff;
}

.nav-dropdown-trigger svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    padding: 12px;
    background: rgba(15, 20, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
}

.nav-dropdown-item span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-top: 2px;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

/* Dropdown Labels (Section Headers) */
.nav-dropdown-label {
    display: block;
    padding: 6px 14px 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

/* Nested Submenu Support */
.nav-submenu {
    position: relative;
}

.nav-submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.nav-submenu-trigger:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
}

.nav-submenu-trigger span {
    margin-left: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.nav-submenu-trigger svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    transition: transform 0.2s ease;
    margin-left: auto;
}

.nav-submenu-content {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    padding: 8px;
    background: rgba(15, 20, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
    z-index: 210;
}

.nav-submenu:hover .nav-submenu-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-submenu:hover .nav-submenu-trigger svg {
    transform: rotate(-90deg);
}

/* Category badges for blog items */
.nav-dropdown-item .category-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-left: 8px;
}

.nav-dropdown-item .category-badge.communications {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.nav-dropdown-item .category-badge.hrms {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.btn-secondary {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    color: #ffffff;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-all);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    padding: 10px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-lg);
    color: #ffffff;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-all);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(var(--brand-primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}

/* Gradient background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background:
        radial-gradient(ellipse 60% 40% at 30% 30%, var(--hero-color-1, rgba(59, 130, 246, 0.4)) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 70% 20%, var(--hero-color-2, rgba(139, 92, 246, 0.35)) 0%, transparent 45%),
        radial-gradient(ellipse 40% 50% at 80% 70%, var(--hero-color-3, rgba(6, 182, 212, 0.25)) 0%, transparent 45%),
        radial-gradient(ellipse 60% 30% at 20% 80%, var(--hero-color-1, rgba(59, 130, 246, 0.3)) 0%, transparent 50%);
    animation: heroGradientShift 30s ease-in-out infinite;
}

@keyframes heroGradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(3%, -2%) rotate(1deg) scale(1.02); }
    66% { transform: translate(-2%, 3%) rotate(-1deg) scale(0.98); }
}

/* Grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

/* Floating shapes */
.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 10%;
    right: -150px;
    animation: floatRotate 40s linear infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 10%;
    left: -80px;
    animation: floatRotate 30s linear infinite reverse;
}

@keyframes floatRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-full);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
    color: var(--hero-accent, var(--brand-primary));
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
    font-family: 'Russo One', sans-serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 24px 0;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--hero-accent, var(--brand-primary)) 0%, var(--hero-color-2, #8b5cf6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 36px 0;
}

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

.hero-actions .btn-primary {
    padding: 14px 32px;
    font-size: var(--font-size-base);
}

.hero-actions .btn-secondary {
    padding: 14px 28px;
    font-size: var(--font-size-base);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

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

.stat-value {
    font-family: 'Audiowide', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

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

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16/10;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.mockup-line.short { width: 60%; }
.mockup-line.medium { width: 80%; }
.mockup-line.long { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════════
   FLOWCHART SECTION (HRMS - How It Works)
   ═══════════════════════════════════════════════════════════════════════════ */

.flowchart-section {
    padding: 100px 60px 120px;
    position: relative;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(139, 92, 246, 0.03) 50%,
        transparent 100%);
}

.flowchart-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    align-items: center;
    position: relative;
    min-height: 400px;
}

/* Input boxes - Left side (Statutory) */
.flowchart-input.input-left {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

/* Input boxes - Top (Employee Data) */
.flowchart-input.input-top {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

/* Center Engine */
.flowchart-engine {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
}

/* Output Arrow - Between Engine and Outputs */
.flowchart-output-arrow {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.flowchart-output-arrow svg {
    width: 60px;
    height: 24px;
}

/* Outputs - Right side */
.flowchart-outputs {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.flowchart-outputs-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Input Box Styling */
.input-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
    max-width: 320px;
}

.input-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.input-box.statutory::before {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.input-box.employee::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* Input header row: icon + title */
.input-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.input-header h4 {
    margin: 0;
}

.input-box .input-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.input-box.statutory .input-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.input-box.statutory .input-icon svg {
    width: 24px;
    height: 24px;
    color: #f59e0b;
}

.input-box.employee .input-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.input-box.employee .input-icon svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.input-box h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
    margin: 0;
}

.input-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.input-tags .tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.input-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-style: italic;
}

/* Flow Arrows */
.flow-arrow {
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.flow-arrow.arrow-right svg {
    width: 60px;
    height: 24px;
}

.flow-arrow.arrow-down svg {
    width: 24px;
    height: 60px;
}

/* Engine Core V2 - The Heart (Redesigned) */
.engine-core-v2 {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hexagonal background */
.engine-hex-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.engine-hex-bg svg {
    width: 100%;
    height: 100%;
}

.hex-outer {
    fill: none;
    stroke: rgba(139, 92, 246, 0.15);
    stroke-width: 1;
    stroke-dasharray: 8 4;
    animation: hex-rotate 60s linear infinite;
    transform-origin: center;
}

.hex-middle {
    fill: none;
    stroke: rgba(139, 92, 246, 0.25);
    stroke-width: 1.5;
    animation: hex-rotate 40s linear infinite reverse;
    transform-origin: center;
}

.hex-inner {
    fill: rgba(139, 92, 246, 0.03);
    stroke: rgba(139, 92, 246, 0.35);
    stroke-width: 2;
}

.hex-line {
    stroke: rgba(139, 92, 246, 0.4);
    stroke-width: 2;
    stroke-linecap: round;
}

.data-node {
    fill: #8b5cf6;
    animation: node-glow 2s ease-in-out infinite;
}

.data-node.n2 { animation-delay: 0.5s; }
.data-node.n3 { animation-delay: 1s; }
.data-node.n4 { animation-delay: 1.5s; }

@keyframes hex-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes node-glow {
    0%, 100% {
        opacity: 0.5;
        r: 6;
    }
    50% {
        opacity: 1;
        r: 8;
    }
}

/* Rotating scanner */
.engine-scanner {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(139, 92, 246, 0.15) 30deg,
        transparent 60deg
    );
    border-radius: 50%;
    animation: scanner-rotate 4s linear infinite;
}

@keyframes scanner-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Main engine content box */
.engine-main-v2 {
    position: relative;
    width: 260px;
    padding: 32px 28px;
    background: linear-gradient(165deg,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(88, 28, 135, 0.18) 50%,
        rgba(139, 92, 246, 0.08) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow:
        0 0 80px rgba(139, 92, 246, 0.25),
        0 0 40px rgba(139, 92, 246, 0.15),
        inset 0 0 30px rgba(139, 92, 246, 0.08);
    z-index: 10;
    backdrop-filter: blur(8px);
}

.engine-glow {
    position: absolute;
    inset: -3px;
    border-radius: 26px;
    background: linear-gradient(45deg, #8b5cf6, #a855f7, #7c3aed, #8b5cf6);
    background-size: 300% 300%;
    animation: engine-glow-pulse 4s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    filter: blur(12px);
}

@keyframes engine-glow-pulse {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.4;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.6;
    }
}

/* CPU Icon */
.engine-cpu {
    width: 64px;
    height: 64px;
    color: #a78bfa;
    margin-bottom: 4px;
}

.engine-cpu svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}

/* Engine title */
.engine-title {
    font-family: 'Russo One', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Engine tagline */
.engine-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    white-space: nowrap;
}

.engine-tagline span {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

.tagline-sep {
    color: rgba(139, 92, 246, 0.5) !important;
    font-size: 8px !important;
}

/* Engine metrics */
.engine-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.metric-value {
    font-family: 'Audiowide', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
}

.metric-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(139, 92, 246, 0.4) 50%,
        transparent 100%
    );
}

/* Status indicator */
.engine-status-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    margin-top: 4px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px #10b981;
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 16px #10b981;
    }
}

.status-text {
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: #34d399;
    letter-spacing: 0.02em;
}

/* Output Boxes */
.output-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-all);
}

.output-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #10b981, #34d399);
}

.output-box:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateX(4px);
}

.output-box .output-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.output-box .output-icon svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

.output-box h5 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
    margin: 0 0 2px 0;
}

.output-box p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Different output colors */
.output-box.payslips::before {
    background: linear-gradient(180deg, #10b981, #34d399);
}

.output-box.proofs::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
}
.output-box.proofs {
    border-color: rgba(245, 158, 11, 0.2);
}
.output-box.proofs:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}
.output-box.proofs .output-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}
.output-box.proofs .output-icon svg {
    color: #f59e0b;
}

.output-box.filings::before {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
}
.output-box.filings {
    border-color: rgba(59, 130, 246, 0.2);
}
.output-box.filings:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}
.output-box.filings .output-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}
.output-box.filings .output-icon svg {
    color: #3b82f6;
}

/* Flow Labels */
.flowchart-labels {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 48px;
}

.flow-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-full);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.label-icon {
    font-size: 14px;
}

/* Connection lines (decorative) */
.flowchart-container::after {
    content: '';
    position: absolute;
    left: calc(33.33% + 30px);
    right: calc(33.33% + 30px);
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(245, 158, 11, 0.5),
        rgba(139, 92, 246, 0.5) 40%,
        rgba(139, 92, 246, 0.5) 60%,
        rgba(16, 185, 129, 0.5));
    transform: translateY(-50%);
    z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .flowchart-section {
        padding: 80px 24px;
        max-width: 100vw;
        overflow: hidden;
        box-sizing: border-box;
    }

    .flowchart-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 24px;
        min-height: auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .flowchart-container::after {
        display: none;
    }

    .flowchart-input.input-left {
        grid-column: 1;
        grid-row: 1;
        justify-content: center;
        flex-direction: column;
        max-width: 100%;
        box-sizing: border-box;
        gap: 0;
    }

    .flowchart-input.input-top {
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 0;
        max-width: 100%;
        box-sizing: border-box;
        gap: 0;
    }

    .flowchart-engine {
        grid-column: 1;
        grid-row: 3;
        max-width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        gap: 0;
    }

    .flowchart-outputs {
        grid-column: 1;
        grid-row: 4;
        padding-left: 0;
        flex-direction: column;
        gap: 16px;
    }

    .flow-arrow.arrow-right,
    .flow-arrow.arrow-down,
    .flowchart-output-arrow {
        display: none;
    }

    .input-box {
        max-width: 100%;
    }

    .output-box {
        flex: 1;
        min-width: 200px;
    }

    .flowchart-labels {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .flowchart-section {
        padding: 60px 16px;
    }

    .flowchart-container {
        gap: 20px;
    }

    .flow-arrow.arrow-right,
    .flow-arrow.arrow-down,
    .flowchart-output-arrow {
        display: none;
    }

    .engine-core {
        width: 220px;
        height: 220px;
    }

    .engine-core-v2 {
        width: 280px;
        height: 280px;
        max-width: 100%;
        overflow: hidden;
    }

    .engine-main-v2 {
        padding: 16px;
    }

    .engine-main-v2 h3 {
        font-size: 14px;
    }

    .engine-main {
        width: 160px;
        padding: 20px 16px;
    }

    .engine-main h3 {
        font-size: 16px;
    }

    .engine-chip {
        width: 40px;
        height: 40px;
    }

    .engine-stats .stat-value {
        font-size: 14px;
    }

    .circuit-lines {
        display: none;
    }

    .input-box {
        padding: 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .input-box h4 {
        font-size: 14px;
    }

    .flowchart-outputs {
        flex-direction: column;
    }

    .output-box {
        min-width: auto;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.features-section {
    padding: 120px 60px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
    border-radius: var(--border-radius-full);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Russo One', sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.section-description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Feature grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.2) 0%, rgba(var(--brand-primary-rgb), 0.05) 100%);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
}

.feature-title {
    font-family: 'Electrolize', sans-serif;
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.feature-description {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Feature card colors */
.feature-card.blue .feature-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}
.feature-card.blue .feature-icon svg { color: #3b82f6; }

.feature-card.purple .feature-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}
.feature-card.purple .feature-icon svg { color: #8b5cf6; }

.feature-card.cyan .feature-icon {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-color: rgba(6, 182, 212, 0.3);
}
.feature-card.cyan .feature-icon svg { color: #06b6d4; }

.feature-card.green .feature-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}
.feature-card.green .feature-icon svg { color: #10b981; }

.feature-card.orange .feature-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}
.feature-card.orange .feature-icon svg { color: #f59e0b; }

.feature-card.pink .feature-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-color: rgba(236, 72, 153, 0.3);
}
.feature-card.pink .feature-icon svg { color: #ec4899; }

.feature-card.teal .feature-icon {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-color: rgba(20, 184, 166, 0.3);
}
.feature-card.teal .feature-icon svg { color: #14b8a6; }

.feature-card.amber .feature-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}
.feature-card.amber .feature-icon svg { color: #f59e0b; }

.feature-card.indigo .feature-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}
.feature-card.indigo .feature-icon svg { color: #6366f1; }

.feature-card.slate .feature-icon {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.2) 0%, rgba(100, 116, 139, 0.05) 100%);
    border-color: rgba(100, 116, 139, 0.3);
}
.feature-card.slate .feature-icon svg { color: #64748b; }

/* ═══════════════════════════════════════════════════════════════════════════
   PLATFORM SECTION - BENTO GRID (HRMS Complete Platform)
   ═══════════════════════════════════════════════════════════════════════════ */

.platform-section {
    padding: 120px 60px;
    position: relative;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(59, 130, 246, 0.03) 30%,
        rgba(139, 92, 246, 0.03) 70%,
        transparent 100%);
}

.platform-badge {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #3b82f6 !important;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Bento Card */
.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.bento-card h3 {
    font-family: 'Electrolize', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.bento-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* Feature Chips - Pills for feature lists */
.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.feature-chips.inline {
    margin-top: 4px;
}

.feature-chips .chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.bento-card:hover .feature-chips .chip {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Card-specific chip colors */
.org-card .feature-chips .chip {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: rgba(245, 158, 11, 0.9);
}

.employee-card .feature-chips .chip {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: rgba(96, 165, 250, 0.9);
}

.attendance-card .feature-chips .chip {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
    color: rgba(34, 211, 238, 0.9);
}

.leave-card .feature-chips .chip {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: rgba(52, 211, 153, 0.9);
}

.loans-card .feature-chips .chip {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.2);
    color: rgba(251, 146, 60, 0.9);
}

.selfservice-card .feature-chips .chip {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    color: rgba(129, 140, 248, 0.9);
}

/* Bento Icon */
.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.bento-icon svg {
    width: 24px;
    height: 24px;
}

.bento-icon.statutory { background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05)); border: 1px solid rgba(236, 72, 153, 0.3); }
.bento-icon.statutory svg { color: #ec4899; }

.bento-icon.org { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05)); border: 1px solid rgba(245, 158, 11, 0.3); }
.bento-icon.org svg { color: #f59e0b; }

.bento-icon.employee { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05)); border: 1px solid rgba(59, 130, 246, 0.3); }
.bento-icon.employee svg { color: #3b82f6; }

.bento-icon.attendance { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.05)); border: 1px solid rgba(6, 182, 212, 0.3); }
.bento-icon.attendance svg { color: #06b6d4; }

.bento-icon.leave { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05)); border: 1px solid rgba(16, 185, 129, 0.3); }
.bento-icon.leave svg { color: #10b981; }

.bento-icon.loans { background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.05)); border: 1px solid rgba(251, 146, 60, 0.3); }
.bento-icon.loans svg { color: #fb923c; }

.bento-icon.selfservice { background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05)); border: 1px solid rgba(99, 102, 241, 0.3); }
.bento-icon.selfservice svg { color: #6366f1; }

/* === HERO CARD (Payroll) - Spans 2 columns === */
.bento-hero {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.payroll-hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(88, 28, 135, 0.12) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.payroll-hero:hover {
    border-color: rgba(139, 92, 246, 0.35);
}

.bento-card-content {
    padding: 28px 28px 20px;
}

.bento-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.bento-hero h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.bento-hero p {
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 380px;
}

.bento-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bento-features li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 20px;
    position: relative;
}

.bento-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a78bfa;
    font-size: 12px;
}

/* Payroll Visual Preview */
.bento-visual {
    flex: 1;
    padding: 0 28px 28px;
    display: flex;
    align-items: flex-end;
}

.payroll-preview {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-title {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.8);
}

.preview-badge {
    font-size: 10px;
    padding: 3px 8px;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    color: #c4b5fd;
}

.preview-rows {
    padding: 8px 0;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 12px;
}

.preview-row span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.preview-row .amount {
    font-weight: var(--font-weight-semibold);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.preview-row .amount.positive { color: #34d399; }
.preview-row .amount.negative { color: #f87171; }

.preview-row.deduction {
    opacity: 0.8;
}

.preview-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
    padding-top: 12px;
}

.preview-row.total span:first-child {
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
}

.preview-row.total .amount {
    color: #ffffff;
    font-size: 14px;
}

/* === TALL CARD (Statutory) === */
.bento-tall {
    grid-row: span 2;
}

.statutory-card {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.06) 0%, transparent 100%);
    border-color: rgba(236, 72, 153, 0.15);
    display: flex;
    flex-direction: column;
}

.statutory-card:hover {
    border-color: rgba(236, 72, 153, 0.3);
}

.compliance-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.compliance-tag {
    padding: 6px 12px;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.bento-stat {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-number {
    font-family: 'Audiowide', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #ec4899;
}

.stat-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* === SMALL CARDS === */
.bento-small {
    min-height: 160px;
}

.org-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, transparent 100%);
    border-color: rgba(245, 158, 11, 0.15);
}
.org-card:hover { border-color: rgba(245, 158, 11, 0.3); }

.employee-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, transparent 100%);
    border-color: rgba(59, 130, 246, 0.15);
}
.employee-card:hover { border-color: rgba(59, 130, 246, 0.3); }

.loans-card {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.06) 0%, transparent 100%);
    border-color: rgba(251, 146, 60, 0.15);
}
.loans-card:hover { border-color: rgba(251, 146, 60, 0.3); }

/* === WIDE CARDS === */
.bento-wide {
    grid-column: span 2;
}

.bento-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bento-card-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.bento-card-info .bento-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.bento-card-info h3 {
    margin-bottom: 4px;
}

/* Attendance Card with Mini Chart */
.attendance-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, transparent 100%);
    border-color: rgba(6, 182, 212, 0.15);
}
.attendance-card:hover { border-color: rgba(6, 182, 212, 0.3); }

.attendance-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.chart-bar {
    width: 24px;
    height: var(--height);
    background: linear-gradient(180deg, #06b6d4 0%, rgba(6, 182, 212, 0.4) 100%);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.chart-bar span {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
}

.attendance-card:hover .chart-bar {
    background: linear-gradient(180deg, #22d3ee 0%, rgba(6, 182, 212, 0.5) 100%);
}

/* Self-Service Card */
.selfservice-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, transparent 100%);
    border-color: rgba(99, 102, 241, 0.15);
}
.selfservice-card:hover { border-color: rgba(99, 102, 241, 0.3); }

.selfservice-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.selfservice-header .bento-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.selfservice-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0 0 0;
}

.selfservice-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-chip {
    padding: 8px 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.selfservice-card:hover .action-chip {
    background: rgba(99, 102, 241, 0.25);
}

/* === MEDIUM CARD (Leave) === */
.bento-medium {
    min-height: 200px;
}

.leave-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, transparent 100%);
    border-color: rgba(16, 185, 129, 0.15);
}
.leave-card:hover { border-color: rgba(16, 185, 129, 0.3); }

.leave-balance-preview {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.balance-item {
    flex: 1;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    text-align: center;
}

.bal-type {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.bal-num {
    display: block;
    font-family: 'Audiowide', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #34d399;
}

/* === STATS CARD === */
.bento-stats {
    grid-column: span 2;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-block {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.stat-block .stat-value {
    display: block;
    font-family: 'Audiowide', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-block .stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* === BENTO RESPONSIVE === */
@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-hero {
        grid-column: span 2;
        grid-row: span 1;
        flex-direction: row;
    }

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

    .bento-visual {
        flex: 1;
        padding: 28px;
        align-items: center;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .selfservice-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .platform-section {
        padding: 80px 24px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bento-hero,
    .bento-wide,
    .bento-stats {
        grid-column: span 1;
    }

    .bento-hero {
        flex-direction: column;
    }

    .bento-card-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .attendance-mini-chart {
        width: 100%;
        justify-content: space-around;
    }

    .chart-bar {
        flex: 1;
        max-width: 40px;
    }

    .selfservice-actions {
        width: 100%;
    }

    .action-chip {
        flex: 1;
        text-align: center;
    }

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

    .stat-block {
        padding: 0;
    }

    .stat-block:not(:last-child)::after {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STRESS TEST SECTION (HRMS Nuclear Test) - Timeline Design
   ═══════════════════════════════════════════════════════════════════════════ */

.stress-test-section {
    padding: 120px 60px;
    position: relative;
    background: linear-gradient(180deg,
        rgba(245, 158, 11, 0.02) 0%,
        transparent 30%,
        transparent 70%,
        rgba(16, 185, 129, 0.02) 100%);
}

.stress-badge {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
}

/* Timeline Container */
.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Vertical line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        #f59e0b 0%,
        #ef4444 25%,
        #8b5cf6 50%,
        #10b981 100%);
    border-radius: 2px;
}

/* Timeline Phase */
.timeline-phase {
    position: relative;
    padding-left: 80px;
    padding-bottom: 48px;
}

.timeline-phase:last-child {
    padding-bottom: 0;
}

/* Phase Marker */
.phase-marker {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 56px;
}

.phase-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.phase-icon svg {
    width: 24px;
    height: 24px;
}

.phase-icon.setup {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border: 2px solid #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.phase-icon.setup svg { color: #60a5fa; }

.phase-icon.chaos {
    background: linear-gradient(135deg, #4a1d1d 0%, #1a0a0a 100%);
    border: 2px solid #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    animation: pulse-chaos 2s ease-in-out infinite;
}
.phase-icon.chaos svg { color: #f87171; }

@keyframes pulse-chaos {
    0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.5); }
}

.phase-icon.processing {
    background: linear-gradient(135deg, #2d1f4e 0%, #0f0a1a 100%);
    border: 2px solid #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    animation: pulse-processing 1.5s ease-in-out infinite;
}
.phase-icon.processing svg { color: #a78bfa; }

@keyframes pulse-processing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.phase-icon.results {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    border: 2px solid #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}
.phase-icon.results svg { color: #34d399; }

.phase-label {
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    white-space: nowrap;
}

/* Timeline Cards */
.timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-xl);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* Setup Card */
.setup-card {
    border-color: rgba(59, 130, 246, 0.2);
}

.setup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-header h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
    margin: 0;
}

.card-tag {
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--border-radius-full);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-lg);
}

.detail-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

.detail-value {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
}

/* Chaos Cards Grid */
.chaos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.chaos-card {
    border-color: rgba(239, 68, 68, 0.2);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.chaos-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.chaos-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: #f87171;
}

.chaos-content h5 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
    margin: 0 0 6px 0;
}

.chaos-content p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 8px 0;
    line-height: var(--line-height-relaxed);
}

.chaos-impact {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: var(--border-radius-full);
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: #f87171;
}

/* Engine Card */
.engine-card {
    border-color: rgba(139, 92, 246, 0.2);
    display: flex;
    gap: 32px;
    align-items: center;
}

.engine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.engine-animation {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    animation: engine-pulse-anim 2s ease-out infinite;
}

@keyframes engine-pulse-anim {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.engine-core {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.engine-core span {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    color: #ffffff;
}

.engine-core svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.engine-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.engine-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.step-icon {
    color: #a78bfa;
    font-weight: var(--font-weight-bold);
}

/* Results Card */
.results-card {
    border-color: rgba(16, 185, 129, 0.2);
}

.results-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #34d399);
}

.results-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.status-badge.passed {
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: #34d399;
    letter-spacing: 0.05em;
}

.trap-questions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--border-radius-lg);
}

.trap-count {
    font-family: 'Audiowide', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #f59e0b;
    line-height: 1;
}

.trap-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

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

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
}

.check-item svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
}

.invariants-box {
    padding: 16px 20px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--border-radius-lg);
}

.invariants-label {
    display: block;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.invariants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.invariants-list code {
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.15);
    border-radius: var(--border-radius-md);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    color: #22d3ee;
}

.invariant-tag {
    padding: 8px 14px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--border-radius-md);
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: #22d3ee;
}

/* Quote */
.stress-test-quote {
    max-width: 700px;
    margin: 64px auto 0;
    text-align: center;
}

.stress-test-quote blockquote {
    font-size: var(--font-size-xl);
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 0;
    position: relative;
}

.stress-test-quote blockquote::before {
    content: '"';
    position: absolute;
    left: -30px;
    top: -10px;
    font-size: 60px;
    color: rgba(16, 185, 129, 0.3);
    font-family: Georgia, serif;
}

/* Responsive for stress test timeline */
@media (max-width: 992px) {
    .stress-test-section {
        padding: 80px 24px;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-phase {
        padding-left: 60px;
    }

    .phase-marker {
        width: 40px;
    }

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

    .phase-icon svg {
        width: 18px;
        height: 18px;
    }

    .phase-label {
        font-size: 8px;
    }

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

    .engine-card {
        flex-direction: column;
        text-align: center;
    }

    .results-header-row {
        flex-direction: column;
        gap: 16px;
    }

    .results-checks {
        grid-template-columns: 1fr;
    }

    .stress-test-quote blockquote::before {
        left: -15px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .timeline-container::before {
        display: none;
    }

    .timeline-phase {
        padding-left: 0;
    }

    .phase-marker {
        position: relative;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .invariants-list {
        flex-direction: column;
    }

    .trap-questions {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.cta-section {
    padding: 100px 60px;
    position: relative;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-2xl);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--brand-primary-rgb), 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-family: 'Russo One', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 16px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cta-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px 0;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}

.cta-actions .btn-primary {
    padding: 16px 36px;
    font-size: var(--font-size-base);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.landing-footer {
    padding: 48px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    height: 32px;
    filter: invert(1);
    opacity: 0.8;
}

.pronunciation-guide {
    font-size: var(--font-size-xs, 12px);
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    margin-left: 8px;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-colors);
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE-SPECIFIC COLORS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Vision - Blue */
.landing-vision {
    --hero-color-1: rgba(59, 130, 246, 0.4);
    --hero-color-2: rgba(99, 102, 241, 0.35);
    --hero-color-3: rgba(139, 92, 246, 0.25);
    --hero-accent: #3b82f6;
}

/* Chat - Purple */
.landing-chat {
    --hero-color-1: rgba(139, 92, 246, 0.4);
    --hero-color-2: rgba(168, 85, 247, 0.35);
    --hero-color-3: rgba(236, 72, 153, 0.25);
    --hero-accent: #8b5cf6;
}

/* Drive - Green */
.landing-drive {
    --hero-color-1: rgba(16, 185, 129, 0.4);
    --hero-color-2: rgba(6, 182, 212, 0.35);
    --hero-color-3: rgba(59, 130, 246, 0.25);
    --hero-accent: #10b981;
}

/* HRMS - Orange/Amber */
.landing-hrms {
    --hero-color-1: rgba(245, 158, 11, 0.4);
    --hero-color-2: rgba(251, 146, 60, 0.35);
    --hero-color-3: rgba(239, 68, 68, 0.2);
    --hero-accent: #f59e0b;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .hero-content {
        gap: 60px;
    }

    .hero-title {
        font-size: 48px;
    }

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

@media (max-width: 992px) {
    .landing-nav {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        gap: 12px;
    }

    .nav-cta .btn-primary,
    .nav-cta .btn-secondary {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .landing-nav {
        padding: 12px 16px;
    }

    .nav-logo {
        height: 18px;
    }

    .nav-cta {
        gap: 8px;
        flex-shrink: 0;
    }

    .nav-cta .btn-secondary {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Hide "Get Started" on mobile, keep "Sign In" visible */
    .nav-cta .btn-primary {
        display: none;
    }

    .hero-section {
        padding: 100px 24px 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hero-text {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-actions {
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-mockup {
        max-width: 100%;
        width: 100%;
    }

    .features-section {
        padding: 80px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .cta-section {
        padding: 60px 24px;
    }

    .cta-container {
        padding: 40px 24px;
    }

    .landing-footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 32px 24px;
    }

    .footer-brand {
        flex-direction: column;
        gap: 4px;
    }

    .pronunciation-guide {
        margin-left: 0;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 16px 60px;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .hero-content {
        padding: 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        text-align: center;
        white-space: normal;
        box-sizing: border-box;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .section-title {
        font-size: 28px;
        word-wrap: break-word;
    }

    .cta-title {
        font-size: 24px;
        word-wrap: break-word;
    }

    .cta-section {
        padding: 60px 16px;
        max-width: 100vw;
        box-sizing: border-box;
        overflow: hidden;
    }

    .cta-container {
        padding: 32px 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Extra small screens (360px and below) */
@media (max-width: 360px) {
    .hero-section {
        padding: 90px 16px 50px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-badge {
        padding: 8px 14px;
        font-size: 10px;
        margin-bottom: 20px;
    }

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

    .cta-title {
        font-size: 22px;
    }

    .features-section,
    .cta-section {
        padding: 60px 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-text {
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual {
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.section-header {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.feature-card {
    animation: cardReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }
.feature-card:nth-child(9) { animation-delay: 0.9s; }
.feature-card:nth-child(10) { animation-delay: 1.0s; }

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

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
