/* Features page (routes/features.ts). Hand-written: Tailwind only scans dashboard/*.html. */
html,body{background:#0C0912;} body{font-family:'Inter',system-ui,sans-serif;color:#F5F2FB;}
*{scrollbar-width:thin;scrollbar-color:#3A3350 transparent;}
html{color-scheme:dark;scroll-padding-top:5rem;}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #FFE801;outline-offset:2px;border-radius:6px;}

.f-wrap{max-width:76rem;margin:0 auto;padding:0 1.25rem;position:relative;}
.f-center{text-align:center;}
.f-eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#FFE801;margin:0;}
.f-h1{margin:1rem 0 0;font-size:2.5rem;line-height:1.06;font-weight:800;letter-spacing:-.025em;max-width:56rem;}
@media (min-width:768px){.f-h1{font-size:4rem;}}
.f-gold{background:linear-gradient(94deg,#FFE801,#F0B61E 55%,#FFC46B);-webkit-background-clip:text;background-clip:text;color:transparent;}
.f-h2{margin:.75rem 0 0;font-size:1.9rem;line-height:1.12;font-weight:800;letter-spacing:-.02em;}
@media (min-width:768px){.f-h2{font-size:2.6rem;}}
.f-lead{margin:1.1rem 0 0;font-size:1.08rem;line-height:1.75;color:#B6AECB;max-width:40rem;}
.f-lead-hero{font-size:1.2rem;max-width:44rem;}
.f-sub{margin:.75rem 0 0;color:#B6AECB;line-height:1.7;}
.f-reviewed{margin:.75rem 0 0;font-size:.875rem;color:#7E7591;}
.f-note{margin:2rem 0 0;font-size:.875rem;color:#7E7591;}
.f-note a{color:#FFE801;}

/* Hero */
.f-hero{position:relative;overflow:hidden;padding:4.5rem 0 0;}
@media (min-width:768px){.f-hero{padding:6.5rem 0 0;}}
.f-aurora{position:absolute;inset:0;pointer-events:none;background:radial-gradient(60% 45% at 50% -6%,rgba(139,92,246,0.28),transparent 62%),radial-gradient(38% 30% at 82% 2%,rgba(255,232,1,0.07),transparent 60%);}
.f-grid-tex{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,0.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.035) 1px,transparent 1px);background-size:52px 52px;-webkit-mask-image:radial-gradient(circle at 50% 18%,#000 0%,transparent 70%);mask-image:radial-gradient(circle at 50% 18%,#000 0%,transparent 70%);}
.f-hero-in{text-align:center;}
.f-hero-in .f-h1,.f-hero-in .f-lead{margin-left:auto;margin-right:auto;}
.f-btns{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.75rem;}
.f-hero-in .f-btns,.f-btns-center{justify-content:center;}
.f-btn{display:inline-block;font-size:.9rem;font-weight:600;padding:.8rem 1.35rem;border-radius:8px;text-decoration:none;transition:background .15s,border-color .15s;}
.f-btn-gold{background:#FFE801;color:#0C0912;box-shadow:0 0 0 1px rgba(255,232,1,0.25),0 10px 30px -10px rgba(255,232,1,0.45);}
.f-btn-gold:hover{background:#F0B61E;}
.f-btn-line{border:1px solid #2B2439;color:#F5F2FB;}
.f-btn-line:hover{border-color:#7E7591;}

/* Screenshots */
/* The img's width/height attributes are its display size; CSS only caps it to the column. */
.f-shot{margin:0 auto;width:fit-content;max-width:100%;border-radius:16px;overflow:hidden;border:1px solid #2B2439;background:#16131D;box-shadow:0 0 0 1px rgba(255,232,1,0.08),0 40px 90px -35px rgba(139,92,246,0.6),0 24px 60px -24px rgba(0,0,0,0.85);}
.f-shot img{display:block;max-width:100%;height:auto;}
.f-hero-shot{margin-top:3.5rem;}
.f-hero-shot .f-shot{border-radius:18px 18px 0 0;border-bottom:none;}


/* One feature = one full-width section */
.f-feature{padding:5rem 0;}
@media (min-width:1024px){.f-feature{padding:6.5rem 0;}}
.f-text{max-width:46rem;}
.f-visual{margin-top:3rem;}
.f-visual:empty{display:none;}
.f-points{list-style:none;margin:3rem 0 0;padding:0;display:grid;gap:1.25rem 2.5rem;}
@media (min-width:768px){.f-points{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1024px){.f-points-3{grid-template-columns:repeat(3,1fr);}}
.f-points li{display:flex;gap:.85rem;align-items:flex-start;}
.f-points strong{display:block;font-size:1rem;font-weight:600;color:#F5F2FB;}
.f-points span{display:block;margin-top:.3rem;font-size:.93rem;line-height:1.65;color:#B6AECB;}
.f-tick{flex-shrink:0;width:1.35rem;height:1.35rem;margin-top:.05rem;padding:.2rem;border-radius:999px;background:rgba(255,232,1,0.12);color:#FFE801;}

/* Security gets its own darker band */
.f-secure{background:linear-gradient(180deg,#0C0912,#120E1C 30%,#120E1C 70%,#0C0912);}


.f-code{margin:0;background:#0A0810;border:1px solid #2B2439;border-radius:14px;padding:1.25rem 1.4rem;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px;line-height:1.7;color:#CDD6F4;overflow-x:auto;white-space:pre;}
.f-code-lg{box-shadow:0 30px 80px -30px rgba(139,92,246,0.45);}

/* Plain cron vs Netsware */
.f-versus{background:radial-gradient(60% 60% at 50% 0%,rgba(139,92,246,0.12),transparent 70%);}
.f-table{margin-top:2.5rem;overflow-x:auto;border:1px solid #2B2439;border-radius:16px;background:#15111E;}
.f-table table{width:100%;border-collapse:collapse;font-size:.95rem;min-width:40rem;}
.f-table th,.f-table td{padding:1rem 1.25rem;text-align:left;border-bottom:1px solid #221D2F;vertical-align:top;}
.f-table tr:last-child td{border-bottom:none;}
.f-table th{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#7E7591;}
.f-table th:last-child{color:#FFE801;}
.f-table td:first-child{color:#F5F2FB;font-weight:500;}
.f-no{color:#8D85A3;}
.f-yes{color:#F5F2FB;}
.f-yes .f-tick{display:inline-block;vertical-align:-.3rem;margin-right:.55rem;}

/* FAQ + closing band */
.f-faq{margin-top:2rem;display:grid;gap:.75rem;max-width:52rem;}
.f-faq details{border:1px solid #2B2439;background:#15111E;border-radius:12px;padding:1rem 1.25rem;}
.f-faq summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-weight:600;}
.f-faq summary::-webkit-details-marker{display:none;}
.f-chev{width:1rem;height:1rem;flex-shrink:0;color:#FFE801;transition:transform .15s;}
.f-faq details[open] .f-chev{transform:rotate(180deg);}
.f-faq details p{margin:.75rem 0 0;color:#B6AECB;font-size:.95rem;line-height:1.7;}
.f-band{position:relative;overflow:hidden;padding:6rem 0;}

/* A narrow screen sits beside the text; wide screens stack below it. */
.f-split{display:grid;gap:2.5rem;align-items:center;}
@media (min-width:1024px){.f-split{grid-template-columns:minmax(0,1fr) auto;gap:4rem;}.f-split .f-visual{margin-top:0;}}
.f-visual .f-shot+.f-shot{margin-top:2rem;}

/* Screens at 80% of the column on wide screens, so they read as framed screenshots. */
@media (min-width:1024px){.f-stack .f-shot,.f-hero-shot .f-shot{max-width:80%;}}

/* Security: glossy icon cards (this section has no screenshot). */
.f-cards{margin-top:3rem;display:grid;gap:1.25rem;}
@media (min-width:640px){.f-cards{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1024px){.f-cards{grid-template-columns:repeat(3,1fr);}}
.f-gcard{position:relative;overflow:hidden;border-radius:18px;padding:1.6rem 1.5rem 1.7rem;background:linear-gradient(160deg,rgba(255,255,255,0.07),rgba(255,255,255,0.015) 38%,rgba(139,92,246,0.05) 100%),#15111E;border:1px solid rgba(255,255,255,0.08);box-shadow:inset 0 1px 0 rgba(255,255,255,0.07),0 24px 50px -28px rgba(0,0,0,0.85);transition:border-color .2s,box-shadow .2s,transform .2s;}
.f-gcard::before{content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,232,1,0.45),transparent);opacity:.6;}
.f-gcard:hover{border-color:rgba(255,232,1,0.32);box-shadow:inset 0 1px 0 rgba(255,255,255,0.09),0 30px 60px -28px rgba(139,92,246,0.55);transform:translateY(-2px);}
.f-gcard-ico{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:12px;background:linear-gradient(180deg,rgba(255,232,1,0.16),rgba(255,232,1,0.06));border:1px solid rgba(255,232,1,0.28);color:#FFE801;}
.f-card-ico{width:1.35rem;height:1.35rem;}
.f-gcard h3{margin:1.1rem 0 0;font-size:1.05rem;font-weight:700;color:#F5F2FB;}
.f-gcard p{margin:.55rem 0 0;font-size:.93rem;line-height:1.65;color:#B6AECB;}
@media (prefers-reduced-motion:reduce){.f-gcard{transition:none;}.f-gcard:hover{transform:none;}}

/* Code window: title bar with three dots, as wide as its content. */
.f-win{width:fit-content;max-width:100%;margin:0 auto;border-radius:14px;overflow:hidden;border:1px solid #2B2439;background:#0A0810;box-shadow:0 0 0 1px rgba(255,232,1,0.06),0 40px 90px -35px rgba(139,92,246,0.55),0 24px 60px -24px rgba(0,0,0,0.85);}
.f-win-bar{display:flex;align-items:center;gap:.45rem;padding:.7rem 1rem;background:#15111E;border-bottom:1px solid #221D2F;}
.f-dot{width:.72rem;height:.72rem;border-radius:999px;flex-shrink:0;}
.f-dot-r{background:#FF5F57;} .f-dot-y{background:#FEBC2E;} .f-dot-g{background:#28C840;}
.f-win-title{margin-left:.75rem;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;color:#7E7591;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.f-win-code{margin:0;padding:1.1rem 1.4rem 1.25rem;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13.5px;line-height:1.75;color:#CDD6F4;overflow-x:auto;white-space:pre;}
.j-k{color:#89B4FA;} .j-s{color:#A6E3A1;} .j-n{color:#FAB387;} .j-b{color:#C9B7F2;}
