/* ================================
   FEATURES PAGE
================================ */

/* Shared */
.page-features{overflow-x:hidden;font-family:var(--font);color:var(--text)}
.page-features button,.page-features input{font-family:var(--font)}
.page-features img{max-width:100%}
.feat-italic{font-style:italic;color:var(--accent);font-weight:300}
.feat-head{text-align:center;max-width:720px;margin:0 auto 72px}
.feat-head-title{margin-bottom:16px}
.feat-head-sub{margin:0 auto;font-size:17px}
.feat-head--light .label{color:var(--accent-light)}
.feat-head--light .feat-head-title{color:#fff}
.feat-head--light .feat-head-sub{color:rgba(255,255,255,0.7)}

/* Scroll reveal */
.feat-reveal{opacity:0;transform:translateY(28px);transition:opacity 0.8s ease,transform 0.8s cubic-bezier(0.2,0.7,0.2,1)}
.feat-reveal.is-in{opacity:1;transform:translateY(0)}

/* Browser frame (screenshots) - full image, no crop */
.feat-frame{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 30px 60px -20px rgba(0,26,64,0.25),0 0 0 6px rgba(255,255,255,0.6)}
.feat-frame-bar{display:flex;align-items:center;gap:6px;padding:12px 16px;background:var(--bg-alt);border-bottom:1px solid var(--border)}
.feat-frame-bar span{width:10px;height:10px;border-radius:50%;background:var(--border);flex-shrink:0}
.feat-frame-bar em{margin-left:12px;font-style:normal;font-size:12px;color:var(--text-light);background:#fff;padding:3px 14px;border-radius:20px;border:1px solid var(--border);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feat-frame-media{display:block;width:100%;height:auto;background:var(--bg-alt)}

/* ===== HERO ===== */
.feat-hero{position:relative;padding-top:clamp(120px,12vw,150px);padding-bottom:110px;background:linear-gradient(to bottom,var(--bg) 0%,var(--bg-alt) 100%);overflow:hidden}
.feat-hero-glow{position:absolute;top:-200px;right:-150px;width:700px;height:700px;border-radius:50%;background:radial-gradient(circle,rgba(0,71,171,0.14) 0%,rgba(0,71,171,0) 70%);pointer-events:none}
.feat-hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:72px;align-items:center;position:relative}
.feat-hero-left{min-width:0}
.feat-hero-title{font-size:clamp(42px,5vw,72px);margin-bottom:24px}
.feat-hero-tagline{font-size:18px;margin-bottom:36px}
.feat-hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.feat-play-link{display:inline-flex;align-items:center;gap:10px}
.feat-play-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(0,71,171,0.15)}
.feat-hero-trust{display:flex;gap:40px;margin-top:48px;padding-top:32px;border-top:1px solid var(--border)}
.feat-trust-item{display:flex;flex-direction:column}
.feat-trust-item strong{font-size:28px;font-weight:400;letter-spacing:-0.02em;color:var(--text)}
.feat-trust-item span{font-size:13px;color:var(--text-light)}
.feat-hero-right{position:relative;min-width:0;transition-delay:0.15s}
.feat-frame--hero{transform:perspective(1600px) rotateY(-6deg) rotateX(2deg);transition:transform 0.6s ease}
.feat-hero-right:hover .feat-frame--hero{transform:perspective(1600px) rotateY(0) rotateX(0)}
.feat-float{position:absolute;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px 18px;box-shadow:0 16px 40px -12px rgba(0,26,64,0.25);animation:featFloat 5s ease-in-out infinite}
.feat-float div{display:flex;flex-direction:column;line-height:1.3}
.feat-float strong{font-size:14px;font-weight:600;color:var(--text)}
.feat-float span{font-size:12px;color:var(--text-light)}
.feat-float--1{left:-36px;bottom:40px}
.feat-float--2{right:-24px;top:70px;animation-delay:-2.5s}
.feat-float-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(0,71,171,0.08);color:var(--accent);font-weight:700}
.feat-float-num{font-size:13px;font-weight:700;color:var(--accent);background:rgba(0,71,171,0.08);padding:8px 10px;border-radius:8px}
@keyframes featFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* ===== STEPS ===== */
.feat-steps{background:var(--bg)}
.feat-step-row{display:grid;grid-template-columns:1fr 1.15fr;gap:96px;align-items:center;margin-bottom:120px}
.feat-step-row:last-child{margin-bottom:0}
.feat-step-row--flip .feat-step-text{order:2}
.feat-step-row--flip .feat-step-media{order:1}
.feat-step-text,.feat-step-media{min-width:0}
.feat-step-num{display:inline-block;font-size:72px;font-weight:200;line-height:1;letter-spacing:-0.04em;color:transparent;-webkit-text-stroke:1.5px var(--accent);margin-bottom:20px}
.feat-step-title{font-size:clamp(26px,2.6vw,36px);font-weight:400;letter-spacing:-0.02em;margin-bottom:16px}
.feat-step-text p{font-size:17px;margin-bottom:24px}
.feat-step-points{list-style:none;display:flex;flex-direction:column;gap:12px}
.feat-step-points li{position:relative;padding-left:30px;font-size:15px;color:var(--text)}
.feat-step-points li::before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;background:rgba(0,71,171,0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230047AB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat}
.feat-step-media{position:relative}
.feat-step-media::before{content:"";position:absolute;inset:-24px;border-radius:24px;background:radial-gradient(circle at 50% 50%,rgba(0,71,171,0.10),rgba(0,71,171,0) 70%);z-index:-1}

/* ===== DEMO VIDEO ===== */
.feat-demo{background:var(--accent-deep);position:relative;overflow:hidden}
.feat-demo::before{content:"";position:absolute;top:-300px;left:50%;transform:translateX(-50%);width:900px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(110,164,247,0.25),rgba(110,164,247,0) 70%);pointer-events:none}
.feat-demo-wrap{position:relative;max-width:1040px;margin:0 auto;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,0.12);box-shadow:0 40px 80px -20px rgba(0,0,0,0.5)}
.feat-demo-video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--footer-bg)}
.feat-demo-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:92px;height:92px;border-radius:50%;border:none;cursor:pointer;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 14px rgba(255,255,255,0.15);transition:transform 0.3s ease,box-shadow 0.3s ease}
.feat-demo-play:hover{transform:translate(-50%,-50%) scale(1.08);box-shadow:0 0 0 22px rgba(255,255,255,0.12)}
.feat-demo-play svg{width:32px;height:32px;fill:var(--accent);margin-left:4px}
.feat-demo-wrap.is-playing .feat-demo-play{opacity:0;pointer-events:none}

/* ===== BENTO ===== */
.feat-bento-sec{background:var(--bg-alt)}
.feat-bento{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feat-bento-card{min-width:0;background:#fff;border:1px solid var(--border);border-radius:18px;padding:32px;overflow:hidden;transition:transform 0.3s ease,box-shadow 0.3s ease,border-color 0.3s ease}
.feat-bento-card:hover{transform:translateY(-4px);border-color:rgba(0,71,171,0.4);box-shadow:0 20px 40px -16px rgba(0,26,64,0.18)}
.feat-bento-card--lg{grid-column:span 2;grid-row:span 2;display:flex;flex-direction:column;justify-content:space-between}
.feat-bento-card--wide{grid-column:span 2;display:flex;flex-direction:column;justify-content:center}
.feat-bento-card--dark{background:var(--accent-deep);border-color:var(--accent-dark)}
.feat-bento-card--dark .feat-bento-title{color:#fff}
.feat-bento-card--dark p{color:rgba(255,255,255,0.75)}
.feat-bento-body{max-width:480px}
.feat-bento-title{font-size:21px;font-weight:500;margin-bottom:10px}
.feat-bento-card p{font-size:15px}
.feat-bento-img{display:block;width:100%;height:auto;margin-top:28px;border-radius:12px;border:1px solid var(--border);box-shadow:0 16px 32px -16px rgba(0,26,64,0.2);background:var(--bg-alt)}
.feat-bento-card--wide .feat-bento-img{margin-top:0;border-color:rgba(255,255,255,0.12)}
.feat-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(0,71,171,0.08);border-radius:12px;margin-bottom:24px}
.feat-icon svg{width:24px;height:24px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ===== WHO IT'S FOR ===== */
.feat-who{background:var(--bg)}
.feat-who-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.feat-who-card{min-width:0;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;transition:transform 0.3s ease,box-shadow 0.3s ease}
.feat-who-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -16px rgba(0,26,64,0.18)}
.feat-who-card:nth-child(2){transition-delay:0.1s}
.feat-who-card:nth-child(3){transition-delay:0.2s}
.feat-who-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg-alt);transition:transform 0.6s ease}
.feat-who-card:hover .feat-who-img{transform:scale(1.04)}
.feat-who-body{padding:28px}
.feat-who-title{font-size:21px;font-weight:500;margin-bottom:8px}
.feat-who-body p{font-size:15px}

/* ===== FAQ ===== */
.feat-faq{background:var(--bg-alt)}
.feat-faq-grid{display:grid;grid-template-columns:0.8fr 1.2fr;gap:80px;align-items:start}
.feat-faq-left{position:sticky;top:120px}
.feat-faq-left p{margin-bottom:28px}
.feat-faq-list{display:flex;flex-direction:column;gap:12px;min-width:0}
.feat-faq-item{background:#fff;border:1px solid var(--border);border-radius:12px;padding:0 28px;transition:border-color 0.25s ease,box-shadow 0.25s ease}
.feat-faq-item[open]{border-color:var(--accent);box-shadow:0 12px 28px -14px rgba(0,71,171,0.25)}
.feat-faq-q{list-style:none;cursor:pointer;padding:22px 40px 22px 0;font-size:17px;font-weight:500;color:var(--text);position:relative}
.feat-faq-q::-webkit-details-marker{display:none}
.feat-faq-q::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(0,71,171,0.08);font-size:18px;color:var(--accent);transition:transform 0.25s ease}
.feat-faq-item[open] .feat-faq-q::after{transform:translateY(-50%) rotate(45deg)}
.feat-faq-a{font-size:15px;padding-bottom:22px;max-width:none}

/* ===== CTA ===== */
.feat-cta{background:var(--bg-alt);padding-top:0}
.feat-cta-box{position:relative;overflow:hidden;text-align:center;background:var(--accent-deep);border-radius:24px;padding:96px 32px}
.feat-cta-glow{position:absolute;inset:0;background:radial-gradient(circle at 20% 0%,rgba(110,164,247,0.35),transparent 50%),radial-gradient(circle at 80% 100%,rgba(0,71,171,0.6),transparent 55%);pointer-events:none}
.feat-cta-label{position:relative;color:var(--accent-light)}
.feat-cta-title{position:relative;color:#fff;margin-bottom:18px}
.feat-cta-sub{position:relative;margin:0 auto 36px;color:rgba(255,255,255,0.7);font-size:17px}
.feat-cta-btns{position:relative;display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.feat-cta-ghost{display:inline-block;padding:var(--btn-pad);border-radius:var(--btn-radius);border:1.5px solid rgba(255,255,255,0.3);color:#fff;font-size:14px;font-weight:500;transition:border-color 0.25s ease,background 0.25s ease}
.feat-cta-ghost:hover{border-color:#fff;background:rgba(255,255,255,0.08)}

/* ===== RESPONSIVE ===== */

/* Laptop */
@media (max-width:1280px){
.feat-hero-grid{gap:56px}
.feat-step-row{gap:64px}
.feat-float--1{left:-16px}
.feat-float--2{right:-12px}
}

/* Tablet landscape */
@media (max-width:1100px){
.feat-hero-grid{grid-template-columns:1fr;gap:64px}
.feat-hero-left{text-align:center;max-width:720px;margin:0 auto}
.feat-hero-tagline{margin-left:auto;margin-right:auto}
.feat-hero-btns{justify-content:center}
.feat-hero-trust{justify-content:center}
.feat-hero-right{max-width:820px;margin:0 auto;width:100%}
.feat-frame--hero,.feat-hero-right:hover .feat-frame--hero{transform:none}
.feat-step-row{gap:48px}
.feat-bento{grid-template-columns:repeat(2,1fr)}
.feat-bento-card--lg{grid-row:auto}
.feat-who-grid{grid-template-columns:repeat(2,1fr)}
.feat-who-card:last-child{grid-column:span 2;max-width:calc(50% - 12px);justify-self:center}
.feat-faq-grid{gap:48px}
}

/* Tablet portrait */
@media (max-width:860px){
.page-features section{padding-top:80px;padding-bottom:80px;padding-left:0;padding-right:0}
.page-features .feat-hero{padding-top:120px}
.page-features .feat-cta{padding-top:0}
.feat-head{margin-bottom:48px}
.feat-head-sub{font-size:16px}
.feat-step-row,.feat-step-row--flip{grid-template-columns:1fr;gap:32px;margin-bottom:72px}
.feat-step-row--flip .feat-step-text{order:1}
.feat-step-row--flip .feat-step-media{order:2}
.feat-step-text{text-align:left}
.feat-step-num{font-size:56px;margin-bottom:12px}
.feat-step-media::before{inset:-12px}
.feat-bento{grid-template-columns:1fr}
.feat-bento-card--lg,.feat-bento-card--wide{grid-column:auto}
.feat-bento-card--wide{grid-template-columns:1fr}
.feat-who-grid{grid-template-columns:1fr}
.feat-who-card:last-child{grid-column:auto;max-width:none}
.feat-faq-grid{grid-template-columns:1fr;gap:36px}
.feat-faq-left{position:static;text-align:center}
.feat-faq-left p{margin-left:auto;margin-right:auto}
.feat-demo-play{width:76px;height:76px}
.feat-demo-play svg{width:26px;height:26px}
.feat-cta-box{padding:72px 28px}
}

/* Mobile */
@media (max-width:600px){
.page-features section{padding-top:64px;padding-bottom:64px}
.page-features .feat-hero{padding-top:104px}
.feat-hero-glow{width:420px;height:420px;top:-120px;right:-160px}
.feat-hero-title{font-size:36px;letter-spacing:-0.02em}
.feat-hero-tagline{font-size:16px;margin-bottom:28px}
.feat-hero-btns{flex-direction:column;align-items:stretch}
.feat-hero-btns a{text-align:center;justify-content:center}
.feat-hero-trust{gap:20px;margin-top:36px;padding-top:24px;justify-content:space-between}
.feat-trust-item strong{font-size:22px}
.feat-trust-item span{font-size:12px}
.feat-hero-grid{gap:44px}
.feat-float{display:none}
.feat-frame{border-radius:10px;box-shadow:0 20px 40px -18px rgba(0,26,64,0.3)}
.feat-frame-bar{padding:9px 12px;gap:5px}
.feat-frame-bar span{width:8px;height:8px}
.feat-frame-bar em{display:none}
.feat-head{margin-bottom:36px}
.feat-step-row,.feat-step-row--flip{margin-bottom:56px;gap:24px}
.feat-step-num{font-size:44px}
.feat-step-title{font-size:24px}
.feat-step-text p{font-size:15px;margin-bottom:18px}
.feat-step-points li{font-size:14px}
.feat-demo-wrap{border-radius:12px}
.feat-demo-play{width:60px;height:60px;box-shadow:0 0 0 8px rgba(255,255,255,0.15)}
.feat-demo-play svg{width:22px;height:22px}
.feat-bento{gap:14px}
.feat-bento-card{padding:24px;border-radius:14px}
.feat-bento-title{font-size:19px}
.feat-bento-img{margin-top:20px;border-radius:8px}
.feat-icon{width:42px;height:42px;margin-bottom:18px}
.feat-who-grid{gap:16px}
.feat-who-body{padding:22px}
.feat-who-title{font-size:19px}
.feat-faq-item{padding:0 18px}
.feat-faq-q{font-size:15px;padding:18px 36px 18px 0}
.feat-faq-a{font-size:14px;padding-bottom:18px}
.feat-cta-box{padding:56px 20px;border-radius:16px}
.feat-cta-title{font-size:30px}
.feat-cta-title br{display:none}
.feat-cta-sub{font-size:15px}
.feat-cta-btns{flex-direction:column;align-items:stretch}
.feat-cta-btns a{text-align:center}
}

/* Small mobile */
@media (max-width:380px){
.feat-hero-title{font-size:32px}
.feat-hero-trust{flex-wrap:wrap}
.feat-step-num{font-size:40px}
.feat-cta-title{font-size:26px}
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
.feat-reveal{opacity:1;transform:none;transition:none}
.feat-float{animation:none}
}