/* Enable smooth scrolling for in-page links */
html {
    scroll-behavior: smooth;
  }
  
/* ====== Base ====== */
:root{
    --bg:#0b0c10;
    --panel:#111317;
    --ink:#e9eef2;
    --muted:#9aa0a6;
    --line:#1a1d23;
    --accent:#66dbff;
    --accent-ink:#001018;
  }
  
  *{ box-sizing:border-box; }
  html,body{ margin:0; padding:0; }
  body{
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background:var(--bg);
    color:var(--ink);
    line-height:1.5;
  }
  
  /* ====== Layout helpers ====== */
  .container{ max-width:1100px; margin:0 auto; padding:0 20px; }
  .section{ padding:36px 0; }
  .section-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
  .link{ color:var(--accent); text-decoration:none; }
  
  /* ====== Nav / Header ====== */
  .site-header{
    position:sticky; top:0; z-index:10;
    background: linear-gradient(180deg,#0f1116, #0b0c10);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; gap:16px; align-items:center; padding:14px 20px;
  }
  .nav a{ color:var(--ink); text-decoration:none; opacity:.9; }
  .nav a:hover, .nav a.active{ opacity:1; }
  .logo, .logo-sm{
    font-weight:800; letter-spacing:.2px;
  }
  .logo span, .logo-sm span{ color:var(--accent); }
  
  /* ====== Hero ====== */
  .hero{ padding:40px 0 28px; }
  .hero h1{ margin:0 0 10px 0; font-size: clamp(28px, 5vw, 44px); }
  .hero p{ margin:0 0 16px 0; color:var(--muted); }
  .hero-cta{ display:flex; gap:12px; flex-wrap:wrap; }
  
  .btn{
    display:inline-block; padding:10px 14px; border-radius:10px;
    text-decoration:none; font-weight:600; border:1px solid var(--line);
  }
  .btn.primary{ background:var(--accent); color:var(--accent-ink); border-color:transparent; }
  .btn.ghost{ color:var(--ink); }
  
  /* ====== Cards (Latest Articles) ====== */
  .cards{
    display:grid; gap:16px;
    grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
  }
  .card{
    background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:16px;
    display:flex; flex-direction:column; gap:10px;
  }
  .card-media{
    height:140px; border-radius:10px; border:1px dashed var(--line);
    background:
      radial-gradient( circle at 20% 30%, rgba(102,219,255,.15), transparent 60%),
      radial-gradient( circle at 80% 70%, rgba(102,219,255,.08), transparent 60%);
  }
  .card h3{ margin:6px 0 2px 0; font-size:18px; }
  .card p{ margin:0; color:var(--muted); }
  .card .cta{ margin-top:auto; color:var(--accent); text-decoration:none; }
  
  
  /* ====== Footer ====== */
  .site-footer{ border-top:1px solid var(--line); padding:24px 0; margin-top:20px; }
  .footer-grid{
    display:grid; gap:16px; align-items:start;
    grid-template-columns: 1.2fr .8fr 1fr;
  }
  .footer-nav{ display:flex; flex-direction:column; gap:8px; }
  .footer-nav a{ color:var(--ink); text-decoration:none; opacity:.9; }
  .footer-nav a:hover{ opacity:1; }
  .muted{ color:var(--muted); }
  .tiny{ color:var(--muted); font-size:12px; }
  
  /* ====== Small screens ====== */
  @media (max-width: 720px){
    .footer-grid{ grid-template-columns: 1fr; }
  }
  
  /* ====== Blog list ====== */
.tags-row{
    display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px;
  }
  .tag{
    padding:6px 10px; border-radius:999px; border:1px solid var(--line);
    text-decoration:none; color:var(--ink); opacity:.9;
  }
  .tag:hover, .tag.active{ opacity:1; border-color:var(--accent); }
  
  .post-list{ display:flex; flex-direction:column; gap:16px; }
  .post-item{
    background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:16px;
  }
  .post-item h2{ margin:0 0 6px 0; font-size:20px; }
  .post-item h2 a{ color:var(--ink); text-decoration:none; }
  .post-item h2 a:hover{ text-decoration:underline; }
  .meta{ color:var(--muted); font-size:13px; margin-bottom:8px; }
  .pill{
    display:inline-block; padding:2px 8px; border-radius:999px;
    border:1px solid var(--line); margin-left:6px; font-size:12px; color:var(--ink);
  }
  .teaser{ margin:0 0 10px 0; color:var(--muted); }
  
 /* ====== Thumbnails ====== */
.thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: block;
  }
  
  /* Hide helper for filters */
.is-hidden { display: none !important; }

/* Active tag state (already have .tag styles) */
.tags-row .tag.active { border-color: var(--accent); opacity: 1; }

/* === Blog list: side-by-side card layout === */
.post-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  
  .post-card img.thumb {
    width: 220px;      /* override the global .thumb width */
    height: 140px;     /* fixed thumbnail size */
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }
  
  .post-text { flex: 1; }
  
  .post-text h2 { margin: 0 0 6px; font-size: 1.25rem; }
  .post-text .meta { margin-bottom: 10px; color: var(--muted); font-size: .9rem; }
  .post-text p.teaser { margin-bottom: 10px; }
  
  /* ====== Contact layout ====== */
.contact-wrap{
    display:grid; gap:20px; align-items:start;
    grid-template-columns: 1.3fr .7fr;
  }
  .contact-card, .contact-side{
    padding:24px; border:1px solid var(--line); border-radius:14px; background:var(--panel);
  }
  
  /* Form grid */
  .form-grid{
    display:grid; gap:14px;
    grid-template-columns: 1fr 1fr;
  }
  .field{ display:flex; flex-direction:column; gap:6px; }
  .field span{ font-weight:600; font-size:14px; }
  .field-full{ grid-column: 1 / -1; }
  
  /* Inputs */
  .input, .textarea{
    width:100%; padding:12px 12px; border-radius:10px; border:1px solid var(--line);
    background:#0f1217; color:var(--ink);
  }
  .input:focus, .textarea:focus{
    outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(102,219,255,.15);
  }
  
  .form-actions{
    display:flex; gap:12px; align-items:center; margin-top:10px;
  }
  
  /* Side panel */
  .contact-side h3{ margin:0 0 6px; }
  .contact-side .links{ margin-top:6px; }
  
  /* Notices */
  .notice{
    margin-top:16px; padding:12px 14px; border-radius:12px; border:1px solid var(--line);
  }
  .notice.success{ background:#0f1a14; border-color:#163b2a; }
  .notice.error{ background:#1a1111; border-color:#3b1616; }
  
  /* Mobile */
  @media (max-width:900px){
    .contact-wrap{ grid-template-columns: 1fr; }
    .form-grid{ grid-template-columns: 1fr; }
  }
  /* ====== Promo bar ====== */
.promo{
    display:flex; justify-content:space-between; align-items:center;
    gap:16px; padding:18px 20px; margin-bottom:22px;
    border:1px solid var(--line); border-radius:14px; background:
      radial-gradient(1200px 200px at 20% 0%, rgba(102,219,255,.07), transparent 60%),
      var(--panel);
  }
  .promo-title{ margin:0 0 4px; }
  
  /* Check list */
  .list-check{ list-style:none; padding:0; margin:8px 0 16px; }
  .list-check li{
    position:relative; padding-left:22px; margin:6px 0;
  }
  .list-check li::before{
    content:"✓"; position:absolute; left:0; top:0; color:var(--accent);
  }
  
  /* Tweak notices for this page */
  .notice{ margin-top:18px; }

  /* ====== Contact layout fix ====== */
.contact-wrap{
    display:grid;
    grid-template-columns: 2fr 1fr; /* wider form, narrower side */
    gap:28px; /* clean space between */
    align-items:start;
  }
  
  .contact-card, .contact-side{
    border-radius:14px;
  }
  
  .contact-side{
  padding:20px;
}

/* === new typography rules for inside the sidebar === */
.contact-side h3{
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--text-strong);
}

.contact-side p{
  margin-bottom: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-side ul{
  margin: 8px 0 16px 20px;
  padding: 0;
}

.contact-side li{
  margin-bottom: 8px;
  line-height: 1.5;
}

@media (max-width: 768px){
  .contact-wrap{
    grid-template-columns: 1fr; /* stack vertically */
  }
}

/* Offset scroll for anchor targets (so it's not hidden by header) */
:target {
    scroll-margin-top: 100px; /* adjust this number */
  }
  
 /* ===== Resources page ===== */
.resource-hero{
    padding-bottom: 10px;
    background:
      radial-gradient(900px 180px at 20% 0%, rgba(102,219,255,.08), transparent 60%),
      var(--panel);
    border-bottom: 1px solid var(--line);
  }
  
  .resource-grid{
    display:grid; gap:18px;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .resource-card{
    display:flex; gap:16px; align-items:flex-start;
    padding:18px; border:1px solid var(--line); border-radius:14px;
    background:var(--panel);
  }
  
  .resource-card .icon{
    width:52px; height:52px; flex-shrink:0;
    display:grid; place-items:center;
    border-radius:12px; border:1px solid var(--line);
    font-size:26px; background:#0f1217;
  }
  
  .resource-card .body h3{ margin:0 0 6px; }
  .resource-card .body p{ margin:0 0 8px; color:var(--text-muted); }
  .resource-card .bullets{ margin:0 0 10px 18px; }
  .resource-card .bullets li{ margin:4px 0; }
  
  .resource-card .actions{
    display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  }
  
  .tag{
    padding:6px 10px; border:1px solid var(--line); border-radius:999px; font-size:.85rem;
    color:var(--text-muted); background:#0f1217;
  }
  
  /* How-to + FAQ */
  .resource-how, .resource-faq{ margin-top:26px; }
  .resource-how ol{ margin:8px 0 0 18px; }
  .resource-faq details{ border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin:10px 0; background:#0f1217; }
  
  /* CTA */
  .resource-cta{ margin-top:28px; }
  .cta-card{
    padding:18px; border:1px solid var(--line); border-radius:14px;
    background:
      radial-gradient(700px 150px at 10% 0%, rgba(102,219,255,.08), transparent 60%),
      var(--panel);
    display:flex; justify-content:space-between; align-items:center; gap:14px;
  }
  .cta-card h3{ margin:0; }
  .cta-card p{ margin:0; }
  
  /* Responsive */
  @media (max-width: 1000px){
    .resource-grid{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px){
    .resource-grid{ grid-template-columns: 1fr; }
    .cta-card{ flex-direction:column; align-items:flex-start; }
  }
   /* ===== Resources (clean version) ===== */
.simple-hero { padding: 24px 0 0; }
.simple-hero h1 { margin: 0 0 6px; }
.simple-hero p { margin: 0; }

.r-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr; /* airy two-column */
}

.r-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}
.r-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  border-color: rgba(102,219,255,.35);
}

.r-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.r-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: #0f1217; /* matches your theme */
  font-size: 22px;
}
.r-sub { color: var(--text-muted); margin: 0 0 10px; }
.r-list { margin: 0 0 12px 18px; }
.r-list li { margin: 4px 0; }

.r-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.r-pill {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--text-muted);
  background: #0f1217;
}

/* How-to + CTA */
.r-how { margin-top: 26px; }
.r-how ol { margin: 8px 0 0 18px; }

.r-cta { margin-top: 28px; }
.r-cta-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--panel);
}
.r-cta-card h3 { margin: 0; }
.r-cta-card p { margin: 0; }

@media (max-width: 900px) { .r-grid { grid-template-columns: 1fr; } .r-cta-card { flex-direction: column; align-items: flex-start; } }

/* ===== Blog post pages ===== */
.blog-post{
    max-width: 760px;
    margin: 0 auto;
    padding-top: 20px;
  }
  
  .post-hero{
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 20px;
  }
  
  .blog-post h1{
    font-size: 2rem;
    margin-bottom: 6px;
  }
  
  .post-meta{
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
  }
  
  .blog-post article{
    line-height: 1.7;
    color: var(--ink);
  }
  
  .blog-post h2{
    margin-top: 24px;
    font-size: 1.3rem;
  }
  
  .blog-post ul, .blog-post ol{
    margin: 12px 0 20px 20px;
  }
  
  .blog-post pre{
    background: #0f1217;
    color: var(--ink);
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    overflow-x: auto;
  }
  
  .blog-post blockquote{
    border-left: 3px solid var(--accent);
    margin: 16px 0;
    padding-left: 14px;
    font-style: italic;
    color: var(--text-muted);
  }
  
  .post-nav{
    margin-top: 40px;
  }
  /* ===== Home hero ===== */
.home-hero{
    display:grid; gap:22px; padding:26px 0 8px;
    grid-template-columns: 1.1fr .9fr;
  }
  .hero-copy h1{ margin:0 0 8px; }
  .hero-copy .hero-cta{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
  .micro-proof{ display:flex; align-items:center; gap:8px; margin-top:12px; }
  .dots{ width:42px; height:8px; border-radius:999px; background:linear-gradient(90deg, rgba(102,219,255,.35), transparent); }
  
  .hero-card{
    border:1px solid var(--line); border-radius:16px; padding:16px;
    background:var(--panel); display:grid; gap:12px; align-content:start;
  }
  .hc-row{ display:flex; gap:8px; flex-wrap:wrap; }
  .hc-pill{
    padding:6px 10px; border:1px solid var(--line); border-radius:999px;
    font-size:.85rem; background:#0f1217; color:var(--text-muted);
  }
  .hc-box{
    border:1px dashed var(--line); border-radius:14px; padding:12px;
  }
  .hc-big{ font-weight:600; margin:6px 0 4px; }
  
  /* ===== Value cards ===== */
  .value-grid{
    display:grid; gap:18px; grid-template-columns: repeat(3, 1fr);
  }
  .value-card{
    border:1px solid var(--line); border-radius:16px; padding:18px; background:var(--panel);
    transition:transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .value-card:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:rgba(102,219,255,.35); }
  .v-icon{
    width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
    border:1px solid var(--line); background:#0f1217; font-size:22px; margin-bottom:8px;
  }
  
  /* ===== Featured posts ===== */
  .feature-grid{
    display:grid; gap:18px; grid-template-columns: repeat(3, 1fr);
  }
  .f-card{
    border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--panel);
    display:grid; grid-template-rows:auto 1fr;
    transition:transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .f-card:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:rgba(102,219,255,.35); }
  .f-thumb{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; }
  .f-body{ padding:14px; }
  .f-body h3{ margin:0 0 6px; }
  .f-body p{ margin:0 0 10px; }
  
  /* ===== CTA wide ===== */
  .cta-wide{
    border:1px solid var(--line); border-radius:16px; padding:18px; background:var(--panel);
    display:flex; align-items:center; justify-content:space-between; gap:14px;
  }
  
  /* ===== FAQ compact ===== */
  .faq-compact details{ border:1px solid var(--line); border-radius:10px; padding:10px 12px; background:#0f1217; }
  .faq-compact details + details{ margin-top:10px; }
  
  /* ===== Responsive ===== */
  @media (max-width: 1000px){
    .home-hero{ grid-template-columns: 1fr; }
    .value-grid{ grid-template-columns: 1fr 1fr; }
    .feature-grid{ grid-template-columns: 1fr 1fr; }
    .cta-wide{ flex-direction:column; align-items:flex-start; }
  }
  @media (max-width: 640px){
    .value-grid, .feature-grid{ grid-template-columns: 1fr; }
  }
  
  /* ===== Pro polish ===== */
:root{
    --scale-1: clamp(28px, 3.4vw, 40px);
    --scale-2: clamp(18px, 1.6vw, 22px);
  }
  .lead{ font-size: var(--scale-2); line-height: 1.55; }
  
  /* HERO */
  .pro-hero{
    display:grid; gap:28px; padding:32px 0 8px;
    grid-template-columns: 1.2fr .8fr;
  }
  .hero-copy h1{ font-size: var(--scale-1); line-height:1.15; margin:0 0 10px; letter-spacing:-0.01em; }
  .hi{ position:relative; }
  .hi::after{
    content:""; position:absolute; left:0; bottom:-4px; height:8px; width:100px;
    background: linear-gradient(90deg, rgba(102,219,255,.35), transparent);
    border-radius: 999px;
  }
  .hero-showcase{ display:grid; gap:12px; align-content:start; }
  .hc-kpi{ display:flex; gap:10px; flex-wrap:wrap; }
  .kpi{
    border:1px solid var(--line); border-radius:14px; padding:10px 12px; background:var(--panel);
    min-width: 140px;
  }
  .kpi-num{ font-weight:700; font-size:1.35rem; }
  .hc-card{
    border:1px solid var(--line); border-radius:16px; padding:14px; background:var(--panel);
  }
  .avatar-row .dot{
    width:10px; height:10px; border-radius:50%; background:rgba(102,219,255,.55); display:inline-block; margin-right:6px;
  }
  
  /* VALUE */
  .value-grid.pro{
    display:grid; gap:20px; grid-template-columns: repeat(3, 1fr);
  }
  .value-card{
    border:1px solid var(--line); border-radius:18px; padding:20px; background:var(--panel);
    transition:transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .value-card:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:rgba(102,219,255,.35); }
  .v-icon{
    width:48px; height:48px; border-radius:12px; display:grid; place-items:center;
    border:1px solid var(--line); background:#0f1217; font-size:24px; margin-bottom:8px;
  }
  
  /* FEATURED */
  .feature-grid.pro{
    display:grid; gap:20px; grid-template-columns: repeat(3, 1fr);
  }
  .f-card{
    border:1px solid var(--line); border-radius:18px; overflow:hidden; background:var(--panel);
    display:grid; grid-template-rows:auto 1fr;
    transition:transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .f-card:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:rgba(102,219,255,.35); }
  .f-thumb{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; }
  .f-body{ padding:16px; }
  .f-body h3{ margin:0 0 6px; }
  .f-body p{ margin:0 0 10px; }
  
  /* RESOURCES CTA */
  .cta-wide.pro{
    border:1px solid var(--line); border-radius:18px; padding:20px; background:var(--panel);
    display:flex; align-items:center; justify-content:space-between; gap:14px;
  }
  
  /* FAQ (single-open, aligned) */
  .faq-grid{
    display:grid; gap:12px; grid-template-columns: 1fr 1fr;
  }
  .faq-item{
    border:1px solid var(--line); border-radius:14px; background:#0f1217; overflow:hidden;
  }
  .faq-q{
    all:unset; display:block; width:100%; cursor:pointer;
    padding:14px 14px; font-weight:600;
  }
  .faq-q[aria-expanded="true"]{ border-bottom:1px solid var(--line); }
  .faq-a{ padding:12px 14px 16px; color: var(--text-muted); }
  
  /* Responsive */
  @media (max-width: 1000px){
    .pro-hero{ grid-template-columns: 1fr; }
    .value-grid.pro{ grid-template-columns: 1fr 1fr; }
    .feature-grid.pro{ grid-template-columns: 1 fr 1fr; }
    .faq-grid{ grid-template-columns: 1fr; }
  }
  @media (max-width: 640px){
    .value-grid.pro, .feature-grid.pro{ grid-template-columns: 1fr; }
    .lead{ font-size: 1rem; }
  }
  @media (prefers-reduced-motion: reduce){
    .value-card:hover, .f-card:hover{ transform:none; box-shadow:none; }
  }
  
  /* Reset & base */
*{ box-sizing:border-box; margin:0; padding:0; }
body{ font-family:system-ui, sans-serif; background:#0c0f14; color:#fff; line-height:1.5; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ max-width:1100px; margin:0 auto; padding:0 18px; }
.section{ padding:50px 0; }
h1,h2,h3{ font-weight:600; line-height:1.2; }
p.muted, .muted{ color:#aaa; }
.tiny{ font-size:.8rem; }
.link{ color:#66dbff; text-decoration:underline; cursor:pointer; }
.btn{ display:inline-block; padding:10px 18px; border-radius:12px; font-weight:500; }
.btn.primary{ background:#66dbff; color:#000; }
.btn.ghost{ border:1px solid #66dbff; color:#66dbff; }

/* Nav */
.site-header{ position:sticky; top:0; z-index:20; background:#0c0f14; padding:14px 0; }
.site-header.scrolled{ box-shadow:0 10px 24px rgba(0,0,0,.22); }
.nav{ display:flex; align-items:center; gap:22px; }
.nav a.active{ font-weight:700; }

/* Hero */
.home-hero{ display:grid; gap:22px; padding:26px 0 8px; grid-template-columns: 1.1fr .9fr; }
.hero-cta{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
.micro-proof{ display:flex; align-items:center; gap:8px; margin-top:12px; }
.dots{ width:42px; height:8px; border-radius:999px; background:linear-gradient(90deg, rgba(102,219,255,.35), transparent); }
.hero-card{ border:1px solid #333; border-radius:16px; padding:16px; background:#111; display:grid; gap:12px; }
.hc-row{ display:flex; gap:8px; flex-wrap:wrap; }
.hc-pill{ padding:6px 10px; border:1px solid #333; border-radius:999px; font-size:.85rem; background:#0f1217; color:#aaa; }
.hc-box{ border:1px dashed #333; border-radius:14px; padding:12px; }
.hc-big{ font-weight:600; margin:6px 0 4px; }

/* Value */
.value-grid{ display:grid; gap:18px; grid-template-columns: repeat(3,1fr); }
.value-card{ border:1px solid #333; border-radius:16px; padding:18px; background:#111; transition:.15s; }
.value-card:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:rgba(102,219,255,.35); }
.v-icon{ width:44px; height:44px; border-radius:12px; display:grid; place-items:center; border:1px solid #333; background:#0f1217; font-size:22px; margin-bottom:8px; }

/* Featured */
.feature-grid{ display:grid; gap:18px; grid-template-columns: repeat(3,1fr); }
.f-card{ border:1px solid #333; border-radius:16px; overflow:hidden; background:#111; transition:.15s; display:grid; grid-template-rows:auto 1fr; }
.f-card:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); border-color:rgba(102,219,255,.35); }
.f-thumb{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.f-body{ padding:14px; }
.f-body h3{ margin:0 0 6px; }

/* CTA */
.cta-wide{ border:1px solid #333; border-radius:16px; padding:18px; background:#111; display:flex; align-items:center; justify-content:space-between; gap:14px; }

/* FAQ */
.faq-grid{ display:grid; gap:14px; grid-template-columns:1fr 1fr; }
.faq-item{ border:1px solid #333; border-radius:12px; background:#111; overflow:hidden; }
.faq-q{ width:100%; text-align:left; background:none; border:none; padding:14px; font-size:1rem; cursor:pointer; }
.faq-q[aria-expanded="true"]{ background:#0f1217; }
.faq-a{ padding:0 14px 14px; }

/* FAQ columns layout (prevents both cards in a row from stretching together) */
.faq-columns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  align-items:start; /* important: don't stretch */
}
.faq-col{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* You can keep your existing .faq-item/.faq-q/.faq-a styles */
@media (max-width: 1000px){
  .faq-columns{ grid-template-columns: 1fr; }
}


/* Footer */
.site-footer{ background:#0f1217; padding:30px 0; margin-top:40px; }
.footer-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; }

/* Copy button */
.copy-btn{ position:absolute; top:8px; right:8px; padding:6px 10px; font-size:.8rem; border-radius:10px; border:1px solid #333; background:#0f1217; color:#fff; cursor:pointer; }
.copy-btn:hover{ border-color:rgba(102,219,255,.35); }

/* Back to top */
#to-top{ position:fixed; right:16px; bottom:18px; z-index:50; opacity:0; pointer-events:none; transform:translateY(8px); transition:.15s; }
#to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }

/* Responsive */
@media(max-width:1000px){
  .home-hero{ grid-template-columns:1fr; }
  .value-grid,.feature-grid,.faq-grid{ grid-template-columns:1fr; }
  .cta-wide{ flex-direction:column; align-items:flex-start; }
}


/* ===== Homepage Upgrades ===== */

/* Hero section gradient + subtle animation */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, #0f1217, #0c0f14);
  padding: 40px 20px;
  border-radius: 20px;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102,219,255,0.08), transparent 70%);
  animation: float-bg 12s linear infinite;
  z-index: 0;
}
@keyframes float-bg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.home-hero > * { position: relative; z-index: 1; }

/* Hero text polish */
.hero-copy h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(90deg, #66dbff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons hover */
.btn.primary {
  background: #66dbff;
  color: #001018;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(102,219,255,0.25);
}

/* Value cards hover */
.value-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.value-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(102,219,255,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

/* Featured article hover */
.f-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.f-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(102,219,255,.35);
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
}





