/* ─── GoldPhone Easy — Shared Styles ─────────────────────── */

/* ── Variables ── */
:root {
  --bg-deep:    #171717;
  --bg-main:    #292524;
  --bg-card:    #1e1c1b;
  --gold-light: #ffe085;
  --gold:       #fdb403;
  --gold-mid:   #c9890a;
  --gold-dark:  #8b5e06;
  --text-light: #e4e5e6;
  --text-dim:   rgba(228,229,230,0.55);
  --text-faint: rgba(228,229,230,0.2);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-main);
  font-family: 'Sarabun', sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
}

/* ── Headings: Prompt ── */
h1, h2, h3, h4, h5, h6 { font-family: 'Prompt', sans-serif; }

/* ── Common Typography ── */
.section-title {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.2;
  color: var(--text-light);
}
.section-title em {
  font-style: italic;
  background: linear-gradient(110deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  line-height: 1.9;
}

/* ── Gold Utilities ── */
.gold-divider { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 16px; }
.gold-divider .line { flex: 0 0 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(253,180,3,0.5), transparent); }
.gold-divider .diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 8px rgba(253,180,3,0.5); }
.gold-tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(253,180,3,0.3); background: rgba(253,180,3,0.06); padding: 5px 16px; border-radius: 100px; margin-bottom: 12px; }

/* ── Stat Numbers (shared between index + about) ── */
.stat-num { font-family: 'Prompt', sans-serif; font-size: 40px; font-weight: 700; background: linear-gradient(110deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.stat-label { font-size: 11px; color: var(--text-dim); letter-spacing: 0.08em; margin-top: 4px; }

/* ── Buttons ── */
.btn-gold { background: var(--gold); color: var(--bg-deep); font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; border: none; border-radius: 2px; padding: 10px 24px; text-transform: uppercase; transition: background 0.2s, transform 0.15s; text-decoration: none; display: inline-block; cursor: pointer; }
.btn-gold:hover { background: var(--gold-light); color: var(--bg-deep); transform: translateY(-1px); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; border-radius: 2px; padding: 10px 24px; text-transform: uppercase; transition: all 0.2s; text-decoration: none; display: inline-block; cursor: pointer; }
.btn-outline-gold:hover { background: var(--gold); color: var(--bg-deep); }

/* ── Navbar ── */
.navbar { background: rgba(23,23,23,0.95) !important; backdrop-filter: blur(12px); border-bottom: 1px solid rgba(253,180,3,0.15); padding: 14px 0; transition: padding 0.3s; }
.navbar-brand img { height: 44px; }
.navbar-nav .nav-link { color: var(--text-dim) !important; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; padding: 6px 14px !important; transition: color 0.2s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--gold) !important; }
.navbar-toggler { border-color: rgba(253,180,3,0.4); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(253,180,3,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ── Background Effects ── */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-layer::before { content: ''; position: absolute; width: 900px; height: 900px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(253,180,3,0.05) 0%, transparent 65%); border-radius: 50%; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.1; animation: drift linear infinite; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #fdb403, transparent 70%); top: -150px; left: -100px; animation-duration: 28s; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #c9890a, transparent 70%); bottom: -120px; right: -80px; animation-duration: 22s; animation-delay: -10s; }
@keyframes drift { 0%{transform:translate(0,0)} 25%{transform:translate(40px,30px)} 50%{transform:translate(20px,60px)} 75%{transform:translate(-30px,20px)} 100%{transform:translate(0,0)} }
.grid-overlay { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(253,180,3,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(253,180,3,0.025) 1px, transparent 1px); background-size: 60px 60px; }

/* ── Section Base ── */
section { position: relative; z-index: 1; }

/* - Logo -- */
.navbar-brand {
    color: var(--gold);
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.navbar-brand:hover, .navbar-brand:focus {
    color: var(--gold-mid) !important;
}

/* ── Page Hero (subpages) ── */
.page-hero { padding: 120px 0 60px; position: relative; z-index: 1; text-align: center; border-bottom: 1px solid rgba(253,180,3,0.1); }
.page-hero-tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(253,180,3,0.3); background: rgba(253,180,3,0.06); padding: 5px 16px; border-radius: 100px; margin-bottom: 16px; }
.page-hero h1 { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: clamp(24px, 4.5vw, 48px); margin-bottom: 12px; }
.page-hero h1 em { font-style: italic; background: linear-gradient(110deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-mid) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 13px; color: var(--text-dim); }

/* ── Carousel Indicators ── */
.carousel-indicators [data-bs-target] { background-color: rgba(253,180,3,0.4); width: 24px; height: 3px; border-radius: 2px; }
.carousel-indicators .active { background-color: var(--gold); }

/* ── Social Icons ── */
.social-icon { width: 38px; height: 38px; border: 1px solid rgba(253,180,3,0.2); border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 15px; transition: all 0.2s; text-decoration: none; margin-right: 8px; }
.social-icon:hover { border-color: var(--gold); color: var(--gold); background: rgba(253,180,3,0.08); }

/* ── Footer ── */
footer { background: var(--bg-deep); border-top: 1px solid rgba(253,180,3,0.12); padding: 64px 0 32px; position: relative; z-index: 1; }
.footer-logo { color: var(--gold) !important; }
.footer-logo img { height: 38px; margin-bottom: 14px; color: var(--gold) !important; }
.footer-desc { font-size: 12px; color: var(--text-dim); line-height: 1.9; max-width: 280px; }
.footer-heading { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 13px; color: var(--text-dim); }
.footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-links-inline a { font-size: 11px; color: var(--text-faint); text-decoration: none; margin: 0 12px; transition: color 0.2s; }
.footer-links-inline a:hover { color: var(--gold); }
.footer-divider { border-color: rgba(253,180,3,0.1); margin: 40px 0 24px; }
.footer-bottom { font-size: 11px; color: var(--text-faint); letter-spacing: 0.08em; }

/* ── Scroll Top ── */
#scrollTop { position: fixed; bottom: 30px; right: 30px; z-index: 999; width: 44px; height: 44px; background: var(--gold); color: var(--bg-deep); border: none; border-radius: 2px; font-size: 18px; cursor: pointer; display: none; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; box-shadow: 0 4px 20px rgba(253,180,3,0.3); }
#scrollTop:hover { background: var(--gold-light); transform: translateY(-2px); }
#scrollTop.show { display: flex; }

/* ── Corner Decorations ── */
.corner { position: fixed; width: 50px; height: 50px; pointer-events: none; z-index: 5; }
.corner::before, .corner::after { content: ''; position: absolute; background: rgba(253,180,3,0.3); }
.corner::before { width: 1px; height: 32px; }
.corner::after  { width: 32px; height: 1px; }
.corner-tl { top: 20px; left: 20px; } .corner-tl::before { top: 0; left: 0; } .corner-tl::after { top: 0; left: 0; }
.corner-tr { top: 20px; right: 20px; } .corner-tr::before { top: 0; right: 0; } .corner-tr::after { top: 0; right: 0; }
.corner-bl { bottom: 20px; left: 20px; } .corner-bl::before { bottom: 0; left: 0; } .corner-bl::after { bottom: 0; left: 0; }
.corner-br { bottom: 20px; right: 20px; } .corner-br::before { bottom: 0; right: 0; } .corner-br::after { bottom: 0; right: 0; }

/* ── Policy Pages (privacy + econtract) ── */
.policy-content { position: relative; z-index: 1; padding: 60px 0 100px; }
.policy-toc { background: var(--bg-card); border: 1px solid rgba(253,180,3,0.15); border-radius: 4px; padding: 28px; margin-bottom: 40px; }
.policy-toc h6 { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.policy-toc ol { padding-left: 20px; margin: 0; }
.policy-toc li { margin-bottom: 8px; }
.policy-toc a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.policy-toc a:hover { color: var(--gold); }
.policy-section { margin-bottom: 48px; scroll-margin-top: 100px; }
.policy-section-num { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 8px; display: block; }
.policy-section h2 { font-size: 22px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(253,180,3,0.15); }
.policy-section p, .policy-section li { font-size: 14px; font-weight: 300; color: var(--text-dim); line-height: 2; }
.policy-section ul, .policy-section ol { padding-left: 20px; }
.policy-section li { margin-bottom: 6px; }
.policy-highlight { background: rgba(253,180,3,0.05); border-left: 3px solid var(--gold); padding: 16px 20px; border-radius: 0 4px 4px 0; margin: 20px 0; }
.policy-highlight p { margin: 0; color: var(--text-light); font-size: 13px; }
.step-card { background: var(--bg-card); border: 1px solid rgba(253,180,3,0.12); border-radius: 4px; padding: 24px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 20px; }
.step-num { width: 40px; height: 40px; background: rgba(253,180,3,0.1); border: 1px solid rgba(253,180,3,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Prompt', sans-serif; font-size: 16px; font-weight: 600; color: var(--gold); flex-shrink: 0; }
.step-card h6 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.step-card p { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.8; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-hero { padding: 100px 0 48px; }
}
