/* style.css */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy:#0f2744;--navy2:#1a3a5c;--navy3:#0a1e35;
  --teal:#00b4b4;--teal2:#00d4d4;--teal3:#007f7f;--teal-pale:#e8f8f8;
  --white:#fff;--off:#f4f8fb;--text:#3a4a5c;--muted:#7a909f;
  --border:#e2ecf3;--dark:#090f1a;
  --fd:'Poppins',sans-serif;--fb:'DM Sans',sans-serif;
  --ease:cubic-bezier(.4,0,.2,1);
}
html{scroll-behavior:smooth}
body{font-family:var(--fb);color:var(--text);background:var(--white);overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{text-decoration:none;color:inherit}

.teal{color:var(--teal)} .text-center{text-align:center} .mb-14{margin-bottom:14px} .mb-16{margin-bottom:16px} .mb-20{margin-bottom:20px} .mb-60{margin-bottom:60px} .mt-36{margin-top:36px} .mt-60{margin-top:60px} .pos-rel{position:relative} .overflow-hidden{overflow:hidden} .z-2{position:relative;z-index:2} .absolute-inset{position:absolute;inset:0} .opacity-50{opacity:0.5} .opacity-60{opacity:0.6} .flex-col{display:flex;flex-direction:column} .gap-20{gap:20px} .br-14{border-radius:14px} .italic{font-style:italic}
.wrap{max-width:1160px;margin:0 auto;padding:0 28px}
.wrap-sm{max-width:820px;margin:0 auto;padding:0 28px}
.tag{display:inline-flex;align-items:center;gap:8px;background:rgba(0,180,180,.1);color:var(--teal);font-family:var(--fd);font-size:10.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;padding:5px 14px;border-radius:100px;border:1px solid rgba(0,180,180,.22);margin-bottom:18px}
.tag::before{content:'';width:18px;height:1.5px;background:var(--teal)}
.section{padding:100px 0} .section-alt{background:var(--off)} .section-dark{background:var(--navy)}
.section-head{text-align:center;margin-bottom:60px}
.section-head h2{font-family:var(--fd);font-size:clamp(30px,4vw,48px);font-weight:800;color:var(--navy);letter-spacing:-.025em;line-height:1.1;margin-bottom:14px}
.section-dark .section-head h2{color:var(--white)}
.section-head p{font-size:17px;font-weight:300;color:var(--muted);max-width:540px;margin:0 auto;line-height:1.75}
.section-dark .section-head p{color:rgba(255,255,255,.45)}

/* ── NAV & DROPDOWN (DESKTOP) ────────────────────────── */
/* CHANGED FROM nav {...} TO .main-nav {...} TO PROTECT FOOTER */
.main-nav{position:fixed;top:0;left:0;right:0;z-index:200;height:90px;background:rgba(9,15,26,.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,180,180,.12);display:flex;align-items:center;justify-content:space-between;padding:0 36px;transition:all .3s}
.nav-logo{font-family:var(--fd);font-size:21px;font-weight:800;color:var(--white);letter-spacing:-.01em}
.nav-logo span{color:var(--teal)}
.nav-links{display:flex;align-items:center;gap:0;list-style:none}
.nav-links a{font-size:13.5px;font-weight:400;color:rgba(255,255,255,.65);padding:0 16px;height:90px;display:flex;align-items:center;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.nav-links a:hover,.nav-links a.active{color:var(--teal);border-bottom-color:var(--teal)}
.nav-cta{background:var(--teal)!important;color:var(--navy)!important;font-family:var(--fd)!important;font-weight:700!important;font-size:13px!important;padding:8px 20px!important;border-radius:6px!important;height:auto!important;border-bottom:none!important;margin-left:12px;transition:background .2s,transform .15s!important}
.nav-cta:hover{background:var(--teal2)!important;transform:translateY(-1px)}
.dropdown { position: relative; }
.drop-trigger { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px); background: var(--white); min-width: 280px; border-radius: 12px; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15), 0 0 0 1px var(--border); padding: 12px 0; opacity: 0; visibility: hidden; transition: all 0.3s var(--ease); display: flex; flex-direction: column; z-index: 250; }
.dropdown-menu::before { content: ''; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { height: auto !important; padding: 12px 24px !important; color: var(--text) !important; border-bottom: none !important; font-size: 13.5px !important; font-weight: 500 !important; display: flex; align-items: center; transition: all 0.2s var(--ease) !important; }
.dropdown-menu a:hover { background: rgba(13, 148, 136, 0.05); color: var(--teal) !important; padding-left: 30px !important; }

/* ── PAGE & HERO ─────────────────────────────────────── */
.page{padding-top:90px; display:block; min-height:100vh;}
.hero{min-height:calc(100vh - 90px);background:var(--navy3);display:flex;align-items:center;position:relative;overflow:hidden}
.hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(0,180,180,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(0,180,180,.055) 1px,transparent 1px);background-size:64px 64px;animation:gridDrift 28s linear infinite}
@keyframes gridDrift{from{background-position:0 0}to{background-position:64px 64px}}
.hero-glow{position:absolute;width:800px;height:800px;border-radius:50%;background:radial-gradient(circle,rgba(0,180,180,.16) 0%,transparent 68%);top:-280px;right:-180px;animation:glow 7s ease-in-out infinite}
.hero-glow2{position:absolute;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(0,180,180,.09) 0%,transparent 70%);bottom:-150px;left:-120px;animation:glow 9s ease-in-out 3s infinite}
@keyframes glow{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.07);opacity:.65}}
.hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:1fr 420px;gap:64px;align-items:center;padding:80px 28px}
.hero-eye{font-family:var(--fd);font-size:10.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--teal);display:flex;align-items:center;gap:10px;margin-bottom:20px;animation:fadeUp .6s ease both}
.hero-eye::before{content:'';width:28px;height:1.5px;background:var(--teal)}
.hero h1{font-family:var(--fd);font-size:clamp(44px,5.5vw,70px);font-weight:800;color:var(--white);line-height:1.05;letter-spacing:-.03em;margin-bottom:22px;animation:fadeUp .6s .08s ease both}
.hero h1 em{font-style:normal;color:transparent;-webkit-text-stroke:1.5px var(--teal)}
.hero-sub{font-size:16.5px;font-weight:300;line-height:1.75;color:rgba(255,255,255,.58);max-width:520px;margin-bottom:38px;animation:fadeUp .6s .16s ease both}
.hero-btns{display:flex;gap:13px;flex-wrap:wrap;animation:fadeUp .6s .24s ease both}
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--fd);font-size:13.5px;font-weight:700;padding:13px 30px;border-radius:7px;cursor:pointer;transition:all .2s var(--ease);border:none}
.btn-teal{background:var(--teal);color:var(--navy)} .btn-teal:hover{background:var(--teal2);transform:translateY(-2px);box-shadow:0 8px 28px rgba(0,180,180,.35)}
.btn-ghost{background:transparent;color:rgba(255,255,255,.78);border:1.5px solid rgba(255,255,255,.2)} .btn-ghost:hover{border-color:var(--teal);color:var(--teal)}
.btn-white{background:var(--white);color:var(--navy)} .btn-white:hover{background:var(--off);transform:translateY(-2px);box-shadow:0 8px 28px rgba(0,0,0,.18)}
@keyframes fadeUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}

/* ── CARDS & BLOCKS ──────────────────────────────────── */
.card{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:36px 30px;transition:transform .25s,box-shadow .25s,border-color .25s;position:relative;overflow:hidden}
.card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--teal),var(--teal2));transform:scaleX(0);transform-origin:left;transition:transform .3s}
.card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(15,39,68,.1);border-color:var(--teal)}
.card:hover::before{transform:scaleX(1)}
.card-icon{width:52px;height:52px;border-radius:12px;background:rgba(0,180,180,.1);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:18px}
.card h3{font-family:var(--fd);font-size:17px;font-weight:700;color:var(--navy);margin-bottom:10px}
.card p{font-size:14px;font-weight:300;color:var(--muted);line-height:1.72}
.card-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--teal);margin-top:18px;transition:gap .2s} .card-link:hover{gap:10px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px} .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px} .grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step-card{padding:38px 28px;background:rgba(255,255,255,.035);border:1px solid rgba(0,180,180,.1);transition:background .25s} .step-card:hover{background:rgba(0,180,180,.07)}
.step-num{font-family:var(--fd);font-size:52px;font-weight:800;color:rgba(0,180,180,.18);line-height:1;margin-bottom:16px}
.step-card h3{font-family:var(--fd);font-size:17px;font-weight:700;color:var(--white);margin-bottom:10px} .step-card p{font-size:13.5px;font-weight:300;color:rgba(255,255,255,.48);line-height:1.72}
.split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.split h2{font-family:var(--fd);font-size:clamp(28px,3.5vw,44px);font-weight:800;color:var(--navy);letter-spacing:-.025em;line-height:1.1;margin-bottom:18px}
.split p{font-size:15.5px;font-weight:300;color:var(--muted);line-height:1.75;margin-bottom:28px}

.cta-band{padding:100px 0;background:linear-gradient(135deg,var(--navy3) 0%,var(--navy2) 55%,#0a3d3d 100%);text-align:center;position:relative;overflow:hidden}
.cta-band::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 75% 55% at 50% 50%,rgba(0,180,180,.14),transparent)}
.cta-band h2{font-family:var(--fd);font-size:clamp(30px,4.5vw,56px);font-weight:800;color:var(--white);letter-spacing:-.025em;line-height:1.08;margin-bottom:18px}
.cta-band p{font-size:17px;font-weight:300;color:rgba(255,255,255,.5);max-width:500px;margin:0 auto 38px;line-height:1.75}
.cta-btns{display:flex;justify-content:center;gap:13px;flex-wrap:wrap}
.approach-hero{background:var(--navy3);padding:100px 0 80px;position:relative;overflow:hidden} .approach-hero .hero-grid{position:absolute;inset:0}
.approach-hero h1{font-family:var(--fd);font-size:clamp(38px,5vw,64px);font-weight:800;color:var(--white);letter-spacing:-.025em;line-height:1.07;margin-bottom:18px}
.approach-hero p{font-size:17px;font-weight:300;color:rgba(255,255,255,.55);max-width:600px;line-height:1.75}
.svc-detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:60px 0;border-bottom:1px solid var(--border)} .svc-detail:last-child{border:none}
.svc-detail.flip{direction:rtl} .svc-detail.flip>*{direction:ltr}
.svc-icon-lg{width:80px;height:80px;border-radius:16px;background:linear-gradient(135deg,rgba(0,180,180,.15),rgba(0,180,180,.05));display:flex;align-items:center;justify-content:center;font-size:34px;margin-bottom:22px;border:1px solid rgba(0,180,180,.2)}
.svc-detail h2{font-family:var(--fd);font-size:clamp(26px,3vw,36px);font-weight:800;color:var(--navy);letter-spacing:-.025em;line-height:1.1;margin-bottom:14px}
.svc-detail p{font-size:15px;font-weight:300;color:var(--muted);line-height:1.78;margin-bottom:16px}
.svc-bullets{list-style:none;display:flex;flex-direction:column;gap:10px;margin-top:20px} .svc-bullets li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--text);line-height:1.55} .svc-bullets li::before{content:'▸';color:var(--teal);font-size:11px;margin-top:2px;flex-shrink:0}

/* ── HOMEPAGE & APPROACH GRAPHICS ───────────────── */
.hero-graphic { position: relative; width: 100%; height: 400px; perspective: 1000px; animation: floatUpDown 6s ease-in-out infinite; z-index: 10; }
.glass-panel { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(13,148,136, 0.2); border-radius: 20px; padding: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(13,148,136, 0.05); transform: rotateY(-15deg) rotateX(5deg); transform-style: preserve-3d; color: white; }
.panel-header { font-family: var(--fd); font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--teal); letter-spacing: 0.1em; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.live-badge { display: flex; align-items: center; gap: 7px; font-size: 11px; color: rgba(255, 255, 255, 0.38); }
.live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: blink 1.8s infinite; }
.animated-graph { height: 120px; display: flex; align-items: flex-end; gap: 12px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.graph-bar { flex: 1; background: linear-gradient(0deg, rgba(13,148,136,0.2), var(--teal)); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: growBar 2s infinite alternate; }
.bar-track { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.bar-fill { height: 100%; background: #4ade80; width: 75%; border-radius: 3px; animation: loadBar 3s infinite; }
.floating-badge { position: absolute; background: var(--navy); border: 1px solid rgba(13,148,136,0.3); padding: 10px 16px; border-radius: 12px; font-size: 12px; font-family: var(--fd); font-weight: 600; box-shadow: 0 10px 20px rgba(0,0,0,0.2); transform: translateZ(30px); }
.badge-1 { top: -20px; right: -20px; color: white; display: flex; align-items: center; }
.badge-2 { bottom: -20px; left: -20px; color: var(--teal); }
@keyframes loadBar { 0% { width: 0; } 100% { width: 75%; } }

.efficiency-dashboard { background: var(--white); border-radius: 16px; border: 1px solid var(--border); padding: 40px; box-shadow: 0 25px 50px rgba(15,23,42,0.05); position: relative; }
.roi-callout { position: absolute; top: -20px; right: -20px; background: var(--teal); color: var(--navy); padding: 15px 20px; border-radius: 12px; box-shadow: 0 15px 30px rgba(13,148,136,0.3); transform: rotate(5deg); z-index: 5; text-align: center; }
.roi-value { font-family: var(--fd); font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 2px; }
.roi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.ed-header { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; }
.ed-title { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--navy); }
.ed-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); font-weight: 600; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-standard { background: #cbd5e1; }
.dot-callgen { background: var(--teal); }
.comp-chart { display: flex; flex-direction: column; gap: 24px; }
.track-bar-container { height: 10px; background: var(--off); border-radius: 5px; margin-bottom: 8px; position: relative; overflow: hidden; }
.track-bar { height: 100%; position: absolute; left: 0; top: 0; width: 0; border-radius: 5px; transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bar-standard { background: #94a3b8; }
.bar-callgen { background: linear-gradient(90deg, var(--teal), var(--teal2)); }
.play-anim .track-bar { width: var(--target-w); }

.scan-ui { width: 100%; padding: 0 20px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.scan-line { height: 2px; width: 100%; background: var(--teal); position: absolute; left: 0; top: 0; animation: scanDown 3s linear infinite; box-shadow: 0 0 8px var(--teal); z-index: 2; }
.scan-data { height: 12px; background: #cbd5e1; border-radius: 4px; width: 80%; opacity: 0.3; transition: all 0.3s; }
.scan-data.active { background: var(--teal); opacity: 1; width: 60%; box-shadow: 0 0 10px rgba(13,148,136,0.3); }
.scan-data:nth-child(3) { width: 90%; } .scan-data:nth-child(4) { width: 40%; } .scan-data:nth-child(5) { width: 70%; }
@keyframes scanDown { 0% { top: 0; } 100% { top: 100%; } }
.rev-ui { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 60px; width: 100%; }
.rev-bar { width: 18px; background: var(--teal); border-radius: 4px 4px 0 0; animation: revGrow 2s infinite alternate; }
.rev-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.rev-bar:nth-child(2) { height: 60%; animation-delay: 0.2s; }
.rev-bar:nth-child(3) { height: 80%; animation-delay: 0.4s; }
.rev-bar:nth-child(4) { height: 100%; animation-delay: 0.6s; background: #4ade80; box-shadow: 0 0 12px rgba(74,222,128,0.4); }
@keyframes revGrow { 0% { transform: scaleY(0.4); } 100% { transform: scaleY(1); } }

/* ── SERVICE PAGE VISUALS (3D GRAPHICS) ──────────────── */
.svc-visual{height:100%; min-height:300px; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative;}
.svc-visual-wrapper { position: relative; width: 100%; height: 400px; perspective: 1000px; display: flex; align-items: center; justify-content: center; }
.svc-glass-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: 0 25px 50px rgba(15, 23, 42, 0.05), inset 0 0 0 1px rgba(255,255,255,0.5); width: 100%; max-width: 420px; position: relative; transform: rotateY(-8deg) rotateX(4deg); animation: svcFloat 6s ease-in-out infinite; transform-style: preserve-3d; }
.svc-badge { position: absolute; background: var(--navy); color: var(--white); font-family: var(--fd); font-size: 12px; font-weight: 700; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(13,148,136,0.4); box-shadow: 0 10px 20px rgba(13,148,136,0.15); display: flex; align-items: center; gap: 8px; transform: translateZ(40px); z-index: 10;}
@keyframes svcFloat { 0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(4deg); } 50% { transform: translateY(-12px) rotateY(-8deg) rotateX(4deg); } }
/* --- Pulse animation for the UI button in the Web Dev Service visual --- */
@keyframes btnPulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1;
    box-shadow: 0 0 0 rgba(13, 148, 136, 0);
  }
  50% { 
    transform: scale(1.03); 
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
  }
}

.seo-search-bar { height: 36px; border: 1px solid var(--border); border-radius: 20px; margin-bottom: 24px; display: flex; align-items: center; padding: 0 16px; position: relative; overflow: hidden; }
.seo-cursor { width: 2px; height: 16px; background: var(--teal); animation: seoBlink 1s infinite; margin-left: 4px;}
.seo-result { background: var(--off); border-radius: 8px; padding: 16px; margin-bottom: 12px; opacity: 0.6; }
.seo-result.active { background: rgba(13, 148, 136, 0.05); border: 1px solid var(--teal); opacity: 1; transform: scale(1.02); box-shadow: 0 10px 20px rgba(13,148,136,0.1); position: relative; z-index: 2; animation: seoPop 4s infinite; }
.seo-line { height: 6px; border-radius: 3px; background: #cbd5e1; margin-bottom: 8px; }
@keyframes seoBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes seoPop { 0%, 100% { transform: scale(1); border-color: var(--border); } 10%, 90% { transform: scale(1.05); border-color: var(--teal); } }

.local-map-grid { height: 200px; background-image: radial-gradient(var(--border) 2px, transparent 2px); background-size: 20px 20px; border-radius: 12px; border: 1px solid var(--border); position: relative; display: flex; align-items: center; justify-content: center; }
.local-pin { width: 36px; height: 36px; background: var(--teal); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: absolute; z-index: 2; box-shadow: -4px 4px 10px rgba(0,0,0,0.15); animation: pinDrop 3s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.local-pin::after { content:''; position: absolute; top: 10px; left: 10px; width: 16px; height: 16px; background: var(--white); border-radius: 50%; }
.local-radar { width: 100px; height: 100px; border: 2px solid var(--teal); border-radius: 50%; position: absolute; animation: localRadar 3s infinite; }
@keyframes pinDrop { 0%, 100% { transform: translateY(0) rotate(-45deg); } 50% { transform: translateY(-20px) rotate(-45deg); } }
@keyframes localRadar { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

.cro-split { display: flex; gap: 16px; height: 180px; margin-top: 20px; }
.cro-variant { flex: 1; border: 2px dashed var(--border); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; transition: all 0.3s; }
.cro-btn { padding: 8px 20px; background: #e2e8f0; border-radius: 20px; font-size: 10px; font-weight: bold; color: transparent; }
.cro-variant.winner { border-style: solid; border-color: var(--teal); background: rgba(13,148,136,0.05); animation: croWin 4s infinite; }
.cro-variant.winner .cro-btn { background: var(--teal); box-shadow: 0 4px 12px rgba(13,148,136,0.3); }
@keyframes croWin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.gbp-panel { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; width: 100%; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.gbp-header { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 12px;}
.gbp-avatar { width: 40px; height: 40px; border-radius: 8px; background: var(--teal); display:flex; align-items:center; justify-content:center; color:white; font-weight:bold; font-size:18px;}
.gbp-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gbp-line { height: 6px; background: #e2e8f0; border-radius: 3px; }
.gbp-stars { display: flex; gap: 4px; }
.gbp-star { width:12px; height:12px; background:#fbbf24; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.gbp-action-row { display: flex; gap: 8px; justify-content: space-between;}
.gbp-action { flex: 1; height: 28px; border-radius: 14px; background: rgba(13,148,136,0.1); border: 1px solid rgba(13,148,136,0.2); animation: gbpPulse 2s infinite alternate;}
@keyframes gbpPulse { 0% { background: rgba(13,148,136,0.05); transform: scale(1); } 100% { background: rgba(13,148,136,0.15); transform: scale(1.03); } }

.rep-container { position: relative; height: 200px; width: 100%; display: flex; align-items: center; justify-content: center; }
.rep-review { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px; width: 85%; box-shadow: 0 8px 20px rgba(0,0,0,0.06); display:flex; flex-direction:column; gap:8px; opacity:0; animation: repFloatUp 7.5s linear infinite; }
.rep-review:nth-child(1) { animation-delay: 0s; z-index:3; }
.rep-review:nth-child(2) { animation-delay: 2.5s; right: -10px; z-index:2; }
.rep-review:nth-child(3) { animation-delay: 5s; left: -10px; z-index:1; }
.rep-line { height:4px; background:#e2e8f0; border-radius:2px; width:100%; }
@keyframes repFloatUp { 0% { transform: translateY(50px) scale(0.9); opacity: 0; } 15% { transform: translateY(15px) scale(1); opacity: 1; box-shadow: 0 15px 30px rgba(13,148,136,0.15); border-color:var(--teal);} 75% { transform: translateY(-25px) scale(1); opacity: 1; border-color:var(--border);} 100% { transform: translateY(-60px) scale(0.9); opacity: 0; } }

.rt-network { position: relative; width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; margin-top: 10px; }
.rt-user { width: 60px; height: 60px; background: var(--white); border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; z-index: 5; box-shadow: 0 0 15px rgba(0,0,0,0.05); position:relative;}
.rt-user::after {content:''; position:absolute; inset:-8px; border:1px dashed var(--teal); border-radius:50%; animation: rtSpin 10s linear infinite;}
.rt-node { position: absolute; width: 44px; height: 44px; border-radius: 12px; background: var(--off); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; opacity: 0.5; transition: all 0.3s; }
.rt-node-1 { top: 10px; left: 10px; animation: rtActivate 4s infinite 0s; }
.rt-node-2 { bottom: 10px; left: 30px; animation: rtActivate 4s infinite 1s; }
.rt-node-3 { top: 20px; right: 10px; animation: rtActivate 4s infinite 2s; }
.rt-node-4 { bottom: 20px; right: 20px; animation: rtActivate 4s infinite 3s; border-color: #4ade80; border-width: 2px; }
.rt-signal { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; background: var(--teal); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; animation: rtPing 4s infinite; }
@keyframes rtActivate { 0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: none; } 10%, 30% { opacity: 1; transform: scale(1.15); border-color: var(--teal); box-shadow: 0 5px 20px rgba(13,148,136,0.25); } }
@keyframes rtPing { 0% { width: 10px; height: 10px; opacity: 1; } 50%, 100% { width: 160px; height: 160px; opacity: 0; } }
@keyframes rtSpin { 100% {transform: rotate(360deg);} }

.ppc-dashboard { background: var(--white); border-radius: 12px; padding: 16px; width: 100%; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.ppc-metric-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--off); }
.ppc-metric { display: flex; flex-direction: column; }
.ppc-label { font-size: 9px; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: 0.05em; }
.ppc-value { font-family: var(--fd); font-size: 16px; font-weight: 800; color: var(--navy); }
.ppc-positive { color: #4ade80; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; background: rgba(74,222,128,0.1); padding: 2px 6px; border-radius: 4px;}
.ppc-ad-block { background: var(--off); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.ppc-ad-header { display: flex; justify-content: space-between; align-items: center; }
.ppc-ad-title { font-family: var(--fd); font-size: 11px; font-weight: 700; color: var(--teal); }
.ppc-ad-badge { font-size: 8px; background: var(--navy); color: white; padding: 2px 6px; border-radius: 10px; }
.ppc-ad-line { height: 4px; background: #cbd5e1; border-radius: 2px; }
.ppc-ad-line.short { width: 60%; }
.ppc-pulse { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent); animation: sweep 3s infinite; }
@keyframes sweep { 0% { left: -100%; } 100% { left: 200%; } }

/* ── SERVICE METHODS & AI INTEGRATIONS ──────────────── */
.methods-section { padding: 90px 0; background: var(--off); border-top: 1px solid var(--border); }
.methods-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.method-card { background: var(--white); padding: 36px 30px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(15,23,42,0.03); transition: transform 0.3s, border-color 0.3s; }
.method-card:hover { transform: translateY(-5px); border-color: var(--teal); }
.method-icon { width: 50px; height: 50px; background: rgba(13,148,136,0.1); border: 1px solid rgba(13,148,136,0.2); color: var(--teal); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.method-card h3 { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.method-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ── MINI CAPABILITY GRAPHICS (FOR SERVICES HUB) ── */
/* --- Conversion UX Design (Target Pulse) --- */
.conv-ui { position: relative; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.conv-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--teal); animation: pulseRing 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; }
.conv-ring:nth-child(1) { animation-delay: 0s; }
.conv-ring:nth-child(2) { animation-delay: 1s; }
.conv-ring:nth-child(3) { animation-delay: 2s; }

@keyframes pulseRing {
  0% { transform: scale(0.2); opacity: 1; border-width: 4px; }
  80%, 100% { transform: scale(1.6); opacity: 0; border-width: 1px; }
}

/* --- Lead Automation (Chat Bubbles) --- */
.auto-ui { display: flex; flex-direction: column; gap: 8px; width: 85%; }
.chat-bubble { font-family: var(--fb); font-size: 9px; padding: 6px 10px; border-radius: 12px; font-weight: 600; opacity: 0; animation: chatPop 4s infinite; }
.chat-1 { background: var(--white); border: 1px solid var(--border); color: var(--muted); align-self: flex-start; border-bottom-left-radius: 2px; }
.chat-2 { background: var(--teal); color: var(--navy); align-self: flex-end; border-bottom-right-radius: 2px; animation-delay: 1.5s; box-shadow: 0 4px 10px rgba(13,148,136,0.2); }

@keyframes chatPop {
  0%, 5% { opacity: 0; transform: translateY(10px); }
  15%, 85% { opacity: 1; transform: translateY(0); }
  95%, 100% { opacity: 0; transform: translateY(-10px); }
}
.cap-visual-box {height:120px;background:var(--off);border-radius:12px;margin-bottom:24px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border:1px solid var(--border);box-shadow:inset 0 2px 10px rgba(0,0,0,0.02)}
.search-ui {width:75%;background:var(--white);border:1px solid var(--border);border-radius:20px;padding:10px 16px;display:flex;align-items:center;gap:10px;box-shadow:0 4px 15px rgba(15,23,42,0.05)}
.search-icon {width:14px;height:14px;border:2px solid var(--teal);border-radius:50%;position:relative;flex-shrink:0}
.search-icon::after {content:'';position:absolute;width:2px;height:6px;background:var(--teal);bottom:-5px;right:-5px;transform:rotate(-45deg)}
.search-text {border-right:2px solid var(--navy);white-space:nowrap;overflow:hidden;font-size:12px;font-family:monospace;font-weight:600;color:var(--navy);animation:typing 4s steps(22,end) infinite}
.map-ui { position: relative; width: 40px; height: 40px; display: flex; justify-content: center; }
.map-pin { width: 24px; height: 24px; background: var(--teal); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); animation: pinBounce 2s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; z-index: 2; box-shadow: -2px 2px 5px rgba(0,0,0,0.1); }
.map-pin::after { content:''; position: absolute; top: 6px; left: 6px; width: 12px; height: 12px; background: var(--white); border-radius: 50%; }
.map-pulse { position: absolute; bottom: -5px; width: 24px; height: 8px; background: rgba(13,148,136,0.4); border-radius: 50%; animation: pinPulse 2s infinite; z-index: 1; }
.mini-gbp-ui { display:flex; gap:8px; align-items:center;}
.mini-gbp-avatar { width:30px; height:30px; border-radius:6px; background:var(--teal); color:white; display:flex; align-items:center; justify-content:center; font-weight:bold; font-size:14px;}
.mini-gbp-lines { display:flex; flex-direction:column; gap:4px; width:60px;}
.mini-gbp-line { height:4px; background:#cbd5e1; border-radius:2px; animation: pulseOp 2s infinite alternate;}
.ads-ui {display:flex;align-items:flex-end;gap:8px;height:55px}
.ad-bar {width:18px;border-radius:4px 4px 0 0;transform-origin:bottom;animation:barBounce 2s ease-in-out infinite alternate}
.ad-bar:nth-child(1) {height:35%;background:#cbd5e1}
.ad-bar:nth-child(2) {height:55%;background:#94a3b8;animation-delay:0.2s}
.ad-bar:nth-child(3) {height:80%;background:var(--teal);animation-delay:0.4s}
.ad-bar:nth-child(4) {height:100%;background:var(--teal2);animation-delay:0.6s;box-shadow:0 0 15px rgba(13,148,136,0.3)}
.mini-rt-ui { position: relative; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; }
.mini-rt-user { width: 36px; height: 36px; background: var(--white); border: 2px solid var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; z-index: 5; box-shadow: 0 0 15px rgba(13,148,136,0.3); }
.mini-rt-orbit { position: absolute; top: 50%; left: 50%; border: 1px dashed #cbd5e1; border-radius: 50%; transform: translate(-50%, -50%); }
.mini-rt-orbit-1 { width: 70px; height: 70px; animation: spinOrbit 6s linear infinite; }
.mini-rt-orbit-2 { width: 110px; height: 110px; animation: spinOrbit 9s linear infinite reverse; }
.mini-rt-icon { position: absolute; top: -12px; left: 50%; margin-left: -12px; width: 24px; height: 24px; background: var(--white); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.mini-rt-orbit-1 .mini-rt-icon { animation: unspinOrbit 6s linear infinite; }
.mini-rt-orbit-2 .mini-rt-icon { animation: unspinOrbitRev 9s linear infinite reverse; }
.cro-mini { display: flex; align-items: center; gap: 16px; }
.cro-card { width: 56px; height: 76px; background: var(--white); border: 2px dashed #cbd5e1; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: all 0.3s; }
.cro-card.cro-b { border-style: solid; border-color: var(--teal); background: rgba(13,148,136,0.05); animation: croPulse 3s infinite; }
.cro-img { height: 24px; background: #e2e8f0; border-radius: 4px; }
.cro-line { height: 4px; background: #e2e8f0; border-radius: 2px; width: 80%; }
.cro-btn-gray { height: 12px; background: #cbd5e1; border-radius: 12px; width: 60%; margin-top: auto; }
.cro-btn-teal { height: 12px; background: var(--teal); border-radius: 12px; width: 80%; margin-top: auto; box-shadow: 0 2px 8px rgba(13,148,136,0.3); }
.cro-check { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; background: #4ade80; color: white; font-size: 12px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid white; animation: croPop 3s infinite; z-index: 2; }
.star-ui { display: flex; gap: 6px; }
.star { width: 18px; height: 18px; background: #cbd5e1; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: starFill 3s infinite; transition: transform 0.2s; }
.star:nth-child(1) { animation-delay: 0s; }
.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.4s; }
.star:nth-child(4) { animation-delay: 0.6s; }
.star:nth-child(5) { animation-delay: 0.8s; }

@keyframes typing {0%,20%{width:0}80%,100%{width:135px}}
@keyframes barBounce {0%{transform:scaleY(0.9)}100%{transform:scaleY(1.1)}}
@keyframes pinBounce { 0%, 100% { transform: translateY(0) rotate(-45deg); } 50% { transform: translateY(-12px) rotate(-45deg); } }
@keyframes pinPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.4); opacity: 0.3; } }
@keyframes starFill { 0%, 15% { background: #cbd5e1; transform: scale(1); } 25%, 85% { background: #fbbf24; transform: scale(1.15); } 100% { background: #cbd5e1; transform: scale(1); } }
@keyframes pulseOp { 0% { opacity:0.4; } 100% { opacity:1; } }
@keyframes spinOrbit { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes unspinOrbit { 100% { transform: rotate(-360deg); } }
@keyframes unspinOrbitRev { 100% { transform: rotate(360deg); } }

/* ── REVEAL ───────────────────────────────────────────── */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .65s var(--ease),transform .65s var(--ease)} .reveal.visible{opacity:1;transform:none}

/* ── FOOTER STYLES ────────────────────────────────────── */
footer{background:#0D1F2D;border-top:1px solid rgba(255,255,255,.05)}
.ft-top{padding:60px 24px 36px}
.ft-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:40px;max-width:1140px;margin:0 auto}
.ft-logo{height:60px; width:auto; margin-bottom:16px; filter:grayscale(100%) opacity(0.5); transition:filter 0.3s;}
.ft-logo:hover{filter:grayscale(100%) opacity(0.8);}
.ft-brand p{font-size:14px;color:#7a8a99;line-height:1.7;max-width:260px;margin:0 0 20px}
.ft-brand a.phone{font-family:'Barlow Condensed',sans-serif;font-size:20px;font-weight:800;color:#8a9ba8;text-decoration:none;transition:color .2s}
.ft-brand a.phone:hover{color:var(--white)}
.ft-brand a.email{display:block;margin-top:8px;font-size:13px;color:#7a8a99;transition:color .2s}
.ft-brand a.email:hover{color:var(--white)}
.ft-col h5{font-size:10px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:#5a6a79;margin:0 0 16px}
.ft-col ul{list-style:none;padding:0;margin:0}
.ft-col li{margin-bottom:9px}
.ft-col a{font-size:14px;color:#7a8a99;transition:color .2s}
.ft-col a:hover{color:var(--white)}
.ft-bot{max-width:1140px;margin:0 auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid rgba(255,255,255,.05)}
.ft-bot p{font-size:13px;color:#5a6a79;margin:0}
.ft-bot a{color:#7a8a99;transition:color .2s}
.ft-bot a:hover{color:var(--white)}

/* ── RESPONSIVE & MOBILE MENU (SAFE AT BOTTOM) ────────── */
.mobile-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 10px; z-index: 300; }
.mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--teal); margin: 6px 0; border-radius: 2px; transition: all 0.3s var(--ease); }

@media(max-width:1000px){
  .hero-inner{grid-template-columns:1fr;gap:40px;padding-top:60px;text-align:center;} 
  .hero-eye{justify-content:center;} .hero-btns{justify-content:center;}
  .split{grid-template-columns:1fr;gap:40px} .svc-detail{grid-template-columns:1fr} .svc-detail.flip{direction:ltr}
  
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 320px; max-width: 100%; height: 100vh;
    background: rgba(15,23,42,0.98); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 100px 30px 40px; transition: right 0.4s var(--ease); overflow-y: auto;
    border-left: 1px solid rgba(13,148,136,0.15);
  }
  .nav-links.nav-open { right: 0; box-shadow: -20px 0 50px rgba(0,0,0,0.5); }
  .nav-links li { width: 100%; display: block !important; }
  .nav-links a { height: auto; padding: 16px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.05) !important; width: 100%; justify-content: space-between;}
  .nav-cta { margin: 24px 0 0 0 !important; text-align: center; justify-content: center !important; padding: 14px 20px !important; }
  
  /* Completely unmoor the mobile dropdown from desktop absolute positioning */
  .dropdown-menu {
    position: static !important; 
    left: auto !important;
    transform: none !important;
    margin-left: 0 !important;
    width: 100% !important;
    box-shadow: none; 
    background: rgba(255,255,255,0.02); 
    padding: 0 0 0 16px;
    display: none; 
    border-radius: 0; 
    border: none;
  }
  
  .dropdown.open .dropdown-menu,
  .dropdown:hover .dropdown-menu { 
    display: flex !important; 
    transform: none !important; 
    left: auto !important;
  }
  
  .dropdown-menu a:hover {
    padding-left: 0 !important; 
    background: transparent !important;
  }
  
  .dropdown.open .chevron { transform: rotate(180deg); color: var(--teal);}
  
  .mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
  .mobile-toggle.open span:nth-child(2) { opacity: 0; }
  .mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

@media(max-width:768px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr} 
  .ft-grid{grid-template-columns:1fr; text-align: center;}
  .ft-brand{display: flex; flex-direction: column; align-items: center;}
  .ft-bot{justify-content: center; flex-direction: column; gap: 15px;}
}

/* --- SCROLL-TRIGGERED ANIMATION OVERRIDES --- */

/* 1. Play once and hold final position */
.graph-bar {
  animation: revGrow 2s ease-out forwards !important; 
}
.bar-fill {
  animation: loadBar 2s ease-out forwards !important;
}
.rev-bar {
  animation: revGrow 2s ease-out forwards !important;
}

/* 2. Pause keyframe animations when parent scrolls out of view, instead of stripping them */
.reveal:not(.visible) .graph-bar,
.reveal:not(.visible) .bar-fill,
.reveal:not(.visible) .rev-bar {
  animation-play-state: paused !important;
}

/* Ensure the button pulse explicitly plays when visible */
.reveal.visible .svc-glass-card div[style*="btnPulse"] {
    animation-play-state: running !important;
}

/* 3. Fix the horizontal dashboard tracking bars to trigger on scroll */
.reveal.visible .track-bar {
  width: var(--target-w) !important;
}
.reveal:not(.visible) .track-bar {
  width: 0 !important;
}

/* --- CAPABILITIES SECTION MISSING ANIMATIONS --- */

/* 1. Conversion UX Design (Pulsing Button Visualization) */
.conv-btn-viz {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: default; 
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
  color: var(--white);
  background-color: var(--navy);
  transform: scale(0.95);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.reveal.visible .conv-btn-viz {
  animation: btnPulseSequence 3s ease-in-out infinite;
}

@keyframes btnPulseSequence {
  0% { transform: scale(0.95); background-color: var(--navy); box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1); }
  30% { transform: scale(1.05); background-color: #1a2c52; box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15); }
  50% { transform: scale(1.05); background-color: var(--teal); box-shadow: 0 0 20px rgba(13, 148, 136, 0.4); }
  70% { transform: scale(1); background-color: #1a2c52; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1); }
  100% { transform: scale(0.95); background-color: var(--navy); box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1); }
}

/* 2. Lead Automation (Chat Bubbles) */
.auto-ui { display: flex; flex-direction: column; gap: 8px; width: 85%; }
.chat-bubble { font-family: var(--fb); font-size: 9px; padding: 6px 10px; border-radius: 12px; font-weight: 600; opacity: 0; animation: chatPop 4s infinite; }
.chat-1 { background: var(--white); border: 1px solid var(--border); color: var(--muted); align-self: flex-start; border-bottom-left-radius: 2px; }
.chat-2 { background: var(--teal); color: var(--navy); align-self: flex-end; border-bottom-right-radius: 2px; animation-delay: 1.5s; box-shadow: 0 4px 10px rgba(13,148,136,0.2); }

@keyframes chatPop {
  0%, 5% { opacity: 0; transform: translateY(10px); }
  15%, 85% { opacity: 1; transform: translateY(0); }
  95%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* ── HERO NARRATIVE ANIMATION (WEB DEV PAGE) ── */

.story-card { display: flex; align-items: center; justify-content: center; height: 420px; }

/* Phone Frame */
.mock-phone { width: 200px; height: 400px; background: var(--white); border-radius: 30px; border: 8px solid var(--navy); box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2), inset 0 0 0 2px var(--border); position: relative; overflow: hidden; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: var(--navy); border-radius: 0 0 12px 12px; z-index: 10; }
.phone-screen { position: absolute; inset: 0; background: var(--off); display: flex; flex-direction: column; }
.browser-bar { height: 44px; background: #e2e8f0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 6px; position: relative; border-bottom: 1px solid var(--border); }
.url { font-family: var(--fb); font-size: 9px; color: var(--muted); background: var(--white); padding: 4px 20px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }

/* Screen 1: Slow Site Elements */
.spinner { width: 30px; height: 30px; border: 3px solid rgba(15, 23, 42, 0.1); border-top-color: var(--muted); border-radius: 50%; }
.load-bar-slow { position: absolute; bottom: -1px; left: 0; height: 2px; background: #ef4444; width: 10%; }
.skel-box { width: 80%; height: 100px; background: #cbd5e1; border-radius: 12px; opacity: 0.5; }
.skel-line { height: 8px; background: #e2e8f0; border-radius: 4px; }

/* Screen 2: Fast Site Elements */
.load-bar-fast { position: absolute; bottom: -1px; left: 0; height: 2px; background: #4ade80; width: 100%; }
.fast-header { height: 40px; background: var(--white); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--border); }
.fast-hero { height: 120px; background: linear-gradient(135deg, rgba(13,148,136,0.1), rgba(13,148,136,0.2)); margin-bottom: 16px; }
.cta-wrapper { position: relative; margin: auto auto 30px auto; display: flex; justify-content: center; width: 80%; }
.story-cta-btn { background: var(--teal); color: var(--navy); font-family: var(--fd); font-size: 11px; font-weight: 800; padding: 12px 0; width: 100%; text-align: center; border-radius: 8px; box-shadow: 0 8px 15px rgba(13,148,136,0.3); z-index: 2; transform-origin: center; }
.cta-ripple { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 100%; height: 100%; background: var(--teal2); border-radius: 8px; opacity: 0; z-index: 1; }

/* The Thumb */
.story-thumb { position: absolute; bottom: 30px; right: -20px; width: 60px; height: 60px; z-index: 20; transform-origin: bottom right; opacity: 0; transform: translate(60px, 60px); filter: drop-shadow(-4px 8px 12px rgba(0,0,0,0.2)); }
.story-thumb svg { width: 100%; height: 100%; }


/* ── THE 8-SECOND CHOREOGRAPHY TIMELINE ── */

/* 1. Crossfade the screens */
.reveal.visible .slow-site { animation: fadeOutScreen 8s infinite; }
.reveal.visible .fast-site { animation: fadeInScreen 8s infinite; }
.reveal.visible .load-bar-slow { animation: slowProgress 8s infinite; }
.reveal.visible .spinner { animation: spin 1s linear infinite; }

/* 2. Thumb moves in, presses, and leaves */
.reveal.visible .story-thumb { animation: thumbAction 8s infinite; }

/* 3. Button reacts to the thumb press */
.reveal.visible .story-cta-btn { animation: buttonPress 8s infinite; }
.reveal.visible .cta-ripple { animation: rippleFire 8s infinite; }

/* --- Keyframes --- */
@keyframes fadeOutScreen { 
  0%, 35% { opacity: 1; visibility: visible; } 
  40%, 100% { opacity: 0; visibility: hidden; } 
}
@keyframes fadeInScreen { 
  0%, 35% { opacity: 0; visibility: hidden; } 
  40%, 100% { opacity: 1; visibility: visible; } 
}
@keyframes slowProgress {
  0% { width: 10%; }
  35% { width: 45%; }
  40%, 100% { width: 10%; }
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* The Thumb enters at 5s, presses at 5.5s, releases at 6s, leaves at 6.5s */
@keyframes thumbAction {
  0%, 50% { transform: translate(60px, 60px); opacity: 0; }
  55% { transform: translate(-10px, -10px) scale(1); opacity: 1; } /* Hover */
  60% { transform: translate(-10px, -10px) scale(0.85); opacity: 1; } /* Press down */
  65% { transform: translate(-10px, -10px) scale(1); opacity: 1; } /* Release */
  70%, 100% { transform: translate(60px, 60px); opacity: 0; } /* Exit */
}

/* Button shrinks exactly when thumb presses (60%) */
@keyframes buttonPress {
  0%, 58% { transform: scale(1); }
  60% { transform: scale(0.9); background: var(--teal2); }
  62%, 100% { transform: scale(1); background: var(--teal); }
}

/* Ripple explodes outwards exactly on the press */
@keyframes rippleFire {
  0%, 58% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  60% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  65%, 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* Pause animations if user scrolls away */
.reveal:not(.visible) .slow-site, .reveal:not(.visible) .fast-site, 
.reveal:not(.visible) .load-bar-slow, .reveal:not(.visible) .spinner, 
.reveal:not(.visible) .story-thumb, .reveal:not(.visible) .story-cta-btn, 
.reveal:not(.visible) .cta-ripple {
  animation-play-state: paused !important;
}


/* ── FLOATING GLASS META CARD ────────────────────────── */
.glass-float-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  height: 160px; /* Adjusted to fit the card layout nicely */
}

.glass-meta-card {
  width: 100%;
  max-width: 320px;
  padding: 1rem;
  border-radius: 12px;
  
  /* Glass effect */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.3); /* Teal tinted border */
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1), 
              inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  
  /* Floating Animation */
  animation: floatCard 6s ease-in-out infinite;
  
  /* Typography inheritance */
  font-family: var(--fb);
  text-align: left;
  transform: scale(0.85); /* Scaled down slightly to fit the grid */
  transform-origin: center;
}

@keyframes floatCard {
  0% { transform: scale(0.85) translateY(0px); }
  50% { transform: scale(0.85) translateY(-8px); }
  100% { transform: scale(0.85) translateY(0px); }
}

.meta-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.meta-favicon {
  width: 24px;
  height: 24px;
  background-color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.meta-favicon::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 2px;
}

.meta-url-group {
  display: flex;
  flex-direction: column;
}

.meta-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

.meta-url {
  font-size: 10px;
  color: var(--muted);
}

.meta-title {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 600;
  color: #1a0dab;
  margin-bottom: 6px;
  line-height: 1.3;
}

.meta-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
