/* ==========================================================================
   CapsCuts — capscuts.com
   Global stylesheet / design system
   ========================================================================== */

:root {
  --bg: #0a0e14;
  --bg-soft: #0f141d;
  --surface: #141b26;
  --surface-2: #1b2533;
  --border: #243042;
  --text: #e9eef5;
  --muted: #9fb0c3;
  --muted-soft: #6b7c91;
  --accent: #18e0c8;
  --accent-2: #6c8cff;
  --accent-grad: linear-gradient(120deg, #18e0c8 0%, #6c8cff 100%);
  --danger: #ff5d6c;
  --ok: #2ecc71;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 14px 40px -16px rgba(24, 224, 200, 0.45);
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin-bottom: 1rem; color: var(--muted); }
section p strong, article p strong { color: #dce6f1; }

/* ----- Section helpers ----- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head p { font-size: 1.05rem; }
.alt-bg { background: var(--bg-soft); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; color: #fff; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-grad); color: #06121a; font-weight: 900; font-size: 1.1rem;
  box-shadow: var(--shadow-accent);
}
.brand span b { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: .95rem; padding: 9px 14px; border-radius: 9px;
  transition: all .18s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: var(--surface-2); }

.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 14px 18px 22px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .nav .nav-cta { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; padding: 13px 26px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-grad); color: #051018; box-shadow: var(--shadow-accent); }
.btn-primary:hover { color: #051018; transform: translateY(-2px); }
.btn-ghost { background: var(--surface-2); color: #fff; border-color: var(--border); }
.btn-ghost:hover { color: #fff; border-color: var(--accent); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 64px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(24,224,200,.18), transparent 62%); z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: -40%; left: -12%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(108,140,255,.16), transparent 62%); z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  color: var(--accent); background: rgba(24,224,200,.1); border: 1px solid rgba(24,224,200,.3);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; letter-spacing: .03em;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.12rem; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta b { color: #fff; }
.stars { color: #ffc83d; letter-spacing: 2px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  width: min(280px, 80%); aspect-ratio: 9/18; border-radius: 36px; background: linear-gradient(160deg,#1c2738,#0d131c);
  border: 1px solid var(--border); box-shadow: var(--shadow); padding: 14px; position: relative;
}
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #0a0e14; border-radius: 0 0 14px 14px; }
.phone-screen { height: 100%; border-radius: 24px; background: var(--accent-grad); display: grid; place-items: center; text-align: center; color: #06121a; padding: 20px; }
.phone-screen .pmark { font-size: 2.6rem; font-weight: 900; }
.phone-screen small { font-weight: 700; opacity: .8; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .phone { width: 210px; }
}

/* ==========================================================================
   Spec table
   ========================================================================== */
.spec-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-card h3 { padding: 18px 22px; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 13px 22px; text-align: left; font-size: .95rem; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--muted); font-weight: 600; width: 45%; }
.spec-table td { color: #fff; font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:nth-child(even) { background: rgba(255,255,255,.015); }

/* generic data table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--surface); }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
table.data thead th { background: var(--surface-2); color: #fff; font-weight: 700; }
table.data td { color: var(--muted); }
table.data td:first-child { color: #fff; font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }
.tick { color: var(--ok); font-weight: 700; }
.cross { color: var(--danger); font-weight: 700; }

/* ==========================================================================
   Feature grids / cards
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(24,224,200,.4); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(24,224,200,.12); color: var(--accent); font-size: 1.35rem;
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: .95rem; margin-bottom: 0; }

/* feature row (alternating text + visual) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 56px; }
.feature-row:nth-child(even) .feature-text { order: 2; }
.feature-row h3 { margin-bottom: 12px; }
.feature-visual {
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  min-height: 220px; display: grid; place-items: center; color: var(--muted-soft); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; font-size: .85rem;
  background-image: radial-gradient(circle at 30% 30%, rgba(24,224,200,.12), transparent 55%), radial-gradient(circle at 75% 70%, rgba(108,140,255,.12), transparent 55%);
}
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .feature-row:nth-child(even) .feature-text { order: 0; }
}

/* checklist */
.checklist { list-style: none; display: grid; gap: 11px; }
.checklist.cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .checklist.cols { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 30px; color: var(--muted); font-size: .97rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800;
  background: rgba(24,224,200,.12); width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; font-size: .8rem;
}

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.step .num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-grad);
  color: #061018; font-weight: 900; display: grid; place-items: center; font-size: 1.1rem;
}
.step h4 { margin-bottom: 5px; font-size: 1.08rem; }
.step p { margin-bottom: 0; font-size: .95rem; }

/* ==========================================================================
   Pros / Cons
   ========================================================================== */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .proscons { grid-template-columns: 1fr; } }
.pc-box { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; background: var(--surface); }
.pc-box header { padding: 14px 22px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; }
.pc-box.pros header { background: linear-gradient(90deg, rgba(46,204,113,.25), transparent); border-bottom: 1px solid rgba(46,204,113,.3); }
.pc-box.cons header { background: linear-gradient(90deg, rgba(255,93,108,.22), transparent); border-bottom: 1px solid rgba(255,93,108,.3); }
.pc-box ul { list-style: none; padding: 18px 22px; display: grid; gap: 11px; }
.pc-box li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--muted); }
.pc-box.pros li::before { content: "+"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }
.pc-box.cons li::before { content: "−"; position: absolute; left: 0; color: var(--danger); font-weight: 900; }

/* ==========================================================================
   TOC
   ========================================================================== */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin: 0 auto; max-width: 820px; }
.toc summary { cursor: pointer; font-weight: 800; color: #fff; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "＋"; color: var(--accent); }
.toc[open] summary::after { content: "－"; }
.toc ol { margin: 16px 0 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: 8px; color: var(--muted); }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: #fff;
  font-weight: 700; font-size: 1.02rem; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: inherit;
}
.faq-q::after { content: "＋"; color: var(--accent); flex: 0 0 auto; transition: transform .2s; }
.faq-item.open .faq-q::after { content: "－"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 18px; margin: 0; font-size: .96rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--accent-grad); border-radius: var(--radius); padding: 44px; text-align: center; color: #061018; }
.cta-band h2 { color: #06121a; margin-bottom: 10px; }
.cta-band p { color: #06342f; margin-bottom: 22px; font-weight: 500; }
.cta-band .btn { background: #061018; color: #fff; }
.cta-band .btn:hover { color: #fff; }

/* ==========================================================================
   Article / prose
   ========================================================================== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 12px; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.2rem; color: var(--muted); }
.prose li { margin-bottom: .5rem; }
.prose img { border-radius: var(--radius); margin: 22px 0; border: 1px solid var(--border); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 22px 0; color: #cdd8e4; font-style: italic; }

.post-hero { padding: 56px 0 30px; }
.post-meta { display: flex; gap: 16px; color: var(--muted-soft); font-size: .88rem; margin-bottom: 14px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: rgba(24,224,200,.1); padding: 4px 11px; border-radius: 100px; }

/* blog cards */
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(24,224,200,.4); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--accent-grad); display: grid; place-items: center; color: #061018; font-weight: 900; font-size: 1.4rem; text-align: center; padding: 16px; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.2rem; }
.post-card p { font-size: .93rem; margin: 0; flex: 1; }
.post-card a.more { font-weight: 700; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: #cdd8e4; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; color: #fff; font-family: inherit; font-size: .98rem; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted-soft); text-align: center; }

.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 700px) { .info-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-soft); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: .94rem; }
.footer-col a:hover { color: var(--accent); }
.footer-about p { font-size: .92rem; margin: 14px 0 18px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); border: 1px solid var(--border); }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; text-align: center; color: var(--muted-soft); font-size: .88rem; }
.footer-bottom a { color: var(--muted); }

/* ==========================================================================
   Misc / utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--muted); }
.notice { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 22px; margin: 22px 0; }
.notice p:last-child { margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

/* error page */
.error-wrap { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-wrap .code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
