/* ========== DAIVAD - Shared Website Styles ========== */
/* Design system: navy/gold dark theme matching the desktop app */

/* ========== LOCAL FONTS (WOFF2) ========== */
@font-face { font-family: 'Inter'; src: url('fonts/inter-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('fonts/great-vibes-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* ========== DESIGN TOKENS ========== */
:root {
  --bg: #0a1628;
  --surface: #1a2744;
  --surface2: #0f1d35;
  --border: #2a3a5c;
  --accent: #c9a227;
  --accent-hover: #d4af37;
  --accent-light: rgba(201, 162, 39, 0.12);
  --text: #ffffff;
  --muted: #a8a49c;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --launch: #2563eb;
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text);
}

/* ========== SKIP LINK (accessibility) ========== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
}

/* ========== SCREEN READER ONLY (accessibility) ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========== FIELDSET RESET (accessibility) ========== */
fieldset { border: none; padding: 0; margin: 0; }
legend { font-size: inherit; font-weight: inherit; }

/* ========== NAVIGATION ========== */
.site-nav {
  background: var(--surface);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav .nav-logo {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.site-nav .nav-logo .nav-d {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4em;
  color: var(--accent-hover);
  vertical-align: baseline;
  line-height: 0.8;
}
.site-nav .nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.site-nav .nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav .nav-links a:hover { color: var(--text); }
.site-nav .nav-links a[aria-current="page"] { color: var(--accent); }

/* ========== ACCENT LINK (shared across legal pages) ========== */
.accent-link { color: var(--accent); text-decoration: none; }
.accent-link:hover { color: var(--accent-hover); }
@media (max-width: 600px) {
  .site-nav { flex-direction: column; gap: 8px; padding: 10px 16px; }
  .site-nav .nav-links { gap: 16px; }
}

/* ========== LOGO ========== */
.logo-d {
  font-family: 'Great Vibes', cursive;
  color: var(--accent-hover);
  line-height: 1;
  display: inline;
  vertical-align: baseline;
}
.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 4px;
  display: inline;
  vertical-align: baseline;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  background: radial-gradient(ellipse at 50% 30%, rgba(26, 39, 68, 0.9) 0%, var(--bg) 70%);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.04) 0%, transparent 40%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero .logo {
  font-size: 8.5rem;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.hero .logo .logo-d { font-size: 1.3em; }
.hero .full-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.235rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero .tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.4;
}
.hero .tagline em,
.hero .tagline u {
  color: var(--accent-hover);
  font-style: normal;
  text-decoration: none;
  font-weight: 700;
}
.hero .hero-blurb {
  margin: 30px auto 0;
  max-width: 550px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== SECTIONS ========== */
.page-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px;
}
.page-section h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  color: var(--text);
}

/* ========== CTA BUTTONS ========== */
.cta-button {
  display: inline-block;
  padding: 14px 40px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 2px solid var(--accent);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--accent);
  color: var(--bg);
  outline: none;
}

/* ========== FEATURES GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.feature:hover { border-color: var(--accent); }
.feature .icon {
  font-size: 2rem;
  margin-bottom: 6px;
}
.feature h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--accent);
}
.feature p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ========== "WHAT IT DOESN'T DO" CARD ========== */
.not-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 40px;
}
.not-card h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  color: var(--text);
}
.not-list {
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
}
.not-list li {
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.not-list li .x {
  color: var(--danger);
  font-weight: 600;
  margin-right: 10px;
}

/* ========== PRICING CARDS ========== */
.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.price-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 50px 36px 40px;
  text-align: center;
  flex: 1;
  max-width: 460px;
  position: relative;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.price-card .card-btn { margin-top: auto; }
.price-card .amount {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
}
.price-card .period {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 12px;
}
.price-card .desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.price-card .price-details {
  list-style: disc;
  text-align: left;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.price-card .price-details li {
  margin-bottom: 6px;
}
.price-card .price-details a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.price-card .price-details a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
.price-card .card-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: background 0.3s, color 0.3s;
}
.price-card .card-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Badge: beta price */
.price-card.beta { border-color: var(--success); }
.price-card.beta::before {
  content: 'BETA PRICE';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: var(--text);
  font-size: 0.85rem;
  padding: 4px 16px;
  letter-spacing: 0.1em;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 4px;
}

/* Badge: waitlist price */
.price-card.featured { border-color: var(--accent); }
.price-card.featured::before {
  content: 'WAITLIST PRICE\ASAVE $35';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.85rem;
  padding: 6px 16px;
  letter-spacing: 0.1em;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  white-space: pre;
  text-align: center;
  line-height: 1.5;
  border-radius: 4px;
}

/* Badge: buy now (regular price card) */
.price-card.featured.buy-now::before {
  content: 'BUY NOW';
  white-space: nowrap;
}

/* Badge: regular price */
.price-card.regular { border-color: var(--muted); }
.price-card.regular::before {
  content: 'REGULAR PRICE';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--muted);
  color: var(--bg);
  font-size: 0.85rem;
  padding: 4px 16px;
  letter-spacing: 0.1em;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 4px;
}

/* Badge: special launch price */
.price-card.launch { border-color: var(--launch); }
.price-card.launch::before {
  content: 'SPECIAL LAUNCH PRICE\A$20 OFF';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--launch);
  color: var(--text);
  font-size: 0.85rem;
  padding: 6px 16px;
  letter-spacing: 0.1em;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  white-space: pre;
  text-align: center;
  line-height: 1.5;
  border-radius: 4px;
}

/* ========== WAITLIST CTA SECTION ========== */
.waitlist-cta {
  text-align: center;
  padding: 40px 40px;
}
.waitlist-cta h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 16px;
}
.waitlist-cta p {
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* ========== COMING SOON ========== */
.coming-soon {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ========== PAGE HEADER (interior pages) ========== */
.header {
  background: var(--surface);
  color: var(--text);
  text-align: center;
  padding: 60px 40px 50px;
  border-bottom: 1px solid var(--border);
}
.header .logo {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.header .logo .d {
  font-family: 'Great Vibes', cursive;
  font-size: 1.3em;
  color: var(--accent-hover);
  vertical-align: baseline;
  line-height: 0.8;
}
.header .logo .rest {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}
.header h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-top: 10px;
}
.header .back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.header .back-link:hover { color: var(--text); }

/* ========== FOOTER ========== */
footer {
  padding: 30px 40px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg);
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover { color: var(--text); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-col-left,
.footer-col-center,
.footer-col-right {
  text-align: center;
  line-height: 1.6;
  font-size: 0.85rem;
}
.footer-copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
footer .footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}
footer .footer-link:hover { color: var(--accent); }
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col-left, .footer-col-center, .footer-col-right { text-align: center; }
}

/* ========== FORM INPUTS (shared across signup pages) ========== */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  transition: border-color 0.2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* ========== EMAIL CONSENT MODAL ========== */
.consent-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.consent-overlay.show { display: flex; }
.consent-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
}
.consent-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.consent-close:hover { color: var(--text); }
.consent-modal p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.consent-modal .consent-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.consent-modal .consent-agree {
  padding: 10px 28px;
  background: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.consent-modal .consent-agree:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.consent-modal .consent-cancel {
  padding: 10px 28px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.consent-modal .consent-cancel:hover { color: var(--text); border-color: var(--text); }

/* ========== CARD SECTION (layout wrapper) ========== */
.card-section {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero .logo { font-size: 5rem; }
  .hero .tagline { font-size: 1.35rem; }
  .coming-soon { font-size: 1.65rem; letter-spacing: 4px; }
  .cta-button { font-size: 0.95rem; padding: 12px 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { flex-wrap: wrap; }
  .price-card { min-width: 200px; padding: 30px 24px 30px; }
  .page-section { padding: 30px 20px; }
  .waitlist-cta { padding: 30px 20px; }
}
@media (max-width: 700px) {
  .header .logo { font-size: 2.5rem; }
  .header h1 { font-size: 1.5rem; }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
  font-size: 0.9rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-banner .btn-accept {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.cookie-banner .btn-decline {
  background: none;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.cookie-banner .btn-accept:hover { background: var(--accent-hover); }
.cookie-banner .btn-decline:hover { border-color: var(--muted); color: var(--text); }
