/* ============================================================
   RYSE INTELLIGENCE — Main Stylesheet
   Design: Futuristic dark theme with glassmorphism
   Fonts: Exo (headings) + Inter (body)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-base:        #07091A;
  --bg-secondary:   #0D1130;
  --bg-card:        rgba(255, 255, 255, 0.04);
  --bg-card-hover:  rgba(255, 255, 255, 0.07);

  --primary:        #0EA5E9;
  --primary-light:  #38BDF8;
  --primary-dark:   #0284C7;
  --purple:         #7C3AED;
  --purple-light:   #A78BFA;
  --cta:            #F97316;
  --cta-hover:      #EA6C0A;

  --text-primary:   #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;

  --border:         rgba(255, 255, 255, 0.08);
  --border-hover:   rgba(14, 165, 233, 0.35);

  --gradient:       linear-gradient(135deg, #0EA5E9 0%, #7C3AED 100%);
  --gradient-text:  linear-gradient(135deg, #38BDF8 0%, #A78BFA 100%);
  --gradient-glow:  linear-gradient(135deg, rgba(14,165,233,0.3) 0%, rgba(124,58,237,0.3) 100%);

  --blur:           blur(16px);
  --blur-sm:        blur(8px);

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  --shadow-card:    0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow:    0 0 40px rgba(14, 165, 233, 0.15);

  --transition:     0.25s ease;
  --transition-speed: 250ms;

  --nav-height:     72px;
  --container-max:  1160px;
  --container-pad:  clamp(1.25rem, 5vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary); }
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0.75rem 0 1rem;
}

.section-subtext {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Text Gradient ---------- */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Badge ---------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.5rem;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Exo', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  padding: 0.65rem 1.4rem;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.45);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid rgba(14, 165, 233, 0.4);
}
.btn-outline:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg { padding: 0.8rem 1.8rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.2rem; font-size: 1.05rem; border-radius: var(--radius-lg); }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--delay, 0ms);
  }
  .animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-height);
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 9, 26, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: 'Exo', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.logo-accent { color: var(--primary-light); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-right: 1rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: border-color var(--transition);
}
.nav-toggle:hover { border-color: var(--border-hover); }
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(14, 165, 233, 0.12);
  top: -100px;
  right: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.1);
  bottom: 0;
  left: -50px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}
.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 70%);
  bottom: 20%;
  left: 8%;
  animation-delay: -3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .badge-dot { animation: none; }
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* Hero Visual Card */
.hero-visual { display: flex; justify-content: center; }

.hero-card {
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-dots {
  display: flex;
  gap: 5px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.score-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-value {
  position: absolute;
  font-family: 'Exo', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-items { width: 100%; display: flex; flex-direction: column; gap: 0.75rem; }
.score-item { display: flex; flex-direction: column; gap: 0.3rem; }
.score-bar-label { font-size: 0.75rem; color: var(--text-secondary); }
.score-bar {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 1s ease;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(13, 17, 48, 0.5);
  backdrop-filter: var(--blur-sm);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem 3rem;
  flex: 1;
  min-width: 200px;
}

.stat-number {
  display: block;
  font-family: 'Exo', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 180px;
  margin: 0 auto;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-points { background: var(--bg-secondary); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.pain-card {
  padding: 1.75rem;
  cursor: default;
}

.pain-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 1.1rem;
}

.pain-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-style: italic;
  color: var(--text-primary);
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   SOLUTION
   ============================================================ */
.solution { overflow: hidden; }

.solution-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.solution-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.solution-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  position: relative;
  z-index: 1;
}

.solution-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.feature-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-secondary); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  padding-top: 2rem;
}

.process-line {
  position: absolute;
  top: 52px;
  left: calc(50% / 3);
  right: calc(50% / 3);
  height: 2px;
  background: linear-gradient(90deg, rgba(14,165,233,0.4), rgba(124,58,237,0.4));
  pointer-events: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Exo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--gradient);
  border-radius: 50%;
  color: #fff;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-card {
  padding: 1.75rem;
  width: 100%;
  text-align: left;
}

.step-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.step-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.step-checklist li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding-left: 1.3rem;
  position: relative;
}
.step-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.process-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ============================================================
   CREDIBILITY
   ============================================================ */
.cred-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.cred-companies-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.company-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.company-logo-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.company-logo-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.company-name {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.company-logo-item:hover .company-name { color: var(--text-primary); }

.cred-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cred-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cred-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  margin-top: 0.1rem;
}

.cred-point h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.cred-point p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.disclaimer-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 3.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.disclaimer-box svg { flex-shrink: 0; margin-top: 0.1rem; color: var(--text-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { overflow: hidden; }

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  width: 900px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.cta-card .section-badge { margin-bottom: 1rem; }

.cta-content h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 1.1rem;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-note {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--bg-secondary); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem;
  text-decoration: none;
  cursor: pointer;
}
.contact-card:hover { color: inherit; }

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
}

/* ============================================================
   BLOG PREVIEW / LISTING
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
}

.blog-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  width: fit-content;
}

.blog-card-body h3,
.blog-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.blog-card-body h3 a,
.blog-card-title a {
  color: var(--text-primary);
  text-decoration: none;
}
.blog-card-body h3 a:hover,
.blog-card-title a:hover {
  color: var(--primary-light);
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.blog-meta time {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.read-more:hover { gap: 0.5rem; color: var(--primary); }

.blog-preview-footer {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   PAGE HERO (Blog, Single)
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  overflow: hidden;
  background: var(--bg-secondary);
}

.page-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero-content .section-badge { margin-bottom: 1rem; }
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.page-hero-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   BLOG POST SINGLE
   ============================================================ */
.post-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  background: var(--bg-secondary);
  overflow: hidden;
}
.post-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.post-hero-content h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin: 0.75rem 0 1rem;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.post-meta time, .reading-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 640px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

.post-feature-img {
  padding: 2.5rem 0 0;
}
.post-feature-img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  align-items: start;
}

/* Prose styles */
.prose {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 72ch;
}

.prose h2, .prose h3, .prose h4 {
  color: var(--text-primary);
  margin: 2em 0 0.75em;
}
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }

.prose p { margin-bottom: 1.4em; }

.prose a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul, .prose ol {
  margin: 1em 0 1.4em 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-style: italic;
  margin: 1.5em 0;
}

.prose pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1.5em 0;
}

.prose code {
  font-family: 'Roboto Mono', 'Consolas', monospace;
  font-size: 0.87em;
  color: var(--primary-light);
  background: rgba(14,165,233,0.08);
  border-radius: 4px;
  padding: 0.15em 0.4em;
}
.prose pre code {
  background: none;
  padding: 0;
  color: var(--text-secondary);
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  padding: 1.5rem;
}
.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.sidebar-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}
.sidebar-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}
.sidebar-card .btn { width: 100%; justify-content: center; }

.related-posts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.related-posts li a {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.related-posts li a:hover { color: var(--primary-light); }

.post-footer {
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 5rem 1.5rem;
  color: var(--text-muted);
}
.empty-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.empty-state p { font-size: 0.9rem; max-width: 400px; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3.5rem var(--container-pad) 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.footer-brand { max-width: 340px; }
.footer-logo { margin-bottom: 0.75rem; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.footer-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.5rem var(--container-pad);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   BLOG LIST
   ============================================================ */
.blog-list-section { padding-top: 3rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 768–1024px */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .hero-card {
    max-width: 100%;
    max-width: 420px;
  }

  .solution-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 0;
  }
  .process-line { display: none; }
  .process-step { flex-direction: row; align-items: flex-start; text-align: left; }
  .step-card { flex: 1; }

  .cred-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-row { gap: 0; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { min-width: 140px; padding: 1rem 1.5rem; }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(7, 9, 26, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: var(--blur);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem var(--container-pad) 2rem;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 40;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    margin-right: 0;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
    padding: 0.8rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn { justify-content: center; }

  .hero-visual { display: none; }

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

  .process-step { flex-direction: column; align-items: flex-start; }

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

  .company-logos {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

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

  .post-sidebar { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr; }
  .footer-container { padding: 2.5rem var(--container-pad) 1.5rem; }

  .hero-stats { margin-top: 3rem; }

  .blog-grid, .blog-grid-full {
    grid-template-columns: 1fr;
  }

  .cta-card { padding: 2rem 1.5rem; }

  .section-header { margin-bottom: 2.5rem; }
}

/* Large screens */
@media (min-width: 1400px) {
  :root {
    --container-max: 1280px;
  }
}
