/* =========================================
   Soap2Day HD — Shared Stylesheet
   Primary: #0ae7de | Dark Theme
   ========================================= */

:root {
  --primary: #0ae7de;
  --primary-dark: #08c4bc;
  --primary-glow: rgba(10, 231, 222, 0.18);
  --bg: #0b0c0e;
  --bg-card: #141619;
  --bg-card2: #1a1d21;
  --bg-nav: rgba(11, 12, 14, 0.97);
  --text: #e8eaed;
  --text-muted: #9aa0a6;
  --text-dim: #5f6368;
  --border: #2a2d31;
  --border-light: #3c4043;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.18s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; color: #fff; }
h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.85rem); margin-bottom: .55rem; }
h3 { font-size: 1.12rem; margin-bottom: .4rem; }
p  { color: var(--text); margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .35rem; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--border); }

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  height: 60px; display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 8px; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; flex: 1; }
.nav-links a {
  display: inline-block; padding: 6px 13px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-glow); }
.nav-cta { margin-left: auto; }
.nav-cta a {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary); color: #000 !important; font-weight: 700;
  font-size: .84rem; padding: 7px 16px; border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}
.nav-cta a:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── Badge bar ── */
.badge-bar {
  background: rgba(10, 231, 222, 0.07);
  border-bottom: 1px solid rgba(10, 231, 222, 0.15);
  padding: 9px 20px; text-align: center;
  font-size: .8rem; color: var(--primary); font-weight: 500; letter-spacing: .02em;
}
.badge-bar span { margin: 0 10px; }
.badge-bar span:not(:last-child)::after { content: '·'; margin-left: 10px; opacity: .5; }

/* ── Hero ── */
.hero {
  padding: 68px 0 56px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(10,231,222,.07) 0%, transparent 70%);
}
.hero-inner { max-width: 760px; margin: 0 auto; padding: 0 20px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-glow); border: 1px solid rgba(10,231,222,.3);
  color: var(--primary); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 22px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #000 !important; font-weight: 700;
  font-size: .95rem; padding: 13px 28px; border-radius: var(--radius);
  transition: all var(--transition); box-shadow: 0 0 24px rgba(10,231,222,.22);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 0 32px rgba(10,231,222,.32); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card2); color: var(--text) !important; font-weight: 600;
  font-size: .95rem; padding: 13px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary) !important; transform: translateY(-2px); }
.hero-stats { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-value { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: .73rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }

/* ── Section header ── */
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.section-label { font-size: .7rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.section-header .view-all { font-size: .82rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.section-header .view-all:hover { color: var(--primary); }

/* ── Info Table ── */
.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 13px 18px; font-size: .9rem; background: var(--bg-card); }
.info-table td:first-child { color: var(--text-muted); font-weight: 500; width: 38%; }
.info-table td:last-child { color: var(--text); font-weight: 600; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; color: #4caf50; }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 8px #4caf50; display: block; }

/* ── Cards grid ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); cursor: pointer; }
.card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.card-thumb { aspect-ratio: 2/3; background: var(--bg-card2); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.card-thumb-inner { width: 100%; height: 100%; background: linear-gradient(135deg, #1a1d21 0%, #0f1114 100%); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.card-badge { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #000; font-size: .65rem; font-weight: 800; padding: 3px 7px; border-radius: 4px; letter-spacing: .04em; text-transform: uppercase; }
.card-body { padding: 12px 14px; }
.card-title { font-size: .88rem; font-weight: 600; color: #fff; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-genre { font-size: .74rem; color: var(--text-muted); }

/* ── Genre grid ── */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.genre-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; text-align: center; transition: all var(--transition); cursor: pointer; display: block; color: var(--text) !important; }
.genre-card:hover { border-color: var(--primary); background: var(--primary-glow); color: var(--primary) !important; transform: translateY(-2px); }
.genre-icon { font-size: 1.7rem; margin-bottom: 8px; display: block; }
.genre-name { font-size: .88rem; font-weight: 600; margin-bottom: 3px; }
.genre-count { font-size: .72rem; color: var(--text-dim); }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color var(--transition); }
.step:hover { border-color: var(--primary); }
.step-num { flex-shrink: 0; width: 40px; height: 40px; background: var(--primary-glow); border: 1px solid rgba(10,231,222,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 800; color: var(--primary); }
.step-content h3 { color: #fff; margin-bottom: 6px; }
.step-content p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── Alternatives ── */
.alt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.alt-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all var(--transition); }
.alt-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.alt-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.alt-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--bg-card2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.alt-name { font-weight: 700; color: #fff; font-size: .95rem; }
.alt-tag { display: inline-block; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.alt-tag.free { background: rgba(10,231,222,.12); color: var(--primary); }
.alt-tag.paid { background: rgba(255,183,0,.1); color: #ffb700; }
.alt-desc { font-size: .85rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; user-select: none; font-weight: 600; font-size: .93rem; color: #fff; gap: 12px; transition: color var(--transition); }
.faq-q:hover { color: var(--primary); }
.faq-toggle { flex-shrink: 0; width: 22px; height: 22px; background: var(--bg-card2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; color: var(--text-muted); transition: all var(--transition); }
.faq-item.open .faq-toggle { background: var(--primary-glow); color: var(--primary); transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 20px; font-size: .88rem; color: var(--text-muted); }
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

/* ── Tip box ── */
.tip-box { background: rgba(10,231,222,.06); border: 1px solid rgba(10,231,222,.2); border-radius: var(--radius); padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; margin: 24px 0; }
.tip-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.tip-box p { font-size: .9rem; color: var(--text); margin: 0; }
.tip-box strong { color: var(--primary); }

/* ── Checklist ── */
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text-muted); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓'; color: var(--primary); font-weight: 700; font-size: .85rem; flex-shrink: 0; margin-top: 2px; }

/* ── Quality blocks ── */
.quality-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.quality-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: all var(--transition); }
.quality-card:hover { border-color: var(--primary); }
.quality-card .q-badge { font-size: 1.6rem; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.quality-card h3 { font-size: .9rem; color: #fff; margin-bottom: 6px; }
.quality-card p { font-size: .8rem; color: var(--text-muted); margin: 0; }

/* ── Tags ── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-block; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted) !important; font-size: .8rem; font-weight: 500; padding: 6px 14px; border-radius: 20px; transition: all var(--transition); }
.tag:hover { border-color: var(--primary); color: var(--primary) !important; background: var(--primary-glow); }

/* ── Two-col ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ── Content article ── */
.content-article h2 { margin-top: 36px; margin-bottom: 14px; }
.content-article h3 { margin-top: 26px; color: var(--primary); }
.content-article p { color: var(--text-muted); font-size: .95rem; }
.content-article ul { color: var(--text-muted); font-size: .95rem; }
.content-article strong { color: var(--text); }

/* ── Breadcrumb ── */
.breadcrumb { font-size: .78rem; color: var(--text-dim); padding: 14px 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-dim); }

/* ── Footer ── */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 32px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: .83rem; color: var(--text-dim); margin: 0; max-width: 260px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: .83rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: .78rem; color: var(--text-dim); }
.footer-disclaimer { font-size: .74rem; color: var(--text-dim); max-width: 520px; text-align: right; }

/* ── Page header ── */
.page-header { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(10,231,222,.06) 0%, transparent 70%); padding: 48px 0 36px; border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 10px; }
.page-header p { color: var(--text-muted); font-size: 1rem; max-width: 600px; }

/* ── Responsive ── */
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .hero-stats { gap: 20px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 480px) { .alt-grid { grid-template-columns: 1fr; } }

/* ── Utility ── */
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-muted); }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
