/* ══════════════════════════════════════
   HostForge – Shared Stylesheet
   ══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue:        #0050ff;
  --blue-dark:   #0038cc;
  --blue-light:  #e8f0ff;
  --blue-mid:    #c2d4ff;
  --blue-muted:  #6690ff;
  --navy:        #001a66;
  --white:       #ffffff;
  --gray-50:     #f7f9fc;
  --gray-100:    #eef1f7;
  --gray-200:    #dde3ef;
  --gray-400:    #9baabf;
  --gray-600:    #5c6b82;
  --gray-800:    #1e2d42;
  --text:        #1e2d42;
  --text-light:  #5c6b82;
  --green:       #00c853;
  --radius:      10px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow:      0 4px 20px rgba(0,50,180,0.08);
  --shadow-lg:   0 8px 40px rgba(0,50,180,0.13);
  --max-w:       1200px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TOPBAR ── */
.topbar { background: var(--navy); color: rgba(255,255,255,0.65); font-size: 12px; padding: 6px 0; }
.topbar-inner { max-width:var(--max-w); margin:0 auto; padding:0 2rem; display:flex; justify-content:space-between; align-items:center; }
.topbar-left { display:flex; align-items:center; gap:0.6rem; }
.topbar-right a { color:rgba(255,255,255,0.55); text-decoration:none; margin-left:1.5rem; transition:color 0.15s; }
.topbar-right a:hover { color:#fff; }

/* ── NAV ── */
nav { background:var(--white); border-bottom:1px solid var(--gray-200); position:sticky; top:0; z-index:200; box-shadow:var(--shadow-sm); }
.nav-inner { max-width:var(--max-w); margin:0 auto; padding:0 2rem; display:flex; align-items:center; gap:2rem; height:64px; }
.logo { font-size:1.45rem; font-weight:800; color:var(--blue); text-decoration:none; letter-spacing:-0.03em; white-space:nowrap; }
.logo em { color:var(--navy); font-style:normal; }
.nav-links { display:flex; list-style:none; gap:0.15rem; flex:1; }
.nav-links > li > a { font-size:14px; font-weight:500; color:var(--gray-800); text-decoration:none; padding:0.4rem 0.85rem; border-radius:6px; transition:background 0.15s, color 0.15s; display:block; }
.nav-links > li > a:hover,
.nav-links > li > a.active { background:var(--blue-light); color:var(--blue); }
.nav-right { display:flex; gap:0.6rem; align-items:center; margin-left:auto; }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; justify-content:center; font-family:inherit; font-weight:600; font-size:14px; padding:0.5rem 1.2rem; border-radius:var(--radius); cursor:pointer; transition:all 0.18s; text-decoration:none; border:none; gap:0.4rem; }
.btn-primary { background:var(--blue); color:#fff; }
.btn-primary:hover { background:var(--blue-dark); box-shadow:0 4px 16px rgba(0,80,255,0.3); }
.btn-outline { background:transparent; border:1.5px solid var(--blue); color:var(--blue); }
.btn-outline:hover { background:var(--blue-light); }
.btn-white { background:#fff; color:var(--blue); font-weight:700; }
.btn-white:hover { background:var(--blue-light); }
.btn-ghost-white { background:transparent; border:1.5px solid rgba(255,255,255,0.3); color:#fff; }
.btn-ghost-white:hover { background:rgba(255,255,255,0.1); }
.btn-lg { font-size:15px; padding:0.7rem 1.8rem; }
.btn-xl { font-size:16px; padding:0.85rem 2rem; border-radius:10px; }
.btn-sm { font-size:12px; padding:0.28rem 0.8rem; }

/* ── PAGE WRAPPER ── */
.page { min-height: calc(100vh - 96px); }

/* ── SECTION ── */
.section { padding:5rem 2rem; }
.section-inner { max-width:var(--max-w); margin:0 auto; }
.section-alt { background:var(--gray-50); }
.section-header { margin-bottom:3rem; }
.section-eyebrow { font-size:12px; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--blue); margin-bottom:0.5rem; }
.section-title { font-size:clamp(1.7rem,3vw,2.4rem); font-weight:800; color:var(--navy); letter-spacing:-0.03em; line-height:1.2; margin-bottom:0.7rem; }
.section-desc { font-size:1rem; color:var(--text-light); max-width:560px; line-height:1.7; }
.section-note { margin-top:1.2rem; font-size:12.5px; color:var(--gray-400); display:flex; align-items:flex-start; gap:0.4rem; line-height:1.5; }

/* ── HERO ── */
.hero { background:linear-gradient(135deg, #001a66 0%, #0038cc 55%, #0060ff 100%); position:relative; overflow:hidden; padding:5.5rem 2rem 6rem; }
.hero::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events:none; }
.hero-blob { position:absolute; border-radius:50%; filter:blur(80px); opacity:0.16; pointer-events:none; }
.blob1 { width:550px;height:550px;background:#00b4d8;top:-120px;right:-80px; }
.blob2 { width:320px;height:320px;background:#fff;bottom:-100px;left:8%; }
.hero-inner { max-width:var(--max-w); margin:0 auto; position:relative; z-index:1; }
.hero-badge { display:inline-flex; align-items:center; gap:0.4rem; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2); color:#fff; font-size:12px; font-weight:600; padding:0.3rem 0.9rem; border-radius:99px; margin-bottom:1.4rem; letter-spacing:0.03em; }
.hero h1 { font-size:clamp(2rem,4vw,3.2rem); font-weight:800; color:#fff; line-height:1.12; letter-spacing:-0.03em; margin-bottom:1.2rem; }
.hero h1 span { color:#7eb8ff; }
.hero-lead { font-size:1.05rem; color:rgba(255,255,255,0.75); line-height:1.7; margin-bottom:2rem; max-width:500px; }
.hero-btns { display:flex; gap:0.75rem; flex-wrap:wrap; }

/* Page Hero (smaller, for inner pages) */
.page-hero { background:linear-gradient(135deg, #001a66 0%, #0038cc 60%, #0060ff 100%); padding:3.5rem 2rem 4rem; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events:none; }
.page-hero-inner { max-width:var(--max-w); margin:0 auto; position:relative; z-index:1; }
.page-hero h1 { font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:800; color:#fff; letter-spacing:-0.03em; line-height:1.15; margin-bottom:0.7rem; }
.page-hero p { font-size:1rem; color:rgba(255,255,255,0.72); max-width:520px; line-height:1.7; }
.breadcrumb { display:flex; align-items:center; gap:0.4rem; font-size:12px; color:rgba(255,255,255,0.45); margin-bottom:1rem; }
.breadcrumb a { color:rgba(255,255,255,0.45); text-decoration:none; }
.breadcrumb a:hover { color:rgba(255,255,255,0.8); }
.breadcrumb span { color:rgba(255,255,255,0.25); }

/* ── TRUST BAR ── */
.trustbar { background:var(--gray-50); border-bottom:1px solid var(--gray-200); padding:1.1rem 2rem; }
.trustbar-inner { max-width:var(--max-w); margin:0 auto; display:flex; justify-content:center; align-items:center; gap:3rem; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:0.5rem; font-size:13px; font-weight:600; color:var(--gray-600); }

/* ── PLAN CARDS ── */
.plans { display:grid; gap:1.1rem; }
.plans-2 { grid-template-columns:repeat(2,1fr); }
.plans-3 { grid-template-columns:repeat(3,1fr); }
.plans-4 { grid-template-columns:repeat(4,1fr); }
.plans-5 { grid-template-columns:repeat(5,1fr); }

.plan { background:#fff; border:1.5px solid var(--gray-200); border-radius:14px; padding:1.6rem 1.4rem; display:flex; flex-direction:column; transition:border-color 0.2s, box-shadow 0.2s, transform 0.2s; position:relative; }
.plan:hover { border-color:var(--blue); box-shadow:var(--shadow-lg); transform:translateY(-2px); }
.plan.popular { border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,80,255,0.09),var(--shadow); }
.plan-badge-top { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--blue); color:#fff; font-size:11px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:0.25rem 0.9rem; border-radius:99px; white-space:nowrap; }
.plan-name { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--blue-muted); margin-bottom:0.8rem; }
.plan-price-row { display:flex; align-items:baseline; gap:0.25rem; margin-bottom:0.1rem; }
.plan-chf { font-size:13px; font-weight:700; color:var(--text-light); margin-top:3px; }
.plan-num { font-size:2.4rem; font-weight:800; color:var(--navy); letter-spacing:-0.04em; line-height:1; }
.plan-period { font-size:12px; color:var(--gray-400); margin-bottom:1.3rem; }
.plan-divider { height:1px; background:var(--gray-100); margin:0.8rem 0 1rem; }
.plan-features { list-style:none; display:flex; flex-direction:column; gap:0.5rem; flex:1; margin-bottom:1.4rem; }
.plan-features li { font-size:13px; color:var(--gray-600); display:flex; align-items:flex-start; gap:0.5rem; line-height:1.4; }
.check { color:var(--blue); flex-shrink:0; font-size:14px; margin-top:1px; }
.plan-cta .btn { width:100%; font-size:13px; padding:0.55rem; border-radius:8px; }

/* ── SPEC CHIPS ── */
.spec-chips { display:flex; flex-wrap:wrap; gap:0.35rem; margin-top:0.75rem; }
.chip { font-size:11px; font-weight:600; padding:0.18rem 0.55rem; border-radius:99px; background:var(--gray-100); color:var(--gray-600); border:1px solid var(--gray-200); }
.chip.blue { background:var(--blue-light); color:var(--blue); border-color:var(--blue-mid); }
.chip.green { background:#e8f5e9; color:#2e7d32; border-color:#c8e6c9; }
.chip.orange { background:#fff3e0; color:#e65100; border-color:#ffe0b2; }

/* ── SUB SECTION ── */
.sub-section { margin-top:3.5rem; }
.sub-label { font-size:11px; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:var(--gray-400); margin-bottom:0.4rem; display:flex; align-items:center; gap:0.5rem; }
.sub-label::before { content:''; display:block; width:20px; height:2px; background:var(--blue); }
.sub-heading { font-size:1.2rem; font-weight:800; color:var(--navy); letter-spacing:-0.02em; margin-bottom:0.3rem; }
.sub-note { font-size:12.5px; color:var(--gray-400); margin-bottom:1.4rem; }

/* ── STORAGE TABLE ── */
.storage-wrap { background:#fff; border:1.5px solid var(--gray-200); border-radius:14px; overflow:hidden; }
.storage-table { width:100%; border-collapse:collapse; }
.storage-table thead tr { background:var(--gray-50); }
.storage-table th { text-align:left; font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--gray-400); padding:0.75rem 1.2rem; border-bottom:1px solid var(--gray-200); }
.storage-table td { padding:0.7rem 1.2rem; font-size:14px; color:var(--gray-800); border-bottom:1px solid var(--gray-100); vertical-align:middle; }
.storage-table tr:last-child td { border-bottom:none; }
.storage-table tbody tr:hover td { background:var(--blue-light); }
.storage-tag { display:inline-block; font-size:11px; font-weight:700; padding:0.18rem 0.55rem; border-radius:99px; }
.tag-hdd { background:#fff3e0; color:#e65100; }
.tag-ssd { background:#e8f5e9; color:#2e7d32; }
.tag-nvme { background:var(--blue-light); color:var(--blue); }
.price-cell { font-weight:700; color:var(--navy); }

/* ── FEATURE GRID ── */
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.feature-card { background:#fff; border:1.5px solid var(--gray-200); border-radius:14px; padding:1.8rem; transition:border-color 0.2s,box-shadow 0.2s; }
.feature-card:hover { border-color:var(--blue); box-shadow:var(--shadow); }
.feature-icon { width:44px;height:44px; border-radius:10px; background:var(--blue-light); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:1rem; }
.feature-title { font-size:1rem; font-weight:700; color:var(--navy); margin-bottom:0.4rem; }
.feature-desc { font-size:13.5px; color:var(--text-light); line-height:1.65; }

/* ── DEDICATED CARDS ── */
.ded-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.ded-card { background:#fff; border:1.5px solid var(--gray-200); border-radius:14px; padding:2rem 1.8rem; transition:border-color 0.2s,box-shadow 0.2s; }
.ded-card:hover { border-color:var(--blue); box-shadow:var(--shadow); }
.ded-card.highlight { border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,80,255,0.08); }
.ded-icon { width:44px;height:44px; border-radius:10px; background:var(--blue-light); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:1.1rem; }
.ded-name { font-size:1rem; font-weight:800; color:var(--navy); margin-bottom:0.3rem; }
.ded-price { font-size:1.35rem; font-weight:800; color:var(--blue); margin-bottom:0.7rem; }
.ded-desc { font-size:13.5px; color:var(--text-light); line-height:1.65; }

/* ── CTA BANNER ── */
.cta-banner { background:linear-gradient(135deg,var(--navy) 0%,var(--blue) 100%); border-radius:20px; padding:3.5rem; display:flex; justify-content:space-between; align-items:center; gap:2rem; flex-wrap:wrap; }
.cta-text h2 { font-size:1.9rem; font-weight:800; color:#fff; letter-spacing:-0.03em; margin-bottom:0.5rem; }
.cta-text p { color:rgba(255,255,255,0.7); font-size:1rem; }
.cta-btns { display:flex; gap:0.75rem; flex-wrap:wrap; }

/* ── DOT LIVE ── */
.dot-live { width:8px;height:8px;border-radius:50%;background:#00c853;box-shadow:0 0 8px #00c853;flex-shrink:0;animation:livepulse 2s ease-in-out infinite; display:inline-block; }
@keyframes livepulse { 0%,100%{opacity:1}50%{opacity:0.4} }

/* ── FAQ ── */
.faq-list { display:flex; flex-direction:column; gap:0.6rem; }
.faq-item { background:#fff; border:1.5px solid var(--gray-200); border-radius:12px; overflow:hidden; }
.faq-q { width:100%; background:none; border:none; text-align:left; padding:1.1rem 1.4rem; font-family:inherit; font-size:15px; font-weight:600; color:var(--navy); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-q:hover { background:var(--gray-50); }
.faq-icon { font-size:18px; color:var(--blue); flex-shrink:0; transition:transform 0.2s; }
.faq-item.open .faq-icon { transform:rotate(45deg); }
.faq-a { font-size:14px; color:var(--text-light); line-height:1.7; padding:0 1.4rem 1.2rem; display:none; }
.faq-item.open .faq-a { display:block; }

/* ── FOOTER ── */
footer { background:var(--navy); padding:4rem 2rem 0; }
.footer-inner { max-width:var(--max-w); margin:0 auto; display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:3rem; padding-bottom:3rem; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { color:#fff; font-size:1.25rem; display:block; margin-bottom:0.8rem; }
.footer-brand .logo em { color:rgba(255,255,255,0.45); }
.footer-brand p { font-size:13px; line-height:1.7; color:rgba(255,255,255,0.4); max-width:280px; }
.footer-col h4 { font-size:11px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.35); margin-bottom:1rem; }
.footer-col a { display:block; font-size:13.5px; color:rgba(255,255,255,0.55); text-decoration:none; margin-bottom:0.6rem; transition:color 0.15s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { max-width:var(--max-w); margin:0 auto; display:flex; justify-content:space-between; align-items:center; padding:1.2rem 0; font-size:12px; color:rgba(255,255,255,0.3); flex-wrap:wrap; gap:0.5rem; }
.footer-bottom a { color:rgba(255,255,255,0.35); text-decoration:none; margin-left:1.2rem; }
.footer-bottom a:hover { color:#fff; }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(18px); transition:opacity 0.55s ease,transform 0.55s ease; }
.reveal.in { opacity:1; transform:none; }

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .plans-4,.plans-5 { grid-template-columns:repeat(2,1fr); }
  .feature-grid { grid-template-columns:repeat(2,1fr); }
  .ded-grid { grid-template-columns:1fr 1fr; }
  .footer-inner { grid-template-columns:1fr 1fr; }
}
@media(max-width:600px) {
  .plans-2,.plans-3,.plans-4,.plans-5 { grid-template-columns:1fr; }
  .feature-grid,.ded-grid { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; }
  .nav-links { display:none; }
  .cta-banner { padding:2rem; flex-direction:column; }
  .section { padding:3.5rem 1.2rem; }
  .hero,.page-hero { padding:3rem 1.2rem 4rem; }
}
