/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --deep-blue: #090F3A;
  --purple: #7B2FF2;
  --purple-dark: #5A1FBD;
  --purple-light: #DBC6FF;
  --purple-bg: #F3EDFF;
  --purple-hover: #9600EE;
  --white: #ffffff;
  --tan: #F5F0EB;
  --light-tan: #FAF8F5;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --border: #E5E7EB;
  --green: #10B981;
  --blue: #3B82F6;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(123,47,242,.06);
  --shadow-lg: 0 20px 60px rgba(123,47,242,.1);
  --transition: all .2s;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--deep-blue);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 800; line-height: 1.1; color: var(--deep-blue); letter-spacing: -0.5px; }
h1 { font-size: clamp(38px, 4.5vw, 58px); letter-spacing: -1.5px; }
h2 { font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -1px; }
h3 { font-size: 22px; }

.gradient-purple {
  color: #7B2FF2;
  background: linear-gradient(135deg, #7B2FF2, #a855f7, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--purple);
  margin-bottom: 12px;
  display: inline-block;
}
.section-title { margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--gray-600); max-width: 560px; margin: 0 auto 48px; line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn-fill, .btn-outline, .btn-outline-white, .btn-white, .btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  border-radius: 10px;
  transition: all .2s;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  text-decoration: none;
  font-size: 15px;
  padding: 12px 24px;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-md { padding: 12px 24px; font-size: 15px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-fill { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-fill:hover { background: var(--purple-dark); border-color: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(123,47,242,.25); }

.btn-outline { background: transparent; color: var(--deep-blue); border-color: var(--deep-blue); }
.btn-outline:hover { background: var(--deep-blue); color: var(--white); }

.btn-outline-white { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-white { background: var(--white); color: var(--deep-blue); border-color: var(--white); }
.btn-white:hover { background: var(--gray-100); }

.btn-text { font-size: 15px; font-weight: 700; color: var(--deep-blue); text-decoration: underline; text-underline-offset: 4px; background: none; border: none; padding: 12px 0; }
.btn-text:hover { color: var(--purple); }

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-blue);
  letter-spacing: -0.5px;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo span { color: var(--purple); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: 8px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.hamburger span { width: 24px; height: 2px; background: var(--deep-blue); transition: all .3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  padding: 64px 0 48px;
  background: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text .section-label { margin-bottom: 16px; }
.hero-text h1 { margin-bottom: 20px; }
.hero-text p { font-size: 18px; color: var(--gray-600); line-height: 1.7; max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.hero-badges {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-badge-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.6);
  text-align: center;
  min-width: 110px;
}
.hero-badge-card h3 { font-size: 24px; margin-bottom: 2px; }
.hero-badge-card p { font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: .5px; color: var(--gray-500); margin: 0; }

/* ===== STATS ===== */
.stats-strip { padding: 40px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item { text-align: center; padding: 16px 40px; }
.stat-item h3 { font-size: clamp(32px, 3.5vw, 44px); margin-bottom: 4px; }
.stat-item p { font-size: 14px; color: var(--gray-500); font-weight: 500; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }
.stat-card { text-align: center; padding: 24px; }
.stat-card h3 { font-size: clamp(36px, 4vw, 48px); margin-bottom: 4px; }
.stat-card p { font-size: 14px; color: var(--gray-500); font-weight: 500; }

/* ===== CARDS ===== */
.card {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: box-shadow .3s, transform .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--gray-600); font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.learn-more { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-weight: 700; font-size: 14px; }
.learn-more:hover { gap: 10px; }

.included-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(16,185,129,.1); color: var(--green);
  padding: 4px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 14px;
}

/* ===== FEATURE SECTIONS (2-col) ===== */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-content h2 { margin-bottom: 16px; }
.feature-content p { color: var(--gray-600); margin-bottom: 24px; font-size: 17px; line-height: 1.7; }

.feature-text h2 { margin-bottom: 16px; }
.feature-text p { color: var(--gray-600); margin-bottom: 16px; font-size: 17px; line-height: 1.7; }
.feature-visual { display: flex; justify-content: center; }

.feature-checks { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.feature-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--gray-700); }
.feature-check .icon,
.feature-check .check-icon {
  width: 22px; height: 22px; min-width: 22px; border-radius: 50%;
  background: rgba(123,47,242,.1); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; margin-top: 2px;
}

.feature-image img { border-radius: 24px; box-shadow: var(--shadow-lg); }

/* ===== AI MOCKUP ===== */
.ai-mockup {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.ai-mockup-header {
  background: linear-gradient(135deg, #7B2FF2, #5A1FBD);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 12px;
}
.ai-mockup-header .avatar,
.ai-mockup-header .ai-avatar { width: 38px; height: 38px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; color: var(--white); font-weight: 700; }
.ai-mockup-header h4 { color: var(--white); font-size: 14px; margin: 0; font-weight: 600; }
.ai-mockup-header p { color: rgba(255,255,255,.6); font-size: 12px; margin: 0; }
.ai-chat { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ai-bubble { padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; max-width: 85%; }
.ai-bubble.bot { background: var(--purple-bg); color: var(--deep-blue); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-bubble.user { background: linear-gradient(135deg, #7B2FF2, #5A1FBD); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-status { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray-500); }
.live-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

/* ===== DARK PURPLE SECTION ===== */
.dark-section { padding: 96px 0; background: linear-gradient(135deg, #2D0A5E, #4A1494, #5A1FBD); position: relative; overflow: hidden; }
.dark-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(123,47,242,.35), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(90,31,189,.25), transparent 50%); }
.dark-section .container { position: relative; z-index: 1; }
.dark-section h2 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,.65); }
.dark-section .section-label { color: var(--purple-light); }

/* ===== STEPS GRID ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: var(--gray-50); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 24px; text-align: center; transition: box-shadow .3s, transform .3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--purple-bg); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; margin: 0 auto 14px;
}
.step-number-green { background: #e0f7e9; color: #059669; }
.step-card h4 { font-size: 15px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--gray-600); }

/* ===== DARK CTA ===== */
.cta-dark {
  background: linear-gradient(135deg, #2D0A5E, #4A1494, #5A1FBD);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(123,47,242,.35), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(90,31,189,.25), transparent 50%); }
.cta-dark-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.cta-dark h2 { color: var(--white); margin-bottom: 14px; }
.cta-dark p { color: rgba(255,255,255,.6); font-size: 17px; max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== INDUSTRIES ===== */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-card {
  background: var(--gray-50); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 24px; text-align: center; transition: box-shadow .3s, transform .3s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry-icon { font-size: 2.2rem; margin-bottom: 14px; }
.industry-card h3 { font-size: 16px; margin-bottom: 8px; }
.industry-card p { font-size: 14px; color: var(--gray-600); }

/* ===== TAN PRODUCT SECTION ===== */
.tan-section { background: var(--light-tan); border-radius: 30px; padding: 60px 48px; }

/* ===== COVERAGE ===== */
.coverage-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.coverage-item { text-align: center; padding: 20px; }
.coverage-flag { font-size: 2.8rem; margin-bottom: 10px; }
.coverage-item h4 { color: var(--white); font-size: 15px; font-weight: 600; }
.coverage-item p { color: rgba(255,255,255,.45); font-size: 13px; margin-top: 4px; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.8rem 1.5rem; display: flex; flex-direction: column; position: relative;
  transition: box-shadow .35s ease, transform .35s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border: 2px solid var(--purple); box-shadow: 0 8px 32px rgba(123,47,242,.12); }
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: var(--white);
  padding: 5px 20px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.pricing-card h3 { font-size: 18px; margin-bottom: 4px; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; color: var(--deep-blue); line-height: 1; margin: 8px 0 4px; }
.pricing-card .price span { font-size: 16px; font-weight: 400; color: var(--gray-500); }
.pricing-card .price-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.pricing-features { list-style: none; margin-bottom: 24px; flex: 1; }
.pricing-features li { padding: 7px 0; font-size: 14px; color: var(--gray-600); display: flex; align-items: center; gap: 8px; }
.pricing-features li + li { border-top: 1px solid var(--gray-100); }
.check-icon { color: var(--green); font-weight: 700; font-size: 14px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== HOW IT WORKS STEPS ===== */
.step-row { display: flex; align-items: center; gap: 0; margin-bottom: 2rem; }
.step-row.reverse { flex-direction: row-reverse; }
.step-text {
  background: var(--gray-50); border-radius: 16px; width: 58%;
  padding: 3rem 3.5rem; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--border);
}
.step-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--purple); }
.step-text h3 { font-size: 22px; }
.step-text p { color: var(--gray-600); font-size: 15px; line-height: 1.7; }
.step-visual { width: 46%; display: flex; justify-content: center; align-items: center; }
.step-visual.overlap-right { margin-left: -40px; z-index: 2; }
.step-visual.overlap-left { margin-right: -40px; z-index: 2; }
.step-mockup {
  background: var(--white); border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.08);
  padding: 24px; width: 100%; max-width: 380px; border: 1px solid var(--border);
}
.step-mockup h4 { font-size: 14px; margin-bottom: 10px; }
.step-mockup-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.step-mockup-row:last-child { border: none; }
.step-mockup-row .key { color: var(--gray-500); }
.step-mockup-row .val { color: var(--deep-blue); font-weight: 600; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.badge-urgent { background: #FEE2E2; color: #DC2626; }
.badge-high { background: #FEF3C7; color: #D97706; }
.badge-normal { background: #DBEAFE; color: #2563EB; }
.badge-ai { background: rgba(16,185,129,.1); color: var(--green); }

/* ===== ABOUT / VALUES ===== */
.page-hero { padding: 48px 0 48px; text-align: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--gray-600); max-width: 580px; margin: 0 auto; font-size: 18px; line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  background: var(--gray-50); border: 1px solid var(--border); border-radius: 16px;
  padding: 36px 28px; text-align: center; transition: box-shadow .3s, transform .3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 64px; height: 64px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 18px;
}
.value-card h3 { font-size: 16px; margin-bottom: 8px; }
.value-card p { color: var(--gray-600); font-size: 14px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-method:last-child { border: none; }
.contact-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: var(--purple-bg); color: var(--purple); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-method h4 { font-size: 15px; margin-bottom: 4px; }
.contact-method p { color: var(--gray-600); font-size: 14px; margin: 0; }
.contact-method a { color: var(--purple); }
.contact-method a:hover { color: var(--purple-dark); }

.contact-form { background: var(--gray-50); border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--deep-blue); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; transition: border-color .2s; background: var(--white); color: var(--deep-blue);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(123,47,242,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 22px 0; background: none; border: none;
  font-family: var(--font); font-size: 16px; font-weight: 700; color: var(--deep-blue);
  text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--gray-400); font-weight: 300; transition: transform .3s; min-width: 24px; text-align: center; }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 0 22px; color: var(--gray-600); font-size: 15px; line-height: 1.7; }

/* ===== COMPARISON TABLE ===== */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.comparison-table th { background: var(--deep-blue); color: var(--white); padding: 14px 20px; text-align: left; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.comparison-table td { padding: 13px 20px; border-bottom: 1px solid var(--gray-100); font-size: 14px; color: var(--gray-600); }
.comparison-table tr:nth-child(even) { background: var(--gray-50); }

/* ===== PORTAL PAGE ===== */
.portal-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.portal-benefit { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 24px 20px; text-align: center; }
.portal-benefit h4 { font-size: 14px; margin-bottom: 6px; }
.portal-benefit p { font-size: 13px; color: var(--gray-500); }

.use-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.use-case-card { background: var(--gray-50); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: box-shadow .3s; }
.use-case-card:hover { box-shadow: var(--shadow-md); }
.use-case-card h4 { font-size: 15px; margin-bottom: 8px; }
.use-case-card blockquote { font-size: 14px; color: var(--gray-600); font-style: italic; line-height: 1.6; margin-bottom: 12px; }
.use-case-card .result { display: inline-flex; align-items: center; gap: 6px; background: rgba(16,185,129,.1); color: var(--green); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }

/* ===== FOOTER ===== */
.footer { background: var(--deep-blue); color: var(--white); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 8px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 12px; max-width: 260px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,.5); font-size: 13px; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 28px 24px 0; font-size: 12px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: 1px; }
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--purple-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(12px); transition: opacity .6s ease-out, transform .6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== COMPAT: Text+Image Sections (used by services, about, pricing, how-it-works pages) ===== */
.text-img-section { padding: 2rem; }
.text-img-wrapper { display: flex; justify-content: center; align-items: center; max-width: 1200px; margin: 0 auto; }
.text-img-wrapper.reverse { flex-direction: row-reverse; }
.text-section {
  background: var(--gray-50); border-radius: 16px; width: 60%; padding: 3rem 3.5rem;
  display: flex; flex-direction: column; gap: 1rem; border: 1px solid var(--border);
}
.text-section .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--purple); }
.text-section h2 { font-size: 1.8rem; margin-bottom: 4px; }
.text-section p { color: var(--gray-600); font-size: 15px; line-height: 1.7; }
.image-section { max-width: 45%; display: flex; justify-content: center; align-items: center; }
.image-section.overlap-right { margin-left: -40px; z-index: 2; }
.image-section.overlap-left { margin-right: -40px; z-index: 2; }
.image-section img { border-radius: 16px; box-shadow: var(--shadow-lg); max-height: 380px; object-fit: cover; }

/* ===== COMPAT: Nav CTA, Dark Inner ===== */
.nav-cta {
  margin-left: 8px; background: var(--purple); color: var(--white) !important;
  border-radius: 10px; padding: 8px 18px !important; font-weight: 700 !important; font-size: 14px !important;
  transition: all .2s; border: 2px solid var(--purple);
}
.nav-cta:hover { background: var(--purple-dark); border-color: var(--purple-dark); }

.dark-inner {
  background: linear-gradient(135deg, #2D0A5E, #4A1494, #5A1FBD); border-radius: 30px;
  max-width: 1200px; margin: 0 auto; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.dark-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(123,47,242,.4), transparent 60%); }
.dark-inner h2 { color: var(--white); position: relative; z-index: 1; margin-bottom: 14px; }
.dark-inner p { color: rgba(255,255,255,.6); position: relative; z-index: 1; font-size: 17px; max-width: 500px; margin: 0 auto 28px; }
.dark-inner div { position: relative; z-index: 1; }
.dark-section .dark-inner { background: none; padding: 0; border-radius: 0; }
.dark-section .dark-inner::before { display: none; }

/* ===== COMPAT: Portal Mockups (our-software page) ===== */
.portal-mockup { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.portal-mockup-header { background: var(--deep-blue); padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.portal-mockup-header .dot-red { width: 10px; height: 10px; border-radius: 50%; background: #EF4444; }
.portal-mockup-header .dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #F59E0B; }
.portal-mockup-header .dot-green { width: 10px; height: 10px; border-radius: 50%; background: #10B981; }
.portal-mockup-body { padding: 20px; }
.portal-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.portal-stat { background: var(--gray-50); border-radius: 10px; padding: 14px; text-align: center; }
.portal-stat .stat-num, .portal-stat h4 { font-size: 1.3rem; color: var(--deep-blue); margin-bottom: 2px; font-weight: 800; }
.portal-stat .stat-label, .portal-stat p { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; margin: 0; }
.portal-msg-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.portal-msg-row:last-child { border: none; }
.msg-avatar, .portal-msg-row .msg-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--white); min-width: 32px; }
.msg-content { flex: 1; min-width: 0; }
.msg-name { font-weight: 600; font-size: 13px; color: var(--deep-blue); }
.msg-preview { font-size: 12px; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-meta { text-align: right; min-width: 60px; }
.msg-time { font-size: 11px; color: var(--gray-400); }
.msg-badge { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.msg-badge.urgent { background: #FEE2E2; color: #DC2626; }
.msg-badge.high { background: #FEF3C7; color: #D97706; }
.msg-badge.normal { background: #DBEAFE; color: #2563EB; }
.portal-call-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.portal-call-row:last-child { border: none; }
.call-direction { min-width: 20px; font-size: 14px; }
.call-direction.inbound { color: var(--green); }
.call-direction.outbound { color: var(--blue); }
.call-caller { flex: 1; font-weight: 500; color: var(--deep-blue); }
.call-duration { color: var(--gray-500); font-size: 12px; min-width: 40px; }
.call-time { color: var(--gray-400); font-size: 11px; min-width: 80px; text-align: right; }
.portal-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portal-contact-card { background: var(--gray-50); border-radius: 10px; padding: 14px; display: flex; align-items: center; gap: 10px; }
.contact-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; min-width: 36px; }
.contact-info { flex: 1; }
.contact-name { font-weight: 600; font-size: 13px; color: var(--deep-blue); }
.contact-detail { font-size: 11px; color: var(--gray-500); }
.vip-tag { display: inline-block; background: rgba(123,47,242,.1); color: var(--purple); padding: 1px 6px; border-radius: 3px; font-size: 9px; font-weight: 700; margin-left: 4px; }
.portal-chart { margin-top: 12px; }
.portal-chart-label { font-size: 11px; color: var(--gray-400); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.chart-bar { flex: 1; background: rgba(123,47,242,.2); border-radius: 4px 4px 0 0; min-height: 8px; transition: all .3s; }
.chart-bar:hover { background: var(--purple); }
.chart-bar-label { font-size: 9px; color: var(--gray-400); text-align: center; margin-top: 4px; }
.portal-benefit-icon { font-size: 1.5rem; margin-bottom: 10px; }
.use-case-industry { font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.use-case-result { font-weight: 700; }
.check-yes { color: var(--green); font-weight: 700; }
.check-no { color: var(--gray-400); }

/* ===== COMPAT: Contact methods wrapper ===== */
.contact-methods { display: flex; flex-direction: column; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 280px;
    background: var(--white); flex-direction: column; justify-content: center;
    padding: 40px; transition: all .3s; box-shadow: -4px 0 20px rgba(0,0,0,.1);
  }
  .nav-links.active { right: 0; }
  .nav-links a { width: 100%; text-align: center; padding: 14px; font-size: 16px; color: var(--deep-blue); }
  .nav-right { display: none; }
  .hamburger { display: flex; }

  .hero-grid, .feature-grid, .feature-grid.reverse, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid.reverse { direction: ltr; }
  .hero-text { text-align: center; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-badges { position: relative; bottom: auto; left: auto; transform: none; justify-content: center; margin-top: 24px; }
  .hero-image { order: -1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { flex-wrap: wrap; }
  .stat-divider { display: none; }

  .services-grid, .industries-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .step-row, .step-row.reverse { flex-direction: column; }
  .step-text, .step-visual { width: 100%; }
  .step-visual { margin: 0 !important; }

  .text-img-wrapper, .text-img-wrapper.reverse { flex-direction: column; }
  .text-section { width: 100%; padding: 2rem; }
  .image-section { max-width: 100%; width: 100%; margin: 0 !important; }

  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portal-contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .use-case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 32px 0; }
  .services-grid, .industries-grid, .values-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 12px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-badges { flex-direction: column; align-items: center; }
  .contact-form { padding: 24px; }
  .cta-dark { padding: 48px 24px; border-radius: 20px; }
  .tan-section { padding: 40px 24px; border-radius: 20px; }
  .portal-benefits-grid { grid-template-columns: 1fr; }
}
