/* ===== Reset & Variables ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#f7f8fa;--white:#fff;--dark:#1c1e26;--darker:#161820;
  --text:#020A0F;--text2:#333;--text3:#666;--text4:#999;--border:#d8e1eb;
  --blue:#2563eb;--purple:#923cf6;--green:#22c55e;--red:#ef4444;
  --font:'Inter',system-ui,sans-serif;
  --display:'Inter',system-ui,sans-serif;
  --mono:'Fragment Mono',monospace;
  --max:1320px;--nav:77px;
}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6;background-image:radial-gradient(circle,#d8e1eb 1px,transparent 1px);background-size:32px 32px}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 24px}

/* Skip to content link for accessibility */
.skip-to-content{position:absolute;top:-100%;left:50%;transform:translateX(-50%);padding:12px 24px;background:var(--blue);color:var(--white);border-radius:0 0 8px 8px;font-size:14px;font-weight:600;z-index:200;transition:top .2s}
.skip-to-content:focus{top:0}

/* ===== Navbar ===== */
.navbar{position:fixed;top:0;left:0;right:0;z-index:100;background:var(--white);height:var(--nav);transition:box-shadow .3s cubic-bezier(.27,0,.51,1), background .3s;background-image:none}
.navbar.scrolled{box-shadow:0 1px 12px rgba(0,0,0,.06)}
.nav-inner{max-width:var(--max);margin:0 auto;padding:0 24px;height:100%;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:700;font-size:18px}
.nav-center{display:flex;gap:28px}
.nav-link{font-size:14px;font-weight:500;color:var(--text3);transition:.2s}.nav-link:hover{color:var(--text)}
.nav-right{display:flex;align-items:center;gap:20px}
.btn-dark{display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;background:var(--text);color:var(--white);border-radius:12px;font-size:14px;font-weight:500;border:none;cursor:pointer;transition:all .3s cubic-bezier(.27,0,.51,1)}
.btn-dark:hover{background:#333}
.btn-dark.btn-lg{padding:14px 28px;font-size:15px}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;border:1px solid var(--border);border-radius:12px;font-size:14px;font-weight:500;color:var(--text);background:var(--white);cursor:pointer;transition:all .3s cubic-bezier(.27,0,.51,1)}
.btn-outline:hover{border-color:var(--text3)}
.btn-outline.btn-lg{padding:14px 28px;font-size:15px}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.hamburger span{width:22px;height:2px;background:var(--text);border-radius:2px;transition:.3s}
.mobile-nav{display:none;position:fixed;top:var(--nav);left:0;right:0;background:var(--white);padding:20px 24px;flex-direction:column;gap:14px;border-bottom:1px solid var(--border);z-index:99;box-shadow:0 8px 30px rgba(0,0,0,.08);background-image:none}
.mobile-nav.open{display:flex}
@media(max-width:768px){
  .nav-center,.nav-right{display:none}
  .hamburger{display:flex}
}

/* ===== Hero ===== */
.hero{padding:calc(var(--nav) + 40px) 0 0;background:var(--bg);position:relative}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 30%,rgba(37,99,235,.03),transparent 60%);pointer-events:none}
.hero-center{text-align:center;max-width:850px;margin:0 auto;position:relative;z-index:2}

/* Product Hunt Badges */
.ph-badges{display:flex;justify-content:center;gap:16px;margin-bottom:28px}
.ph-badge{display:flex;align-items:center;gap:10px;padding:10px 24px;border-radius:12px;border:1.5px solid;transition:all .2s ease;cursor:pointer}
.ph-badge.orange{border-color:#f59e0b;background:rgba(245,158,11,.04)}
.ph-badge.red{border-color:#ef4444;background:rgba(239,68,68,.04)}
.ph-badge small{display:block;font-size:9px;font-weight:700;letter-spacing:.1em;color:var(--red);text-transform:uppercase}
.ph-badge.orange small{color:#f59e0b}
.ph-badge strong{display:block;font-size:14px;color:var(--red)}
.ph-badge.orange strong{color:#f59e0b}
.ph-icon{font-size:24px}

.hero-title{font-family:var(--display);font-size:clamp(36px,5.5vw,68px);font-weight:700;line-height:1.08;letter-spacing:-.03em;margin-bottom:20px}
.ai-icon{display:inline-block;padding:2px 8px;border-radius:8px;background:linear-gradient(135deg,#f59e0b,#ef4444,#3b82f6,#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800}
.hero-desc{font-size:16px;line-height:1.7;color:var(--text3);max-width:680px;margin:0 auto 28px}
.hero-btns{display:flex;justify-content:center;gap:14px;margin-bottom:20px}

/* Decorative lines */
.deco-lines{display:flex;flex-direction:column;gap:6px;padding:20px 0}
.deco-lines span{display:block;height:1px;background:linear-gradient(90deg,transparent 0%,var(--border) 20%,var(--border) 80%,transparent 100%);opacity:.5}

/* Tabs */
.tabs-bar{display:flex;border:1px solid var(--border);border-radius:0;overflow:hidden;margin-bottom:0}
.tab{flex:1;padding:16px 0;text-align:center;font-size:15px;font-weight:500;color:var(--text3);border-right:1px solid var(--border);cursor:pointer;transition:color .3s cubic-bezier(.44,0,.56,1);position:relative}
.tab:last-child{border-right:none}
.tab.active{color:var(--blue)}
.tab.active::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--blue);animation:tabSlideIn .3s cubic-bezier(.27,0,.51,1)}
@keyframes tabSlideIn{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.tab:hover:not(.active){color:var(--text)}

/* Hero Card */
.hero-card{display:grid;grid-template-columns:1fr 1px 1fr;border:1px solid var(--border);border-top:none;min-height:480px;background:var(--white);overflow:hidden}
.hero-card-left{padding:32px;display:flex;flex-direction:column}
.hero-card-divider{background:var(--border)}
.hero-card-right{position:relative;overflow:hidden;background:#f8f9fb}
.hero-query{font-family:var(--display);font-size:22px;font-weight:700;line-height:1.4;margin-bottom:12px}
.hero-tabs-row{display:flex;gap:16px;border-bottom:1px solid var(--border);padding-bottom:8px;margin-bottom:16px}
.ht{font-size:12px;color:var(--text4);cursor:pointer}.ht.active{color:var(--text);font-weight:600}
.hero-steps{display:flex;flex-direction:column;gap:12px}
.hero-step{display:flex;gap:10px;align-items:flex-start}
.step-dot{width:8px;height:8px;border-radius:50%;background:var(--border);flex-shrink:0;margin-top:6px}
.hero-step p{font-size:13px;line-height:1.6;color:var(--text3);margin:0}
.thinking-label{font-size:12px;color:var(--blue);margin-left:4px}
.hero-card-prompt{font-size:16px;color:var(--text3);margin-top:12px}
.hero-card-spacer{flex:1}
.hero-card-input{border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--white)}
.input-agent{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text4);margin-bottom:8px}
.input-text{font-size:13px;color:var(--text2);line-height:1.5;margin-bottom:12px}
.input-bottom{display:flex;justify-content:space-between;align-items:center}
.input-icons{display:flex;gap:6px;align-items:center}
.icon-square{width:20px;height:20px;border-radius:4px;display:block}
.icon-plus{width:20px;height:20px;border-radius:4px;border:1px dashed var(--border);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--text4)}
.send-btn{width:32px;height:32px;border-radius:50%;background:var(--text);border:none;color:var(--white);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;font-weight:700}
.send-btn.sm{width:28px;height:28px}
.skip-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(255,255,255,.9);border:1px solid var(--border);padding:8px 20px;border-radius:8px;font-size:13px;color:var(--text3);cursor:pointer;z-index:2}

/* Matrix rain */
.matrix-rain{position:absolute;inset:0;overflow:hidden;font-family:var(--mono);font-size:14px;color:rgba(200,210,220,.3);line-height:1.6;padding:20px;white-space:pre-wrap;word-break:break-all}

/* ===== Trusted By ===== */
.trusted-by{padding:60px 0;background:var(--bg)}
.trusted-header{display:flex;align-items:center;gap:16px;margin-bottom:40px}
.trusted-header span{font-size:14px;color:var(--text4);white-space:nowrap}
.trusted-line{flex:1;height:1px;background:var(--border)}
.logo-carousel{overflow:hidden;margin-bottom:60px;mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 5%,rgba(0,0,0,1) 95%,rgba(0,0,0,0) 100%);-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 5%,rgba(0,0,0,1) 95%,rgba(0,0,0,0) 100%)}
.logo-track{display:flex;gap:60px;animation:scrollLogos 20s linear infinite;mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 12.5%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,0) 100%);-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 12.5%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,0) 100%)}
.company-logo{font-size:18px;font-weight:600;color:#8899aa;white-space:nowrap;letter-spacing:.05em;opacity:.5;flex-shrink:0;text-align:center;line-height:1.3;filter:grayscale(1);-webkit-filter:grayscale(1);transition:opacity .3s cubic-bezier(.27,0,.51,1), filter .3s cubic-bezier(.27,0,.51,1)}
.company-logo:hover{opacity:.8;filter:grayscale(0)}
.company-logo small{font-size:9px;letter-spacing:.02em;display:block;font-weight:400}
@keyframes scrollLogos{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* Featured Testimonials */
.featured-testimonials-wrap{overflow:hidden;position:relative}
.featured-testimonials-wrap .featured-testimonial{display:none}
.featured-testimonials-wrap .featured-testimonial.ft-active{display:flex}
.featured-testimonial{display:flex;gap:40px;align-items:flex-start;max-width:900px;margin:0 auto;animation:ftFadeIn .5s cubic-bezier(.27,0,.51,1)}
@keyframes ftFadeIn{from{opacity:0;filter:blur(4px);transform:translateY(10px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
.ft-avatar{flex-shrink:0}
.ft-avatar-sketch{width:120px;height:140px}
.ft-content{padding-top:10px}
.ft-quote{font-family:var(--display);font-size:18px;line-height:1.6;color:var(--text2);margin-bottom:12px}
.ft-author{font-size:14px;color:var(--text3)}

/* ===== Dark Text Section ===== */
.dark-text-section{background:var(--dark);padding:120px 0;min-height:100vh;display:flex;align-items:center;background-image:none}
.dark-text-content{max-width:1100px}
.dark-paragraph{font-family:var(--display);font-size:clamp(24px,3.8vw,44px);font-weight:500;line-height:1.5;margin-bottom:32px;color:rgba(255,255,255,.15)}
.dw{display:inline;transition:color .5s cubic-bezier(.27,0,.51,1)}
.dw.lit{color:rgba(255,255,255,.85)}
.dw.emoji{font-style:normal}

/* ===== Section White ===== */
.section-white{padding:60px 0;background:var(--bg)}

/* Split Header */
.split-header{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;margin-bottom:40px}
.split-header-left{flex:1;max-width:700px}
.split-header-right{flex-shrink:0}
.section-title-lg{font-family:var(--display);font-size:clamp(28px,3.5vw,42px);font-weight:700;line-height:1.15;letter-spacing:-.02em;margin-bottom:12px}
.section-desc{font-size:15px;line-height:1.7;color:var(--text3)}

/* ===== Feature Section ===== */
.feature-section{padding:40px 0;background:var(--bg)}
.feature-layout{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--border)}
.feature-layout.reverse{direction:rtl}.feature-layout.reverse > *{direction:ltr}
.feature-left{padding:40px}
.feature-right{position:relative;overflow:hidden;border-left:1px solid var(--border);background:linear-gradient(180deg,#e8f0fe 0%,#dbeafe 50%,#e0f2fe 100%)}
.feature-layout.reverse .feature-right{border-left:none;border-right:1px solid var(--border)}
.visual-left{border-right:1px solid var(--border);background:linear-gradient(180deg,#d1e7dd 0%,#c5ddd0 100%);padding:20px;overflow:auto}

.badge-pill{display:inline-block;padding:6px 18px;border:1.5px solid var(--blue);border-radius:8px;font-size:13px;font-weight:700;letter-spacing:.08em;color:var(--blue);margin-bottom:16px}
.feature-title{font-family:var(--display);font-size:clamp(22px,2.5vw,32px);font-weight:700;line-height:1.2;letter-spacing:-.01em;margin-bottom:14px}
.feature-desc{font-size:14px;line-height:1.7;color:var(--text3);margin-bottom:20px}

/* Deco bars */
.deco-bars{display:flex;gap:6px;margin-bottom:20px}
.deco-bars span{flex:1;height:24px;border:1px solid var(--border);border-radius:2px;background:var(--white)}

/* Feature testimonial */
.feature-testimonial{border:1px solid var(--border);border-radius:0;padding:24px;background:var(--white)}
.ft-brand{font-size:18px;font-weight:700;margin-bottom:12px;letter-spacing:.08em}
.ft-text{font-size:13px;line-height:1.7;color:var(--text2);margin-bottom:10px}
.ft-attr{font-size:12px;color:var(--text4)}

/* ===== Agent Visual ===== */
.agent-visual{padding:20px;height:100%;display:flex;flex-direction:column}
.agent-illustrations{display:flex;justify-content:center;gap:16px;margin-bottom:20px}
.agent-avatar-circle{width:60px;height:60px;border-radius:50%;border:1.5px solid #aaa;background:rgba(255,255,255,.6)}
.agent-avatar-circle.lg{width:80px;height:80px}
.agent-popup{background:var(--white);border-radius:12px;padding:16px;box-shadow:0 4px 20px rgba(0,0,0,.08);margin-bottom:16px}
.popup-header{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:14px}
.popup-body{display:flex;gap:16px}
.popup-left{flex:1}
.popup-desc{font-size:11px;color:var(--text3);line-height:1.5;margin-bottom:8px}
.popup-icons{display:flex;gap:6px}
.pi{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--white)}
.popup-right{flex:1;border-left:1px solid var(--border);padding-left:16px}
.popup-label{font-size:10px;font-weight:600;color:var(--text4);margin-bottom:4px}
.popup-item{font-size:11px;color:var(--text3);line-height:1.5}

.agent-form-card{background:var(--white);border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden}
.afc-header{padding:14px 20px;border-bottom:1px solid var(--border);font-size:14px;font-weight:500;display:flex;justify-content:space-between;align-items:center}
.afc-save{padding:6px 14px;background:var(--text);color:var(--white);border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer}
.afc-body{padding:16px 20px;display:flex;flex-direction:column;gap:10px}
.afc-body label{font-size:11px;font-weight:600;color:var(--text4);text-transform:uppercase;letter-spacing:.04em}
.afc-input{padding:8px 12px;border:1px solid var(--border);border-radius:6px;font-size:13px;background:#fafbfc}
.afc-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.afc-tag{padding:6px 12px;border:1px solid var(--border);border-radius:8px;font-size:12px;display:flex;align-items:center;gap:4px;background:#fafbfc}
.afc-chevron{margin-left:auto;color:var(--text4)}
.afc-textarea{padding:10px 12px;border:1px solid var(--border);border-radius:6px;font-size:12px;color:var(--text4);background:#fafbfc;min-height:48px}
.afc-tabs{display:flex;gap:6px;flex-wrap:wrap;padding-top:6px}
.afc-tab{padding:6px 12px;border:1px solid var(--border);border-radius:8px;font-size:11px;color:var(--text3);background:#fafbfc}

/* ===== Chat Visual ===== */
.chat-visual{height:100%}
.chat-window{background:var(--white);border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden;font-size:12px}
.cw-dots{display:flex;gap:6px;padding:12px 16px;border-bottom:1px solid var(--border)}
.dot{width:10px;height:10px;border-radius:50%}.dot.r{background:#ff5f57}.dot.y{background:#ffbd2e}.dot.g{background:#28c840}
.cw-question{padding:12px 16px;font-weight:600;font-size:13px;border-bottom:1px solid var(--border);background:#fafbfc}
.cw-answer-label{padding:8px 16px;font-size:11px;color:var(--text4)}
.cw-answer{padding:0 16px 8px;font-size:12px;line-height:1.6;color:var(--text2)}
.cw-table{padding:0 16px 12px}
.cw-table-title{font-size:11px;font-weight:600;margin-bottom:6px}
.cw-table table{width:100%;border-collapse:collapse;font-size:11px}
.cw-table th,.cw-table td{padding:4px 8px;border:1px solid var(--border);text-align:left}
.cw-table th{background:#fafbfc;font-weight:600}
.cw-bottom{border-top:1px solid var(--border);padding:10px 16px}
.cw-agent-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;margin-bottom:8px}
.cw-caret{color:var(--text4);font-size:10px}
.cw-input-bar{padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:12px;color:var(--text4);margin-bottom:8px}
.cw-modes{display:flex;align-items:center;gap:6px}
.mode-pill{padding:4px 10px;border:1px solid var(--border);border-radius:6px;font-size:10px;color:var(--text3);background:var(--white)}
.mode-pill.active{background:var(--text);color:var(--white);border-color:var(--text)}
.toggle{display:inline-block;width:24px;height:12px;border-radius:6px;background:var(--border);vertical-align:middle}

/* ===== Dashboard Visual ===== */
.dashboard-visual{padding:20px;height:100%;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#fde8d0 0%,#fce4c8 100%)}
.dv-prompt{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--white);border-radius:10px;font-size:13px;color:var(--text4);border:1px solid var(--border)}
.dv-tabs-row{display:flex;gap:8px;overflow:hidden}
.dv-tab{padding:8px 14px;background:var(--white);border:1px solid var(--border);border-radius:8px;font-size:11px;color:var(--text3);white-space:nowrap;flex-shrink:0}
.dv-tab.active{background:var(--white);font-weight:600;color:var(--text)}
.dv-dashboard{background:var(--white);border-radius:12px;border:1px solid var(--border);overflow:hidden}
.dv-header{display:flex;align-items:center;gap:6px;padding:12px 16px;border-bottom:1px solid var(--border)}
.dv-ask{margin-left:auto;padding:4px 12px;border:1px solid var(--border);border-radius:6px;font-size:11px;font-weight:500}
.dv-grid{display:grid;grid-template-columns:1fr 1fr}
.dv-cell{padding:16px;border-right:1px solid var(--border)}
.dv-cell:last-child{border-right:none}
.dv-cell-title{font-size:12px;font-weight:600;margin-bottom:4px}
.dv-cell-sub{font-size:11px;color:var(--text4)}
.dv-cell-big{font-size:32px;font-weight:700;font-family:var(--display);margin:4px 0}
.dv-cell-huge{font-size:36px;font-weight:700;font-family:var(--display)}
.dv-mini-chart{margin:8px 0}
.dv-mini-chart svg{width:100%;height:50px}
.dv-months{display:flex;gap:8px;font-size:11px;color:var(--text4)}
.dv-months .sel{padding:2px 10px;border-radius:4px}.dv-months .sel.active{background:var(--text);color:var(--white)}
.dv-spacer{height:16px;border-bottom:1px solid var(--border);margin-bottom:16px}
.dv-footer-text{padding:10px 16px;font-size:11px;color:var(--text4);border-top:1px solid var(--border);text-align:center}

/* ===== Integrations ===== */
.integrations-card{text-align:center;border:1px solid var(--border);border-radius:16px;padding:60px 40px;background:var(--white);margin-bottom:24px;background-image:radial-gradient(circle,#e5e7eb 1px,transparent 1px);background-size:24px 24px}
.integrations-title{font-family:var(--display);font-size:clamp(24px,3vw,40px);font-weight:700;line-height:1.15;margin-bottom:20px;letter-spacing:-.02em}
.integrations-logos{display:flex;justify-content:center;gap:20px;margin-top:32px}
.int-logo{width:48px;height:48px;border-radius:12px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:20px;background:var(--white)}

/* Security Grid */
.security-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border)}
.security-card{padding:32px 24px;border-right:1px solid var(--border);transition:background .3s cubic-bezier(.27,0,.51,1)}
.security-card:hover{background:rgba(37,99,235,.02)}
.security-card:last-child{border-right:none}
.security-icon{margin-bottom:20px;height:80px}
.security-card h3{font-size:15px;font-weight:700;line-height:1.4;margin-bottom:8px}
.security-card p{font-size:13px;color:var(--text3);line-height:1.5}

/* ===== Stats ===== */
.stats-section{background:var(--dark);padding:80px 0 0;background-image:none}
.stats-title{font-family:var(--display);font-size:clamp(24px,3vw,40px);font-weight:400;font-style:italic;color:#a8c4e0;margin-bottom:16px;padding:0 0 24px;border-bottom:1px solid #2a2d36}
.stats-rows{border-bottom:1px solid #2a2d36}
.stat-row{display:flex;justify-content:space-between;align-items:center;padding:32px 0;border-bottom:1px solid #2a2d36}
.stat-row:last-child{border-bottom:none}
.stat-num{font-family:var(--display);font-size:clamp(36px,5vw,60px);font-weight:400;color:var(--white);letter-spacing:-.02em}
.stat-label{font-size:16px;color:rgba(255,255,255,.4);text-align:right}
.stats-grid-deco{height:80px;background:repeating-linear-gradient(90deg,#2a2d36,#2a2d36 1px,transparent 1px,transparent 80px);margin-top:0;opacity:.5}

/* ===== Testimonials Carousel ===== */
.testimonials-carousel{overflow:hidden;padding:20px 0 40px;mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 5%,rgba(0,0,0,1) 95%,rgba(0,0,0,0) 100%);-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 5%,rgba(0,0,0,1) 95%,rgba(0,0,0,0) 100%)}
.tc-row{display:flex;gap:16px;padding:8px 0;animation:scrollCards 30s linear infinite}
.tc-row.reverse{animation:scrollCardsReverse 30s linear infinite}
@keyframes scrollCards{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@keyframes scrollCardsReverse{0%{transform:translateX(-50%)}100%{transform:translateX(0)}}
.tc-card{flex-shrink:0;width:360px;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--white);transition:transform .3s cubic-bezier(.27,0,.51,1), box-shadow .3s cubic-bezier(.27,0,.51,1)}
.tc-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(0,0,0,.08)}
.tc-author{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:13px}
.tc-author span{color:var(--text4);font-weight:400}
.tc-avatar{width:28px;height:28px;border-radius:50%;background:#e5e7eb;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:var(--text3);flex-shrink:0}
.tc-card p{font-size:13px;line-height:1.6;color:var(--text2)}

/* ===== Roadblock Cards ===== */
.roadblock-cards{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border)}
.rb-card{border-right:1px solid var(--border);padding:24px;background:var(--white);transition:background .3s cubic-bezier(.27,0,.51,1)}
.rb-card:hover{background:rgba(37,99,235,.015)}
.rb-card:last-child{border-right:none}
.rb-solution{font-size:12px;font-weight:600;color:var(--blue);margin-bottom:10px;padding:4px 12px;background:rgba(37,99,235,.06);border:1px solid rgba(37,99,235,.15);border-radius:6px;display:inline-block}
.rb-card h3{font-size:15px;font-weight:700;line-height:1.4;margin-bottom:16px;min-height:44px}
.rb-visual{min-height:120px}
.rb-icons-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.rb-icon{width:36px;height:36px;border-radius:8px;border:1px solid var(--border);background:#fafbfc}
.rb-icon.blue{background:#3b82f6}.rb-icon.green{background:#22c55e}.rb-icon.yellow{background:#facc15}
.rb-icon.blue-dark{background:#1e40af}.rb-icon.red{background:#ef4444}.rb-icon.teal{background:#14b8a6}
.rb-chat{display:flex;flex-direction:column;gap:8px}
.rb-msg{font-size:11px;line-height:1.5;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fafbfc}
.rb-name{font-weight:600;font-size:10px}.rb-name.blue{color:var(--blue)}
.rb-context{display:flex;justify-content:center;align-items:center;height:100%}
.rb-nodes{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center;font-size:20px;color:#ccc}
.rb-center{font-size:14px;font-weight:600;color:var(--text3);padding:6px 12px;border:1px dashed var(--border);border-radius:6px}
.rb-dashboard{position:relative}
.rb-explain{position:absolute;top:0;right:0;background:var(--red);color:var(--white);padding:2px 8px;border-radius:6px;font-size:10px;font-weight:600}
.rb-revenue{margin-top:20px}
.rb-revenue p{font-size:11px;color:var(--text3)}.rb-big{font-size:28px !important;font-weight:700;color:var(--text) !important}
.rb-line{width:100%;height:40px;margin-top:8px}

/* ===== CTA Section ===== */
.cta-section{background:var(--dark);padding:80px 0 0;background-image:none}
.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:40px;padding-bottom:60px}
.cta-left{max-width:500px}
.cta-title{font-family:var(--display);font-size:clamp(28px,3.5vw,44px);font-weight:700;color:var(--white);line-height:1.15;margin-bottom:28px}
.cta-blue{color:#3b82f6}
.cta-btns{display:flex;gap:14px}
.btn-white{padding:12px 24px;background:var(--white);color:var(--text);border-radius:12px;font-size:14px;font-weight:500;border:none;cursor:pointer;transition:all .3s cubic-bezier(.27,0,.51,1)}
.btn-white:hover{background:#f3f4f6}
.btn-outline-white{padding:12px 24px;border:1px solid rgba(255,255,255,.25);color:var(--white);border-radius:12px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s cubic-bezier(.27,0,.51,1);background:transparent}
.btn-outline-white:hover{border-color:rgba(255,255,255,.5)}
.cta-right{flex-shrink:0}
.cta-grid-deco{height:80px;background:repeating-linear-gradient(90deg,#2a2d36,#2a2d36 1px,transparent 1px,transparent 80px);opacity:.5}

/* ===== Footer ===== */
.footer{background:var(--dark);border-top:1px solid #2a2d36;position:relative;background-image:none}
.footer-grid{display:grid;grid-template-columns:1fr auto auto;gap:80px;padding:60px 0 40px;position:relative;z-index:3}
.footer-tagline{font-size:16px;color:rgba(255,255,255,.7);line-height:1.5;margin-bottom:20px}
.footer-socials{display:flex;gap:10px}
.social-icon{width:40px;height:40px;border-radius:10px;background:#2a2d36;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);font-size:14px;font-weight:600;transition:.2s}
.social-icon:hover{background:#3a3d46;color:var(--white)}
.social-icon svg{display:block}
.footer-links-col h4{font-size:14px;font-weight:600;color:var(--white);margin-bottom:16px}
.footer-links-col a{display:block;font-size:14px;color:rgba(255,255,255,.4);margin-bottom:10px;transition:.2s}
.footer-links-col a:hover,.footer-links-col a.active{color:var(--blue)}

.footer-big-logo{position:relative;height:400px;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;background:linear-gradient(180deg,#2563eb 0%,#3b82f6 40%,#60a5fa 100%);border-radius:16px;margin-top:40px}
.footer-arc{position:absolute;top:40%;left:50%;transform:translateX(-50%);width:800px;height:800px;border-radius:50%;background:linear-gradient(180deg,#e8ecf0 0%,#c8cfd6 30%,#a0aab4 100%);box-shadow:0 -20px 80px rgba(0,0,0,.15)}
.footer-logo-text{display:none}
.footer-copy{font-size:13px;color:rgba(255,255,255,.3);padding:20px 0}

/* Cookie Consent Banner */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:var(--dark);color:rgba(255,255,255,.85);padding:16px 24px;z-index:150;display:flex;align-items:center;justify-content:center;gap:20px;font-size:13px;line-height:1.5;transform:translateY(100%);transition:transform .4s cubic-bezier(.27,0,.51,1);background-image:none}
.cookie-banner.visible{transform:translateY(0)}
.cookie-banner a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.cookie-banner-btns{display:flex;gap:8px;flex-shrink:0}
.cookie-accept{padding:8px 20px;background:var(--blue);color:var(--white);border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s}
.cookie-accept:hover{background:#1d4ed8}
.cookie-decline{padding:8px 20px;background:transparent;color:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.2);border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}
.cookie-decline:hover{border-color:rgba(255,255,255,.4);color:rgba(255,255,255,.8)}
@media(max-width:768px){.cookie-banner{flex-direction:column;text-align:center;padding:20px 24px}}


/* ===== Real Asset Images ===== */
.company-logo img{height:36px;width:auto;max-width:140px;object-fit:contain;filter:grayscale(1);opacity:.6;transition:all .3s}
.company-logo:hover img{filter:grayscale(0);opacity:1}
.ft-avatar img{width:100px;height:100px;border-radius:50%;object-fit:cover;border:2px solid var(--border)}
.int-logo img{width:36px;height:36px;object-fit:contain;border-radius:0}
.tc-avatar img{width:28px;height:28px;border-radius:50%;object-fit:cover}
.tc-avatar{overflow:hidden}
.pi img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.pi{background:transparent !important}
.icon-square-img{width:20px;height:20px;border-radius:4px;object-fit:contain}
.afc-tag-icon{width:16px;height:16px;object-fit:contain;border-radius:2px}
.hero-screenshot{width:100%;height:100%;object-fit:cover;object-position:top left}
.footer-logo-img{height:28px;width:auto;max-width:fit-content;margin-bottom:16px;filter:brightness(0) invert(1);image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}
.logo img{height:32px;width:auto}

/* ===== Responsive ===== */
@media(max-width:1024px){
  .feature-layout{grid-template-columns:1fr}
  .feature-right{border-left:none !important;border-top:1px solid var(--border)}
  .feature-layout.reverse .feature-right{border-right:none !important}
  .security-grid{grid-template-columns:repeat(2,1fr)}
  .roadblock-cards{grid-template-columns:repeat(2,1fr)}
  .stats-grid-deco,.cta-grid-deco{display:none}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .ph-badges{flex-direction:column;align-items:center}
  .hero-btns{flex-direction:column;align-items:center}
  .hero-card{grid-template-columns:1fr;grid-template-rows:auto 1px auto}
  .hero-card-right{min-height:200px}
  .tabs-bar{flex-wrap:wrap}
  .tab{flex:none;padding:12px 16px;font-size:13px}
  .featured-testimonial{flex-direction:column}
  .split-header{flex-direction:column}
  .cta-inner{flex-direction:column}
  .security-grid,.roadblock-cards{grid-template-columns:1fr}
  .footer-grid{gap:30px}
}
@media(max-width:480px){
  .tab{font-size:12px;padding:10px 12px}
}

/* Scrollbar */
::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}
::selection{background:rgba(37,99,235,.12)}

/* Focus visibility for keyboard navigation */
:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:4px}
a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}

/* ===== Mega Dropdown Menu ===== */
.nav-dd-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}
.nav-dd-btn svg {
  transition: transform .2s cubic-bezier(.27,0,.51,1);
}
.nav-dd-wrap.open .nav-dd-btn svg {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.27,0,.51,1), transform .25s cubic-bezier(.27,0,.51,1), visibility .25s;
  z-index: 110;
}
.nav-dd-wrap.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Wide 3-column variant for Platform dropdown */
.mega-menu-wide {
  grid-template-columns: 1fr 1.3fr 1fr;
  min-width: 780px;
  gap: 0;
}
.mega-menu-wide .mega-col:nth-child(2) {
  border-right: 1px solid var(--border);
}
.mega-col {
  padding: 0 16px;
}
.mega-col:first-child {
  border-right: 1px solid var(--border);
  padding-left: 0;
}
.mega-col:last-child {
  padding-right: 0;
}
.mega-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text4);
  margin-bottom: 8px;
  padding-left: 4px;
  border-left: 2px solid var(--green);
}
.mega-heading + .mega-heading {
  margin-top: 14px;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  transition: background .2s;
  margin-bottom: 0;
}
.mega-item br {
  display: none;
}
.mega-item:hover {
  background: var(--bg);
}
.mega-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1px;
}
.mega-item small {
  display: block;
  font-size: 12px;
  color: var(--text4);
  line-height: 1.35;
}
.mega-blog-preview {
  display: block;
  padding: 8px;
  border-radius: 10px;
  transition: background .2s;
}
.mega-blog-preview:hover {
  background: var(--bg);
}
.mega-blog-thumb {
  display: block;
  width: 100%;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: cover;
}
.mega-blog-cat {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 4px;
}
.mega-blog-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.mega-see-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--dark);
  color: var(--white);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  transition: background .2s;
}
.mega-see-more:hover {
  background: #333;
}

/* ===== New 4-Column Footer ===== */
.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 60px 0 40px;
  position: relative;
  z-index: 3;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #2a2d36;
}

/* ===== Aurora CTA Section ===== */
.aurora-cta {
  background: var(--dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  background-image: none;
}
.aurora-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,.08), transparent 65%);
  pointer-events: none;
}
.aurora-cta::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.06), transparent 60%);
  pointer-events: none;
}
.aurora-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.aurora-cta-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.aurora-cta-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Section Badge ===== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  font-size: 13px;
  font-weight: 600;
  color: #2d6e16;
  margin-bottom: 20px;
}
.section-badge svg {
  flex-shrink: 0;
}

@media(max-width:1024px) {
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media(max-width:768px) {
  .mega-menu {
    position: fixed;
    top: var(--nav);
    left: 0;
    right: 0;
    transform: none;
    min-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    max-height: calc(100vh - var(--nav));
    overflow-y: auto;
  }
  .nav-dd-wrap.open .mega-menu {
    transform: none;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}


/* ===== Text Reveal Animation ===== */
@media (prefers-reduced-motion: no-preference) {
  .text-reveal .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s cubic-bezier(.27,0,.51,1), transform .4s cubic-bezier(.27,0,.51,1);
  }
  .text-reveal.revealed .word {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== Extended Stagger Delays ===== */
@media (prefers-reduced-motion: no-preference) {
  .fr-stagger > .fr-reveal:nth-child(9) { transition-delay: 0.64s; }
  .fr-stagger > .fr-reveal:nth-child(10) { transition-delay: 0.72s; }
  .fr-stagger > .fr-reveal:nth-child(11) { transition-delay: 0.80s; }
  .fr-stagger > .fr-reveal:nth-child(12) { transition-delay: 0.88s; }
}

/* ===== Lazy Image Fade-in ===== */
img[loading="lazy"] {
  transition: opacity .4s cubic-bezier(.27,0,.51,1);
}
