/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  --bg:         #FFFFFF;
  --bg-card:    #F8F8F8;
  --bg-card-alt:#F0F0F0;
  --border:     #E8E8E8;
  --text:       #0A0A0A;
  --text-muted: #666666;
  --accent:     #FFD700;
  --accent-dim: rgba(255, 215, 0, 0.18);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;

  --nav-h: 64px;
  --container: 1120px;
  --gap: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  border: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #0A0A0A;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: #AAAAAA; }
.btn--lg { padding: 16px 32px; font-size: 16px; border-radius: 10px; }
.btn--full { width: 100%; }

/* ===========================
   BADGE
   =========================== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  background: #0A0A0A;
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.accent { color: var(--accent); }

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #0A0A0A;
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text); }
.nav__links li { list-style: none; }

.nav__dropdown {
  position: relative;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav__dropdown:hover { color: var(--text); }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 8px;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__dropdown-menu a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav__dropdown-menu a:hover {
  background: #F5F5F5;
  color: var(--text);
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 100px;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero__actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column !important;
    flex-wrap: wrap;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }
}

.hero__visual {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: #CCCCCC;
  background: var(--bg-card-alt);
}

.feature-card__icon { font-size: 28px; }
.feature-card__title { font-size: 17px; font-weight: 700; }
.feature-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===========================
   PRICING
   =========================== */
.pricing {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}

.pricing-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(255,215,0,0.14) 0%, var(--bg-card) 60%);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__plan {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-card__amount { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.pricing-card__period { font-size: 15px; color: var(--text-muted); }

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-card__features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 2px 0 !important;
}
.pricing-card__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===========================
   FEATURES CTA
   =========================== */
.features-cta {
  display: flex;
  justify-content: center;
  margin: 24px auto;
}

.features-cta .btn {
  padding: 16px 48px;
}

/* ===========================
   SOCIAL PROOF
   =========================== */
.social-proof {
  background: #F5F5F5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
}

.social-proof__label {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.social-proof__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.club-placeholder {
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.contact__form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.15s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #BBBBBB; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #F5F5F5;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.footer__logo {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.footer__tagline { font-size: 14px; color: var(--text-muted); }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__nav a { font-size: 14px; color: var(--text-muted); transition: color 0.15s; }
.footer__nav a:hover { color: var(--text); }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer__legal { font-size: 13px; color: #999999; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { font-size: 13px; color: #999999; transition: color 0.15s; }
.footer__links a:hover { color: var(--text-muted); }

/* ===========================
   FEATURES — 2-COL LAYOUT
   =========================== */
.features-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

/* On mobile the phone column is hidden — cards stay full-width */
.features-right {
  display: none;
}

@media (max-width: 959px) {
  .features-mockup {
    display: none;
  }
  .features__grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
  }
  .hero-mockup {
    width: 180px;
    margin: 32px auto 0;
  }
  .features-phone-mobile {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
  }
  .features-phone-mobile img {
    width: 180px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  .feature-card {
    padding: 16px;
  }
  section {
    padding: 48px 16px;
  }
  .section-header {
    margin-bottom: 24px;
  }
  .features-cta {
    margin-top: 0px !important;
    padding-top: 0 !important;
    padding: 0 !important;
  }
  .pricing__grid {
    gap: 12px;
  }
  .pricing-card {
    padding: 16px 14px !important;
    gap: 4px !important;
  }
  .pricing-card__plan {
    margin-bottom: 4px !important;
  }
  .pricing-card__price {
    margin-bottom: 6px !important;
    margin-top: 0 !important;
  }
  .pricing-card__features {
    margin-top: 6px !important;
  }
  .pricing-card .price {
    font-size: 2rem;
    margin: 8px 0;
  }
  .pricing-card ul {
    margin: 12px 0;
    gap: 8px;
  }
  .pricing-card__features {
    gap: 4px !important;
  }
  .pricing-card__features li {
    font-size: 0.82rem !important;
    padding: 1px 0 !important;
    line-height: 1.3;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .pricing-card__features li::before {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .pricing-features {
    gap: 6px;
    margin: 8px 0;
  }
  .pricing-card .btn {
    padding: 12px 20px;
    margin-top: 16px;
  }
}

@media (min-width: 960px) {
  .features-layout {
    grid-template-columns: 1fr 300px;
  }

  .features-right {
    position: sticky;
    top: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .features-left .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Image fade transition driven by main.js */
.features-phone img {
  transition: opacity 0.2s ease;
}

/* Active card highlight */
.feature-card.is-active {
  border-color: var(--accent);
  background: var(--bg-card-alt);
}

/* ===========================
   MOCKUPS PNG
   =========================== */

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-mockup {
  height: 100%;
  width: auto;
  max-height: 633px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.features-mockup {
  width: auto;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  transition: opacity 0.2s ease;
}

/* ===========================
   RESPONSIVE — TABLET (≥ 640px)
   =========================== */
@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid  { grid-template-columns: repeat(2, 1fr); }
  .form-row       { grid-template-columns: repeat(2, 1fr); }
  .footer__top    { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ===========================
   RESPONSIVE — DESKTOP (≥ 960px)
   =========================== */
@media (min-width: 960px) {
  .nav { padding: 0 40px; }

  .hero .container { grid-template-columns: 1fr 1fr; }

  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing__grid  { grid-template-columns: repeat(3, 1fr); }

  .nav__cta { display: inline-flex; }
}

/* ===========================
   ANIMATIONS (driven by main.js)
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav--scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

/* ===========================
   NAV — hide links on mobile
   =========================== */
/* ===========================
   GEO PAGES — content section
   =========================== */
.geo-content {
  padding: 80px 20px;
}

.geo-content__body {
  max-width: 720px;
  margin: 0 auto;
}

.geo-content__body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 12px;
}

.geo-content__body h2:first-child {
  margin-top: 0;
}

.geo-content__body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 16px;
}

@media (max-width: 639px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
}
