/* ============================================
   INBOXIFY - DARK PREMIUM REBUILD
   Charcoal black, electric cyan accent (#00b0f0
   pulled from the logo), hairline borders.
   Zero gradients, zero glass, zero orbs.
   Fonts: Clash Display (headings), General Sans
   (body), JetBrains Mono (labels, prices, stats).
   ============================================ */

:root {
  /* Surfaces */
  --bg: #0b0d0f;
  --surface: #121417;
  --surface-2: #16191c;
  --surface-3: #1a1e22;
  --line: #23272b;
  --line-strong: #2e3338;

  /* Accent (from assets/logo.png, verified by sampling) */
  --cyan: #00b0f0;
  --cyan-dim: rgba(0, 176, 240, 0.12);
  --cyan-glow: rgba(0, 176, 240, 0.2);

  /* Text */
  --text: #e8eaed;
  --text-muted: #9aa3ad;
  --text-dim: #6b7480;

  /* Status */
  --success: #34d399;

  /* Type */
  --font-display: "Clash Display", "General Sans", sans-serif;
  --font-body: "General Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  --maxw: 1180px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: var(--cyan);
  color: #0b0d0f;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mono {
  font-family: var(--font-mono);
}

.accent-text {
  color: var(--cyan);
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  min-height: 44px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: #0b0d0f;
  border-color: var(--cyan);
}

.btn-primary:hover {
  background: #29c4ff;
  border-color: #29c4ff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* ============ NAVBAR ============ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 13, 15, 0.92);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--line-strong);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.logo-dot {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--cyan);
}

.btn-nav-cta {
  padding: 0.55rem 1.3rem;
  min-height: 38px;
  font-size: 0.75rem;
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger .bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.25s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 15, 0.6);
  z-index: 999;
}

/* ============ HERO ============ */

.hero {
  padding: 160px 0 90px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}

.hero-stats {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

.hero-media {
  position: relative;
}

/* Image frame: 1px hairline, no glow, no gradient */
.frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  height: auto;
}

/* ============ SECTIONS GENERAL ============ */

.section {
  padding: 90px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 176, 240, 0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============ PROBLEM (cards) ============ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--line-strong);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card-body-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============ HOW IT WORKS ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  position: relative;
}

.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 1.1rem;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

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

/* ============ FEATURES ============ */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-block:last-child {
  border-bottom: none;
}

.feature-block.reverse .feature-text {
  order: 2;
}

.feature-block.reverse .feature-media {
  order: 1;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.feature-desc {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  font-size: 0.98rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-icon {
  color: var(--cyan);
  font-size: 0.85rem;
}

/* ============ CAPABILITIES ============ */

.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.extra-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.6rem;
  transition: border-color 0.2s ease;
}

.extra-item:hover {
  border-color: var(--line-strong);
}

.extra-icon {
  color: var(--cyan);
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  display: block;
}

.extra-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.extra-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============ TESTIMONIALS ============ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
}

.quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
  margin-bottom: 1.6rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

/* ============ PRICING ============ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--cyan);
  background: var(--surface-3);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #0b0d0f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.card-header {
  margin-bottom: 1.6rem;
}

.plan-name {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.price {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 0.15rem;
}

.savings {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

.plan-list {
  margin-bottom: 2rem;
  flex: 1;
}

.plan-list li {
  padding: 0.45rem 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  position: relative;
  padding-left: 1.5rem;
}

.plan-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--cyan);
  font-size: 0.75rem;
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.plan-list li strong {
  color: var(--text);
}

/* ============ FAQ ============ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-q {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text);
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q::after {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============ DOWNLOAD CTA ============ */

.section-cta {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 3.5rem 2.5rem;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.cta-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.os-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.cta-note {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

/* ============ FOOTER ============ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 340px;
  margin-top: 0.5rem;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-media {
    max-width: 640px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-block.reverse .feature-text {
    order: 0;
  }

  .feature-block.reverse .feature-media {
    order: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: var(--surface-2);
    border-left: 1px solid var(--line-strong);
    padding: 84px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 0.9rem 0;
    font-size: 0.82rem;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .btn-nav-cta {
    margin-top: 1.5rem;
    width: 100%;
  }

  .hamburger {
    display: flex;
    z-index: 1002;
  }

  .nav-overlay.active {
    display: block;
  }

  .grid-3,
  .steps,
  .extras-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 1.6rem;
  }

  .section {
    padding: 64px 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .stat-chip {
    min-width: 90px;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }
}

/* ═══════════════════ PAYMENT SECTION ═══════════════════ */
.payment-box {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(0, 176, 240, 0.25);
  border-radius: 14px;
  padding: 8px 24px;
  background: rgba(0, 176, 240, 0.04);
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.payment-row:last-child {
  border-bottom: none;
}

.payment-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.payment-value {
  color: #e8eaed;
  text-align: right;
  word-break: break-all;
}

.payment-address {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #00b0f0;
  user-select: all;
}

.payment-value a {
  color: #00b0f0;
  text-decoration: underline;
}

.payment-note {
  text-align: center;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}
