/* ============================================================
   TEND DIGITAL - Global Stylesheet
   Digital Marketing Agency Sydney
   https://tenddigital.com.au
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-dark: #f8fbfd;
  --bg-alt: #eaf6fb;
  --bg-card: rgba(15, 76, 129, 0.03);
  --accent: #00B4D8;
  --accent-hover: #48CAE4;
  --accent-glow: rgba(0, 180, 216, 0.15);
  --accent-border: rgba(15, 76, 129, 0.1);
  --accent-border-hover: rgba(0, 180, 216, 0.35);
  --text: #1a1a2e;
  --text-muted: #5A7A94;
  --text-faint: #8ca3b5;
  --white: #ffffff;
  --navy: #0F4C81;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 72px;
  --max-w: 1200px;
  --max-w-narrow: 800px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* --- Skip Nav (Accessibility) --- */
.skip-nav {
  position: absolute; top: -100px; left: 0;
  background: var(--accent); color: var(--bg-dark);
  padding: 12px 24px; z-index: 200; font-weight: 600;
  transition: top 0.2s; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-nav:focus { top: 0; }

/* --- Navigation --- */
.site-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 60px; height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent-border);
}
.logo { font-size: 28px; font-weight: 600; }
.logo .tend { color: var(--navy); }
.logo .digital { color: var(--text-muted); font-weight: 300; }

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  color: var(--text); font-size: 15px; font-weight: 400;
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: rgba(0,180,216,0.06); }
.nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--accent)) !important; color: #fff !important;
  padding: 10px 24px !important; border-radius: var(--radius-sm);
  font-weight: 600 !important; font-size: 14px !important;
  transition: background var(--transition) !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 10px; opacity: 0.5; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: rgba(255, 255, 255, 0.98); border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm); padding: 8px 0; min-width: 220px;
  backdrop-filter: blur(12px); box-shadow: 0 12px 40px rgba(15,76,129,0.12);
  z-index: 101;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 14px;
  color: var(--text-muted); transition: all var(--transition);
}
.nav-dropdown-menu a:hover { color: var(--accent); background: rgba(0,180,216,0.06); }

/* Mobile menu */
.mobile-menu-btn {
  display: none; background: none; border: none; padding: 8px; cursor: pointer;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); margin: 5px 0; transition: 0.3s;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px 0 0; font-size: 13px; color: var(--text-faint);
}
.breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; opacity: 0.4; }

/* --- Section Styles --- */
.section { padding: 80px 60px; position: relative; }
.section--dark { background: var(--bg-dark); }
.section--alt { background: var(--bg-alt); }
.section--gradient { background: linear-gradient(135deg, var(--bg-alt), #fff); }

/* Section divider line */
.section-divider {
  height: 1px; border: none; margin: 0;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}

/* Section header */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-label {
  display: inline-block; background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2); border-radius: var(--radius-pill);
  padding: 6px 20px; font-size: 13px; color: var(--accent);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); color: var(--navy);
  margin-bottom: 12px; font-weight: 700; line-height: 1.15;
}
.section-sub {
  color: var(--text-muted); font-size: 16px; font-weight: 300;
  line-height: 1.7; max-width: 600px; margin: 0 auto;
}

/* --- Hero --- */
.hero {
  min-height: 90vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  background: linear-gradient(135deg, #ffffff 0%, #CAF0F8 50%, #ffffff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%); pointer-events: none;
}
.hero-badge {
  background: rgba(0,180,216,0.1); border: 1px solid rgba(0,180,216,0.25);
  border-radius: var(--radius-pill); padding: 8px 24px;
  font-size: 13px; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 64px); font-weight: 700;
  margin-bottom: 24px; line-height: 1.1; color: var(--text);
}
.hero h1 .accent { color: var(--accent); }
.hero .sub {
  font-size: 18px; max-width: 640px; color: var(--text-muted);
  margin-bottom: 36px; line-height: 1.7; font-weight: 300;
}

/* --- Buttons --- */
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--accent)); color: #fff;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; font-family: var(--font);
  transition: all var(--transition); display: inline-block;
  cursor: pointer; border: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,180,216,0.3);
}
.btn-outline {
  border: 1px solid rgba(15,76,129,0.15); color: var(--navy);
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 16px; transition: all var(--transition);
  display: inline-block; background: transparent;
}
.btn-outline:hover { background: rgba(0,180,216,0.08); border-color: var(--accent); color: var(--accent); }
.btn-white {
  background: var(--white); color: var(--bg-dark);
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; transition: all var(--transition);
  display: inline-block;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,255,255,0.15); }

/* --- Trust Badges --- */
.trust-badges {
  margin-top: 40px; display: flex; gap: 28px;
  align-items: center; color: var(--text-faint);
  font-size: 13px; font-weight: 300; flex-wrap: wrap; justify-content: center;
}
.trust-badges span { display: flex; align-items: center; gap: 6px; }
.trust-badges .icon { color: var(--accent); font-size: 16px; }

/* --- Stats Bar --- */
.stats { padding: 48px 60px; background: #fff; border-bottom: 1px solid var(--accent-border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; max-width: 900px; margin: 0 auto; text-align: center;
}
.stat-number {
  font-size: clamp(32px, 3.5vw, 52px); font-weight: 700;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 300; }

/* --- Card Grid --- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: var(--max-w); margin: 0 auto;
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

/* --- Cards --- */
.card {
  background: var(--bg-card); border: 1px solid var(--accent-border);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--accent-border-hover);
  background: rgba(0,180,216,0.04);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(15,76,129,0.08);
}
.card-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,180,216,0.1); border-radius: 12px;
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--navy); font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--text-muted); line-height: 1.7; font-size: 15px; font-weight: 300; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: 14px; font-weight: 500;
  margin-top: 16px; transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* --- Process Steps --- */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; max-width: 1100px; margin: 0 auto;
}
.step { text-align: center; padding: 24px; position: relative; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  border-radius: 50%; color: #fff;
  font-size: 20px; font-weight: 700; margin-bottom: 16px;
}
.step h3 { color: var(--text); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 14px; font-weight: 300; line-height: 1.7; }

/* --- Why Cards --- */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.why-item {
  padding: 32px; background: var(--bg-card);
  border: 1px solid var(--accent-border); border-radius: var(--radius);
  transition: all var(--transition);
}
.why-item:hover { border-color: var(--accent-border-hover); transform: translateY(-2px); }
.why-icon { margin-bottom: 16px; color: var(--accent); }
.why-icon svg { width: 32px; height: 32px; }
.why-item h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; font-weight: 600; }
.why-item p { color: var(--text-muted); font-size: 15px; font-weight: 300; line-height: 1.7; }

/* --- Results / Testimonials --- */
.results-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.result-card {
  background: #fff;
  border: 1px solid var(--accent-border); border-radius: var(--radius);
  padding: 36px; box-shadow: 0 4px 20px rgba(15,76,129,0.06);
}
.result-stat { display: flex; gap: 24px; margin-bottom: 20px; }
.result-stat > div { text-align: center; }
.result-stat .big { font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1; }
.result-stat .label { font-size: 12px; color: var(--text-faint); font-weight: 300; margin-top: 4px; }
.result-card .quote {
  font-size: 15px; line-height: 1.8; font-weight: 300;
  color: var(--text-muted); font-style: italic; margin-bottom: 20px;
}
.result-card .attribution { font-size: 14px; color: var(--accent); font-weight: 500; }
.result-card .attribution span { color: var(--text-faint); font-weight: 300; }

/* --- Pricing --- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto; align-items: stretch;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--accent-border);
  border-radius: var(--radius); padding: 40px 32px; text-align: center;
  transition: all var(--transition); display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--accent); background: #fff;
  transform: scale(1.03); box-shadow: 0 8px 40px rgba(0,180,216,0.12);
}
.pricing-card:hover { border-color: var(--accent-border-hover); transform: translateY(-3px); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-3px); }
.pricing-badge {
  background: linear-gradient(135deg, var(--navy), var(--accent)); color: #fff;
  padding: 4px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; display: inline-block; margin-bottom: 16px;
}
.pricing-card h3 { color: var(--navy); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.pricing-card .price {
  font-size: 14px; color: var(--text-muted); font-weight: 300; margin-bottom: 24px;
}
.pricing-card .features { text-align: left; margin-bottom: 32px; flex: 1; }
.pricing-card .features li {
  padding: 8px 0; font-size: 14px; color: var(--text-muted);
  font-weight: 300; display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid rgba(0,180,216,0.06);
}
.pricing-card .features li:last-child { border-bottom: none; }
.pricing-card .features .check { color: var(--accent); font-weight: 600; flex-shrink: 0; }
.pricing-card .btn-primary { width: 100%; text-align: center; }

/* --- Plan Cards (Industries) --- */
.plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--accent-border); border-radius: var(--radius);
  padding: 40px 24px; text-align: center; transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(15,76,129,0.04);
}
.plan-card:hover { border-color: var(--accent-border-hover); transform: translateY(-3px); }
.plan-icon { font-size: 36px; margin-bottom: 16px; }
.plan-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 10px; font-weight: 600; }
.plan-card p { color: var(--text-muted); font-size: 14px; font-weight: 300; line-height: 1.6; }
.plan-card .card-link { display: block; margin-top: 16px; }

/* --- Locations --- */
.locations-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; max-width: 1000px; margin: 0 auto;
}
.location-tag {
  background: var(--bg-card); border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill); padding: 8px 20px;
  font-size: 14px; color: var(--text); font-weight: 300;
  transition: all var(--transition);
}
.location-tag:hover { border-color: var(--accent-border-hover); background: rgba(0,180,216,0.08); }

/* --- FAQ Accordion --- */
.faq-list { max-width: var(--max-w-narrow); margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--accent-border); }
.faq-item:last-child { border-bottom: none; }
details.faq-item { list-style: none; }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; content: ''; }
.faq-question {
  color: var(--text); font-size: 17px; font-weight: 500;
  padding: 24px 40px 24px 0; cursor: pointer; position: relative;
  display: block; transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 22px; font-weight: 300;
  color: var(--accent); transition: transform 0.3s;
}
details[open] .faq-question::after { content: '\2212'; }
.faq-answer { padding: 0 0 24px; }
.faq-answer p { color: var(--text-muted); font-size: 15px; font-weight: 300; line-height: 1.8; }

/* --- Contact Form --- */
.contact-wrapper { max-width: 680px; margin: 0 auto 40px; }
.contact-form {
  text-align: left; background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius); padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--text); margin-bottom: 6px;
}
.form-group label span { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  background: #fff; border: 1px solid rgba(15,76,129,0.15);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font); font-size: 15px; font-weight: 300;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: #8ca3b5;
}
.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300B4D8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; text-align: center; }
.form-note { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-faint); font-weight: 300; }

/* --- CTA Banner --- */
.cta-banner {
  padding: 64px 60px; text-align: center; position: relative;
  background: linear-gradient(135deg, var(--navy), #1a6ba8);
  border-top: 1px solid var(--accent-border); border-bottom: 1px solid var(--accent-border);
}
.cta-banner h2 { color: #fff !important; }
.cta-banner p { color: rgba(255,255,255,0.8) !important; }
.cta-banner .btn-primary { background: #fff !important; color: var(--navy) !important; }
.cta-banner .btn-primary:hover { box-shadow: 0 4px 20px rgba(255,255,255,0.2); }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.3) !important; color: #fff !important; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff !important; }
.cta-banner h2 {
  font-size: clamp(22px, 3vw, 36px); color: var(--text);
  margin-bottom: 12px; font-weight: 600;
}
.cta-banner p {
  color: var(--text-muted); font-size: 16px; font-weight: 300;
  margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* --- Contact Details --- */
.contact-details {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 32px; flex-wrap: wrap;
}
.contact-detail { text-align: center; }
.contact-detail .label {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-faint); margin-bottom: 4px;
}
.contact-detail .value { color: var(--navy); font-size: 15px; }
.contact-detail .value a { color: var(--navy); }

/* --- Footer --- */
.site-footer {
  padding: 48px 60px 32px; background: #1a1a2e;
  border-top: 1px solid var(--accent-border);
}
.site-footer, .site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--accent-hover); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; max-width: 1100px; margin: 0 auto 32px;
}
.footer-brand .logo { font-size: 20px; margin-bottom: 6px; }
.footer-brand .tagline { color: var(--text-faint); font-size: 13px; margin-bottom: 16px; font-weight: 300; }
.footer-brand .footer-desc { color: var(--text-muted); font-size: 13px; line-height: 1.6; font-weight: 300; }
.footer-col h4 {
  color: var(--accent-hover); font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px; font-weight: 500;
}
.footer-col a {
  display: block; color: var(--text-muted); font-size: 14px;
  margin-bottom: 10px; transition: color var(--transition); font-weight: 300;
}
.footer-col a:hover { color: var(--accent); }
.footer-social {
  display: flex; justify-content: center; gap: 20px;
  max-width: 1100px; margin: 24px auto 0;
}
.footer-social a {
  color: var(--accent); font-size: 14px; opacity: 0.5;
  transition: opacity var(--transition); font-weight: 400;
}
.footer-social a:hover { opacity: 1; }
.footer-bottom {
  text-align: center; padding-top: 24px; margin-top: 24px;
  border-top: 1px solid rgba(0,180,216,0.06);
}
.footer-bottom .copyright { color: var(--text-faint); font-size: 12px; }

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger > *:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger > *:nth-child(10) { transition-delay: 0.72s; }
.reveal-stagger > *:nth-child(11) { transition-delay: 0.8s; }
.reveal-stagger > *:nth-child(12) { transition-delay: 0.88s; }

/* --- Page-specific hero (for subpages) --- */
.page-hero {
  padding: calc(var(--nav-height) + 48px) 60px 56px;
  background: linear-gradient(135deg, #ffffff, #CAF0F8);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 30%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%); pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: var(--text); margin-bottom: 16px; position: relative;
}
.page-hero h1 .accent { color: var(--accent); }
.page-hero .sub {
  font-size: 17px; max-width: 600px; margin: 0 auto 32px;
  color: var(--text-muted); line-height: 1.7; font-weight: 300; position: relative;
}

/* --- Blog Styles --- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; max-width: var(--max-w); margin: 0 auto;
}
.blog-card {
  background: var(--bg-card); border: 1px solid var(--accent-border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
}
.blog-card:hover { border-color: var(--accent-border-hover); transform: translateY(-3px); }
.blog-card-body { padding: 28px; }
.blog-card .category {
  display: inline-block; background: rgba(0,180,216,0.1);
  color: var(--accent); padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 12px;
}
.blog-card h3 { color: var(--text); font-size: 20px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.blog-card h3 a { transition: color var(--transition); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-muted); font-size: 14px; font-weight: 300; line-height: 1.7; margin-bottom: 16px; }
.blog-card .meta { font-size: 13px; color: var(--text-faint); font-weight: 300; }

/* Article page */
.article-content {
  max-width: var(--max-w-narrow); margin: 0 auto;
  padding: 0 20px;
}
.article-content h2 {
  color: var(--navy); font-size: 28px; font-weight: 700;
  margin: 48px 0 16px; line-height: 1.2;
}
.article-content h3 {
  color: var(--text); font-size: 22px; font-weight: 600;
  margin: 32px 0 12px;
}
.article-content p {
  color: var(--text-muted); font-size: 16px; font-weight: 300;
  line-height: 1.8; margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px; list-style: disc;
}
.article-content li {
  color: var(--text-muted); font-size: 16px; font-weight: 300;
  line-height: 1.8; margin-bottom: 8px;
}
.article-content strong { color: var(--text); font-weight: 600; }
.article-content a { color: var(--accent); border-bottom: 1px solid rgba(0,180,216,0.3); }
.article-content a:hover { border-bottom-color: var(--accent); }
.article-meta {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  color: var(--text-faint); font-size: 14px; font-weight: 300;
  margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid var(--accent-border);
}

/* Author box */
.author-box {
  background: var(--bg-card); border: 1px solid var(--accent-border);
  border-radius: var(--radius); padding: 32px;
  margin: 48px 0; display: flex; gap: 20px; align-items: center;
}
.author-box .author-info h4 { color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.author-box .author-info p { color: var(--text-muted); font-size: 14px; font-weight: 300; }

/* Related links */
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px; max-width: var(--max-w); margin: 0 auto;
}

/* --- Utility --- */
.text-center { text-align: center; }
.container { max-width: var(--max-w); margin: 0 auto; }
.email-hint { margin-top: 24px; font-size: 14px; color: var(--text-faint); }
.email-hint a { color: var(--accent); }
.hidden { display: none !important; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .site-nav { padding: 0 24px; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
    flex-direction: column; background: rgba(255,255,255,0.98);
    padding: 16px 24px; gap: 4px; border-bottom: 1px solid var(--accent-border);
  }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-cta { margin-left: 0 !important; width: 100%; text-align: center !important; }
  .nav-dropdown-menu {
    position: static; border: none; box-shadow: none;
    background: transparent; padding: 0 0 0 16px; min-width: auto;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
  .mobile-menu-btn { display: block; }

  .section { padding: 56px 24px; }
  .page-hero { padding: calc(var(--nav-height) + 32px) 24px 40px; }
  .hero { min-height: 80vh; padding: calc(var(--nav-height) + 24px) 20px 48px; }
  .hero h1 { font-size: clamp(28px, 6vw, 44px); }
  .stats { padding: 40px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid { grid-template-columns: 1fr; max-width: 500px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-3px); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .trust-badges { flex-direction: column; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .contact-details { flex-direction: column; gap: 20px; }
  .cta-banner { padding: 48px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: center; width: 100%; }
  .btn-row .btn-primary, .btn-row .btn-outline { width: 100%; text-align: center; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .section-header { margin-bottom: 40px; }
}

/* --- Noscript fallback --- */
noscript .reveal { opacity: 1; transform: none; }

/* ============================================================
   AI REALITY CHECK SECTION (homepage — post-hero problem block)
   ============================================================ */
.section--reality {
  padding: 96px 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 180, 216, 0.06), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(15, 76, 129, 0.05), transparent 40%),
    var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.section--reality::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border-hover), transparent);
}
.reality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.reality-card {
  background: var(--white);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.reality-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border-hover);
  box-shadow: 0 20px 50px rgba(15, 76, 129, 0.08);
}
.reality-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: var(--white);
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.25);
}
.reality-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.reality-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
}
.reality-cta {
  margin-top: 56px;
  text-align: center;
  padding: 36px 28px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.04), rgba(0, 180, 216, 0.04));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.reality-cta p {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 300;
}
.reality-cta p strong { color: var(--navy); font-weight: 600; }

@media (max-width: 720px) {
  .section--reality { padding: 64px 0; }
  .reality-card { padding: 28px 24px; }
  .reality-cta { padding: 28px 20px; margin-top: 40px; }
  .reality-cta p { font-size: 16px; }
}
