/* ============================================================
   4LABS — Main Stylesheet
   Fonts: Syne (display) + DM Sans (body)
   Palette: Deep navy, electric teal, warm white, slate
   ============================================================ */

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

:root {
  --navy:        #0b1120;
  --navy-mid:    #111d33;
  --navy-light:  #1a2d4f;
  --teal:        #00c2b3;
  --teal-dim:    #009e91;
  --teal-pale:   #e6faf8;
  --white:       #f8fafc;
  --off-white:   #eef2f7;
  --slate:       #8899b0;
  --slate-light: #c4cfd9;
  --text:        #1a2538;
  --text-muted:  #5a6a7e;
  --accent:      #3b82f6;
  --accent-warm: #f59e0b;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow-sm:   0 2px 8px rgba(11,17,32,0.08);
  --shadow-md:   0 6px 24px rgba(11,17,32,0.12);
  --shadow-lg:   0 16px 48px rgba(11,17,32,0.18);
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'IBM Plex Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --header-h:    68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
.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; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }
.container-wide   { max-width: 1400px; }

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
p  { color: var(--text-muted); font-size: 1.05rem; max-width: 68ch; }

.label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 12px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-sm  { padding: 8px 18px; font-size: 0.85rem; border-radius: 8px; }
.btn-lg  { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dim); border-color: var(--teal-dim); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,194,179,0.28); }

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-ghost { background: var(--off-white); color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: var(--slate-light); }

.btn-ghost-white { background: transparent; color: rgba(255,255,255,0.7); border-color: transparent; }
.btn-ghost-white:hover { color: var(--white); }

.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-1px); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(248,250,252,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11,17,32,0.07);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(248,250,252,0.97);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; }
.logo-white { display: none; }

.main-nav { flex: 1; }
.nav-list  { display: flex; align-items: center; gap: 4px; }
.nav-item  { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--off-white); }
.chevron { font-size: 0.7rem; margin-left: 2px; transition: transform var(--transition); }

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--off-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron {
  transform: rotate(180deg);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.dropdown-link:hover { color: var(--navy); background: var(--off-white); }
.dropdown-highlight { color: var(--teal) !important; font-weight: 600; }
.dropdown-highlight:hover { background: var(--teal-pale) !important; }
.badge-new {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,17,32,0.5);
  z-index: 998;
  backdrop-filter: blur(4px);
}

/* ── Page Content Offset ─────────────────────────────────── */
.page-body { padding-top: var(--header-h); }

/* ── Section Spacing ─────────────────────────────────────── */
section, .section { padding: 80px 0; }
.section-sm  { padding: 48px 0; }
.section-lg  { padding: 120px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-teal-pale { background: var(--teal-pale); }
.section-offwhite  { background: var(--off-white); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(0,194,179,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(59,130,246,0.08) 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero p { color: rgba(255,255,255,0.72); font-size: 1.15rem; margin-bottom: 36px; max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { position: relative; z-index: 2; }
.hero-image img { border-radius: var(--radius-lg); }
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-pale); }

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--off-white);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 0.8rem;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-label { color: var(--teal); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.card h4 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; }

/* ── Section Header ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.left { text-align: left; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { margin: 0 auto; }
.section-header.left p { margin: 0; }

/* ── Stats Row ───────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}
.stat-item .stat-number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.stat-item .stat-label  { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Feature Grid ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-item {
  background: var(--navy-mid);
  padding: 40px 32px;
  transition: background var(--transition);
}
.feature-item:hover { background: var(--navy-light); }
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(0,194,179,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.feature-item h4 { color: var(--white); margin-bottom: 10px; }
.feature-item p  { color: rgba(255,255,255,0.6); font-size: 0.92rem; }

/* ── Testimonial ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.75;
}
.testimonial-card blockquote::before { content: '"'; font-family: var(--font-display); font-size: 4rem; color: var(--teal); line-height: 0.6; display: block; margin-bottom: 16px; }
.testimonial-author strong { display: block; font-weight: 600; color: var(--navy); }
.testimonial-author span   { font-size: 0.88rem; color: var(--text-muted); }

/* ── CTA Strip ───────────────────────────────────────────── */
.cta-strip {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,194,179,0.15) 0%, transparent 70%);
}
.cta-strip h2, .cta-strip h3 { color: var(--white); position: relative; z-index: 1; }
.cta-strip p { color: rgba(255,255,255,0.7); position: relative; z-index: 1; margin: 0 auto 32px; }
.cta-strip .btn { position: relative; z-index: 1; }

/* ── Numbered List ───────────────────────────────────────── */
.numbered-list { display: flex; flex-direction: column; gap: 0; }
.numbered-item {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--off-white);
  align-items: flex-start;
}
.numbered-item:last-child { border-bottom: none; }
.numbered-item .num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.numbered-item h4 { margin-bottom: 8px; }
.numbered-item p  { margin: 0; }

/* ── Portfolio Builder Specific ──────────────────────────── */
.pb-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e3a 60%, #0e2240 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.pb-hero::after {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,194,179,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.template-card {
  background: var(--white);
  border: 2px solid var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}
.template-card:hover { border-color: var(--teal); box-shadow: 0 8px 32px rgba(0,194,179,0.15); transform: translateY(-4px); }
.template-card.selected { border-color: var(--teal); box-shadow: 0 8px 32px rgba(0,194,179,0.2); }
.template-preview {
  aspect-ratio: 16/10;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate);
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}
.template-preview img { width: 100%; height: 100%; object-fit: cover; }
.template-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}
.template-info { padding: 20px 24px; }
.template-info h4 { margin-bottom: 6px; }
.template-info p  { font-size: 0.88rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 12px 48px rgba(0,194,179,0.15);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 99px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin: 20px 0 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-period { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--text);
  border-bottom: 1px solid var(--off-white);
}
.pricing-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── Form Styles ─────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--off-white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,194,179,0.12); }
.form-control::placeholder { color: var(--slate-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6a7e' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 0.82rem; color: #e53e3e; margin-top: 5px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.93rem;
}
.alert-success { background: #e6faf8; color: #0d7a70; border: 1px solid #a7e8e2; }
.alert-error   { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }
.alert-info    { background: #ebf4ff; color: #2b6cb0; border: 1px solid #bee3f8; }

/* ── Dashboard ───────────────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-h));
}
.dashboard-sidebar {
  background: var(--navy);
  padding: 32px 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.sidebar-nav-link:hover, .sidebar-nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--teal);
}
.dashboard-main { padding: 40px; background: var(--off-white); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-tagline { font-size: 0.92rem; margin: 16px 0 24px; color: rgba(255,255,255,0.5); }
.footer-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.footer-newsletter .newsletter-row { display: flex; gap: 8px; }
.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}
.footer-newsletter input:focus { border-color: var(--teal); }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-sub  { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-sub a { color: var(--teal); }

/* ── Utility Classes ─────────────────────────────────────── */
.text-center  { text-align: center; }
.text-teal    { color: var(--teal); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: var(--white); }
.text-navy    { color: var(--navy); }
.fw-700       { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.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; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.placeholder-img {
  background: var(--off-white);
  border: 2px dashed var(--slate-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 0.8rem;
  padding: 16px;
  text-align: center;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

.animate-fade-up  { animation: fadeInUp 0.55s ease both; }
.animate-delay-1  { animation-delay: 0.1s; }
.animate-delay-2  { animation-delay: 0.2s; }
.animate-delay-3  { animation-delay: 0.3s; }
.animate-delay-4  { animation-delay: 0.4s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  section, .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .cta-strip { padding: 40px 24px; }

  .main-nav, .header-actions { display: none; }
  .mobile-menu-toggle { display: flex; }

  /* Mobile nav open state */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    z-index: 999;
    padding: 16px 0 24px;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open .nav-list { flex-direction: column; gap: 0; padding: 0 16px; }
  .main-nav.open .nav-link { width: 100%; justify-content: space-between; padding: 12px 16px; }
  .main-nav.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    border-radius: var(--radius);
    margin: 4px 0 8px;
    padding: 4px;
  }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .pricing-grid, .templates-grid, .card-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .newsletter-row { flex-direction: column; }
}

