/* ============================================
   LOOKIO — Global Stylesheet
   Brand: Indigo #4F46E5 | Accent #10B981
   Fonts: Plus Jakarta Sans (body) + Outfit (display)
   ============================================ */

/* --- Variables --- */
:root {
  --primary: #4F46E5;
  --primary-dark: #312E81;
  --primary-light: #EEF2FF;
  --primary-mid: #818CF8;
  --gradient: linear-gradient(135deg, #4F46E5, #818CF8);
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --danger: #EF4444;
  --text: #111827;
  --text-light: #6B7280;
  --text-lighter: #9CA3AF;
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 800; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { color: var(--text-light); margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.938rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  line-height: 1.4;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 1px 3px rgba(79,70,229,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(79,70,229,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.btn-large {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: 72px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 34px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-links a {
  padding: 0.5rem 1rem;
  color: var(--text-light);
  font-size: 0.938rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.login-link {
  color: var(--text-light) !important;
  font-weight: 500;
  font-size: 0.938rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none !important;
}
.login-link:hover { color: var(--primary) !important; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* --- Hero --- */
.hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  text-align: center;
}

.hero h1 {
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-image {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-image img {
  display: block;
  width: 100%;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Features --- */
.features {
  padding: 2rem 0 5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.25s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(79,70,229,0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

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

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.938rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Stats --- */
.stats {
  padding: 4rem 0;
  background: var(--primary-dark);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #C7D2FE, #FFFFFF, #A5B4FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.938rem;
}

/* --- Pricing --- */
.pricing {
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: all 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(79,70,229,0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.price-minimum {
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.938rem;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-card .btn { width: 100%; }

/* --- Testimonials --- */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.testimonial-card > p {
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-info p {
  font-size: 0.813rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- CTA --- */
.cta {
  padding: 3rem 0;
  background: var(--primary);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta h2 {
  color: white;
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.cta p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.cta .btn {
  background: white;
  color: var(--primary);
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta .btn:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* --- Footer --- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
}

.footer-col h4 {
  color: white;
  font-size: 0.813rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.625rem; }

.footer-col ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul a:hover { color: white; text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}
.footer-social a:hover { color: white; }

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.938rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.08);
}

.form-group textarea { resize: vertical; }

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

/* --- Signup Page --- */
.signup-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.signup-left {
  background: var(--primary);
  color: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signup-left h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  -webkit-text-fill-color: white;
}

.signup-left p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
}

.signup-benefits {
  margin-top: 2rem;
  list-style: none;
}

.signup-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.signup-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34D399;
  font-weight: 700;
}

.signup-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.signup-form {
  width: 100%;
  max-width: 480px;
}

.signup-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Onboarding Steps */
.onboarding-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--text-lighter);
}

.step.active { color: var(--primary); }
.step.completed { color: var(--success); }

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  border: 2px solid var(--border);
  background: white;
}

.step.active .step-number {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.step.completed .step-number {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
}

/* --- Feature Showcase --- */
.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.feature-showcase-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-showcase-item.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.feature-showcase-item.reverse .feature-showcase-image {
  order: 2;
}

.feature-showcase-item.reverse .feature-showcase-text {
  order: 1;
}

.feature-showcase-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.feature-showcase-image img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-showcase-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.feature-showcase-text h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-showcase-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Alternating feature backgrounds */
.feature-showcase-item:nth-child(even) {
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin: -1rem -1.5rem;
}

/* --- Hero Eyebrow Badge --- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: 100px;
  padding: 0.45rem 1.25rem;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* --- Gradient Text Accent --- */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Hero Emphasis --- */
.hero p em {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

/* --- Feature Problem Statement --- */
.feature-problem {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0.5rem !important;
  line-height: 1.5;
  padding-left: 0.75rem;
  border-left: 2px solid var(--primary-mid);
}

/* --- Built For / ICP Section --- */
.built-for {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #EEF2FF 0%, #F9FAFB 100%);
}

.built-for h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.built-for-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.built-for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.built-for-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all 0.25s;
}

.built-for-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79,70,229,0.12);
}

.built-for-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: white;
}

.built-for-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.built-for-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .built-for-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 1.5rem 0;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}

.cookie-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
}

.cookie-text h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-options {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--text);
}

.cookie-toggle {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

.cookie-toggle-btns {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-btn {
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  background: white;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}

.cookie-btn + .cookie-btn {
  border-left: 1.5px solid var(--border);
}

.cookie-btn.selected {
  background: var(--primary);
  color: white;
}

.cookie-btn:hover:not(.selected) {
  background: var(--bg-alt);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* --- Feature Detail Modal --- */
.feature-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.feature-modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  animation: modalSlideIn 0.25s ease;
}

@keyframes modalSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.feature-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text-light);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  line-height: 1;
}

.feature-modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.feature-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.feature-modal-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.feature-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-modal > p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.feature-modal-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-modal-list li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.feature-modal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-modal-cta {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.feature-modal-cta .btn {
  flex: 1;
  text-align: center;
}

/* --- Learn More Link --- */
.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.938rem;
  background: var(--primary-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: gap 0.15s;
}

.learn-more-link:hover {
  gap: 0.6rem;
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .features-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .feature-showcase-item,
  .feature-showcase-item.reverse {
    grid-template-columns: 1fr;
  }
  .feature-showcase-item.reverse .feature-showcase-image,
  .feature-showcase-item.reverse .feature-showcase-text {
    order: unset;
  }
  .feature-showcase { gap: 3rem; }
  .feature-showcase-text h3 { font-size: 1.35rem; }

  .cta .container { flex-direction: column; text-align: center; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }


  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-options { justify-content: flex-start; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }

  .feature-modal { padding: 1.75rem; }
  .feature-modal h2 { font-size: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .signup-page { grid-template-columns: 1fr; }
  .signup-left { padding: 2rem; min-height: auto; }
}

@media (max-width: 768px) {
  .navbar {
    height: auto;
  }

  .navbar .container {
    flex-wrap: wrap;
    min-height: 72px;
    height: auto;
  }

  .mobile-menu-btn {
    display: flex;
    order: 3;
  }

  .navbar-logo { order: 1; }

  .navbar-links,
  .navbar-cta {
    display: none;
    position: static;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 0.5rem 0;
  }

  .navbar-links {
    order: 10;
    border-top: 1px solid var(--border-light);
    padding-top: 0.75rem;
  }

  .navbar-links a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }

  .navbar-cta {
    order: 11;
    border-top: 1px solid var(--border-light);
    padding: 0.75rem 0 1rem;
  }

  .navbar-cta .login-link {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .navbar-cta .btn { width: 100%; text-align: center; }

  /* Open state */
  .navbar.mobile-open .navbar-links,
  .navbar.mobile-open .navbar-cta {
    display: flex;
  }

  /* Hamburger animation */
  .navbar.mobile-open .mobile-menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar.mobile-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
  }
  .navbar.mobile-open .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .mobile-menu-btn span { transition: all 0.2s ease; }

  .hero { padding: 7rem 0 3rem; }
  .hero-cta { flex-direction: column; align-items: center; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .legal-content { padding: 0 0.5rem; }
}

/* ============================================
   Legal Pages (Terms, Privacy)
   ============================================ */
.legal-hero {
  background: var(--gradient);
  padding: 8rem 0 3rem;
  text-align: center;
  color: white;
}

.legal-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-hero .legal-meta {
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

.legal-content {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}

.legal-intro {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.legal-intro strong {
  color: var(--primary);
  font-weight: 600;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section .section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 0.75rem;
}

.legal-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.legal-section p {
  margin-bottom: 0.875rem;
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.75;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.875rem;
}

.legal-section ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
  color: var(--text-light);
  line-height: 1.7;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-mid);
}
