/* ============================================
   SynthBridge Consulting — Dark Premium + Dynamic
   Full dark theme with glassmorphism & gold accents
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #060d1b;
  --bg-secondary: #0a1628;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-hover: rgba(212,160,23,0.3);
  --text-primary: #f1f5f9;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.4);
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #b8860b;
  --gold-glow: rgba(212,160,23,0.15);
  --royal: #2563eb;
  --royal-light: #3b82f6;
  --navy: #0a1a2f;
  --blue: #1e3a5f;
  --white: #ffffff;
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --transition: 0.4s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg-primary);
}

/* --- Gradient Text Utility --- */
.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section Divider Lines --- */
section {
  position: relative;
}

section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.25), transparent);
}

/* --- No Cache Meta (applied via HTML) --- */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.35), 0 0 40px var(--gold-glow);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--royal-light);
  border-color: var(--royal);
}

.btn-outline:hover {
  background: var(--royal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

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

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

/* --- Section Titles --- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--gold-glow);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 60px;
}

.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(6, 13, 27, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--glass-border), 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.nav-logo svg {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width var(--transition);
  box-shadow: 0 0 8px var(--gold-glow);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #081224 40%, var(--bg-secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 8s ease-in-out infinite reverse;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

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

.hero-content {
  color: var(--white);
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid var(--glass-border-hover);
  border-radius: 30px;
  background: rgba(212, 160, 23, 0.06);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 .gold {
  color: var(--gold);
  text-shadow: 0 0 30px var(--gold-glow);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 480px;
}

/* Animated bridge graphic */
.bridge-visual {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
}

.bridge-visual svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.data-particle {
  animation: flowAcross 3s ease-in-out infinite;
  opacity: 0;
}

.data-particle:nth-child(2) { animation-delay: 0.5s; }
.data-particle:nth-child(3) { animation-delay: 1s; }
.data-particle:nth-child(4) { animation-delay: 1.5s; }
.data-particle:nth-child(5) { animation-delay: 2s; }

@keyframes flowAcross {
  0% { opacity: 0; transform: translateX(-20px); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(20px); }
}

/* --- Trusted By / Stats --- */
.stats-bar {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-bar::before {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 0 30px var(--gold-glow);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Services --- */
.services {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.4s ease;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--royal));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px) perspective(1000px) rotateX(2deg);
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.3),
    0 0 40px var(--gold-glow),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.12);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.service-link:hover {
  color: var(--gold-light);
}

.service-link:hover::after {
  width: 100%;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* 6-card grid: clean 2 rows of 3, no special centering needed */

.services-bottom-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 30px auto 0;
}

/* --- AI Spotlight --- */
.ai-spotlight {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.ai-spotlight::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.04) 0%, transparent 60%);
  border-radius: 50%;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-spotlight .section-title {
  color: var(--white);
}

.ai-spotlight .section-subtitle {
  color: var(--text-secondary);
}

.ai-features {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.ai-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.ai-feature:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.ai-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.ai-feature h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ai-feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ai-visual {
  display: flex;
  justify-content: center;
}

.ai-graphic {
  width: 100%;
  max-width: 420px;
  opacity: 0.9;
}

/* --- Why Choose Us --- */
.why-us {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

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

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 0 30px var(--gold-glow);
  transform: translateY(-4px);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: rgba(212, 160, 23, 0.06);
  border: 2px solid rgba(212, 160, 23, 0.15);
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  border-color: var(--glass-border-hover);
  background: rgba(212, 160, 23, 0.1);
  box-shadow: 0 0 20px var(--gold-glow);
}

.why-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Blog Preview --- */
.blog-preview {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.3),
    0 0 30px var(--gold-glow);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, #0a1628, #122040);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image svg {
  width: 64px;
  height: 64px;
  color: rgba(212, 160, 23, 0.2);
}

.blog-card-image .blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(212, 160, 23, 0.3);
}

.blog-card-body {
  padding: 28px 24px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-card h3 a:hover {
  color: var(--gold);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.blog-card .read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.blog-card .read-more:hover {
  color: var(--gold-light);
}

.blog-card .read-more:hover::after {
  width: 100%;
}

.blog-more {
  text-align: center;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Override the section divider for cta-banner */
.cta-banner + section::before,
section + .cta-banner::before {
  display: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: var(--bg-primary);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(6, 13, 27, 0.7);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--bg-primary);
  color: var(--gold);
  border-color: var(--bg-primary);
}

.cta-banner .btn-primary:hover {
  background: #0a1628;
  border-color: #0a1628;
  box-shadow: 0 8px 30px rgba(6, 13, 27, 0.4);
}

/* --- Contact Section --- */
.contact {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding-top: 20px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-detail a {
  color: var(--gold);
}

.contact-detail a:hover {
  color: var(--gold-light);
}

.contact-form {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group 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='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 0 20px rgba(212, 160, 23, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background: #040a15;
  color: var(--text-secondary);
  padding: 80px 0 0;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 320px;
  color: var(--text-muted);
}

.footer h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text-muted);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* --- Blog Post Page --- */
.blog-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.blog-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.blog-hero .section-label {
  margin-bottom: 16px;
}

.blog-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  max-width: 800px;
}

.blog-meta {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 24px;
  align-items: center;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-content {
  padding: 80px 0;
  background: var(--bg-primary);
}

.blog-content .container {
  max-width: 800px;
}

.blog-content h2 {
  font-size: 1.8rem;
  margin: 48px 0 20px;
  color: var(--text-primary);
}

.blog-content h3 {
  font-size: 1.3rem;
  margin: 36px 0 16px;
  color: var(--text-primary);
}

.blog-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.blog-content ul, .blog-content ol {
  margin: 20px 0;
  padding-left: 24px;
}

.blog-content li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 8px;
}

.blog-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin: 32px 0;
  background: rgba(212, 160, 23, 0.04);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.blog-content strong {
  color: var(--text-primary);
}

.blog-content a:not(.btn) {
  color: var(--gold);
  position: relative;
}

.blog-content a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.blog-content a:not(.btn):hover {
  color: var(--gold-light);
}

.blog-content a:not(.btn):hover::after {
  width: 100%;
}

.blog-cta {
  margin-top: 60px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: center;
  color: var(--white);
  backdrop-filter: blur(12px);
}

.blog-cta h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.blog-cta p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Blog listing page */
.blog-listing {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
  .hero-grid { gap: 40px; }
  .ai-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 70px 0; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  /* Mobile menu */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 13, 27, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav-links.active .nav-cta {
    display: block;
    padding-top: 16px;
    border-bottom: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-bottom-row { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-listing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .blog-hero h1 { font-size: 2rem; }
  .cta-banner h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stat-item h3 { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
}
