/* ============================================
   DealPack V4 — Global Styles
   Enhanced: animations, transitions, tech feel
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand */
  --brand: #07497F;
  --brand-dark: #001527;
  --brand-light: #D9E6F2;
  --ink: #00004D;

  /* Surfaces */
  --background: #FFFFFF;
  --surface-1: hsl(220, 20%, 96%);
  --surface-2: #FFFFFF;

  /* UI */
  --border: hsl(214, 32%, 91%);
  --muted-foreground: hsl(215, 16%, 47%);

  /* Status */
  --success: hsl(142, 71%, 45%);
  --destructive: hsl(0, 84%, 60%);

  /* Typography */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 120px;
  --container-padding: 80px;
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --container-padding: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 60px;
    --container-padding: 24px;
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--background);
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-dark);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.2;
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
}

h4 {
  font-size: 20px;
  font-weight: 600;
}

p {
  color: var(--muted-foreground);
  max-width: 680px;
}

.text-brand { color: var(--brand); }

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section-alt {
  background: var(--surface-1);
}

.section-dark {
  background: var(--brand-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-md {
  padding: 12px 24px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: #035a8c;
  color: #fff;
  box-shadow: 0 4px 20px rgba(7, 73, 127, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

.btn-secondary:hover {
  background: var(--brand-light);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--brand);
}

.btn-white:hover {
  background: var(--brand-light);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  padding: 12px 16px;
}

.btn-ghost:hover {
  background: var(--surface-1);
}

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(7, 73, 127, 0.15);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 72px;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  color: var(--ink);
  transform: scale(1.02);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-mark {
  box-shadow: 0 2px 12px rgba(7, 73, 127, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted-foreground);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 32px var(--container-padding);
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideDown 0.3s ease;
}

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

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.mobile-menu .btn {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---- Hero ---- */
.hero {
  padding-top: 160px;
  padding-bottom: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* Subtle animated grid background for hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 73, 127, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 73, 127, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridFloat 20s linear infinite;
  pointer-events: none;
}

@keyframes gridFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-content {
  max-width: 600px;
}

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  color: var(--brand);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Product mockup */
.hero-mockup {
  position: relative;
}

.mockup-window {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mockup-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0,0,0,0.05);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted-foreground);
  background: var(--background);
  padding: 4px 12px;
  border-radius: 6px;
  margin-left: 8px;
}

.mockup-body {
  padding: 24px;
  min-height: 320px;
}

/* Animated mockup content */
.mockup-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.mockup-badge-sm {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  background: #e8f5e9;
  color: #2e7d32;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-stat {
  background: var(--surface-1);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  transition: transform 0.3s ease;
}

.mockup-stat:hover {
  transform: scale(1.03);
}

.mockup-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
}

.mockup-stat-label {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-table {
  width: 100%;
  font-size: 12px;
}

.mockup-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface-1);
  border-radius: 6px;
  font-weight: 600;
  color: var(--muted-foreground);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  opacity: 0;
  animation: fadeInRow 0.4s ease forwards;
}

.mockup-table-row:nth-child(2) { animation-delay: 0.6s; }
.mockup-table-row:nth-child(3) { animation-delay: 0.9s; }
.mockup-table-row:nth-child(4) { animation-delay: 1.2s; }
.mockup-table-row:nth-child(5) { animation-delay: 1.5s; }

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

.mockup-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--destructive);
  font-weight: 600;
}

.mockup-flag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.mockup-ok {
  color: hsl(142, 71%, 45%);
  font-weight: 600;
}

.mockup-progress-bar {
  height: 4px;
  background: var(--brand-light);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.mockup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #0b6fba);
  border-radius: 2px;
  width: 0%;
  animation: progressFill 2s ease 0.5s forwards;
}

@keyframes progressFill {
  to { width: 78%; }
}

/* ---- Floating particles (tech feel) ---- */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(7, 73, 127, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  animation: floatOrb 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
  100% { transform: translate(20px, -20px) scale(0.95); }
}

/* ---- Section Heading ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header p {
  margin: 16px auto 0;
  font-size: 17px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  position: relative;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.5;
}

/* ---- Feature Cards ---- */
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand);
  transition: all 0.3s ease;
}

.card:hover .feature-icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Stats Band ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

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

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.section-dark .stat-item h3 {
  color: #fff;
}

.stat-item p {
  font-size: 15px;
  margin: 0 auto;
}

/* ---- How It Works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(7, 73, 127, 0.25);
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(7, 73, 127, 0.35);
}

/* Connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  opacity: 0.3;
}

@media (max-width: 768px) {
  .step:not(:last-child)::after { display: none; }
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  margin: 0 auto;
}

/* ---- CTA Band ---- */
.cta-band {
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-band p {
  margin: 0 auto 32px;
  font-size: 17px;
}

.cta-band .btn {
  font-size: 16px;
}

/* ---- Contact Form ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.form-group {
  margin-bottom: 20px;
}

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

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(7, 73, 127, 0.08);
  transform: translateY(-1px);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ---- Contact Info ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(4px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
  background: var(--brand);
  color: #fff;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
}

/* ---- Footer ---- */
.footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ---- Scroll Reveal Animation (enhanced) ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.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; }

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Product Page Specifics ---- */
.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-section.reverse {
  direction: rtl;
}

.feature-section.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .feature-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-section.reverse {
    direction: ltr;
  }
}

.feature-visual {
  background: var(--surface-1);
  border-radius: 12px;
  padding: 32px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.feature-visual:hover {
  transform: scale(1.01);
}

.feature-content .section-label {
  text-align: left;
}

.feature-content h2 {
  margin-bottom: 16px;
}

.feature-content p {
  font-size: 16px;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(4px);
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2307497F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.3s ease;
}

.feature-list li:hover::before {
  background-color: rgba(7, 73, 127, 0.15);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 73, 127, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 73, 127, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  margin: 0 auto;
  max-width: 560px;
}

/* ---- Insights ---- */
.insight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.insight-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--brand-light), var(--surface-1));
  position: relative;
  overflow: hidden;
}

.insight-card-body { padding: 24px; }
.insight-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.insight-tag { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-light); padding: 3px 10px; border-radius: 100px; }
.insight-date { font-size: 13px; color: var(--muted-foreground); }
.insight-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.insight-card p { font-size: 14px; line-height: 1.6; }

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--brand);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
}

.faq-question:hover { background: var(--surface-1); }
.faq-icon { font-size: 20px; color: var(--muted-foreground); transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 20px; font-size: 15px; color: var(--muted-foreground); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---- Insights filters ---- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 1024px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .insights-grid { grid-template-columns: 1fr; } }
.insights-filter { display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; justify-content: center; }
.filter-btn { padding: 8px 20px; border-radius: 100px; border: 1.5px solid var(--border); background: #fff; color: var(--muted-foreground); font-family: var(--font-sans); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; }
.filter-btn:hover, .filter-btn.active { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }

/* ---- Waitlist Form ---- */
.waitlist-form { background: #fff; border-radius: 16px; padding: 48px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); max-width: 560px; margin: 0 auto; }
@media (max-width: 640px) { .waitlist-form { padding: 32px 24px; } }
.waitlist-form h3 { margin-bottom: 8px; }
.waitlist-form > p { margin-bottom: 24px; font-size: 15px; }

/* ---- Decorative Elements ---- */
.gradient-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 73, 127, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

/* ---- Glowing line separator ---- */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.2;
  margin: 0 auto;
  max-width: 400px;
}

/* ---- Advantage card full-width ---- */
.advantage-card {
  background: linear-gradient(135deg, var(--brand), #0b6fba);
  border-radius: 16px;
  padding: 48px;
  color: #fff;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.advantage-card h4 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 12px;
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
  max-width: 800px;
}

/* ---- Number counter animation ---- */
.count-up {
  display: inline-block;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
