/* ============================================
   MySocialDeals — Ultra Premium CSS
   Design Taste Framework Applied
   ============================================ */

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

/* ---- TOKENS ---- */
:root {
  --primary: #E63714;
  --primary-dark: #C42E10;
  --primary-light: #FF6B3D;
  --navy: #0D2445;
  --navy-light: #1A3A6B;
  --navy-dark: #070F1E;
  --gold: #D4A04A;
  --gold-light: #E8C07A;
  --bg-light: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-dark: #0A1628;
  --text: #1A1A2E;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;
  --border: rgba(13, 36, 69, 0.08);
  --border-strong: rgba(13, 36, 69, 0.15);
  --shadow-sm: 0 2px 8px -2px rgba(13,36,69,0.06), 0 1px 3px -1px rgba(13,36,69,0.04);
  --shadow-md: 0 8px 24px -4px rgba(13,36,69,0.10), 0 2px 8px -2px rgba(13,36,69,0.06);
  --shadow-lg: 0 20px 48px -12px rgba(13,36,69,0.16), 0 4px 12px -4px rgba(13,36,69,0.08);
  --shadow-primary: 0 8px 32px -8px rgba(230,55,20,0.30);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- TYPOGRAPHY ---- */
.font-display { font-weight: 900; letter-spacing: -0.03em; line-height: 1.0; }
.font-heading { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 3.5rem; } }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.4s var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-dot { color: var(--primary); }
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--bg-light); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--transition);
  position: relative;

}
.btn:active { transform: translateY(-1px) scale(0.985); }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 40px -8px rgba(230,55,20,0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  transition: all 0.25s var(--transition);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230,55,20,0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--navy); background: var(--bg-light); }

.btn-lg { padding: 1.125rem 2.25rem; font-size: 1rem; border-radius: var(--radius-lg); }

/* ---- SECTION SETUP ---- */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;

  padding-top: 6rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #FAFAFA 0%, #FFFFFF 50%, rgba(230,55,20,0.03) 100%);
  z-index: 0;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(13,36,69,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,36,69,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 5rem; padding: 5rem 0; }
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230,55,20,0.07);
  border: 1px solid rgba(230,55,20,0.15);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero-h1 .accent { color: var(--primary); }
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-trust-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-trust-text { font-size: 0.8125rem; color: var(--text-muted); }
.hero-trust-text strong { color: var(--text); font-weight: 600; }

/* Hero Visual Side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}
.hero-mockup-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);

  position: relative;
  z-index: 2;
}
.hero-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FEBC2E; }
.mockup-dot.green { background: #28C840; }
.mockup-url { 
  flex: 1; 
  background: var(--bg-light); 
  border-radius: 6px; 
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-mockup-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.mockup-feature-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
  transition: all 0.3s var(--transition);
}
.mockup-feature-card:hover {
  background: rgba(230,55,20,0.06);
  transform: translateY(-2px);
}
.mockup-feature-icon {
  width: 40px; height: 40px;
  margin: 0 auto 0.5rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.mockup-feature-card:nth-child(1) .mockup-feature-icon { background: rgba(230,55,20,0.10); }
.mockup-feature-card:nth-child(2) .mockup-feature-icon { background: rgba(13,36,69,0.08); }
.mockup-feature-card:nth-child(3) .mockup-feature-icon { background: rgba(212,160,74,0.15); }
.mockup-feature-label { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.mockup-cta-bar {
  padding: 0.875rem 1.5rem;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.mockup-cta-text { color: white; font-size: 0.8125rem; font-weight: 600; }
.mockup-cta-btn {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.hero-mockup-float {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1rem;
  z-index: 3;
  animation: float-card 5s ease-in-out infinite;
}
.hero-mockup-float.f1 {
  bottom: -1.5rem;
  right: -2rem;
  display: flex; align-items: center; gap: 0.625rem;
  animation-delay: 0s;
}
.hero-mockup-float.f2 {
  top: 2rem;
  left: -2.5rem;
  animation-delay: 2s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.float-content { min-width: 0; }
.float-name { font-size: 0.75rem; font-weight: 700; color: var(--text); }
.float-sub { font-size: 0.6875rem; color: var(--text-muted); }
.float-badge {
  background: rgba(40,200,64,0.12);
  color: #1DA34A;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
}
.float-icon-wrap {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(230,55,20,0.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---- METRICS BAR ---- */
.metrics-bar {
  background: var(--navy);
  padding: 2.5rem 0;
  position: relative;

}
.metrics-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 60%);
  opacity: 0.08;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric-item { text-align: center; }
.metric-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.metric-number span { color: var(--primary); }
.metric-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

/* ---- SERVICES / BENTO GRID ---- */
.services-section { background: var(--bg-white); }
.services-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .services-header { grid-template-columns: 1fr 1fr; align-items: end; }
}
.services-header-left .section-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--navy);
}
.services-header-left .section-h2 .accent { color: var(--primary); }
.services-header-right { font-size: 1rem; color: var(--text-muted); line-height: 1.75; max-width: 48ch; }

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(12, 1fr); }
}

/* Large card spans 2 cols */
.bento-lg { grid-column: span 1; }
@media (min-width: 768px) { .bento-lg { grid-column: span 7; } }

.bento-sm { grid-column: span 1; }
@media (min-width: 768px) { .bento-sm { grid-column: span 5; } }

/* Stagger row */
.bento-row {
  display: contents;
}

/* Bento Cards */
.bento-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;

  transition: all 0.4s var(--transition);
  cursor: default;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(230,55,20,0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}
.bento-card:hover {
  border-color: rgba(230,55,20,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.bento-card:hover::before { opacity: 1; }
.bento-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.bento-card-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.bento-card-title {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 0.625rem;
  position: relative; z-index: 1;
}
.bento-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative; z-index: 1;
}
.bento-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(230,55,20,0.07);
  border: 1px solid rgba(230,55,20,0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-top: 1.25rem;
  position: relative; z-index: 1;
}
.bento-card-accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.bento-card:hover .bento-card-accent-line { opacity: 1; }

/* Icon backgrounds */
.icon-primary { background: rgba(230,55,20,0.08); }
.icon-navy { background: rgba(13,36,69,0.07); }
.icon-gold { background: rgba(212,160,74,0.15); }

/* Vertical bento */
.bento-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  grid-column: span 1;
}
@media (min-width: 768px) { .bento-vertical-stack { grid-column: span 5; } }
.bento-vertical-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.4s var(--transition);
  position: relative;

}
.bento-vertical-card:hover {
  border-color: rgba(230,55,20,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ---- DARK SECTION ---- */
.dark-section {
  background: var(--bg-dark);
  color: var(--text-inverse);
  position: relative;
  overflow: visible;
}
.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(230,55,20,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(13,36,69,0.6) 0%, transparent 50%);
  pointer-events: none;
}
.dark-section .section-h2 { color: white; }
.dark-section .section-sub { color: rgba(255,255,255,0.55); }

/* Split layout for dark section */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.split-content { position: relative; z-index: 1; }
.split-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
.split-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--transition);
}
.split-feature-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(230,55,20,0.3);
  transform: translateX(4px);
}
.split-feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(230,55,20,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.split-feature-icon svg { color: var(--primary-light); }
.split-feature-title { font-size: 0.9375rem; font-weight: 700; color: white; margin-bottom: 0.25rem; }
.split-feature-desc { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

.split-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chatbot-ui-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
  position: relative;
}
.chatbot-ui-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.chatbot-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px rgba(230,55,20,0.2);
}
.chatbot-info-name { font-size: 0.9375rem; font-weight: 700; color: white; }
.chatbot-info-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
.status-dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.chat-message {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  animation: message-in 0.5s var(--transition) both;
}
.chat-message.user { flex-direction: row-reverse; animation-delay: 0.3s; }
@keyframes message-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-bubble {
  max-width: 75%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
}
.chat-bubble.bot {
  background: rgba(255,255,255,0.08);
  color: white;
  border-bottom-left-radius: 4px;
}
.chat-bubble.user {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}
.chat-input::placeholder { color: rgba(255,255,255,0.3); }
.chat-input:focus { border-color: var(--primary); }
.chat-send {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--transition);
}
.chat-send:hover { background: var(--primary-dark); transform: scale(1.05); }
.chat-send:active { transform: scale(0.95); }

/* ---- WHY US ---- */
.why-section { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s var(--transition);
  position: relative;

}
.why-card:hover {
  border-color: rgba(230,55,20,0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(230,55,20,0.08);
  display: flex; align-items: center; justify-content: center;
}
.why-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.why-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ---- PROCESS ---- */
.process-section { background: var(--bg-white); }
.process-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.process-h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.04em; color: var(--navy); margin-bottom: 1rem; }
.process-h2 .accent { color: var(--primary); }
.process-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
}
@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: calc(12.5% + 2rem);
    right: calc(12.5% + 2rem);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0.3;
    z-index: 0;
  }
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
}
.process-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  transition: all 0.4s var(--transition);
  box-shadow: var(--shadow-sm);
}
.process-step:hover .process-number {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: scale(1.1);
}
.process-title { font-size: 1.0625rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.process-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ---- HOUSTON SECTION ---- */
.houston-section { background: var(--bg-light); }
.houston-header { margin-bottom: 3rem; }
.houston-h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900; letter-spacing: -0.04em; color: var(--navy); margin-bottom: 0.75rem; }
.houston-h2 .accent { color: var(--primary); }
.houston-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.houston-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .houston-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.houston-map-wrap {
  border-radius: var(--radius-lg);

  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: white;
}
.houston-map-wrap iframe { width: 100%; height: 320px; border: none; display: block; }
.houston-areas { padding: 2rem; }
.houston-areas h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.areas-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-chip {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  transition: all 0.3s var(--transition);
}
.area-chip:hover { background: rgba(230,55,20,0.06); border-color: rgba(230,55,20,0.2); color: var(--primary); }
.houston-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.houston-contact-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: white;
  position: relative;

}
.houston-contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(230,55,20,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.houston-contact-card h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: 0.5rem; position: relative; }
.houston-contact-card p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 1.5rem; position: relative; }
.houston-contact-card .btn { position: relative; }

/* ---- FINAL CTA ---- */
.final-cta-section {
  background: var(--navy);
  padding: 7rem 0;
  text-align: center;
  position: relative;

}
.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 100%, rgba(230,55,20,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 0%, rgba(13,36,69,0.8) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta-h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.final-cta-h2 .accent { color: var(--primary-light); }
.final-cta-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.final-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.final-cta-group .btn-primary {
  background: var(--primary);
  font-size: 1rem;
  padding: 1.125rem 2.5rem;
}
.final-cta-group .btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.final-cta-group .btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}
.final-cta-meta {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.meta-item { display: flex; align-items: center; gap: 0.375rem; }
.meta-item svg { color: rgba(255,255,255,0.3); }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-logo { font-size: 1.0625rem; font-weight: 900; color: white; letter-spacing: -0.03em; }
.footer-logo span { color: var(--primary); }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-socials { display: flex; align-items: center; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.social-link img { width: 18px; height: 18px; border-radius: 4px; }

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--transition), transform 0.55s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: reveal is always visible — no animation dependency */
@media (max-width: 767px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 {
    transition-delay: 0s !important;
  }
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- CTA FLOATING SECTION ---- */
.cta-split-section {
  padding: 6rem 0;
  background: var(--bg-white);
  overflow: visible;
}
.cta-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .cta-split-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
}
.cta-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 2rem 0;
}
.cta-check-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}
.cta-check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(230,55,20,0.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta-check-icon svg { color: var(--primary); }
.cta-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.cta-big-num {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--navy);
  line-height: 1;
  opacity: 0.05;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

/* ---- REDESIGN SECTION (website design features) ---- */
.website-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .website-features-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.4s var(--transition);
}
.feature-card:hover {
  border-color: rgba(230,55,20,0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.375rem; letter-spacing: -0.02em; }
.feature-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ---- GLOBAL MOBILE SAFETY ---- */
@media (max-width: 767px) {
  /* Don't use overflow-x:hidden on body — it breaks mobile layout */
  body { overflow-x: visible; }
  html { max-width: 100vw; }

  /* Fix hero dvh issue — use 100vh instead */
  .hero {
    min-height: 100vh !important;
  }

  /* Dark sections — don't clip content */
  .dark-section { overflow: visible; }
  .cta-split-section { overflow: visible; }

  /* Fix footer overscroll white space */
  .footer { margin-bottom: -1px; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 767px) {
  /* Hero — safe sizing, no overflow issues */
  .hero {
    min-height: auto !important;
    padding-top: 5rem;
    padding-bottom: 3rem;
    overflow: visible !important;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-h1 {
    font-size: clamp(2.25rem, 9vw, 3rem) !important;
  }
  .hero-sub {
    font-size: 1rem !important;
    max-width: 100% !important;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hero-trust-avatar { display: none; }

  /* Hero mockup - safe on mobile */
  .hero-visual {
    width: 100%;
    padding: 0 1rem;
  }
  .hero-mockup-wrap {
    width: 100%;
    max-width: 100%;
  }
  .hero-mockup-card {
    border-radius: 1rem;
  }
  .hero-mockup-body {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem;
  }
  .hero-mockup-float {
    display: none; /* hide floating cards on mobile - they cause overflow issues */
  }

  /* Metrics */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
  .metric-number {
    font-size: 1.75rem !important;
  }
  .metric-label { font-size: 0.75rem !important; }

  /* Sections */
  .section { padding: 4rem 0; }
  .services-header {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .services-header-left .section-h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
  }
  .services-header-right { max-width: 100% !important; }

  /* Bento - stack on mobile — always visible */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .bento-lg, .bento-sm, .bento-vertical-stack {
    grid-column: span 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    min-height: 120px;
  }
  .bento-vertical-stack {
    gap: 1rem;
    visibility: visible !important;
    display: flex !important;
  }
  .bento-card {
    padding: 1.5rem;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Split grids - stack on mobile */
  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    direction: ltr !important;
  }
  .split-content { order: 1 !important; }
  .split-visual { order: 2 !important; width: 100%; }
  .chatbot-ui-card {
    max-width: 100% !important;
    border-radius: 1.25rem;
    padding: 1.5rem;
  }

  /* CTA split */
  .cta-split-section { padding: 4rem 0; }
  .cta-split-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .cta-content h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
  }
  .cta-check-list { gap: 0.75rem; }
  .cta-check-item { font-size: 0.875rem !important; }
  .cta-visual { display: none; } /* hide decorative visual on mobile */

  /* Website features */
  .website-features-grid {
    grid-template-columns: 1fr !important;
  }
  .feature-card {
    padding: 1.25rem;
    gap: 1rem;
  }
  .feature-icon { width: 40px; height: 40px; flex-shrink: 0; }

  /* Why grid */
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .why-card {
    padding: 1.5rem;
  }
  .why-icon { width: 48px; height: 48px; }

  /* Process */
  .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .process-grid::before { display: none !important; }
  .process-step { padding: 0; }
  .process-number { width: 48px; height: 48px; font-size: 1rem !important; }
  .process-h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
  }

  /* Houston */
  .houston-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .houston-h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
  }
  .areas-chips { gap: 0.375rem; }
  .area-chip { font-size: 0.75rem !important; padding: 0.3rem 0.625rem !important; }
  .houston-contact { gap: 1rem; }

  /* Final CTA */
  .final-cta-section { padding: 5rem 0; }
  .final-cta-h2 {
    font-size: clamp(1.75rem, 7vw, 3rem) !important;
  }
  .final-cta-group {
    flex-direction: column;
    align-items: center;
  }
  .final-cta-group .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Nav */
  .nav-inner .btn {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }

  /* Section headers */
  .section-h2, .split-content .section-h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
  }

  /* All h2 clamp */
  h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
  }
}

/* Tablet adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
  }
  .hero-mockup-wrap {
    max-width: 90%;
  }
  .hero-mockup-float.f1 { right: -1rem; }
  .hero-mockup-float.f2 { left: -1rem; }
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .houston-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-mockup-float { animation: none; }
  .chat-message { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
