/* ============================================
   CORPLIFY — Design System
   Professional Corporate Services | JB, Malaysia
   ============================================ */

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

/* --- Variables --- */
:root {
  --primary:        #0F2C59;
  --primary-light:  #183F7A;
  --primary-dark:   #091E3F;
  --accent:         #C9A84C;
  --accent-light:   #E4C97A;
  --white:          #FFFFFF;
  --bg:             #F7F9FC;
  --surface:        #FFFFFF;
  --text:           #1A1F2E;
  --text-muted:     #64748B;
  --text-light:     #94A3B8;
  --border:         #E2E8F0;
  --border-focus:   #C9A84C;
  --success:        #059669;
  --success-bg:     #ECFDF5;
  --error:          #DC2626;
  --error-bg:       #FEF2F2;
  --warning:        #D97706;
  --warning-bg:     #FFFBEB;

  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-full:    9999px;

  --shadow-sm:      0 1px 2px rgba(0,0,0,0.05);
  --shadow:         0 1px 3px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.05);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.10), 0 16px 48px rgba(0,0,0,0.08);
  --shadow-accent:  0 4px 24px rgba(201,168,76,0.25);

  --transition:     0.2s ease;
  --transition-md:  0.3s ease;

  --max-width:      1200px;
  --nav-height:     72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--primary); background: var(--bg); }

.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-accent {
  background: rgba(201,168,76,0.12);
  color: var(--accent);
  border: 1px solid rgba(201,168,76,0.25);
}
.badge-success {
  background: var(--success-bg);
  color: var(--success);
}
.badge-muted {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* Brand logo image */
.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 32px;   /* nav default — matches original 36px mark height */
  flex-shrink: 0;
}
.brand-logo-sm {
  height: 26px;   /* sidebar / footer */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--bg); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text);
  margin-left: auto;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.nav-mobile a:hover { background: var(--bg); }
.nav-mobile .nav-mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }
.nav-mobile .btn { justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 100px;
  background: linear-gradient(160deg, #F0F4FA 0%, #FFFFFF 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15,44,89,0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(15,44,89,0.06);
  border: 1px solid rgba(15,44,89,0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust-item .check {
  width: 18px; height: 18px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 10px;
  flex-shrink: 0;
}

/* Hero visual — dashboard mockup */
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-card-header {
  background: var(--primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-dots {
  display: flex;
  gap: 6px;
}
.hero-card-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.hero-card-dots span:first-child { background: #FF5F57; }
.hero-card-dots span:nth-child(2) { background: #FEBC2E; }
.hero-card-dots span:nth-child(3) { background: #28C840; }
.hero-card-title {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
}
.hero-card-body { padding: 20px; }

.app-status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.app-status-item:last-child { border-bottom: none; }
.app-status-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.app-status-icon.done { background: var(--success-bg); }
.app-status-icon.progress { background: rgba(201,168,76,0.12); }
.app-status-icon.pending { background: var(--bg); }
.app-status-info { flex: 1; }
.app-status-label { font-size: 13px; font-weight: 600; color: var(--text); }
.app-status-sub { font-size: 12px; color: var(--text-muted); }
.app-status-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.app-status-badge.done { background: var(--success-bg); color: var(--success); }
.app-status-badge.progress { background: rgba(201,168,76,0.12); color: var(--accent); }
.app-status-badge.pending { background: var(--bg); color: var(--text-muted); }

.hero-card-footer {
  padding: 16px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-footer-text { font-size: 12px; color: var(--text-muted); }
.hero-card-footer-text strong { color: var(--primary); }

.hero-float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}
.hero-float-badge.top-left {
  top: -20px; left: -30px;
  animation-delay: 0s;
}
.hero-float-badge.bottom-right {
  bottom: -20px; right: -20px;
  animation-delay: 1.5s;
}
.hero-float-badge .icon { font-size: 20px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  background: var(--primary);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 96px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-md);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,44,89,0.02) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-md);
}
.service-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(15,44,89,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(201,168,76,0.12);
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 8px; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 96px 0;
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--accent), rgba(201,168,76,0.2));
}

.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  margin: 0 auto 20px;
  transition: all var(--transition-md);
  position: relative;
  z-index: 1;
}
.step.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(15,44,89,0.08);
}
.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   NAME CHECKER TEASER
   ============================================ */
.name-checker-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.name-checker-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
}

.name-checker-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.name-checker-content { color: var(--white); }
.name-checker-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.name-checker-title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.name-checker-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}
.name-checker-features { margin-bottom: 32px; }
.name-checker-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  font-weight: 500;
}
.name-checker-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.name-checker-preview {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  position: relative;
}
.name-checker-preview-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.name-checker-input-mock {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.name-checker-input-mock span {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}
.name-checker-blur-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom, transparent 40%, rgba(15,44,89,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.name-checker-lock {
  width: 100%;
  text-align: center;
  padding-bottom: 8px;
}
.name-checker-lock-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.name-checker-lock p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.name-checker-results-mock { filter: blur(6px); pointer-events: none; }
.result-mock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.result-mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.result-mock-dot.green { background: #10B981; }
.result-mock-dot.red { background: #EF4444; }
.result-mock-text { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 96px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition-md);
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pricing-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-2px); }

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.pricing-type {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pricing-card.featured .pricing-type { color: rgba(255,255,255,0.6); }

.pricing-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.pricing-card.featured .pricing-name { color: var(--white); }

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.6); }

.pricing-price {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-card.featured .pricing-price { border-bottom-color: rgba(255,255,255,0.12); }
.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -2px;
  line-height: 1;
}
.pricing-card.featured .pricing-amount { color: var(--accent); }
.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.5); }

.pricing-features { margin-bottom: 28px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
}
.pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.85); }
.pricing-feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card.featured .pricing-feature-check {
  background: rgba(201,168,76,0.15);
  color: var(--accent);
}
.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}
.pricing-card.featured .pricing-note { color: rgba(255,255,255,0.4); }

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 96px 0;
  background: var(--bg);
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(201,168,76,0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1B3E70 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.12) 0%, transparent 70%);
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-banner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 56px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-mark {
  width: 32px; height: 32px;
  background: rgba(201,168,76,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}
.footer-logo-text { font-size: 18px; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 6px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.footer-social:hover { background: rgba(201,168,76,0.15); color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   AUTH PAGES (Login / Signup)
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
}
.auth-brand { position: relative; z-index: 1; }
.auth-brand-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-brand-mark {
  width: 36px; height: 36px;
  background: rgba(201,168,76,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}
.auth-headline {
  position: relative;
  z-index: 1;
}
.auth-headline h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.auth-headline p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.auth-trust-list { position: relative; z-index: 1; }
.auth-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.auth-trust-item::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--white);
}
.auth-form-box {
  width: 100%;
  max-width: 420px;
}
.auth-form-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.auth-form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* Form Elements */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-label .req { color: var(--error); margin-left: 2px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,44,89,0.08);
}
.form-input::placeholder { color: var(--text-light); }
.form-input.error { border-color: var(--error); }
.form-input.success { border-color: var(--success); }
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}
.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
}
.form-footer a { color: var(--primary); font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }

.form-terms {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
.form-terms a { color: var(--primary); }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--primary);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-brand-mark {
  width: 32px; height: 32px;
  background: rgba(201,168,76,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}
.sidebar-brand-name { font-size: 17px; font-weight: 700; color: var(--white); }

.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  padding: 8px 8px 4px;
  margin-top: 12px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.sidebar-link.active { background: rgba(201,168,76,0.15); color: var(--accent); font-weight: 600; }
.sidebar-link .icon { font-size: 16px; width: 20px; text-align: center; }

.sidebar-user {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--white); }
.sidebar-user-email { font-size: 11px; color: rgba(255,255,255,0.4); }
.sidebar-logout {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}
.sidebar-logout:hover { color: var(--error); }

.dashboard-main { background: var(--bg); }
.dashboard-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-title { font-size: 18px; font-weight: 700; color: var(--primary); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-notification {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}
.topbar-notification:hover { background: var(--bg); }
.notification-dot {
  width: 8px; height: 8px;
  background: var(--error);
  border-radius: 50%;
  position: absolute;
  top: 6px; right: 6px;
  border: 2px solid var(--white);
}

.dashboard-content { padding: 32px; }

.dash-greeting {
  margin-bottom: 32px;
}
.dash-greeting h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.dash-greeting p { font-size: 14px; color: var(--text-muted); }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.dash-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.dash-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.dash-stat-value { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.dash-stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title { font-size: 15px; font-weight: 700; color: var(--primary); }
.card-body { padding: 20px 24px; }

/* Application progress tracker */
.progress-timeline { padding: 0; }
.timeline-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.timeline-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-dot.done { background: var(--success-bg); color: var(--success); }
.timeline-dot.active { background: var(--primary); color: var(--accent); }
.timeline-dot.pending { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.timeline-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: var(--border);
  margin: 4px auto 0;
}
.timeline-item:last-child .timeline-line { display: none; }
.timeline-body { flex: 1; padding-top: 4px; }
.timeline-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.timeline-desc { font-size: 13px; color: var(--text-muted); }
.timeline-date { font-size: 11px; color: var(--text-light); margin-top: 4px; }

/* Name Checker in dashboard */
.name-checker-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
}
.name-checker-box h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.name-checker-box p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.name-checker-form { display: flex; gap: 8px; }
.name-checker-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: background var(--transition);
}
.name-checker-form input::placeholder { color: rgba(255,255,255,0.4); }
.name-checker-form input:focus { background: rgba(255,255,255,0.18); }
.checker-result {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.checker-result.available {
  background: rgba(5,150,105,0.2);
  color: #6EE7B7;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checker-result.taken {
  background: rgba(220,38,38,0.2);
  color: #FCA5A5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checker-result.moderate {
  background: rgba(217,119,6,0.2);
  color: #FCD34D;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checker-proceed {
  margin-top: 10px;
  display: none;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.flash-success { background: var(--success-bg); color: var(--success); border: 1px solid #A7F3D0; }
.flash-error { background: var(--error-bg); color: var(--error); border: 1px solid #FECACA; }

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
.spinner-dark {
  border-color: rgba(15,44,89,0.2);
  border-top-color: var(--primary);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; max-width: 480px; margin: 0 auto; }
  .hero-float-badge { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .name-checker-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dash-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: calc(var(--nav-height) + 48px); }

  /* Reduce 96px section padding to 64px on mobile */
  .services,
  .how-it-works,
  .name-checker-section,
  .pricing,
  .faq,
  .cta-banner { padding: 64px 0; }
  .cta-banner { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat { border-right: none; padding: 12px 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Dashboard mobile: show topbar, hide sidebar, show bottom nav */
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dashboard-content { padding: 20px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-main { padding-bottom: 72px; } /* space for mobile bottom nav */

  /* Mobile bottom nav (shown only on dashboard pages) */
  .mobile-bottom-nav {
    display: flex !important;
  }

  /* Legal pages: tighter vertical padding on mobile */
  .legal-wrap { padding: 40px 20px 60px; }
}

/* ============================================
   MOBILE BOTTOM NAV (dashboard pages only)
   ============================================ */
.mobile-bottom-nav {
  display: none; /* hidden by default; shown at ≤768px via media query above */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 200;
  height: 64px;
  align-items: stretch;
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  padding: 8px 4px;
}
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active { color: var(--accent); }
.mobile-bottom-nav .mnav-icon { font-size: 20px; line-height: 1; }

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .cta-banner-actions { flex-direction: column; }
}
