        :root {
            --bg-color: #ffffff;
            --text-main: #111111;
            --text-muted: #555555;
            --card-bg: #ffffff;
            --card-border: rgba(247, 147, 26, 0.25);
            --accent: #ffffff;
            --glass-blur: blur(24px);
            --orange-accent: #f7931a;
        }

        html, body {
            overflow-x: hidden;
            max-width: 100vw;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        
        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            overflow-y: scroll;
            height: 100vh;
            letter-spacing: -0.02em;
        }

        .rupee {
            font-family: 'Inter', 'Roboto', 'Montserrat', sans-serif !important;
        }

        .rupee-icon {
            height: 0.82em;
            width: auto;
            display: inline-block;
            vertical-align: -0.05em;
            fill: currentColor;
            margin-right: 0.04em;
        }

        /* Apply scroll snapping strictly on desktop only */
        @media (min-width: 1025px) {
            body {
                scroll-snap-type: y mandatory;
                scroll-behavior: smooth;
            }
        }

        body::-webkit-scrollbar { width: 0px; } /* Hide scrollbar for premium feel */

        h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -0.04em; }

        .ambient-glow {
            position: fixed; top: -10%; left: 20%; width: 60vw; height: 60vw;
            background: radial-gradient(circle, rgba(247, 147, 26, 0.15) 0%, transparent 60%);
            filter: blur(100px); z-index: -1; pointer-events: none;
        }
        .ambient-glow-2 {
            position: fixed; bottom: -20%; right: -10%; width: 50vw; height: 50vw;
            background: radial-gradient(circle, rgba(247, 147, 26, 0.10) 0%, transparent 60%);
            filter: blur(120px); z-index: -1; pointer-events: none;
        }

        .global-spotlight {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: radial-gradient(800px circle at var(--global-mouse-x, 50%) var(--global-mouse-y, 50%), rgba(247, 147, 26, 0.10), transparent 60%);
            pointer-events: none; z-index: -2;
        }

        .cursor-glow {
            display: none;
        }
        @media (hover: hover) {
            .cursor-glow {
                display: block;
                position: fixed;
                width: 240px;
                height: 240px;
                background: radial-gradient(circle, rgba(247, 147, 26, 0.12) 0%, rgba(247, 147, 26, 0.10) 35%, transparent 70%);
                border-radius: 50%;
                pointer-events: none;
                z-index: 9999;
                transform: translate(-50%, -50%);
                opacity: 0;
                transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
                will-change: transform, left, top;
            }
        }

        .slide {
            height: 100vh; width: 100vw; max-width: 100%;
            display: flex; align-items: center; justify-content: center;
            position: relative; padding: 60px; overflow: clip;
        }
        
        @media (min-width: 1025px) {
            .slide {
                scroll-snap-align: start;
            }
        }

        .container { width: 100%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }

        .eyebrow { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-accent); margin-bottom: 24px; font-weight: 600; }
        h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 700; line-height: 1.05; margin-bottom: 24px; }
        .text-gradient { background: linear-gradient(135deg, #111111 30%, var(--orange-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        h2 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 600; margin-bottom: 48px; color: var(--text-main); }
        h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 16px; color: var(--text-main); }
        p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; font-weight: 400; }
        .lead { font-size: 1.5rem; color: var(--text-main); max-width: 800px; margin-bottom: 40px; font-weight: 400; line-height: 1.4; letter-spacing: -0.01em; }

        .text-center { text-align: center; }
        .flex-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }

        .card {
            background: var(--card-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
            padding: 40px; border-radius: 16px; border: 1px solid var(--card-border);
            transition: all 0.5s cubic-bezier(0.15, 0.85, 0.35, 1);
            position: relative; overflow: hidden;
            display: flex; flex-direction: column;
        }
        .card::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(180deg, rgba(247, 147, 26, 0.05) 0%, transparent 100%); pointer-events: none;
            z-index: 2;
        }
        .card::after {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(247, 147, 26, 0.12), transparent 40%);
            z-index: 1; pointer-events: none; opacity: 0;
            transition: opacity 0.5s ease;
        }
        .card:hover::after { opacity: 1; }
        .card:hover { transform: translateY(-4px) scale(1.01); border-color: rgba(247, 147, 26, 0.3); background: rgba(247, 147, 26, 0.05); }
        .card-icon { font-size: 24px; color: var(--text-main); margin-bottom: 24px; opacity: 0.8; }

        .stat-value { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; color: var(--text-main); line-height: 1; margin-bottom: 12px; letter-spacing: -0.05em; }
        .stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }

        ul.minimal-list { list-style: none; }
        ul.minimal-list li { font-size: 1.1rem; color: var(--text-main); margin-bottom: 16px; padding-left: 24px; position: relative; line-height: 1.4; }
        ul.minimal-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--text-muted); font-size: 1rem; }

        .table-container { width: 100%; }
        table { width: 100%; border-collapse: collapse; }
        th, td { padding: 20px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.1rem; }
        th { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
        tr:last-child td { border-bottom: none; }

        .nav-dots {
            position: fixed;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            z-index: 100;
            align-items: flex-end;
        }
        
        .dot-wrapper {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            position: relative;
            cursor: pointer;
            padding: 4px 0;
        }

        .dot {
            width: 4px;
            height: 20px;
            border-radius: 4px;
            background: rgba(255,255,255,0.1);
            border: #ffd8a8 1px solid;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .dot-wrapper:hover .dot {
            background: rgba(255, 255, 255, 0.4);
        }

        .dot-wrapper.active .dot {
            background: var(--orange-accent);
            height: 32px;
        }

        .dot-label {
            font-size: 0.7rem;
            font-weight: 600;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-right: 14px;
            white-space: nowrap;
            pointer-events: none;
            opacity: 0;
            transform: translateX(12px);
            transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            background: rgba(247, 147, 26, 0.4);
            padding: 4px 8px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .dot-wrapper.active .dot-label,
        .dot-wrapper:hover .dot-label {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-footer { position: absolute; bottom: 40px; left: 60px; right: 60px; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

        .reveal { 
            opacity: 0; 
            transform: translateY(40px) scale(0.96); 
            transition: opacity 1.2s cubic-bezier(0.15, 0.85, 0.35, 1), transform 1.2s cubic-bezier(0.15, 0.85, 0.35, 1); 
            will-change: transform, opacity;
        }
        .reveal.active { opacity: 1; transform: translateY(0) scale(1); }
        .delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

        .eyebrow {
            letter-spacing: 0.3em;
            opacity: 0;
            transition: letter-spacing 1.2s cubic-bezier(0.15, 0.85, 0.35, 1), opacity 1.2s cubic-bezier(0.15, 0.85, 0.35, 1);
        }
        .reveal.active.eyebrow {
            letter-spacing: 0.1em;
            opacity: 1;
        }

        .ambient-glow {
            transform: translate(calc(var(--scroll-percent, 0) * 12vw - 6vw), calc(var(--scroll-percent, 0) * 4vh - 2vh)) scale(calc(1 + var(--scroll-percent-abs, 0) * 0.15));
            transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .ambient-glow-2 {
            transform: translate(calc(var(--scroll-percent, 0) * -12vw + 6vw), calc(var(--scroll-percent, 0) * -4vh + 2vh)) scale(calc(1 - var(--scroll-percent-abs, 0) * 0.1));
            transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
        }

        /* Prevent overflow on small screens / heights */
        @media (max-height: 950px) {
            .slide {
                padding: 30px 40px !important;
            }
            h2 {
                font-size: 2.2rem !important;
                margin-bottom: 16px !important;
            }
            .eyebrow {
                margin-bottom: 10px !important;
            }
            .lead {
                font-size: 1.15rem !important;
                margin-bottom: 16px !important;
            }
            p {
                font-size: 0.95rem !important;
                margin-bottom: 8px !important;
            }
            .grid-2, .grid-3, .grid-4 {
                gap: 20px !important;
            }
            .card {
                padding: 24px !important;
            }
            .stat-value {
                font-size: clamp(2rem, 3.5vw, 3rem) !important;
                margin-bottom: 6px !important;
            }
            
            /* Reduce large inline margins globally */
            .slide [style*="margin-top: 60px"],
            .slide [style*="margin-top:60px"],
            .slide [style*="margin-top: 80px"],
            .slide [style*="margin-top:80px"] {
                margin-top: 20px !important;
            }
            .slide [style*="margin-bottom: 40px"],
            .slide [style*="margin-bottom:40px"] {
                margin-bottom: 16px !important;
            }
            .slide [style*="margin-bottom: 60px"],
            .slide [style*="margin-bottom:60px"] {
                margin-bottom: 16px !important;
            }
            .slide [style*="gap: 40px"],
            .slide [style*="gap:40px"],
            .slide [style*="gap: 60px"],
            .slide [style*="gap:60px"] {
                gap: 16px !important;
            }
            
            /* Slide 17 Specific Inline Reductions */
            .slide [style*="font-size: clamp(4rem, 8vw, 6rem)"],
            .slide [style*="font-size:clamp(4rem, 8vw, 6rem)"] {
                font-size: 3rem !important;
            }
            .slide [style*="display: flex; gap: 40px; margin-bottom: 40px;"],
            .slide [style*="display: flex; gap: 40px; margin-bottom: 40px"] {
                gap: 20px !important;
                margin-bottom: 16px !important;
            }
            .slide [style*="margin-top:24px"],
            .slide [style*="margin-top: 24px"] {
                margin-top: 12px !important;
            }
            
            /* Slide 15 specific */
            .slide [style*="margin-top: 40px"] {
                margin-top: 16px !important;
            }
            
            /* Slide 9 specific (Customer Retention) */
            .slide [style*="margin: 80px 0"],
            .slide [style*="margin: 80px 0;"] {
                margin: 20px 0 !important;
            }
            .slide [style*="font-size: clamp(6rem, 12vw, 10rem)"],
            .slide [style*="font-size:clamp(6rem, 12vw, 10rem)"] {
                font-size: clamp(4rem, 8vw, 6rem) !important;
            }
            .slide [style*="margin: 80px 0 60px"],
            .slide [style*="margin: 80px 0 60px;"] {
                margin: 20px auto !important;
            }
            
            /* Slide 10 specific (Hub Expansion Model) */
            .slide [style*="padding: 60px 30px"] {
                padding: 24px 16px !important;
            }
            
            /* List item adjustments */
            ul.minimal-list li {
                margin-bottom: 8px !important;
                font-size: 0.95rem !important;
            }
            
            /* Tree sizing */
            .reveal.active .tree-line {
                height: 24px !important;
            }
            .tree-node {
                padding-top: 24px !important;
            }
            .reveal.active .tree-node::before {
                height: 24px !important;
            }
            
            /* Phone frame scaling */
            .phone-frame {
                height: 520px !important;
                width: 250px !important;
                border-radius: 28px !important;
            }
            @keyframes appScrollAnimation {
                0%, 15% { transform: translateY(0); }
                85%, 100% { transform: translateY(calc(-100% + 434px)); }
            }
        }

        @media (max-height: 800px) {
            .slide {
                padding: 15px 30px !important;
            }
            h2 {
                font-size: 1.7rem !important;
                margin-bottom: 10px !important;
            }
            .eyebrow {
                margin-bottom: 8px !important;
            }
            .lead {
                font-size: 1rem !important;
                margin-bottom: 10px !important;
            }
            p {
                font-size: 0.85rem !important;
                margin-bottom: 6px !important;
            }
            .grid-2, .grid-3, .grid-4 {
                gap: 12px !important;
            }
            .card {
                padding: 14px 18px !important;
            }
            .stat-value {
                font-size: clamp(1.8rem, 2.5vw, 2.4rem) !important;
                margin-bottom: 4px !important;
            }
            
            /* Reduce inline margins further */
            .slide [style*="margin-top: 60px"],
            .slide [style*="margin-top:60px"],
            .slide [style*="margin-top: 80px"],
            .slide [style*="margin-top:80px"] {
                margin-top: 10px !important;
            }
            .slide [style*="margin-bottom: 40px"],
            .slide [style*="margin-bottom:40px"] {
                margin-bottom: 10px !important;
            }
            .slide [style*="margin-bottom: 60px"],
            .slide [style*="margin-bottom:60px"] {
                margin-bottom: 10px !important;
            }
            .slide [style*="gap: 40px"],
            .slide [style*="gap:40px"],
            .slide [style*="gap: 60px"],
            .slide [style*="gap:60px"] {
                gap: 10px !important;
            }
            
            /* Slide 17 Specific Inline Reductions */
            .slide [style*="font-size: clamp(4rem, 8vw, 6rem)"],
            .slide [style*="font-size:clamp(4rem, 8vw, 6rem)"] {
                font-size: 2.2rem !important;
            }
            .slide [style*="display: flex; gap: 40px; margin-bottom: 40px;"],
            .slide [style*="display: flex; gap: 40px; margin-bottom: 40px"] {
                gap: 12px !important;
                margin-bottom: 10px !important;
            }
            .slide [style*="margin-top:24px"],
            .slide [style*="margin-top: 24px"] {
                margin-top: 6px !important;
            }
            
            /* Slide 15 specific */
            .slide [style*="margin-top: 40px"] {
                margin-top: 10px !important;
            }
            
            /* Slide 9 specific (Customer Retention) */
            .slide [style*="margin: 80px 0"],
            .slide [style*="margin: 80px 0;"] {
                margin: 10px 0 !important;
            }
            .slide [style*="font-size: clamp(6rem, 12vw, 10rem)"],
            .slide [style*="font-size:clamp(6rem, 12vw, 10rem)"] {
                font-size: clamp(3rem, 6vw, 4.5rem) !important;
            }
            .slide [style*="margin: 80px 0 60px"],
            .slide [style*="margin: 80px 0 60px;"] {
                margin: 10px auto !important;
            }
            
            /* Slide 10 specific (Hub Expansion Model) */
            .slide [style*="padding: 60px 30px"] {
                padding: 16px 12px !important;
            }
            
            /* List item adjustments */
            ul.minimal-list li {
                margin-bottom: 4px !important;
                font-size: 0.85rem !important;
                padding-left: 18px !important;
            }
            ul.minimal-list li::before {
                font-size: 0.85rem !important;
            }
            
            /* Tree sizing */
            .reveal.active .tree-line {
                height: 16px !important;
            }
            .tree-node {
                padding-top: 16px !important;
            }
            .reveal.active .tree-node::before {
                height: 16px !important;
            }
            
            /* Phone frame scaling */
            .phone-frame {
                height: 400px !important;
                width: 194px !important;
                border-radius: 20px !important;
            }
            @keyframes appScrollAnimation {
                0%, 15% { transform: translateY(0); }
                85%, 100% { transform: translateY(calc(-100% + 314px)); }
            }
            
            .slide-footer {
                bottom: 12px !important;
                font-size: 0.65rem !important;
            }
            
            /* Flow diagram details */
            .flow-node {
                padding: 6px !important;
            }
            .flow-node-title {
                font-size: 0.65rem !important;
            }
            .flow-node-desc {
                display: none !important;
            }
        }

        /* Tree Animation */
        .tree-line { 
            width: 2px; 
            height: 0px; 
            background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 100%); 
            margin: 0 auto; 
            transition: height 1s cubic-bezier(0.15, 0.85, 0.35, 1); 
        }
        .reveal.active .tree-line { 
            height: 40px; 
        }
        
        .tree-branch { 
            display: flex; 
            justify-content: center; 
            position: relative; 
            margin: 0 auto; 
        }
        .tree-branch::before { 
            content: ''; 
            position: absolute; 
            top: 0; 
            left: 16.66%; 
            right: 16.66%; 
            height: 2px; 
            background: rgba(255,255,255,0.2); 
            transform: scaleX(0); 
            transform-origin: center; 
            transition: transform 1s cubic-bezier(0.15, 0.85, 0.35, 1); 
        }
        .reveal.active .tree-branch::before { 
            transform: scaleX(1); 
        }
        
        .tree-node { 
            position: relative; 
            padding-top: 40px; 
            text-align: center; 
            flex: 1; 
        }
        .tree-node::before { 
            content: ''; 
            position: absolute; 
            top: 0; 
            left: 50%; 
            width: 2px; 
            height: 0px; 
            background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%); 
            transition: height 1s cubic-bezier(0.15, 0.85, 0.35, 1); 
        }
        .reveal.active .tree-node::before { 
            height: 40px; 
        }
        .tree-node > div {
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.8s cubic-bezier(0.15, 0.85, 0.35, 1), transform 0.8s cubic-bezier(0.15, 0.85, 0.35, 1);
            transition-delay: 0.6s;
        }
        .reveal.active .tree-node > div {
            opacity: 1;
            transform: translateY(0);
        }

        .chart-bar-container { width: 100%; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; margin-top: 12px; }
        .chart-bar { 
            height: 100%; 
            background: #fff; 
            border-radius: 3px; 
            width: 0; 
            transition: width 1.5s cubic-bezier(0.15, 0.85, 0.35, 1); 
            transition-delay: 0.3s;
        }
        .reveal.active .chart-bar {
            width: var(--target-width);
        }

        a { color: var(--text-main); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px; transition: border-color 0.3s ease; }
        a:hover { border-color: var(--text-main); }

        /* Samsung S20 FE Phone UI Mockup Styling */
        .phone-frame {
            width: 310px;
            height: 640px;
            background: #000;
            border-radius: 36px;
            border: 10px solid #1c1c1c;
            box-shadow: 0 25px 60px rgba(0,0,0,0.85), inset 0 0 4px rgba(255,255,255,0.15);
            position: relative;
            overflow: hidden;
            margin: 0 auto;
        }
        .phone-camera {
            position: absolute;
            top: 7px;
            left: 50%;
            transform: translateX(-50%);
            width: 10px;
            height: 10px;
            background: #0d0d0d;
            border: 2px solid #222;
            border-radius: 50%;
            z-index: 100;
            box-shadow: inset 0 0 2px rgba(255,255,255,0.5);
        }
        .phone-screen-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            background: #000;
        }
        .phone-status-bar {
            height: 24px;
            background: #000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            font-size: 0.65rem;
            color: rgba(255,255,255,0.95);
            font-weight: 500;
            z-index: 10;
        }
        .android-nav-bar {
            height: 42px;
            background: #000;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid #111;
            padding: 0 20px;
            z-index: 10;
        }
        .android-nav-btn {
            color: #888;
            font-size: 0.8rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 100%;
            transition: color 0.2s, transform 0.1s;
        }
        .android-nav-btn:hover {
            color: var(--text-main);
        }
        .android-nav-btn:active {
            transform: scale(0.9);
        }
        .android-nav-recents {
            display: flex;
            gap: 3px;
        }
        .android-nav-recents span {
            width: 2px;
            height: 10px;
            background: currentColor;
            border-radius: 1px;
        }
        .android-nav-home {
            width: 12px;
            height: 12px;
            border: 2px solid currentColor;
            border-radius: 4px;
        }
        .android-nav-back {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* App Scroll Animation Styling */
        .app-scroll-container {
            flex-grow: 1;
            width: 100%;
            height: 0;
            overflow: hidden;
            background: #000;
            position: relative;
        }
        .app-scroll-image {
            width: 100%;
            height: auto;
            position: absolute;
            top: 0;
            left: 0;
            animation: appScrollAnimation 12s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
        }
        /* Delay start slightly and pause at the top/bottom */
        @keyframes appScrollAnimation {
            0%, 15% { transform: translateY(0); }
            85%, 100% { transform: translateY(calc(-100% + 554px)); }
        }

        /* Logistics Flow Styling */
        .logistics-flow {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            margin-top: 40px;
            padding: 0 10px;
        }
        .flow-line {
            flex-grow: 1;
            height: 2px;
            background: rgba(255,255,255,0.1);
            position: relative;
            overflow: hidden;
            min-width: 20px;
        }
        .flow-line::after {
            content: '';
            position: absolute;
            top: 0; left: -100px; width: 60px; height: 100%;
            background: linear-gradient(90deg, transparent, var(--orange-accent), transparent);
            animation: flowPulse 2.5s linear infinite;
        }
        @keyframes flowPulse {
            0% { left: -100px; }
            100% { left: 100%; }
        }
        .flow-line-1::after { animation-delay: 0s; }
        .flow-line-2::after { animation-delay: 0.8s; }
        .flow-line-3::after { animation-delay: 1.6s; }
 
        .flow-node {
            width: 130px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 12px;
            text-align: center;
            position: relative;
            z-index: 2;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.15, 0.85, 0.35, 1);
        }
        .flow-node::after {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(247, 147, 26, 0.18), transparent 60%);
            z-index: 1; pointer-events: none; opacity: 0;
            transition: opacity 0.5s ease;
        }
        .flow-node:hover::after { opacity: 1; }
        .flow-node:hover {
            transform: translateY(-4px) scale(1.03);
            border-color: rgba(247, 147, 26, 0.4);
            background: rgba(247, 147, 26, 0.10);
        }
        .flow-node-icon {
            font-size: 1.5rem;
            color: var(--text-main);
            margin-bottom: 6px;
            position: relative;
            z-index: 2;
        }
        .flow-node-title {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 4px;
            position: relative;
            z-index: 2;
        }
        .flow-node-desc {
            font-size: 0.65rem;
            color: var(--text-muted);
            line-height: 1.3;
            position: relative;
            z-index: 2;
        }

        /* ============================
           SHORT SCREENS (≤1100px height, Desktop)
           This handles standard 1080p and 1440p laptop screens
        ============================ */
        @media (max-height: 1100px) and (min-width: 1025px) {
            .slide {
                padding: 40px 60px !important;
            }
            h1 { font-size: clamp(3rem, 5vw, 4rem) !important; margin-bottom: 12px !important; }
            h2 { font-size: clamp(2rem, 3.5vw, 2.6rem) !important; margin-bottom: 20px !important; }
            .eyebrow { margin-bottom: 12px !important; }
            
            .grid-2, .grid-3, .grid-4 { gap: 24px !important; }
            
            /* Reduce table spacing and font */
            th, td { padding: 8px 12px !important; font-size: 0.85rem !important; }
            
            /* Reduce card padding */
            .card { padding: 24px !important; }
            
            /* Overrides for specific inline styles that push content out */
            .slide [style*="margin-top: 60px"] { margin-top: 24px !important; }
            .slide [style*="margin-top: 40px"] { margin-top: 16px !important; }
            .slide [style*="margin-top: 30px"] { margin-top: 12px !important; }
            .slide [style*="margin-bottom: 40px"] { margin-bottom: 16px !important; }
            .slide [style*="gap: 40px"] { gap: 24px !important; }
            .slide [style*="gap: 50px"] { gap: 24px !important; }
            .slide [style*="padding: 40px"] { padding: 24px !important; }
        }

        /* ============================
           TABLET  (≤1024px)
        ============================ */
        @media (max-width: 1024px) {
            body {
                scroll-snap-type: none !important;
                overflow-y: auto !important;
                height: auto !important;
            }
            .slide {
                height: auto !important;
                min-height: auto !important;
                padding: 100px 32px 60px !important;
                scroll-snap-align: none !important;
                overflow: visible !important;
            }
            .slide-footer { display: none; }
            .nav-dots     { display: none; }
            .global-header { top: 16px; padding: 0 24px; }
            .global-header img { height: 34px; }

            h1 { font-size: clamp(2.8rem, 6vw, 4.5rem) !important; }
            h2 { font-size: clamp(2rem, 4vw, 3rem) !important; margin-bottom: 28px !important; }
            h3 { font-size: 1.2rem !important; }
            .lead { font-size: 1.15rem !important; margin-bottom: 24px !important; }
            p  { font-size: 0.95rem !important; }

            .grid-2  { grid-template-columns: 1fr !important; gap: 24px !important; }
            .grid-3  { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
            .grid-4  { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
            .card    { padding: 24px !important; }

            /* Inline two-col grids used inside slides */
            .slide [style*="grid-template-columns: 1fr 1fr"],
            .slide [style*="grid-template-columns:1fr 1fr"] {
                grid-template-columns: 1fr !important;
            }

            .margin-matrix { grid-template-columns: repeat(2, 1fr) !important; }

            /* Tables: fit within viewport */
            .table-container { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }

            /* Logistics flow: vertical on tablet */
            .logistics-flow { flex-wrap: wrap; justify-content: center; gap: 12px; }
            .flow-node      { width: 140px !important; }
        }

        /* ============================
           MOBILE  (≤640px)
        ============================ */
        @media (max-width: 640px) {
            /* === CRITICAL: Disable scroll snap on mobile === */
            html {
                scroll-snap-type: none !important;
                overflow-y: auto !important;
                height: auto !important;
            }
            body {
                font-size: 14px;
                scroll-snap-type: none !important;
                overflow-y: auto !important;
                height: auto !important;
                scroll-behavior: auto !important;
                -webkit-overflow-scrolling: touch;
            }

            /* === Slides: auto-height, no overflow clipping === */
            .slide {
                height: auto !important;
                min-height: auto !important;
                max-height: none !important;
                padding: 80px 16px 40px !important;
                scroll-snap-align: none !important;
                overflow: visible !important;
            }

            /* === Container: full width on mobile === */
            .container {
                width: 100% !important;
                max-width: 100% !important;
                padding: 0 !important;
            }

            .global-header { top: 12px; padding: 0 16px; }
            .global-header img { height: 28px; }

            h1  { font-size: clamp(2rem, 9vw, 2.8rem) !important; }
            h2  { font-size: clamp(1.4rem, 5.5vw, 1.8rem) !important; margin-bottom: 16px !important; }
            h3  { font-size: 1rem !important; }
            .lead   { font-size: 0.95rem !important;  margin-bottom: 14px !important; }
            p       { font-size: 0.85rem !important; margin-bottom: 8px !important; line-height: 1.5 !important; }
            .eyebrow{ font-size: 0.7rem !important; margin-bottom: 8px !important; }

            /* === Grids: all single column on mobile === */
            .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 14px !important; }
            .card   { padding: 16px 14px !important; border-radius: 12px !important; }

            /* === Force ALL inline grids to single column === */
            .slide [style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }
            .slide [style*="display: grid"] {
                grid-template-columns: 1fr !important;
                gap: 12px !important;
            }

            /* === Flex containers: wrap and stack vertically === */
            .slide [style*="display: flex"] {
                flex-wrap: wrap !important;
            }

            /* === Margin matrix: 2-col on mobile === */
            .margin-matrix { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
            .margin-card   { padding: 16px 12px !important; }
            .margin-percent{ font-size: 1.3rem !important; }

            /* === Flowchart nodes === */
            .flow-node { width: 100% !important; max-width: 100% !important; }
            .logistics-flow { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
            .flow-line  { display: none !important; }

            /* Supply chain connector arrows */
            .sc-connector { display: none !important; }
            .sc-node { max-width: 100% !important; }

            /* === TABLES: Proper mobile handling === */
            .table-container {
                overflow-x: hidden !important;
                margin: 0 !important;
                padding: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
            }
            table {
                min-width: 0 !important;
                width: 100% !important;
                table-layout: fixed !important; /* Forces table to fit screen */
                font-size: 0.75rem !important;
                overflow-wrap: break-word !important;
                word-wrap: break-word !important;
            }
            th, td {
                padding: 6px 4px !important;
                font-size: 0.72rem !important;
                word-break: break-word !important;
                white-space: normal !important;
                line-height: 1.2 !important;
                vertical-align: top !important;
            }
            th {
                font-size: 0.65rem !important;
                letter-spacing: 0.02em !important;
            }

            /* === stat values === */
            .stat-value { font-size: 2rem !important; }

            /* === slide-footer and nav hidden on mobile === */
            .slide-footer, .nav-dots { display: none !important; }

            /* === minimal list === */
            ul.minimal-list li {
                font-size: 0.85rem !important;
                margin-bottom: 8px !important;
                padding-left: 20px !important;
                line-height: 1.5 !important;
            }
            ul.minimal-list li::before {
                font-size: 0.85rem !important;
            }

            /* === Styled list === */
            .styled-list li {
                font-size: 0.8rem !important;
                line-height: 1.5 !important;
                margin-bottom: 8px !important;
            }

            /* === Reduce all inline large gaps and margins === */
            .slide [style*="gap: 50px"],
            .slide [style*="gap:50px"],
            .slide [style*="gap: 60px"],
            .slide [style*="gap:60px"],
            .slide [style*="gap: 40px"],
            .slide [style*="gap:40px"],
            .slide [style*="gap: 30px"],
            .slide [style*="gap:30px"] {
                gap: 14px !important;
            }

            .slide [style*="margin-top: 60px"],
            .slide [style*="margin-top: 80px"],
            .slide [style*="margin-top: 40px"],
            .slide [style*="margin-bottom: 60px"],
            .slide [style*="margin-bottom: 40px"] {
                margin-top: 14px !important;
                margin-bottom: 14px !important;
            }

            /* === Large paddings in inline styles === */
            .slide [style*="padding: 40px"],
            .slide [style*="padding:40px"] {
                padding: 18px 14px !important;
            }
            .slide [style*="padding: 30px"],
            .slide [style*="padding:30px"] {
                padding: 16px 12px !important;
            }
            .slide [style*="padding: 28px"],
            .slide [style*="padding:28px"] {
                padding: 14px 12px !important;
            }

            /* === Cover slide adjustments === */
            .slide:first-child {
                min-height: 100svh !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .slide:first-child h1 {
                font-size: clamp(2.5rem, 12vw, 3.5rem) !important;
            }
            .slide:first-child .lead {
                font-size: 1.2rem !important;
            }
            .slide:first-child .lead + .lead {
                font-size: 0.9rem !important;
            }

            /* === Last slide (Thank You): keep centered === */
            .slide:last-child {
                min-height: 100svh !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            /* === Exit strategy cards: proper spacing === */
            .slide .grid-3 > div[style*="display: flex"][style*="flex-direction: column"] {
                padding: 18px 14px !important;
            }

            /* === Inline font-size overrides for mobile === */
            .slide [style*="font-size: 2.5rem"],
            .slide [style*="font-size:2.5rem"] {
                font-size: 1.3rem !important;
            }
            .slide [style*="font-size: 1.5rem"],
            .slide [style*="font-size:1.5rem"] {
                font-size: 1.1rem !important;
            }
            .slide [style*="font-size: 1.4rem"],
            .slide [style*="font-size:1.4rem"] {
                font-size: 1.05rem !important;
            }
            .slide [style*="font-size: 1.25rem"],
            .slide [style*="font-size:1.25rem"] {
                font-size: 1rem !important;
            }
            .slide [style*="font-size: 1.2rem"],
            .slide [style*="font-size:1.2rem"] {
                font-size: 0.95rem !important;
            }

            /* === Phone frame hide on mobile (too small to display) === */
            .phone-frame {
                width: 220px !important;
                height: 440px !important;
                border-radius: 24px !important;
                border-width: 6px !important;
                margin: 0 auto !important;
            }

            /* === Ambient effects: tone down on mobile === */
            .ambient-glow, .ambient-glow-2, .global-spotlight {
                opacity: 0.5 !important;
            }
            .cursor-glow { display: none !important; }
        }

        /* ============================
           SMALL MOBILE  (≤380px)
        ============================ */
        @media (max-width: 380px) {
            .slide {
                padding: 70px 12px 30px !important;
            }
            h1  { font-size: 1.8rem !important; }
            h2  { font-size: 1.25rem !important; margin-bottom: 12px !important; }
            h3  { font-size: 0.9rem !important; }
            .lead { font-size: 0.85rem !important; }
            p { font-size: 0.78rem !important; }
            .global-header img { height: 22px; }

            .margin-matrix { grid-template-columns: 1fr !important; }

            .card { padding: 14px 12px !important; }

            th, td {
                padding: 6px 4px !important;
                font-size: 0.65rem !important;
            }

            ul.minimal-list li {
                font-size: 0.78rem !important;
                padding-left: 16px !important;
            }
        }
        @media print {
            @page {
                size: 16in 9in; /* Perfect 16:9 landscape aspect ratio */
                margin: 0;
            }
            html, body {
                width: 100% !important;
                height: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
                background-color: var(--bg-color) !important;
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
                color-adjust: exact !important;
                font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
            }
            body {
                overflow: visible !important;
            }
            .slide {
                width: 16in !important;
                height: 9in !important;
                min-height: 9in !important;
                max-height: 9in !important;
                page-break-after: always;
                page-break-inside: avoid;
                overflow: hidden !important;
                display: flex !important;
                position: relative !important;
                padding: 60px !important;
                margin: 0 !important;
                box-sizing: border-box !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .container {
                width: 100% !important;
                max-width: 1200px !important;
                margin: 0 auto !important;
                padding: 0 !important;
                transform: none !important;
            }
            .reveal, .eyebrow {
                opacity: 1 !important;
                transform: none !important;
            }
            .tree-node > div {
                opacity: 1 !important;
                transform: none !important;
            }
            .ambient-glow, .ambient-glow-2, .global-spotlight, .nav-dots, .cursor-glow, .global-header button {
                display: none !important;
            }
        }

/* Global Header for Logos */
.global-header {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100vw;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 999;
    pointer-events: none; /* Let clicks pass through if needed, though they shouldn't cover anything interactive */
}
.global-header img {
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
.margin-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.margin-card {
    background: #ffffff;
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.margin-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange-accent);
}
.margin-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--orange-accent);
}
.margin-percent {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange-accent);
    margin-bottom: 8px;
}


/* Supply Chain Flowchart Animations */
@keyframes scFadeInDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scDrop {
    0% { top: 0; opacity: 1; }
    80% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}


/* Phone Mockup for Product Slide */
/* Phone Mockup */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper::before {
  content: "";
  position: absolute;
  inset: -30px;
  z-index: -1;
  filter: blur(80px);
  background: radial-gradient(circle, rgba(247, 147, 26, 0.15) 0%, transparent 70%);
}

.phone-frame {
  width: 290px;
  height: 580px;
  background: #000;
  border-radius: 36px;
  border: 10px solid #1c1c1c;
  box-shadow: 0 25px 60px rgba(0,0,0,0.85), inset 0 0 4px rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.phone-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #0d0d0d;
  border: 2px solid #222;
  border-radius: 50%;
  z-index: 100;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.5);
}

.phone-screen-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
}

.phone-status-bar {
  height: 24px;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  z-index: 10;
}

.android-nav-bar {
  height: 36px;
  background: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #111;
  padding: 0 20px;
  z-index: 10;
}

.android-nav-btn {
  color: #555;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 100%;
}

.android-nav-recents {
  display: flex;
  gap: 3px;
}

.android-nav-recents span {
  width: 2px;
  height: 8px;
  background: currentColor;
  border-radius: 1px;
}

.android-nav-home {
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.android-nav-back {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-scroll-container {
  flex-grow: 1;
  width: 100%;
  height: 0;
  overflow: hidden;
  background: #000;
  position: relative;
}

.app-scroll-image {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  animation: appScrollAnimation 10s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes appScrollAnimation {
  0%, 15% { transform: translateY(0); }
  85%, 100% { transform: translateY(calc(-100% + 520px)); }
}
