@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --background: #0a0e27;
  --foreground: #f8fafc;
  --card: #0d1230;
  --card-foreground: #f8fafc;
  --primary: #00ffff;
  --primary-foreground: #0a0e27;
  --secondary: #008080;
  --muted: #131830;
  --muted-foreground: #94a3b8;
  --accent: #00ffff;
  --border: #1a2040;
  --input: #1a2040;
  --radius: 0.75rem;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  line-height: 1.625;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.3; }
p  { line-height: 1.625; max-width: 65ch; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: 6rem; }
.section--lg { padding-block: 8rem; }
.section--top { padding-top: 8rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* ============================================================
   COMPONENTS — GLOWS & EFFECTS
   ============================================================ */
.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transition: box-shadow var(--duration-normal) var(--ease-out-expo);
}
.glow-intense { box-shadow: 0 0 40px rgba(0, 255, 255, 0.8) !important; }

.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.2);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================================
   COMPONENTS — BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--duration-normal) var(--ease-out-expo);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,255,255,0.4);
}
.btn-primary:hover { box-shadow: 0 0 40px rgba(0,255,255,0.7); transform: translateY(-2px); }
.btn-outline {
  background: rgba(10,14,39,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,255,255,0.25);
  color: var(--foreground);
}
.btn-outline:hover { background: rgba(0,255,255,0.08); border-color: rgba(0,255,255,0.5); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; height: 3.5rem; }

/* ============================================================
   COMPONENTS — CARDS
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: border-color var(--duration-normal);
}
.card:hover { border-color: rgba(0,255,255,0.4); }

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--card);
  border: 1px solid rgba(0,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--duration-normal);
}
.card:hover .card-icon { box-shadow: 0 0 20px rgba(0,255,255,0.4); }

/* ============================================================
   COMPONENTS — NOISE OVERLAY
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-animated {
  background: linear-gradient(-45deg,#0a0e27,rgba(0,255,255,0.15),#0d1230,#0a0e27);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { opacity: 0; }
.animate-in.visible { animation: fadeInUp 0.6s var(--ease-out-expo) forwards; }
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }

@keyframes pulseShadow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,255,255,0.5); }
  50%       { box-shadow: 0 0 40px rgba(0,255,255,0.9); }
}
.btn-primary { animation: pulseShadow 2.5s ease-in-out infinite; }
.btn-primary:hover { animation: none; }

@keyframes arrowTravel {
  0%   { stroke-dashoffset: 900; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ============================================================
   TECH GRID PATTERN
   ============================================================ */
.tech-pattern {
  background-image:
    linear-gradient(rgba(0,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,14,39,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  transition: opacity var(--duration-fast);
}
.site-logo:hover { opacity: 0.85; }
.logo-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--duration-fast);
  position: relative;
  padding: 0.5rem 0.25rem;
}
.site-nav a:hover,
.site-nav a.current-menu-item { color: var(--foreground); }
.site-nav a.current-menu-item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0,255,255,0.6);
}
.header-cta { display: block; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu {
  display: none;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  transition: color var(--duration-fast);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

@media (max-width: 767px) {
  .site-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { transition: color var(--duration-fast); }
.footer-nav a:hover { color: var(--primary); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
  background: var(--background);
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-block: 5rem;
}
.hero-badge { margin-bottom: 2rem; }
.hero h1 { margin-bottom: 1.5rem; color: var(--foreground); }
.hero h1 span { color: var(--primary); text-shadow: 0 0 30px rgba(0,255,255,0.4); }
.hero-sub {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-inline: auto;
  font-weight: 500;
}
.hero-sub span { color: var(--primary); font-weight: 600; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 10rem;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 10;
  pointer-events: none;
}

/* Graph SVG */
.graph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

/* Animated arrow on trend line */
.arrow-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: arrowTravel 4s ease-in-out infinite;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
}
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin-inline: auto;
}
.page-glow-l {
  position: absolute;
  top: 25%; left: -4rem;
  width: 24rem; height: 24rem;
  background: rgba(0,255,255,0.07);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.page-glow-r {
  position: absolute;
  bottom: 25%; right: -4rem;
  width: 24rem; height: 24rem;
  background: rgba(0,128,128,0.07);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

/* ============================================================
   EXPERTISE / SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color var(--duration-normal), transform var(--duration-slow) var(--ease-out-expo);
}
.service-card:hover { border-color: rgba(0,255,255,0.4); transform: translateY(-4px); }
.service-card .card-icon svg { width: 1.75rem; height: 1.75rem; color: var(--primary); }

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--duration-normal), transform var(--duration-slow) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover { border-color: rgba(0,255,255,0.4); transform: translateY(-4px); }
.portfolio-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--muted);
}
.portfolio-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
.portfolio-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--muted), var(--card));
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-thumb-placeholder span {
  font-size: 3rem;
  opacity: 0.3;
}
.portfolio-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.portfolio-results {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.result-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.portfolio-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--duration-fast);
}
.portfolio-card:hover .portfolio-cta { gap: 0.6rem; }

/* ============================================================
   PORTFOLIO MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,14,39,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid rgba(0,255,255,0.25);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 60px rgba(0,255,255,0.12);
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(10,14,39,0.5);
  border: none;
  color: var(--muted-foreground);
  border-radius: 50%;
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: color var(--duration-fast);
  font-size: 1.25rem;
}
.modal-close:hover { color: var(--primary); }
.modal-image {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  opacity: 0.8;
}
.modal-body { padding: 2rem; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1rem; }
.modal-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; }
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.7s;
}
.about-photo:hover img { filter: grayscale(0); }
.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent);
  opacity: 0.6;
}
.about-quote {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.about-text { color: var(--muted-foreground); font-size: 1.0625rem; margin-bottom: 1rem; max-width: none; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 5rem; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--duration-normal);
}
.stat-card:hover { border-color: rgba(0,255,255,0.4); }
.stat-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: rgba(0,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.stat-value { font-size: 2rem; font-weight: 800; color: var(--foreground); }
.stat-label { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 500; }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all var(--duration-normal);
}
.skill-item:hover {
  border-color: rgba(0,255,255,0.35);
  background: rgba(0,255,255,0.04);
  color: var(--primary);
}
.skill-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: color var(--duration-fast);
}
.skill-item:hover .skill-icon { color: var(--primary); border-color: rgba(0,255,255,0.3); }

.certs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.cert-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  cursor: pointer;
  transition: all var(--duration-normal);
}
.cert-card:hover { border-color: rgba(0,255,255,0.4); box-shadow: 0 0 20px rgba(0,255,255,0.12); }
.cert-icon {
  width: 4rem; height: 4rem;
  border-radius: 0.75rem;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.cert-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.25rem; }
.cert-sub { font-size: 0.875rem; color: var(--muted-foreground); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}
.search-wrap { position: relative; }
.search-wrap input {
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9375rem;
  width: 18rem;
  transition: border-color var(--duration-fast);
  outline: none;
}
.search-wrap input:focus { border-color: rgba(0,255,255,0.5); }
.search-wrap input::placeholder { color: var(--muted-foreground); }
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color var(--duration-normal), transform var(--duration-slow) var(--ease-out-expo);
  display: flex; flex-direction: column;
  height: 100%;
}
.blog-card:hover { border-color: rgba(0,255,255,0.4); transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out-expo); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-category {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(10,14,39,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-date {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.75rem;
}
.blog-title {
  font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem;
  transition: color var(--duration-fast);
  line-height: 1.4;
}
.blog-card:hover .blog-title { color: var(--primary); }
.blog-excerpt { color: var(--muted-foreground); font-size: 0.9375rem; flex: 1; margin-bottom: 1.25rem; max-width: none; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--primary);
  border-top: 1px solid var(--border); padding-top: 1rem;
}
.blog-card:hover .blog-read-more { gap: 0.5rem; }

.blog-empty {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; margin-inline: auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color var(--duration-normal);
}
.faq-item.open { border-color: rgba(0,255,255,0.4); }
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--duration-fast);
}
.faq-trigger:hover { color: var(--primary); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
}
.faq-item.open .faq-content { max-height: 500px; }
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: none;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.form-input, .form-textarea, .form-select {
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--duration-fast);
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(0,255,255,0.5);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted-foreground); }
.form-textarea { min-height: 9rem; resize: vertical; }

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 2.5rem; height: 2.5rem;
  background: rgba(0,255,255,0.08);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.info-label { font-size: 0.8125rem; color: var(--muted-foreground); margin-bottom: 0.2rem; }
.info-value { font-size: 0.9375rem; color: var(--foreground); }
.info-value a { transition: color var(--duration-fast); }
.info-value a:hover { color: var(--primary); }

.why-card {
  background: linear-gradient(135deg, rgba(0,255,255,0.06), rgba(0,128,128,0.06));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}
.why-list { display: flex; flex-direction: column; gap: 0.75rem; }
.why-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.9375rem; color: var(--muted-foreground);
}
.why-bullet { color: var(--primary); margin-top: 0.2rem; flex-shrink: 0; }

/* Form success state */
.form-success {
  display: none;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--primary);
  margin-top: 1rem;
}
.form-success.show { display: block; }

/* ============================================================
   BLOG SINGLE
   ============================================================ */
.post-content { max-width: 48rem; margin-inline: auto; padding-block: 3rem; }
.post-content h1, .post-content h2, .post-content h3 { margin-bottom: 1rem; margin-top: 2rem; }
.post-content p { margin-bottom: 1.25rem; color: var(--muted-foreground); }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--muted-foreground); }
.post-content li { margin-bottom: 0.5rem; list-style: disc; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .blog-header { flex-direction: column; align-items: flex-start; }
  .search-wrap input { width: 100%; }
}
