/* ========================================
   SMART BARTER — smartbarter.app
   Dark navy theme, Notion/Bumble inspired
   ======================================== */

:root {
  --navy: #0F2439;
  --navy-mid: #1B3A5C;
  --navy-light: #254D73;
  --accent: #D04040;
  --accent-hover: #E04848;
  --steel: #4A7A9B;
  --ice: #ADCBE5;
  --gold: #F5A623;
  --success: #4ECDC4;
  --white: #FFFFFF;
  --text: #E8EDF2;
  --text-muted: #8AACCC;
  --text-dim: #5A7A95;
  --bg: #0B1D30;
  --bg-card: #122A42;
  --bg-card-hover: #183550;
  --border: rgba(173, 203, 229, 0.1);
  --border-light: rgba(173, 203, 229, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(11, 29, 48, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}
.logo-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-menu-cta {
  display: inline-block;
  text-align: center;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 100px;
  font-weight: 600;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(208, 64, 64, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.04);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-grain {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(74, 122, 155, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(208, 64, 64, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(78, 205, 196, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(78, 205, 196, 0.2);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Phone Mockup */
.phone-mockup {
  width: 300px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 36px;
  padding: 12px;
  border: 1px solid var(--border);
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  padding: 0;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.phone-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.phone-card {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  margin: 4px 10px;
  background: var(--bg-card);
  border-radius: 14px;
  align-items: center;
  border: 1px solid var(--border-light);
}

.phone-card-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.phone-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-card-info strong {
  font-size: 0.85rem;
  color: var(--white);
}

.phone-card-type {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-card-loc {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.phone-nav-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 14px 0 18px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
  opacity: 0.5;
}

.pnb-active { opacity: 1; }

.pnb-post {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  opacity: 1;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-sub { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero { padding: 130px 0 60px; min-height: auto; }
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (max-width: 600px) {
  .trust-items { gap: 24px; }
  .trust-divider { display: none; }
  .trust-items { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---- SECTIONS ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(173, 203, 229, 0.15);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ---- LISTING TYPES ---- */
.listing-types {
  padding: 100px 0;
  background: var(--navy);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.type-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.type-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
}

.type-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.type-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.type-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .types-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .types-grid { grid-template-columns: 1fr; }
}

/* ---- FEATURE HIGHLIGHT ---- */
.feature-highlight {
  padding: 100px 0;
}

.fh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.fh-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.fh-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fh-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.fh-item strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.fh-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Trade mockup */
.trade-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.tm-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.tm-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.tm-side {
  flex: 1;
}

.tm-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.tm-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.tm-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-top: 4px;
}

.tm-arrow {
  font-size: 1.4rem;
  color: var(--steel);
  flex-shrink: 0;
}

.tm-actions {
  display: flex;
  gap: 10px;
}

.tm-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tm-accept {
  background: var(--success);
  color: var(--navy);
}

.tm-counter {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.tm-decline {
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  border: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .fh-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---- PREMIUM TEASER ---- */
.premium-teaser {
  padding: 80px 0;
}

.pt-card {
  background: linear-gradient(135deg, #1a2f47 0%, #0F2439 50%, #1a1a2e 100%);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pt-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.pt-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pt-content p {
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.6;
}

.pt-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pt-perk {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 768px) {
  .pt-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .pt-perks { grid-template-columns: 1fr; }
}

/* ---- REFERRAL ---- */
.referral-section {
  padding: 80px 0 40px;
}

/* ---- DOWNLOAD CTA ---- */
.download-cta {
  padding: 100px 0;
  text-align: center;
}

.dl-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.dl-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.dl-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--navy);
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.1);
}

/* ---- FOOTER ---- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- PAGE TEMPLATES ---- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.page-section {
  padding: 80px 0;
}

.page-section + .page-section {
  border-top: 1px solid var(--border);
}

/* ---- FAQ ACCORDION ---- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: rgba(173, 203, 229, 0.2);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-card);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-dim);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- PRICING TABLE ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #1a2f47, #0F2439);
  position: relative;
}

.pricing-card.featured::before {
  content: '👑 Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dim);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}

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

/* ---- SAFETY CARDS ---- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safety-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.safety-card .s-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.safety-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.safety-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* ---- LEGAL PAGES ---- */
.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.legal-breadcrumbs a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.legal-breadcrumbs a:hover {
  color: var(--accent);
}
.legal-updated {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.legal-layout {
  display: flex;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: flex-start;
}
.legal-toc {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}
.legal-toc h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-toc li {
  margin-bottom: 2px;
}
.legal-toc a {
  display: block;
  padding: 5px 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-left: 2px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.4;
}
.legal-toc a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.legal-content {
  flex: 1;
  min-width: 0;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 14px;
  scroll-margin-top: 90px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content strong {
  color: var(--white);
  font-weight: 600;
}
.legal-content ul {
  margin: 0 0 16px 24px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}
.legal-content li {
  margin-bottom: 4px;
}
.legal-crosslink {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-crosslink p {
  color: var(--text-muted);
}
.legal-crosslink a {
  color: var(--accent);
  font-weight: 500;
}
.legal-crosslink a:hover {
  color: var(--accent-hover);
}
@media (max-width: 768px) {
  .legal-layout {
    flex-direction: column;
    gap: 24px;
  }
  .legal-toc {
    width: 100%;
    position: static;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
  }
  .legal-content h2 {
    font-size: 1.15rem;
    margin-top: 32px;
  }
}

/* ---- SUPPORT PAGE ---- */
.support-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.support-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.support-form .form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.support-form .form-group {
  margin-bottom: 20px;
}

.support-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.support-form .req {
  color: var(--accent);
}

.support-form .sf-optional {
  font-weight: 400;
  color: var(--text-dim);
}

.sf-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(173, 203, 229, 0.12);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.sf-input:focus {
  outline: none;
  border-color: var(--accent);
}

.sf-input::placeholder {
  color: var(--text-dim);
}

.sf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23adcbe5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.sf-select option {
  background: var(--navy);
  color: var(--white);
}

.sf-textarea {
  resize: vertical;
  min-height: 120px;
}

.sf-char-count {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: right;
  margin-top: 4px;
}

.sf-min-hint {
  color: var(--accent);
}

.sf-error {
  display: block;
  font-size: 0.82rem;
  color: #f87171;
  margin-top: 4px;
  min-height: 1em;
}

.sf-file-wrap {
  position: relative;
}

.sf-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.sf-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px;
  border: 2px dashed rgba(173, 203, 229, 0.2);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  transition: border-color 0.2s;
}

.sf-file-label i {
  font-size: 1.5rem;
  color: var(--accent);
}

.sf-file-label small {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.sf-file-wrap:hover .sf-file-label {
  border-color: var(--accent);
}

.sf-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
}

.sf-spinner i {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.support-msg {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
}

.support-msg i {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.support-msg h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.support-msg p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.support-msg-success {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.support-msg-success i {
  color: #34d399;
}

.support-msg-error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.support-msg-error i {
  color: #f87171;
}

.support-faq .faq-q {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-card);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.support-faq .faq-q:hover {
  background: var(--bg-card-hover);
}

.support-faq .faq-q i {
  transition: transform 0.3s;
  color: var(--text-dim);
  flex-shrink: 0;
  margin-left: 16px;
}

.support-faq .faq-item.open .faq-q i {
  transform: rotate(180deg);
  color: var(--accent);
}

.support-faq .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.support-faq .faq-item.open .faq-a {
  max-height: 300px;
}

.support-faq .faq-a p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.support-faq .faq-a a {
  color: var(--accent);
}

@media (max-width: 640px) {
  .support-form .form-row,
  .support-form .form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.19s; }
.fade-up:nth-child(4) { animation-delay: 0.26s; }
