/* ===================================================================
   Chukta Application - Official Stylesheet
   Theme: Warm Editorial / Terracotta & Cream
   Derived from chukta/privacy-policy.html
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Agbalumo&display=swap');

:root {
  --primary: #B1480D;
  --primary-hover: #8A3408;
  --primary-gradient: linear-gradient(135deg, #B1480D 0%, #D96828 100%);
  --bg: #FDFBF9;
  --surface: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --border-focus: rgba(177, 72, 13, 0.4);
  --accent-bg: #FEF3EB;
  --accent-callout-text: #5A2103;
  --font-brand: 'Agbalumo', cursive, system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-warm: 0 12px 30px rgba(177, 72, 13, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --transition: all 0.2s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input {
  font-family: inherit;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Header */
header {
  background: rgba(253, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
  background: rgba(253, 251, 249, 0.98);
  box-shadow: 0 4px 20px rgba(177, 72, 13, 0.08);
}

.header-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: padding 0.25s ease;
}

header.scrolled .header-container {
  padding: 11px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(177, 72, 13, 0.16);
  border: 1px solid rgba(177, 72, 13, 0.15);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.brand:hover .brand-logo-icon {
  transform: scale(1.08);
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(177, 72, 13, 0.22));
  transition: transform var(--transition);
}

.brand:hover .brand-icon {
  transform: scale(1.06);
}

.brand-badge {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--accent-bg);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(177, 72, 13, 0.2);
  line-height: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chukta-label {
  font-family: var(--font-brand);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--accent-bg);
}

.nav-link.active {
  color: var(--primary);
  background: var(--accent-bg);
  font-weight: 700;
}

.nav-link-highlight {
  color: var(--primary);
  font-weight: 700;
  background: rgba(177, 72, 13, 0.08);
}

.nav-link-highlight:hover {
  background: rgba(177, 72, 13, 0.14);
}

.nav-divider {
  display: none;
}

.nav-drawer-legal {
  display: none;
}

.nav-drawer-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(177, 72, 13, 0.25);
}

.btn-outline {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg);
  border-color: #D1D5DB;
  color: var(--primary);
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.98rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  gap: 5px;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  border-color: rgba(177, 72, 13, 0.35);
  background: var(--accent-bg);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--primary);
}

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

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--primary);
}

/* Nav Backdrop Overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 15, 8, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 95;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  padding: 64px 0 54px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-bg);
  border: 1px solid rgba(177, 72, 13, 0.2);
  color: var(--primary);
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(177, 72, 13, 0.4);
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-item svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Phone Mockup */
.mockup-wrapper {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.mockup-theme-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.mockup-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.mockup-switch-btn:hover {
  border-color: #D1D5DB;
  color: var(--text-main);
}

.mockup-switch-btn.active {
  background: var(--accent-bg);
  border-color: rgba(177, 72, 13, 0.35);
  color: var(--primary);
}

.mockup-card {
  background: #000000;
  border: 10px solid #1F2937;
  border-radius: 44px;
  padding: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05), var(--shadow-warm);
  position: relative;
  overflow: hidden;
  display: flex;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 34px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease-in-out;
}

/* Sections Common */
.section {
  padding: 60px 0;
}

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

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  line-height: 1.25;
}

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

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  border-color: #D1D5DB;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-bg);
  border: 1px solid rgba(177, 72, 13, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ===================================================================
   Screenshots & Feature Showcase (Light / Dark Mode)
   =================================================================== */
.screens-section {
  padding: 80px 0;
  position: relative;
}

.theme-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 44px;
  flex-wrap: wrap;
}

.theme-toggle-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.theme-pills {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.theme-pill-btn {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-pill-btn:hover {
  color: var(--text-main);
}

.theme-pill-btn.active {
  background: var(--accent-bg);
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(177, 72, 13, 0.15);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 32px;
}

.screen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.screen-card:hover {
  box-shadow: var(--shadow-md), var(--shadow-warm);
  transform: translateY(-4px);
  border-color: #D1D5DB;
}

.screen-frame {
  background: #0E131F;
  padding: 28px 24px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  transition: background-color 0.25s ease;
}

.screen-frame.light-bg {
  background: #F3F4F6;
}

.screen-phone-bezel {
  width: 210px;
  background: #000000;
  border: 7px solid #1F2937;
  border-bottom: none;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease;
}

.screen-frame.light-bg .screen-phone-bezel {
  border-color: #D1D5DB;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.screen-phone-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease-in-out;
}

.screen-info {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.screen-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--accent-bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
  border: 1px solid rgba(177, 72, 13, 0.2);
}

.screen-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.screen-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.theme-switchable-img {
  transition: opacity 0.2s ease-in-out;
}

.theme-switchable-img.switching {
  opacity: 0.25;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-bg);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(177, 72, 13, 0.2);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

/* Callout Box (Matching Privacy Policy callout) */
.callout {
  background: var(--accent-bg);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  color: var(--accent-callout-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.callout h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5A2103;
  margin-bottom: 6px;
}

.callout p {
  font-size: 0.95rem;
  color: #6E2D07;
  max-width: 620px;
  line-height: 1.65;
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(177, 72, 13, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 18px;
}

/* Business Enquiry Section */
.business-card-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.business-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
}

.business-item:hover {
  transform: translateY(-2px);
  border-color: rgba(177, 72, 13, 0.35);
  box-shadow: var(--shadow-sm);
}

.business-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-bg);
  border: 1px solid rgba(177, 72, 13, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.business-item-icon svg {
  width: 22px;
  height: 22px;
}

.business-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

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

.business-cta-box {
  background: var(--accent-bg);
  border: 1px solid rgba(177, 72, 13, 0.25);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.business-cta-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5A2103;
  margin-bottom: 6px;
}

.business-cta-content p {
  color: #7E3106;
  font-size: 0.95rem;
  margin: 0;
  max-width: 580px;
}

/* Waitlist Banner */
.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

.waitlist-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.waitlist-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto 28px;
}

.waitlist-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1;
  min-width: 240px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-main);
  transition: var(--transition);
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(177, 72, 13, 0.15);
}

.waitlist-msg {
  margin-top: 14px;
  font-size: 0.88rem;
  display: none;
  font-weight: 500;
}

.waitlist-msg.success {
  display: block;
  color: #059669;
}

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

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

/* ===================================================================
   Chukta Invite Page Styles
   =================================================================== */
.invite-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.invite-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 48px 0 60px;
}

.invite-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.invite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #E06D2B 50%, #F59E0B 100%);
}

.invite-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  border: 1px solid rgba(177, 72, 13, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.invite-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px rgba(177, 72, 13, 0.5);
}

.invite-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.invite-highlight {
  color: var(--primary);
}

.invite-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.invite-code-box {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px dashed rgba(177, 72, 13, 0.35);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  max-width: 420px;
}

.invite-code-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.invite-code-val {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.invite-copy-btn {
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.invite-copy-btn:hover {
  background: var(--accent-bg);
  color: var(--primary);
}

.playstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000000;
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.playstore-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  color: #ffffff !important;
}

.playstore-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.playstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.playstore-sub {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 3px;
}

.playstore-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.invite-app-open-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition);
}

.invite-app-open-link:hover {
  color: var(--primary);
}

.invite-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.invite-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
}

.invite-perk-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.invite-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.invite-phone-frame {
  max-width: 270px;
  background: #000000;
  border: 8px solid #1F2937;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), 0 0 25px rgba(177, 72, 13, 0.12);
  transition: transform var(--transition);
}

.invite-phone-frame:hover {
  transform: translateY(-4px) scale(1.02);
}

.invite-phone-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .invite-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 36px;
    text-align: center;
  }
  .invite-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .invite-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .invite-code-box {
    margin-left: auto;
    margin-right: auto;
  }
  .invite-perks {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .invite-phone-frame {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* Compact Desktop / Landscape Tablets (1025px - 1180px) */
@media (min-width: 1025px) and (max-width: 1180px) {
  .header-container {
    padding: 16px 20px;
  }
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

/* Tablet & Mobile Navigation Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  .header-container {
    padding: 14px 24px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 2px solid rgba(177, 72, 13, 0.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(177, 72, 13, 0.08);
    flex-direction: column;
    padding: 16px 20px 22px;
    gap: 4px;
    z-index: 1000;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    display: flex;
    animation: slideDownMenu 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-link {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  }

  .nav-link:hover, .nav-link.active {
    background: var(--accent-bg);
    color: var(--primary);
    padding-left: 20px;
  }

  .nav-link::after {
    content: '→';
    opacity: 0.35;
    transition: opacity 0.15s ease, transform 0.15s ease;
    transform: translateX(-3px);
    font-size: 0.95rem;
    color: var(--primary);
  }

  .nav-link:hover::after, .nav-link.active::after {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-divider {
    display: block;
    height: 1px;
    background: var(--border);
    margin: 8px 0;
  }

  .nav-drawer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 12px;
    margin: 4px 0;
  }

  .nav-drawer-legal a {
    font-size: 0.86rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
  }

  .nav-drawer-legal a:hover {
    color: var(--primary);
  }

  .nav-drawer-dot {
    color: var(--border);
    font-size: 0.75rem;
  }

  .nav-drawer-cta {
    display: block;
    margin-top: 8px;
    padding-top: 4px;
  }

  .nav-drawer-cta .btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 12px 18px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .nav-actions .btn {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .card {
    padding: 24px 20px;
  }

  .mockup-wrapper {
    max-width: 260px;
  }

  .mockup-card {
    border-width: 8px;
    border-radius: 36px;
  }

  .mockup-img {
    border-radius: 28px;
  }

  .screens-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .screen-frame {
    min-height: 320px;
    padding: 20px 16px 0;
  }

  .screen-phone-bezel {
    width: 180px;
  }

  .theme-toggle-bar {
    margin-bottom: 28px;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .business-card-wrapper {
    padding: 28px 18px;
  }

  .business-cta-box {
    padding: 24px 18px;
    flex-direction: column;
    text-align: center;
  }

  .business-cta-content p {
    margin-bottom: 16px;
  }
}
