/* ============================================================
   TradesBill Landing Page
   ============================================================ */

/* ── Base ─────────────────────────────────────────────────────── */
.landing-body {
  overflow-x: hidden;
  background: #ffffff;
}

/* ── Keyframe animations ──────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slide-right {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0)    rotate(-3deg); }
  50%       { transform: translateY(-14px) rotate(-3deg); }
}

/* ── Scroll reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible   { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #ffffff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav .btn-ghost {
  color: rgba(255, 255, 255, 0.65);
}
.nav .btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hamburger button */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 768px) { .nav-hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 400px; }
@media (min-width: 768px) { .mobile-menu { display: none; } }

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: var(--sp-4) var(--sp-6) 0;
}
.mobile-menu ul li a {
  display: block;
  padding: var(--sp-3) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover { color: #ffffff; }

.mobile-menu-actions {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6) var(--sp-5);
}
.mobile-menu-actions .btn { flex: 1; text-align: center; }

/* ── Section layout ───────────────────────────────────────────── */
.section      { padding: var(--sp-20) var(--sp-6); }
.section-sm   { padding: var(--sp-16) var(--sp-6); }
.section-alt  { background: #f8fafc; }

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

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.15);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.section-heading {
  font-size: clamp(var(--text-3xl), 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: var(--sp-4);
}

.section-sub {
  font-size: var(--text-lg);
  color: #475569;
  max-width: 560px;
  line-height: 1.7;
}

.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--sp-24) + 16px) var(--sp-6) var(--sp-20);
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

/* Dot grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(249, 115, 22, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Right-side warm glow */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #c2410c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  animation: fade-up 0.6s 0.0s ease both;
}

.hero-heading {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #0f172a;
  margin-bottom: var(--sp-6);
  animation: fade-up 0.7s 0.1s ease both;
}

.hero-heading em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: var(--text-xl);
  color: #475569;
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 480px;
  animation: fade-up 0.7s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  animation: fade-up 0.7s 0.3s ease both;
}

.hero-note {
  font-size: var(--text-xs);
  color: #94a3b8;
  margin-top: var(--sp-4);
  animation: fade-up 0.7s 0.4s ease both;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slide-right 0.9s 0.25s ease both;
}

/* ── Phone mockup ─────────────────────────────────────────────── */
.mockup-scene {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-glow {
  position: absolute;
  width: 340px;
  height: 440px;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.18), transparent 70%);
  filter: blur(48px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.mockup-phone {
  width: 280px;
  background: #0f172a;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 8px #1e293b,
    0 0 0 9px rgba(255, 255, 255, 0.04),
    0 60px 120px -20px rgba(0, 0, 0, 0.5),
    0 20px 40px -10px rgba(249, 115, 22, 0.1);
  transform: rotate(-3deg);
  animation: float 5s 1.2s ease-in-out infinite;
}

.mockup-screen {
  background: #f8fafc;
  border-radius: 32px;
  overflow: hidden;
  height: 530px;
  display: flex;
  flex-direction: column;
}

.mockup-topbar {
  background: #0f172a;
  padding: 12px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mockup-sync-pill {
  font-size: 9px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 9999px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

.mockup-body {
  flex: 1;
  padding: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-inv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mockup-inv-label {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.mockup-inv-number {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.mockup-status {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mockup-status.paid { background: #dcfce7; color: #16a34a; }

.mockup-client-card {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 8px 10px;
}

.mockup-tiny-label {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.mockup-client-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.mockup-line-items {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.mockup-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid #f1f5f9;
}
.mockup-line-item:last-child { border-bottom: none; }

.mockup-desc   { font-size: 11px; color: #334155; }
.mockup-amount { font-size: 11px; font-weight: 700; color: #0f172a; font-family: monospace; }

.mockup-totals {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mockup-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  padding: 0 2px;
}

.mockup-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}
.mockup-grand-total span:last-child { font-family: monospace; color: #f97316; }

.mockup-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f97316;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  cursor: default;
}

.mockup-bottom-nav {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 0 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-shrink: 0;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  border-radius: 8px;
  color: #94a3b8;
}
.mockup-nav-item.active {
  color: #f97316;
  background: rgba(249, 115, 22, 0.08);
}

/* ── Trades bar ───────────────────────────────────────────────── */
.trades-bar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: var(--sp-5) var(--sp-6);
}

.trades-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3) var(--sp-4);
}

.trades-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.trades-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  justify-content: center;
}

.trade-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: default;
}

.trade-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-color: rgba(249, 115, 22, 0.3);
}

/* ── Features ─────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-top: var(--sp-12);
}

@media (min-width: 640px)  { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #fff7ed;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--sp-4);
}

.feature-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: var(--sp-2);
}

.feature-desc {
  font-size: var(--text-sm);
  color: #475569;
  line-height: 1.7;
}

/* ── How it works ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 25px;
    left: calc(33.33% + 24px);
    right: calc(33.33% + 24px);
    height: 2px;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.4), rgba(249, 115, 22, 0.1));
  }
}

.step { text-align: center; }

.step-number {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 900;
  margin: 0 auto var(--sp-5);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
}

.step-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: var(--sp-2);
}

.step-desc { font-size: var(--text-sm); color: #475569; line-height: 1.7; }

/* ── Pricing ──────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

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

.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card-pro {
  border-color: var(--accent);
  background: linear-gradient(160deg, #ffffff, #fff9f5);
}

.pricing-card-pro:hover {
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.15);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.pricing-name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: #0f172a;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #0f172a;
}

.pricing-period { color: #94a3b8; font-size: var(--text-sm); }
.pricing-annual  { font-size: var(--text-xs); color: #94a3b8; margin-top: var(--sp-1); }
.pricing-annual strong { color: var(--success); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: #475569;
}

.pricing-feature .check {
  width: 18px; height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature .dash {
  width: 18px; height: 18px;
  color: #cbd5e1;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature.pro-only { color: #0f172a; font-weight: 500; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: var(--sp-12) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: rgba(249, 115, 22, 0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: #0f172a;
  list-style: none;
  cursor: pointer;
  gap: var(--sp-4);
  transition: background 0.15s;
}

.faq-question:hover { background: #f8fafc; }

/* Remove default marker in Safari */
.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  width: 20px; height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

details[open] .faq-icon { transform: rotate(45deg); }

/* Smooth accordion using CSS grid trick */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

details[open] .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner {
  overflow: hidden;
  padding: 0 var(--sp-6) 0;
  transition: padding-bottom 0.35s ease;
}

details[open] .faq-answer-inner { padding-bottom: var(--sp-5); }

.faq-answer-inner p {
  font-size: var(--text-sm);
  color: #475569;
  line-height: 1.75;
}

/* ── CTA banner ───────────────────────────────────────────────── */
.cta-banner {
  background: #0f172a;
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: var(--sp-4);
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--sp-8);
  font-size: var(--text-lg);
  position: relative;
}

.cta-banner .hero-ctas { justify-content: center; position: relative; }

.cta-banner .btn-secondary {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--sp-10) var(--sp-6);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-tagline { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.3); max-width: 280px; line-height: 1.6; }

.footer .nav-logo { color: #ffffff; font-size: var(--text-lg); }
.footer .nav-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-links a:hover { color: #ffffff; }

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--sp-6);
  margin-top: var(--sp-2);
  line-height: 1.7;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.footer-legal a { color: var(--accent); }
