
:root{
  --bg:#fbfaff; --text:#171123; --muted:#6b6580; --card:#ffffff; --border:#efeaff; --bg-soft:#f8f6ff;
  --p1:#7c3aed; --p2:#ec4899; --p3:#f97316;
  --grad: linear-gradient(120deg,var(--p1),var(--p2) 50%,var(--p3));
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--bg); color:var(--text); font-family:-apple-system,"Segoe UI",Inter,system-ui,sans-serif; line-height:1.55;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{list-style:none;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}

/* Header / Nav */
header{position:sticky; top:0; z-index:60; background:rgba(251,250,255,.9); backdrop-filter:blur(10px); border-bottom:1px solid var(--border);}
nav{display:flex; align-items:center; justify-content:space-between; padding:16px 0;}
.logo{display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px;}
.logo-mark{width:28px; height:28px; border-radius:9px; background:var(--grad); flex:none;}
.nav-links{display:flex; gap:28px; font-size:14px; color:var(--muted); font-weight:600;}
.nav-links a:hover, .nav-links a.active{color:var(--text);}
.nav-actions{display:flex; align-items:center; gap:14px;}
.nav-toggle{display:none; background:none; border:none; font-size:20px; cursor:pointer; color:var(--text);}
.nav-mobile{display:none; flex-direction:column; gap:4px; padding:10px 0 18px;}
.nav-mobile a{padding:10px 4px; font-weight:600; color:var(--muted); border-bottom:1px solid var(--border);}
.nav-mobile.open{display:flex;}

.btn{display:inline-flex; align-items:center; gap:8px; padding:13px 24px; border-radius:99px; font-size:14px; font-weight:700; cursor:pointer; border:1px solid transparent;}
.btn-sm{padding:9px 18px; font-size:13px;}
.btn-primary{background:var(--grad); color:#fff; box-shadow:0 12px 30px -8px rgba(124,58,237,.55);}
.btn-outline{border-color:#ded6ff; color:var(--text); background:#fff;}

/* Home hero */
.hero{padding:90px 0 60px; position:relative;}
.hero::before{content:""; position:absolute; top:-120px; right:-160px; width:520px; height:520px; border-radius:50%; background:var(--grad); opacity:.18; filter:blur(50px); z-index:-1;}
.kicker{display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid #ede7ff; color:var(--p1); font-size:13px; font-weight:700; padding:8px 16px; border-radius:99px; margin-bottom:26px; box-shadow:0 4px 16px -8px rgba(124,58,237,.3);}
h1{font-size:clamp(36px,5.2vw,62px); font-weight:800; letter-spacing:-.03em; line-height:1.08; text-align:center; max-width:820px; margin:0 auto;}
h1 .g{background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero p.lead, .page-hero p.lead{color:var(--muted); font-size:18px; margin:22px auto 0; max-width:620px; text-align:center; font-weight:500;}
.hero-cta{display:flex; gap:14px; justify-content:center; margin-top:34px;}
.shot{margin:60px auto 0; max-width:1000px; border-radius:28px; padding:14px; background:linear-gradient(135deg,#fff,#f3effe); border:1px solid var(--border); box-shadow:0 50px 100px -40px rgba(124,58,237,.35);}
.shot-inner{aspect-ratio:16/8.5; border-radius:20px; background:#f4f1fb; display:flex; align-items:center; justify-content:center; color:var(--muted); font-weight:600; border:2px dashed #e0d8fb;}
.stats-row{display:flex; justify-content:center; gap:56px; margin-top:56px; flex-wrap:wrap; text-align:center;}
.stats-row b{display:block; font-size:24px; font-weight:800;}
.stats-row span{color:var(--muted); font-size:13px;}

/* Page hero (sub-pages) */
.page-hero{padding:56px 0 50px; text-align:center; background:var(--bg-soft); border-bottom:1px solid var(--border);}
.breadcrumb{display:flex; gap:8px; justify-content:center; color:var(--muted); font-size:13px; margin-bottom:18px;}
.breadcrumb a:hover{color:var(--p1);}
.page-hero h1{font-size:clamp(28px,4vw,42px);}

section{padding:90px 0;}
.section-head{text-align:center; max-width:640px; margin:0 auto 56px;}
.eyebrow{display:inline-block; color:var(--p2); font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px;}
h2{font-size:clamp(28px,3.6vw,42px); font-weight:800; letter-spacing:-.02em;}
.section-head p{color:var(--muted); margin-top:14px; font-size:16px;}

/* Feature grid (home + hub) */
.grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:22px;}
.card{background:var(--card); border:1px solid var(--border); border-radius:22px; padding:30px; transition:.25s;}
.card:hover{transform:translateY(-4px); box-shadow:0 26px 50px -24px rgba(124,58,237,.35);}
.icon{width:46px; height:46px; border-radius:14px; background:var(--grad); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:18px;}
.card h3{font-size:17px; margin-bottom:8px; font-weight:700;}
.card p{color:var(--muted); font-size:14px;}
.card-link{display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-size:13px; font-weight:700; color:var(--p1);}

/* Screenshot + description blocks (detail pages) */
.shot-block{display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; padding:56px 0; border-bottom:1px solid var(--border);}
.shot-block:last-child{border-bottom:none;}
.shot-block.reverse{grid-template-columns:.95fr 1.05fr;}
.shot-block.reverse .shot-media{order:2;}
.shot-block.reverse .shot-copy{order:1;}
.shot-media .shot-ph{
  aspect-ratio:16/10; border-radius:20px; background:#f4f1fb; border:2px dashed #e0d8fb;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; padding:20px;
}
.ph-tag{font-size:12px; font-weight:800; color:var(--p1); background:#fff; border:1px solid #ede7ff; padding:4px 12px; border-radius:99px;}
.ph-label{font-weight:700; font-size:15px; margin-top:6px;}
.ph-hint{font-size:12px; color:var(--muted);}
.shot-copy h3{font-size:22px; font-weight:800; margin-bottom:12px;}
.shot-copy p{color:var(--muted); font-size:15px; margin-bottom:18px;}
.check-list li{position:relative; padding-left:26px; margin-bottom:10px; font-size:14px; color:var(--text);}
.check-list li::before{content:"✓"; position:absolute; left:0; top:0; color:#fff; background:var(--grad); width:18px; height:18px; border-radius:50%; font-size:11px; display:flex; align-items:center; justify-content:center; font-weight:800;}

/* Role grid */
.roles{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px;}
.role{border:1px solid var(--border); border-radius:18px; padding:24px; background:var(--card);}
.role .icon{width:38px; height:38px; font-size:16px; margin-bottom:14px;}
.role b{display:block; font-size:15px; margin-bottom:6px;}
.role span{font-size:13px; color:var(--muted);}

/* Page nav CTA (prev/next) */
.page-nav-cta{padding:40px 0; background:var(--bg-soft); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.page-nav-cta-inner{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;}

/* CTA banner */
.cta{border-radius:32px; padding:64px 40px; text-align:center; background:var(--grad); color:#fff;}
.cta h2{color:#fff;}
.cta p{color:rgba(255,255,255,.9); max-width:480px; margin:14px auto 26px;}
.cta .btn-primary{background:#fff; color:var(--p1); box-shadow:none;}

/* Contact page */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;}
.contact-card{background:var(--card); border:1px solid var(--border); border-radius:22px; padding:34px;}
.field{margin-bottom:18px;}
.field label{display:block; font-size:13px; font-weight:700; margin-bottom:6px;}
.field input, .field textarea{width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--border); font-family:inherit; font-size:14px; background:#fff;}
.field textarea{min-height:110px; resize:vertical;}
.contact-info-item{display:flex; gap:14px; margin-bottom:22px;}
.contact-info-item .icon{margin-bottom:0; flex:none;}
.contact-info-item h4{font-size:15px; margin-bottom:4px;}
.contact-info-item p{color:var(--muted); font-size:14px;}
.honeypot{position:absolute; left:-9999px; top:-9999px; opacity:0; height:0; width:0; pointer-events:none;}
.form-status{margin-top:14px; font-size:13.5px; font-weight:600; padding:12px 14px; border-radius:10px; display:none;}
.form-status.visible{display:block;}
.form-status.success{background:#eafbea; color:#1a7d3a; border:1px solid #c9f0cd;}
.form-status.error{background:#fdeceb; color:#c22c2c; border:1px solid #f7cfcc;}
.btn[disabled]{opacity:.7; cursor:not-allowed;}

/* Footer */
footer{background:#141026; color:#c9c3dd; padding:56px 0 0; margin-top:0;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:40px;}
.footer-brand p{margin-top:14px; font-size:14px; color:#a49cc2; max-width:280px;}
.footer-brand .logo{color:#fff;}
.footer-col h5{color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px;}
.footer-col a{display:block; color:#a49cc2; font-size:14px; margin-bottom:10px;}
.footer-col a:hover{color:#fff;}
.footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; border-top:1px solid #2a2542; padding:22px 0; font-size:13px; color:#8a82a8;}

@media(max-width:900px){
  .shot-block, .shot-block.reverse{grid-template-columns:1fr;}
  .shot-block.reverse .shot-media, .shot-block.reverse .shot-copy{order:initial;}
  .footer-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
}
@media(max-width:820px){
  .nav-links{display:none;}
  .nav-toggle{display:block;}
}
