/* ===========================
   Custom Properties
   =========================== */
:root {
  /* Brand palette extracted from logo */
  --c-dark:         #1A1C38;   /* hero / footer background */
  --c-dark-mid:     #252645;   /* subtle dark sections */
  --c-purple:       #4E4B6D;   /* logo shield colour – used sparingly */
  --c-teal:         #5ABFB6;   /* primary action / accent */
  --c-teal-hover:   #3FA89E;
  --c-teal-light:   #7ED8D2;
  --c-teal-bg:      #EBF9F8;   /* very light teal for icon backgrounds */
  --c-steel:        #8AACCB;   /* logo node lines */

  /* Neutrals */
  --c-white:        #FFFFFF;
  --c-bg:           #FFFFFF;
  --c-bg-alt:       #F3F5FA;   /* slightly cool-tinted off-white */
  --c-text:         #1A2D42;   /* logo text colour */
  --c-text-muted:   #5E6E82;
  --c-border:       #DDE2EF;
  --c-border-hover: #B8C5D8;

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Shadow */
  --shadow-xs: 0 1px 3px rgba(26, 44, 66, 0.07);
  --shadow-sm: 0 2px 8px rgba(26, 44, 66, 0.08);
  --shadow-md: 0 6px 20px rgba(26, 44, 66, 0.10);
  --shadow-lg: 0 16px 48px rgba(26, 44, 66, 0.14);
  --shadow-xl: 0 24px 64px rgba(26, 28, 56, 0.22);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.22s ease;
  --t-slow: 0.35s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ===========================
   Layout
   =========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--c-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal);
  background: var(--c-teal-bg);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-label-light {
  color: var(--c-teal-light);
  background: rgba(90, 191, 182, 0.12);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--r-md);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), box-shadow var(--t-base), transform var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--c-teal);
  color: var(--c-white);
  box-shadow: 0 2px 8px rgba(90, 191, 182, 0.35);
}

.btn-primary:hover {
  background: var(--c-teal-hover);
  box-shadow: 0 4px 16px rgba(90, 191, 182, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--c-teal);
  border: 1.5px solid var(--c-teal);
}

.btn-outline:hover {
  background: var(--c-teal-bg);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text-muted);
  border: 1.5px solid var(--c-border);
}

.btn-ghost:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
}

.btn-hero-primary {
  background: var(--c-teal);
  color: var(--c-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 30px;
  box-shadow: 0 4px 20px rgba(90, 191, 182, 0.5);
}

.btn-hero-primary:hover {
  background: var(--c-teal-light);
  box-shadow: 0 6px 28px rgba(90, 191, 182, 0.6);
}

.btn-hero-outline {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.3);
  font-size: 1rem;
  padding: 14px 30px;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

.btn-teal {
  background: var(--c-teal);
  color: var(--c-dark);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(90, 191, 182, 0.4);
}

.btn-teal:hover {
  background: var(--c-teal-light);
}

.btn-light-outline {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(255,255,255,0.28);
}

.btn-light-outline:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* ===========================
   Navigation
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.site-header.scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark-inline {
  width: 34px;
  height: 34px;
  background: var(--c-purple);
  color: var(--c-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-text-inline {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover {
  color: var(--c-text);
  background: var(--c-bg-alt);
}

.nav-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
  cursor: pointer;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

/* Mobile menu open state */
.nav-toggle.open .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #141630 0%, #1D1F3D 50%, #222448 100%);
  overflow: hidden;
  padding-block: 96px 80px;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(90, 191, 182, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(78, 75, 109, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-teal-light);
  background: rgba(90, 191, 182, 0.1);
  border: 1px solid rgba(90, 191, 182, 0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-teal);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

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

.hero-title {
  color: #fff;
  margin-bottom: 22px;
  max-width: 560px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-item-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
}

.trust-item-sm svg {
  color: var(--c-teal);
}

.trust-dot {
  color: rgba(255,255,255,0.2);
  font-size: 1.1rem;
}

/* ---- Dashboard Mockup ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mockup-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  width: 100%;
  max-width: 380px;
  animation: float-card 5s ease-in-out infinite;
}

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

.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border);
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mdot-r { background: #FF6059; }
.mdot-y { background: #FEBC2E; }
.mdot-g { background: #28C840; }

.mockup-title-bar {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-muted);
}

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

.mockup-stat {
  background: var(--c-bg-alt);
  border-radius: var(--r-sm);
  padding: 10px 8px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

.mockup-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 10px;
}

.mockup-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.mockup-task {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--c-bg-alt);
  border-radius: var(--r-sm);
  padding: 8px 10px;
}

.task-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.task-status.done    { background: #22C55E; }
.task-status.pending { background: #F59E0B; }
.task-status.action  { background: var(--c-teal); }

.task-text {
  font-size: 0.75rem;
  color: var(--c-text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
}
.badge-done    { background: #DCFCE7; color: #15803D; }
.badge-pending { background: #FEF3C7; color: #B45309; }
.badge-action  { background: var(--c-teal-bg); color: var(--c-teal-hover); }

.mockup-notification {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, #EBF9F8, #F3F5FA);
  border: 1px solid rgba(90, 191, 182, 0.2);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 0.75rem;
  color: var(--c-text);
}

.notif-time {
  margin-left: auto;
  color: var(--c-text-muted);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.mockup-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.mockup-float-1 {
  top: -20px;
  right: -20px;
  animation: float-card 4.5s ease-in-out 0.5s infinite;
}

.mockup-float-2 {
  bottom: 30px;
  right: -28px;
  animation: float-card 4s ease-in-out 1.2s infinite;
}

/* ===========================
   Trust Bar
   =========================== */
.trust-bar {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: 20px;
}

.trust-bar-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-muted);
}

.trust-bar-item svg {
  color: var(--c-teal);
  flex-shrink: 0;
}

/* ===========================
   Features
   =========================== */
.features {
  background: var(--c-bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.feature-card:hover {
  border-color: var(--c-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--c-teal-bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal-hover);
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--c-text);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ===========================
   How It Works
   =========================== */
.how-it-works {
  background: var(--c-bg);
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 56px;
}

.step {
  padding: 24px 20px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.step:hover {
  border-color: var(--c-teal);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-teal);
  opacity: 0.35;
  margin-bottom: 12px;
  line-height: 1;
}

.step h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
  color: var(--c-text);
}

.step p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 36px;
}

.step-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--c-border), var(--c-teal-light), var(--c-border));
  border-radius: 2px;
}

.how-it-works-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===========================
   About
   =========================== */
.about {
  background: linear-gradient(135deg, #141630 0%, #1D1F3D 60%, #222448 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(90, 191, 182, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 70%, rgba(78, 75, 109, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.about-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-content h2 {
  color: #fff;
  margin-bottom: 22px;
}

.about-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-content p strong {
  color: rgba(255, 255, 255, 0.92);
}

.about-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background var(--t-base), border-color var(--t-base);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(90, 191, 182, 0.3);
}

.value-icon {
  width: 40px;
  height: 40px;
  background: rgba(90, 191, 182, 0.12);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal);
  flex-shrink: 0;
}

.value-card h4 {
  color: #fff;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

/* ===========================
   FAQ
   =========================== */
.faq {
  background: var(--c-bg-alt);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--c-teal);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  transition: background var(--t-fast);
}

.faq-question:hover {
  background: var(--c-bg-alt);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--c-text-muted);
  transition: transform var(--t-base), color var(--t-base);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--c-teal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--t-base);
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 22px 20px;
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--c-teal-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===========================
   Contact
   =========================== */
.contact {
  background: var(--c-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.contact-card:hover {
  border-color: var(--c-teal);
  box-shadow: var(--shadow-sm);
}

.contact-card-primary {
  background: var(--c-dark);
  border-color: transparent;
  color: #fff;
}

.contact-card-primary h3 {
  color: #fff;
}

.contact-card-primary p {
  color: rgba(255,255,255,0.65);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--c-teal-bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal-hover);
  margin-bottom: 4px;
}

.contact-card-primary .contact-card-icon {
  background: rgba(90, 191, 182, 0.12);
  color: var(--c-teal);
}

.contact-card h3 {
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.contact-card p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
}

.contact-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-teal-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
  margin-top: auto;
}

.contact-link:hover {
  color: var(--c-teal);
}

.contact-note {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
}

.contact-note p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.contact-note a {
  color: var(--c-teal-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--c-dark);
  padding-block: 64px 32px;
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.footer-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--c-purple);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 10px;
}

.footer-parent {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.footer-parent a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}

.footer-parent a:hover {
  color: var(--c-teal-light);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-heading {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}

.footer-nav-col a:hover {
  color: var(--c-teal-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.65);
}

.footer-sep {
  color: rgba(255,255,255,0.15);
}

/* ===========================
   Scroll Animations
   =========================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-connector {
    display: none;
  }

  .step-connector::after {
    display: none;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-title,
  .hero-subtitle {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .mockup-float-1,
  .mockup-float-2 {
    display: none;
  }

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

@media (max-width: 768px) {
  .section { padding-block: 72px; }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  /* Mobile menu overlay */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; /* fallback; overridden dynamically by JS */
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 16px 24px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    gap: 4px;
    z-index: 200;
    border-top: 1px solid var(--c-border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.mobile-open .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 1.0625rem;
    border-radius: var(--r-md);
  }

  .nav-links.mobile-open + .nav-actions {
    display: block;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 24px;
    right: 24px;
    z-index: 201;
  }

  .nav-links.mobile-open + .nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===========================
   Homepage video section
   =========================== */
.video-section {
  padding-block: 80px;
  background: var(--c-bg);
}

.video-section-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.video-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-teal);
}

.video-section-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.video-section-sub {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  max-width: 640px;
  margin-inline: auto;
}

.video-wrap {
  margin-top: 40px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 24px 80px rgba(15,23,42,0.13);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 480px) {
  .section { padding-block: 56px; }

  .hero { padding-block: 64px 56px; }

  .mockup-card {
    padding: 16px;
  }

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

  .trust-bar-items {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
