/*!
Theme Name: Jaimin Thaker
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jaimin-thaker
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Jaimin Thaker is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/* ===== Design Tokens ===== */
:root {
  --background: hsl(220, 20%, 6%);
  --foreground: hsl(210, 20%, 92%);
  --card: hsl(220, 18%, 10%);
  --card-foreground: hsl(210, 20%, 92%);
  --primary: hsl(187, 80%, 48%);
  --primary-foreground: hsl(220, 20%, 6%);
  --secondary: hsl(220, 16%, 16%);
  --secondary-foreground: hsl(210, 20%, 85%);
  --muted: hsl(220, 14%, 14%);
  --muted-foreground: hsl(215, 12%, 55%);
  --accent: hsl(220, 16%, 18%);
  --accent-foreground: hsl(210, 20%, 92%);
  --destructive: hsl(0, 72%, 51%);
  --border: hsl(220, 14%, 18%);
  --ring: hsl(187, 80%, 48%);
  --glass: hsl(220, 18%, 12%);
  --glass-border: hsl(220, 14%, 22%);
  --gradient-start: hsl(187, 80%, 48%);
  --gradient-end: hsl(199, 89%, 48%);
  --radius: 0.75rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
code, .font-mono { font-family: 'JetBrains Mono', monospace; }


.grid-bg {
  position: relative;
  overflow: hidden;
}

/* Grid pattern layer */
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;

  pointer-events: none;
}

/* Ensure content stays above */
.grid-bg > * {
  position: relative;
  z-index: 2;
}
/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== Utility ===== */
.section-padding { padding: 6rem 0; }
@media (min-width: 768px) { .section-padding { padding: 8rem 0; } }

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--primary); }
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-destructive { color: var(--destructive); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.bg-card-30 { background: hsla(220, 18%, 10%, 0.3); }

.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== Glass Card ===== */
.glass-card {
  background: hsla(220, 18%, 10%, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.glass-card-hover {
  background: hsla(220, 18%, 10%, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.glass-card-hover:hover {
  border-color: hsla(187, 80%, 48%, 0.3);
  box-shadow: 0 0 30px -5px hsla(187, 80%, 48%, 0.15);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-family: inherit;
  border: none;
  white-space: nowrap;
}
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-default { padding: 0.625rem 1.5rem; }

.btn-hero {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--primary-foreground);
  box-shadow: 0 0 20px -5px hsla(187, 80%, 48%, 0.4);
}
.btn-hero:hover {
  box-shadow: 0 0 30px -5px hsla(187, 80%, 48%, 0.6);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: hsla(187, 80%, 48%, 0.4);
  color: var(--primary);
  background: hsla(187, 80%, 48%, 0.05);
}

.btn-full { width: 100%; }

/* ===== Badge / Pill ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsla(187, 80%, 48%, 0.2);
  background: hsla(187, 80%, 48%, 0.06);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ===== Tech Tag ===== */
.tech-tag {
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: inline-block;
}
.tech-tag:hover {
  border-color: hsla(187, 80%, 48%, 0.3);
  background: hsla(187, 80%, 48%, 0.05);
}
.tech-tag-lg {
  padding: 0.625rem 1.25rem;
}

/* ===== Icon Box ===== */
.icon-box {
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: hsla(187, 80%, 48%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.icon-box-lg { width: 3.5rem; height: 3.5rem; }
.icon-box-sm { width: 2.5rem; height: 2.5rem; }
.icon-box-round { border-radius: 50%; }

/* ===== Grid ===== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: 1fr; }
.grid-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

.grid-2col { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2col { grid-template-columns: 1fr 1fr; } }

.grid-5-3 { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .grid-5-3 { grid-template-columns: 3fr 2fr; } }

.grid-2-3 { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .grid-2-3 { grid-template-columns: 2fr 3fr; } }

/* ===== Flex ===== */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.shrink-0 { flex-shrink: 0; }

/* ===== Spacing ===== */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* ===== Typography ===== */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.heading-xl { font-size: clamp(2rem, 5vw, 3.75rem); }
.heading-hero { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.03em; }
.leading-tight { line-height: 1.1; }
.leading-relaxed { line-height: 1.75; }
.line-through { text-decoration: line-through; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-md { max-width: 28rem; }
.w-full { width: 100%; }

/* ===== Navbar ===== */
/* =============================================
   NAVBAR — Pill floating, fully responsive
   ============================================= */

.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  /* On mobile: nearly full width. On desktop: hug the content */
  width: calc(100vw - 2rem);
  max-width: 860px;
  background: hsla(220, 18%, 10%, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  opacity: 0;
  animation: navbar-fade-in 0.8s ease 0.2s forwards;
}

@keyframes navbar-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.navbar.scrolled {
  background: hsla(220, 18%, 8%, 0.92);
  border-color: hsla(220, 14%, 28%, 0.9);
}

/* ── Inner row ── */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, toggle right on mobile */
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  height: auto;
  min-height: 3rem;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .navbar-inner {
    justify-content: center; /* links centered on desktop */
  }
}

/* Logo — visible on mobile, hidden on desktop (nav links take over) */
.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--foreground);
}
@media (min-width: 768px) {
  .navbar-brand { display: none; }
}
img.custom-logo {
  width: auto !important;
  max-height: 28px !important;
  display: block;
}

/* ── Desktop nav links ── */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/*
 * Walker outputs .nav-link anchors directly into .navbar-inner
 * (not wrapped in .nav-links). Hide them on mobile, show on desktop.
 */
.navbar-inner > .nav-link,
.navbar-inner > .nav-contact {
  display: none;
}
@media (min-width: 768px) {
  .navbar-inner > .nav-link    { display: inline-block; }
  .navbar-inner > .nav-contact { display: inline-flex; }
}

.nav-link {
  display: inline-block;
  padding: 0.375rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--foreground);
  background: hsla(220, 18%, 18%, 0.6);
}
.nav-link.active {
  color: var(--foreground);
  font-weight: 600;
  background: hsla(220, 18%, 18%, 0.6);
}

/* ── Contact button (desktop) ── */
.nav-contact {
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--foreground);
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: hsla(220, 18%, 15%, 0.5);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-contact:hover {
  border-color: hsla(187, 80%, 48%, 0.45);
  background: hsla(187, 80%, 48%, 0.08);
  color: var(--primary);
}
.nav-contact svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── Hamburger (mobile only) ── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 2.1rem;
  height: 2.1rem;
  background: hsla(220, 18%, 15%, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  cursor: pointer;
  padding: 0;
  color: var(--foreground);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.nav-toggle:hover {
  background: hsla(220, 18%, 22%, 0.8);
  border-color: hsla(187, 80%, 48%, 0.35);
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* Hamburger lines */
.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.nav-toggle-icon span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animate lines → X */
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ── Mobile menu dropdown ── */
.mobile-menu {
  display: none;
  position: fixed;
  /* sits just below the navbar */
  top: calc(1rem + 3rem + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 2rem);
  max-width: 420px;
  background: hsla(220, 18%, 9%, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  padding: 1rem;
  z-index: 49;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.open {
  display: flex;
  animation: mobile-menu-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0)    scale(1); }
}

.mobile-menu .nav-link {
  font-size: 0.9375rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  color: var(--muted-foreground);
  background: transparent;
  display: block;
}
.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--foreground);
  background: hsla(220, 18%, 16%, 0.8);
}

/* Divider above Book a Call */
.mobile-menu .btn-hero {
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}


/* =============================================
   HERO — Mobile responsive fixes
   ============================================= */

.jt-water-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* dynamic viewport on mobile browsers */
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.jt-water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.jt-grain-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' 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");
  background-size: 200px 200px;
}

.jt-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, hsla(220, 20%, 4%, 0.88) 100%);
}

/* Hero inner layout */
.jt-hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* top padding clears the floating navbar */
  padding: 6rem 1.25rem 2rem;
}

@media (min-width: 640px) {
  .jt-hero-inner { padding: 7rem 2.5rem 3rem; }
}
@media (min-width: 1024px) {
  .jt-hero-inner { padding: 8rem 3.5rem 3.5rem; }
}

/* Descriptor — hidden on mobile, shown on large screens */
.jt-hero-descriptor {
  display: none;
}
@media (min-width: 1024px) {
  .jt-hero-descriptor {
    display: block;
    position: absolute;
    top: 50%;
    right: 3.5rem;
    transform: translateY(-50%);
    max-width: 18rem;
    text-align: right;
    opacity: 0;
    animation: jt-fadeIn 1s ease 1.4s forwards;
  }
}
.jt-hero-descriptor p {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  font-weight: 300;
}
.jt-hero-descriptor p strong {
  color: var(--foreground);
  font-weight: 500;
}

/* Headline */
.jt-hero-headline {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 800;
  /* clamp: min 2.6rem on small phones, fluid, max 9.5rem on wide screens */
  font-size: clamp(2.6rem, 10vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--foreground);
  opacity: 0;
  animation: jt-slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  /* allow wrapping on tiny screens */
  word-break: break-word;
  hyphens: auto;
}

.jt-line-2 {
  display: block;
  opacity: 0;
  animation: jt-slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.82s forwards;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bottom CTA row */
.jt-hero-bottom {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0;
  animation: jt-fadeIn 0.8s ease 1.2s forwards;
}

.jt-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  background: hsla(220, 18%, 12%, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'JetBrains Mono', monospace;
  text-decoration: none;
  white-space: nowrap;
}
.jt-btn-cta:hover {
  border-color: hsla(187, 80%, 48%, 0.5);
  background: hsla(187, 80%, 48%, 0.09);
  box-shadow: 0 0 28px -8px hsla(187, 80%, 48%, 0.3);
  color: var(--foreground);
}
.jt-arrow {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 20%, 6%);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.jt-btn-cta:hover .jt-arrow { transform: translateX(3px); }

/* Email link */
.jt-hero-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  font-family: 'JetBrains Mono', monospace;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all; /* prevents overflow on small screens */
}
.jt-hero-email:hover { color: var(--primary); }
.jt-hero-email svg { width: 13px; height: 13px; opacity: 0.5; flex-shrink: 0; }

/* Status bar */
.jt-hero-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted-foreground);
  opacity: 0;
  animation: jt-fadeIn 0.8s ease 1.6s forwards;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .jt-hero-status { gap: 1rem; font-size: 0.75rem; }
}

.jt-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: jt-pulse 2.5s ease-in-out infinite;
  margin-right: 0.2rem;
  flex-shrink: 0;
}
.jt-sep { opacity: 0.25; }

/* Keyframes */
@keyframes jt-slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes jt-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes jt-pulse {
  0%, 100% { box-shadow: 0 0 4px 1px hsla(187, 80%, 48%, 0.4); }
  50%       { box-shadow: 0 0 10px 3px hsla(187, 80%, 48%, 0.7); }
}

/* ===== Content offset for fixed nav ===== */
/* main { padding-top: 4rem; } */
/* @media (min-width: 768px) { main { padding-top: 5rem; } } */

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  background: hsla(220, 18%, 10%, 0.3);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.social-link {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.3s;
}
.social-link:hover { color: var(--primary); background: hsla(187, 80%, 48%, 0.1); }

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  border-radius: 50%;
  background: hsla(187, 80%, 48%, 0.04);
  filter: blur(140px);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}
.hero-content { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; min-height: 80vh; }
@media (min-width: 1024px) { .hero-content { grid-template-columns: 7fr 5fr; gap: 3rem; } }

.hero-visual {
  display: none;
  position: relative;
  aspect-ratio: 1;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .hero-visual { display: flex; align-items: center; justify-content: center; } }
.hero-visual-bg {
  position: absolute; inset: 0;
  border-radius: 1.5rem;
  overflow: hidden;
}
.hero-visual-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsla(187, 80%, 48%, 0.1), transparent, hsla(199, 89%, 48%, 0.08));
  border-radius: 1.5rem;
}
.hero-visual-ring {
  position: absolute; inset: 0;
  border-radius: 1.5rem;
  border: 1px solid hsla(187, 80%, 48%, 0.08);
}
.hero-code-lines {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}
.hero-code-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* ===== Stats Strip ===== */
.stats-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: hsla(220, 18%, 10%, 0.3); }
.stat-value { font-size: 1.875rem; font-weight: 800; }
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }

/* ===== Section Header ===== */
.section-label {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--foreground);
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* ===== Service Card Detail (Services page) ===== */
.service-detail { padding: 2rem; }
@media (min-width: 768px) { .service-detail { padding: 3rem; } }
.service-detail-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .service-detail-grid { grid-template-columns: 1fr 2fr; } }

/* ===== Form ===== */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--foreground); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsla(187, 80%, 48%, 0.15);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ===== Accordion (FAQ) ===== */
.accordion-item {
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: none;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.accordion-trigger::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s;
}
.accordion-item.open .accordion-trigger::after {
  content: '−';
}
.accordion-content {
  display: none;
  padding: 0 1.5rem 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.875rem;
}
.accordion-item.open .accordion-content { display: block; }

/* ===== Check Item ===== */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-icon {
  width: 18px; height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Star Rating ===== */
.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.star { color: var(--primary); }

/* ===== Profile Card ===== */
.profile-avatar {
  width: 7rem; height: 7rem;
  border-radius: 50%;
  background: hsla(187, 80%, 48%, 0.15);
  border: 2px solid hsla(187, 80%, 48%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

/* ===== Animations ===== */
@keyframes glow-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Misc ===== */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }
.rounded-2xl { border-radius: 1rem; }

.border-b-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.border-b-item:last-child { border-bottom: none; }

.result-card {
  background: hsla(220, 16%, 16%, 0.5);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  text-align: center;
}
@media (min-width: 768px) { .cta-card { padding: 4rem; } }
.cta-gradient-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsla(187, 80%, 48%, 0.05), hsla(199, 89%, 48%, 0.05));
}
.glow-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: hsla(187, 80%, 48%, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

/* SVG icon inline helper */
.icon-inline { display: inline-block; vertical-align: middle; }

/* Hero bottom accent */
.hero-bottom-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(187, 80%, 48%, 0.2), transparent);
}

/* Step number */
.step-num {
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.3;
}

/* Contact info */
.contact-info-item { display: flex; align-items: center; gap: 1rem; }

/* Process connector for md screens */
@media (min-width: 768px) {
  .btn-responsive-row { flex-direction: row; }
}
.btn-responsive-row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .btn-responsive-row { flex-direction: row; } }

.h-full { height: 100%; }
.flex-1 { flex: 1; }
