/* ============================================================
   Codoro — Brand-matched redesign
   Palette from logo: Blue #1E90FF, Green #22C55E, Orange #F97316
   Style: Vibrant, friendly, modern, energetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Core brand palette */
  --blue: #1E90FF;
  --blue-light: #60b4ff;
  --blue-dark: #1260CC;
  --green: #22C55E;
  --green-light: #4ade80;
  --green-dark: #16a34a;
  --orange: #F97316;
  --orange-light: #fb923c;
  --orange-dark: #ea580c;
  --yellow: #FBBF24;

  /* Gradient */
  --grad-main: linear-gradient(135deg, #1E90FF 0%, #22C55E 50%, #F97316 100%);
  --grad-blue: linear-gradient(135deg, #1E90FF 0%, #60b4ff 100%);
  --grad-green: linear-gradient(135deg, #22C55E 0%, #4ade80 100%);
  --grad-orange: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
  --grad-hero: linear-gradient(135deg, #1260CC 0%, #1E90FF 30%, #22C55E 65%, #F97316 100%);
  --grad-soft: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(34, 197, 94, 0.1) 50%, rgba(249, 115, 22, 0.1) 100%);

  /* Neutrals */
  --bg: #FAFBFF;
  --bg-alt: #F0F4FF;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;

  /* Type */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  /* Layout */
  --container: min(1120px, 92vw);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(30, 144, 255, 0.08);
  --shadow: 0 4px 20px rgba(30, 144, 255, 0.12);
  --shadow-lg: 0 12px 40px rgba(30, 144, 255, 0.18);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.12);

  /* Easing */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.container {
  width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(30, 144, 255, 0.1);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease-spring);
}

.logo-link:hover {
  transform: scale(1.04);
}

.logo-img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.logo-img-footer {
  height: 46px;
  max-width: 184px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--blue);
  background: rgba(30, 144, 255, 0.08);
}

.nav a.btn::after {
  display: none;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-out), opacity 0.2s;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-header {
  background: var(--grad-orange);
  color: white;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.btn-header:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.5);
}

.btn-primary {
  background: var(--grad-blue);
  color: white;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(30, 144, 255, 0.5);
}

.btn-secondary {
  background: var(--grad-green);
  color: white;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.32);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
}

.btn-ghost:hover {
  background: var(--grad-green);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.btn-block {
  width: 100%;
}

/* ── Hamburger ─────────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.menu-toggle span {
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 9rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Multi-layer background: large blurred colour blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #1E90FF 0%, transparent 70%);
  top: -200px;
  left: -150px;
}

.hero::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #F97316 0%, #FBBF24 50%, transparent 70%);
  bottom: -200px;
  right: -100px;
}

/* Extra green blob via pseudo on inner */
.hero-inner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #22C55E 0%, transparent 70%);
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
  opacity: 0;
  animation: heroReveal 0.7s var(--ease-out) 0.05s forwards;
}

/* Entrance animations */
.hero-animate .hero-badge,
.hero-animate .hero-title,
.hero-animate .hero-subtitle,
.hero-animate .hero-cta,
.hero-animate .hero-features {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.75s var(--ease-out) forwards;
}

.hero-animate .hero-badge {
  animation-delay: 0.10s;
}

.hero-animate .hero-title {
  animation-delay: 0.22s;
}

.hero-animate .hero-subtitle {
  animation-delay: 0.38s;
}

.hero-animate .hero-cta {
  animation-delay: 0.54s;
}

.hero-animate .hero-features {
  animation-delay: 0.70s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  background: var(--grad-orange);
  color: white;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-highlight .per-month {
  font-size: 0.45em;
  font-weight: 700;
  -webkit-text-fill-color: var(--text-muted);
  margin-left: 0.08em;
  vertical-align: middle;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2.25rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-cta .btn {
  padding: 0.95rem 1.8rem;
  font-size: 1.0625rem;
}

.hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  transition: border-color 0.2s, color 0.2s, transform 0.25s var(--ease-spring);
}

.hero-features li:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-features li::before {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--green);
}

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

.reveal-section .reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.reveal-section.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section.is-visible .reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-section.is-visible .reveal-item:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-section.is-visible .reveal-item:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-section.is-visible .reveal-item:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal-section.is-visible .reveal-item:nth-child(5) {
  transition-delay: 0.33s;
}

.reveal-section.is-visible .reveal-item:nth-child(6) {
  transition-delay: 0.40s;
}

/* ── Section titles ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  text-align: center;
  margin: 0 0 0.6rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 2.75rem;
  line-height: 1.65;
}

/* ── Section wrapper ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

/* ── Why different ─────────────────────────────────────────── */
.differentiator {
  padding: 6rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.diff-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1.5px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s;
  box-shadow: var(--shadow-card);
}

.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}

.diff-card:nth-child(1)::before {
  background: var(--grad-soft);
}

.diff-card:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(74, 222, 128, 0.06));
}

.diff-card:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(251, 191, 36, 0.06));
}

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.diff-card:nth-child(1):hover {
  border-color: rgba(30, 144, 255, 0.4);
}

.diff-card:nth-child(2):hover {
  border-color: rgba(34, 197, 94, 0.4);
}

.diff-card:nth-child(3):hover {
  border-color: rgba(249, 115, 22, 0.4);
}

.diff-card:hover::before {
  opacity: 1;
}

.diff-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  transition: transform 0.35s var(--ease-spring);
}

.diff-card:nth-child(1) .diff-icon {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15), rgba(96, 180, 255, 0.15));
  color: var(--blue);
}

.diff-card:nth-child(2) .diff-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(74, 222, 128, 0.15));
  color: var(--green-dark);
}

.diff-card:nth-child(3) .diff-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 191, 36, 0.15));
  color: var(--orange);
}

.diff-card:hover .diff-icon {
  transform: scale(1.12) rotate(-3deg);
}

.diff-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.6rem;
  color: var(--text);
  position: relative;
}

.diff-card p {
  position: relative;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── How it works ─────────────────────────────────────────── */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1.5px solid var(--border);
  position: relative;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
  box-shadow: var(--shadow-card);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1.25rem;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
}

.step:nth-child(1) .step-num {
  background: var(--grad-blue);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.35);
}

.step:nth-child(2) .step-num {
  background: var(--grad-green);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

.step:nth-child(3) .step-num {
  background: var(--grad-orange);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.step:hover .step-num {
  transform: scale(1.1);
}

.step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

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

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: 6rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto 2rem;
}

.plan {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1.5px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
  box-shadow: var(--shadow-card);
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.plan .btn-block {
  margin-top: auto;
}

.plan-featured {
  background: var(--surface);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--green), var(--shadow-lg);
}

.plan-featured:hover {
  box-shadow: 0 0 0 2px var(--green), 0 20px 56px rgba(34, 197, 94, 0.22);
}

/* Business plan — blue */
.plan-business {
  background: var(--surface);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--blue), var(--shadow-lg);
}

.plan-business:hover {
  box-shadow: 0 0 0 2px var(--blue), 0 20px 56px rgba(30, 144, 255, 0.22);
}

.btn-business {
  background: var(--grad-blue);
  color: white;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.35);
}

.btn-business:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(30, 144, 255, 0.5);
}

/* Premium plan */
.plan-premium {
  background: var(--surface);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-lg);
}

.plan-premium:hover {
  box-shadow: 0 0 0 2px var(--orange), 0 20px 56px rgba(249, 115, 22, 0.22);
}

.plan-label-premium {
  background: var(--grad-orange);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.btn-premium {
  background: var(--grad-orange);
  color: white;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.btn-premium:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(249, 115, 22, 0.5);
}

.plan-label {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--grad-main);
  color: white;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.plan-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.plan-desc {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.plan-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--border);
}

.plan-price .currency {
  font-size: 1.35rem;
  color: var(--text-muted);
  vertical-align: top;
  margin-top: 0.6rem;
  display: inline-block;
}

.plan-price .amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: transform 0.3s var(--ease-spring);
}

.plan:hover .plan-price .amount {
  transform: scale(1.04);
}

.plan-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.plan-features li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 900;
  color: var(--green-dark);
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* ── Services ─────────────────────────────────────────────── */
.services {
  padding: 6rem 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1.5px solid var(--border);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.service-card:nth-child(1):hover {
  border-color: rgba(30, 144, 255, 0.4);
}

.service-card:nth-child(2):hover {
  border-color: rgba(34, 197, 94, 0.4);
}

.service-card:nth-child(3):hover {
  border-color: rgba(249, 115, 22, 0.4);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease-spring);
}

.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-4deg);
}

.service-card:nth-child(1) .service-icon {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.12), rgba(96, 180, 255, 0.12));
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(74, 222, 128, 0.12));
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(251, 191, 36, 0.12));
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 0.55rem;
  color: var(--text);
  transition: color 0.25s;
}

.service-card:nth-child(1):hover h3 {
  color: var(--blue);
}

.service-card:nth-child(2):hover h3 {
  color: var(--green-dark);
}

.service-card:nth-child(3):hover h3 {
  color: var(--orange);
}

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

/* ── Portfolio ───────────────────────────────────────────── */
.portfolio {
  padding: 6rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.portfolio-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s;
  box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-card:nth-child(1):hover { border-color: rgba(30, 144, 255, 0.4); }
.portfolio-card:nth-child(2):hover { border-color: rgba(34, 197, 94, 0.4); }
.portfolio-card:nth-child(3):hover { border-color: rgba(249, 115, 22, 0.4); }
.portfolio-card:nth-child(4):hover { border-color: rgba(30, 144, 255, 0.4); }
.portfolio-card:nth-child(5):hover { border-color: rgba(34, 197, 94, 0.4); }
.portfolio-card:nth-child(6):hover { border-color: rgba(249, 115, 22, 0.4); }

/* Browser-style preview area */
.portfolio-preview {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.portfolio-card:nth-child(3n+1) .portfolio-preview { background: linear-gradient(135deg, rgba(30,144,255,0.12), rgba(96,180,255,0.08)); }
.portfolio-card:nth-child(3n+2) .portfolio-preview { background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(74,222,128,0.08)); }
.portfolio-card:nth-child(3n+3) .portfolio-preview { background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(251,191,36,0.08)); }

/* Faux browser bar */
.portfolio-preview::before {
  content: '● ● ●';
  position: absolute;
  top: 0.65rem;
  left: 0.85rem;
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  color: var(--border);
  pointer-events: none;
}

.portfolio-preview-icon {
  font-size: 2.75rem;
  line-height: 1;
  transition: transform 0.35s var(--ease-spring);
}

.portfolio-card:hover .portfolio-preview-icon { transform: scale(1.15); }

.portfolio-preview-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Card body */
.portfolio-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.portfolio-card-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  flex: 1;
  min-width: 0;
}

.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--border);
  color: var(--text-muted);
}

.portfolio-link {
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--blue);
  transition: color 0.2s, gap 0.2s;
  white-space: nowrap;
  margin-left: auto;
}

.portfolio-card:nth-child(3n+2) .portfolio-link { color: var(--green-dark); }
.portfolio-card:nth-child(3n+3) .portfolio-link { color: var(--orange); }

.portfolio-link:hover { opacity: 0.75; }

/* ── CTA / Contact ─────────────────────────────────────────── */

.cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

/* Decorative gradient bg for CTA */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0.6;
}

.cta-inner {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  text-align: center;
  margin: 0 0 0.6rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cta-text {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 8px 40px rgba(30, 144, 255, 0.12);
  border: 1.5px solid var(--border);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.contact-form select {
  appearance: none;
  -webkit-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='%2364748B' stroke-width='2.5' 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 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(30, 144, 255, 0.15);
  transform: translateY(-1px);
  background: var(--surface);
}

.contact-form button {
  margin-top: 0.25rem;
  padding: 1rem;
  font-size: 1.0625rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0 2rem;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand .logo-link {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.footer-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 6.5rem 0 4rem;
  }

  .hero::before {
    width: 400px;
    height: 400px;
  }

  .hero::after {
    width: 350px;
    height: 350px;
  }

  .hero-inner::before {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .contact-form {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .differentiator,
  .how-it-works,
  .pricing,
  .services,
  .cta {
    padding: 4rem 0;
  }
}

/* ── Mobile nav open ────────────────────────────────────────── */
body.nav-open .nav {
  display: flex;
  position: fixed;
  top: 4.2rem;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--surface);
  padding: 1.5rem;
  gap: 0.25rem;
  border-bottom: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

body.nav-open .nav a {
  border-radius: var(--radius);
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}