@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --bg3: #fbfbfd;
  --surface: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-med: rgba(0,0,0,0.14);
  --text: #1d1d1f;
  --text2: #6e6e73;
  --text3: #aeaeb2;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --red: #ff3b30;
  --green: #34c759;
  --gold: #bf8f3e;
  --gold-bg: #faf6ee;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 2px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }

h1,h2,h3,h4 { color: var(--text); letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(2.2rem, 7vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 5vw, 3.5rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text2); line-height: 1.65; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }

.eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.75rem;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 1.25rem;
  height: 52px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text);
  flex-shrink: 0;
}
.nav-logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 400; color: var(--text2);
  padding: 0.4rem 0.7rem; border-radius: 6px; transition: all 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--text); font-weight: 500; }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  font-weight: 500 !important; border-radius: 20px !important;
  padding: 0.38rem 1rem !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
  margin-right: -8px;
}
.nav-mobile-toggle span { width: 22px; height: 1.5px; background: var(--text); transition: all 0.25s; display: block; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.5rem; border-radius: 980px; font-size: 0.9rem;
  font-weight: 500; cursor: pointer; transition: all 0.2s; border: none;
  font-family: var(--font); white-space: nowrap; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary { background: var(--bg2); color: var(--text); }
.btn-secondary:hover { background: rgba(0,0,0,0.08); }
.btn-secondary:active { transform: scale(0.97); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: rgba(0,113,227,0.05); }
.btn-white { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 500; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg2); border: 1.5px solid transparent; color: var(--text);
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-family: var(--font);
  font-size: 1rem; outline: none; transition: all 0.2s; appearance: none;
  -webkit-appearance: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 2.5rem;
  cursor: pointer;
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.65rem; border-radius: 20px;
  font-size: 0.72rem; font-weight: 500;
}
.badge-blue { background: rgba(0,113,227,0.1); color: var(--accent); }
.badge-green { background: rgba(52,199,89,0.12); color: #1a7a35; }
.badge-gray { background: var(--bg2); color: var(--text2); }
.badge-gold { background: var(--gold-bg); color: var(--gold); }
.badge-red { background: rgba(255,59,48,0.1); color: var(--red); }

hr { border: none; border-top: 1px solid var(--border); }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center p { max-width: 520px; margin: 0.75rem auto 0; }
.section-header p { max-width: 520px; margin-top: 0.75rem; }

/* ── EMPTY SLOT ── */
.slot-empty {
  border: 1.5px dashed var(--border-med); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2.5rem 1.5rem; text-align: center; opacity: 0.6; transition: opacity 0.2s;
}
.slot-empty .slot-plus { font-size: 1.4rem; color: var(--text3); margin-bottom: 0.5rem; }
.slot-empty p { font-size: 0.78rem; color: var(--text3); margin: 0; line-height: 1.4; }

/* ── PAGE HERO ── */
.page-hero { padding: 8rem 0 4rem; background: var(--bg3); border-bottom: 1px solid var(--border); }

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 0.85rem; color: var(--text2); line-height: 1.6; margin-bottom: 1.25rem; }
.footer-col-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text3); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: var(--text2); transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text3); margin: 0; }
.footer-network { display: flex; gap: 1.25rem; list-style: none; flex-wrap: wrap; }
.footer-network a { font-size: 0.75rem; color: var(--text3); transition: color 0.15s; }
.footer-network a:hover { color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.anim { animation: fadeUp 0.6s ease both; }
.anim-1 { animation-delay: 0.05s; }
.anim-2 { animation-delay: 0.12s; }
.anim-3 { animation-delay: 0.2s; }
.anim-4 { animation-delay: 0.28s; }

/* ── TABLET ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  /* Nav */
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 52px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    gap: 0; align-items: stretch;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open li:last-child { border-bottom: none; padding-top: 0.75rem; }
  .nav-links.open a {
    font-size: 1rem; padding: 0.85rem 0.25rem;
    display: block; color: var(--text);
  }
  .nav-links.open .nav-cta {
    display: block !important; text-align: center;
    border-radius: 12px !important; padding: 0.75rem !important;
  }

  /* Page hero */
  .page-hero { padding: 6rem 0 3rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-network { gap: 1rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }
  .container, .container-sm { padding: 0 1rem; }
}
