:root {
  --bg: #f8f9fb;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #0d9488;
  --accent-h: #0a7368;
  --accent-light: #e6f7f5;
  --red: #dc2626;
  --red-light: #fef2f2;
  --green: #16a34a;
  --orange: #ea580c;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.1);
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-head: 'Source Serif 4', Georgia, serif;
  --max-w: 1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.65; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
a { color: var(--accent); text-decoration: none; transition: .2s; }
a:hover { color: var(--accent-h); }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--text); }

/* ===== DISCLAIMER ===== */
.disclaimer-bar { background: #f0f6fc; color: #1e40af; text-align: center; padding: .5rem 1rem; font-size: .8rem; font-weight: 500; border-bottom: 1px solid #bfdbfe; }
.disclaimer-icon { margin-right: .25rem; }

/* ===== CONSENT ===== */
.consent-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-dark); color: #cbd5e1; z-index: 9999; padding: 1.25rem; box-shadow: 0 -4px 24px rgba(0,0,0,.3); }
.consent-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.consent-inner p { flex: 1; min-width: 260px; font-size: .85rem; line-height: 1.5; }
.consent-inner a { color: #93c5fd; }
.consent-actions { display: flex; gap: .5rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.4rem; border: none; border-radius: 50px; font-family: var(--font-body); font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: .75rem 1.8rem; font-size: .95rem; }
.btn-sm { padding: .35rem .85rem; font-size: .8rem; }
.btn-accept { background: var(--green); color: #fff; }
.btn-decline { background: transparent; color: #94a3b8; border: 1px solid #475569; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); color: #fff; }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--red); color: #fff; }
.btn-ai { background: linear-gradient(135deg, #7c3aed, #2563eb); color: #fff; }
.btn-ai:hover { background: linear-gradient(135deg, #6d28d9, #1d4ed8); }
.btn-ai-search { background: var(--bg-dark); color: #fff; border-radius: 50px; padding: .5rem 1.2rem; font-size: .82rem; font-weight: 500; }
.btn-ai-search:hover { background: #1e293b; color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ===== HEADER ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; }
.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a { font-size: .88rem; font-weight: 500; color: var(--text-muted); position: relative; padding: .25rem 0; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-admin { background: var(--accent); color: #fff !important; padding: .3rem .75rem !important; border-radius: 50px; font-size: .78rem !important; }
.nav-admin::after { display: none !important; }
.header-right { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }

@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.5rem; gap: .5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 200; }
  .main-nav.open { display: flex; }
  .main-nav a.active::after { display: none; }
  .nav-toggle { display: block; }
  .btn-ai-search { font-size: .75rem; padding: .4rem .9rem; }
}

/* ===== MAIN ===== */
.main-content { flex: 1; padding: 2.5rem 1.5rem; }

/* ===== HERO ===== */
.hero { background: #fff; padding: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; min-height: 480px; align-items: center; padding: 3rem 0; }
.hero-content { padding-right: 2rem; }
.hero-badge { display: inline-block; background: var(--accent-light); color: var(--accent); font-size: .75rem; font-weight: 600; padding: .35rem .9rem; border-radius: 50px; margin-bottom: 1.25rem; letter-spacing: .5px; }
.hero h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 1rem; color: var(--text); }
.hero-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-image { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image img { width: 100%; max-width: 460px; border-radius: var(--radius-lg); position: relative; z-index: 2; }
.hero-image-glow { position: absolute; width: 380px; height: 380px; background: radial-gradient(circle, rgba(13,148,136,.12) 0%, transparent 70%); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }
.hero-float-card { position: absolute; bottom: 2rem; right: -1rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem 1.2rem; max-width: 220px; z-index: 3; border: 1px solid var(--border); }
.hero-float-icon { font-size: 1.5rem; margin-bottom: .35rem; }
.hero-float-card h4 { font-size: .85rem; margin-bottom: .2rem; }
.hero-float-card p { font-size: .75rem; color: var(--text-muted); line-height: 1.45; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 2rem 0; }
  .hero-content { padding-right: 0; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-image { margin-top: 1rem; }
  .hero-image img { max-width: 340px; }
  .hero-float-card { right: 0; bottom: 0; }
}

/* ===== STATS ===== */
.stats-section { padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-decoration: none; color: inherit; transition: all .25s; position: relative; overflow: hidden; }
.stat-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.stat-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.stat-num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.stat-label { font-size: .95rem; font-weight: 600; margin-top: .2rem; }
.stat-sub { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.stat-arrow { position: absolute; bottom: 1.25rem; right: 1.25rem; font-size: 1.1rem; color: var(--accent); }

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ===== EMERGENCY ===== */
.emergency-section { padding: 0 0 3rem; }
.emergency-card { background: var(--red-light); border: 1.5px solid #fca5a5; border-radius: var(--radius-lg); padding: 2rem; display: flex; gap: 2rem; align-items: center; }
.emergency-content { flex: 1; }
.emergency-header { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.emergency-header h3 { color: var(--red); font-size: 1.15rem; }
.emergency-icon { font-size: 1.3rem; }
.emergency-content > p { font-size: .9rem; color: #7f1d1d; margin-bottom: .75rem; }
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; }
.emergency-grid ul { list-style: none; }
.emergency-grid li { font-size: .88rem; color: #991b1b; padding: .2rem 0; padding-left: 1.1rem; position: relative; }
.emergency-grid li::before { content: '•'; color: var(--red); position: absolute; left: 0; font-weight: 700; }
.emergency-phone { background: #fff; border: 1.5px solid #fca5a5; border-radius: var(--radius); padding: 1.25rem 1.5rem; text-align: center; flex-shrink: 0; min-width: 130px; }
.phone-icon { font-size: 1.5rem; display: block; }
.phone-label { font-size: .75rem; color: var(--red); font-weight: 600; display: block; margin: .2rem 0; }
.phone-number { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--red); }

@media (max-width: 700px) {
  .emergency-card { flex-direction: column; }
  .emergency-grid { grid-template-columns: 1fr; }
}

/* ===== HOW SECTION ===== */
.how-section { padding: 3rem 0; background: #fff; }
.section-title { text-align: center; font-size: 1.75rem; margin-bottom: 2.5rem; }
.how-grid { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.how-step { text-align: center; flex: 1; max-width: 260px; }
.how-icon-wrap { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.how-icon { font-size: 1.8rem; }
.how-num { display: inline-flex; width: 24px; height: 24px; background: var(--accent); color: #fff; border-radius: 50%; font-size: .75rem; font-weight: 700; align-items: center; justify-content: center; margin-bottom: .5rem; }
.how-step h4 { font-size: 1rem; margin-bottom: .35rem; }
.how-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }
.how-connector { width: 60px; border-top: 2px dashed var(--border); margin-top: 36px; flex-shrink: 0; }

@media (max-width: 700px) {
  .how-grid { flex-direction: column; align-items: center; gap: 1.5rem; }
  .how-connector { width: 2px; height: 30px; border-top: none; border-left: 2px dashed var(--border); margin: 0; }
}

/* ===== RECENT METHODS ===== */
.recent-section { padding: 3rem 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .5rem; }
.section-header .section-title { text-align: left; margin-bottom: 0; }
.section-link { font-size: .88rem; font-weight: 500; color: var(--accent); }
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.method-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-decoration: none; color: inherit; transition: all .25s; display: flex; flex-direction: column; }
.method-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.method-card-top { margin-bottom: .75rem; }
.method-cat-tag { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; padding: .25rem .6rem; border-radius: 50px; background: var(--accent-light); color: var(--accent); }
.method-card h3 { font-size: 1.05rem; margin-bottom: .4rem; line-height: 1.3; }
.method-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.method-card-link { display: inline-block; margin-top: .75rem; font-size: .82rem; font-weight: 500; color: var(--accent); }

@media (max-width: 700px) {
  .methods-grid { grid-template-columns: 1fr; }
}

/* ===== TRUST BAR ===== */
.trust-bar { background: #fff; padding: 3rem 0; border-top: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.trust-item { text-align: center; }
.trust-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.trust-item h4 { font-size: .9rem; margin-bottom: .3rem; }
.trust-item p { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 700px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 3rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-about { }
.footer-logo { height: 32px; width: auto; margin-bottom: .75rem; filter: brightness(10); }
.footer-sub { font-size: .82rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-heading { font-weight: 600; color: #e2e8f0; margin-bottom: .6rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.site-footer a { display: block; color: #94a3b8; font-size: .85rem; margin-bottom: .3rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 2rem; padding-top: 1rem; text-align: center; font-size: .75rem; color: #475569; }

/* Social buttons */
.social-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; transition: all .2s; }
.social-btn:hover { transform: translateY(-2px); color: #fff; }
.social-fb { background: #1877f2; }
.social-fb:hover { background: #0d65d9; }
.social-x { background: #000; }
.social-x:hover { background: #333; }
.social-li { background: #0a66c2; }
.social-li:hover { background: #084e96; }
.social-rd { background: #ff4500; }
.social-rd:hover { background: #cc3700; }
.social-wa { background: #25d366; }
.social-wa:hover { background: #1da855; }
.social-vb { background: #7360f2; }
.social-vb:hover { background: #5b48d0; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* ===== BADGE ===== */
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 50px; color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }

/* ===== CARDS (inner pages) ===== */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); transition: .25s; }
.card:hover { box-shadow: var(--shadow-md); }
.card h3 { font-family: var(--font-head); margin-bottom: .5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: .3rem; font-size: .88rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9rem; background: #fff; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,.1); }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ===== FLASH ===== */
.flash { padding: .8rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .9rem; }
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash-error { background: var(--red-light); color: #991b1b; border: 1px solid #fecaca; }

/* ===== TABLES ===== */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .88rem; }
th { background: #f8fafc; font-weight: 600; font-family: var(--font-head); }
tr:last-child td { border-bottom: none; }

/* ===== METHOD DETAIL ===== */
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.method-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin: .8rem 0; }
.method-section { margin: 1.5rem 0; }
.method-section h2 { font-size: 1.15rem; border-bottom: 2px solid var(--border); padding-bottom: .3rem; }
.method-section p, .method-section ul { margin-top: .5rem; font-size: .92rem; }

/* ===== COMPARE ===== */
.compare-select { display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; margin-bottom: 1.5rem; }
.compare-select .form-group { flex: 1; min-width: 200px; }

/* ===== LEGAL ===== */
.legal-page { max-width: 780px; }
.legal-page h1 { margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.legal-page p, .legal-page ul { font-size: .92rem; margin-bottom: .8rem; line-height: 1.7; }
.legal-page ul { margin-left: 1.5rem; }

/* ===== EMERGENCY BOX (inner pages) ===== */
.emergency-box { background: var(--red-light); border: 1.5px solid #fca5a5; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.emergency-box h3 { color: var(--red); font-size: 1rem; margin-bottom: .4rem; }
.emergency-box ul { margin-left: 1.2rem; font-size: .9rem; }

/* ===== CHECKBOXES ===== */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .3rem .8rem; }
.checkbox-grid label { font-size: .88rem; font-weight: 400; display: flex; align-items: center; gap: .4rem; cursor: pointer; }

/* ===== LOGIN ===== */
.login-wrap { max-width: 400px; margin: 3rem auto; }
.login-wrap h1 { text-align: center; margin-bottom: 1.5rem; }

/* ===== ADMIN ===== */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 140px); gap: 0; }
@media (max-width: 900px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-sidebar { background: var(--bg-dark); padding: 1.5rem 1rem; }
.admin-sidebar a { display: block; color: #94a3b8; padding: .55rem .85rem; border-radius: 8px; font-size: .88rem; margin-bottom: .15rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-body { padding: 2rem; }

.ai-box { background: linear-gradient(135deg, #ede9fe, #dbeafe); border: 1.5px solid #a78bfa; border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.ai-box h3 { color: #5b21b6; margin-bottom: .5rem; }
.ai-box textarea { min-height: 120px; }
.ai-status { margin-top: .75rem; font-size: .85rem; color: #5b21b6; }
.ai-status .spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid #a78bfa; border-top-color: transparent; border-radius: 50%; animation: spin .6s linear infinite; vertical-align: middle; margin-right: .4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SUGGEST CTA BUTTON ===== */
.btn-cta-suggest {
  background: linear-gradient(135deg, #0d9488, #0891b2);
  color: #fff;
  border-radius: 50px;
  padding: .5rem 1.2rem;
  font-size: .82rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(13,148,136,.25);
}
.btn-cta-suggest:hover {
  background: linear-gradient(135deg, #0a7368, #0e7490);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13,148,136,.35);
}

@media (max-width: 768px) {
  .btn-cta-suggest { font-size: .75rem; padding: .4rem .9rem; }
}
