/* ===== DESIGN TOKENS ===== */
:root {
  --bg-primary: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.55);
  --bg-card-hover: rgba(17, 24, 39, 0.75);
  --accent-orange: #ff6b00;
  --accent-orange-hover: #e05e00;
  --accent-cyan: #38bdf8;
  --accent-green: #10b981;
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-glow-orange: 0 10px 40px rgba(255, 107, 0, 0.12);
  --shadow-glow-cyan: 0 10px 40px rgba(56, 189, 248, 0.08);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Sora', sans-serif;
  --section-padding: 100px 0;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

body::before {
  display: none;
  /* Disabled grainy noise overlay to prevent browser rendering lag during scroll */
}

body.overflow-hidden {
  overflow: hidden;
  height: 100%;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

/* ===== UTILITIES ===== */
.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-heading .highlight-cyan {
  color: var(--accent-cyan);
}

.section-heading .highlight-orange {
  color: var(--accent-orange);
}

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

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

.section-header .section-subtext {
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--accent-green);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.btn-green:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(31, 34, 41, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo-text .dot {
  color: var(--accent-orange);
}

.nav-logo-subtitle {
  font-size: 0.6rem;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-top: -2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
  transition: width var(--transition-base);
}

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

.nav-links a.active {
  color: var(--text-primary);
  font-weight: 600;
}

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

.nav-cta {
  height: 34px;
  padding: 0 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill) !important;
  color: var(--text-white) !important;
  width: auto !important;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05) !important;
}

.nav-links a.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-heading .highlight {
  color: var(--accent-orange);
  position: relative;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Floating grid decoration */
.hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ===== WORK / PORTFOLIO SECTION ===== */
.work {
  padding: var(--section-padding);
}

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

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all var(--transition-base);
  group: true;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: var(--shadow-glow-orange);
}

.work-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.work-card:hover .work-card-image {
  transform: scale(1.05);
}

.work-card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.work-card-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(31, 34, 41, 0.8));
  pointer-events: none;
}

.work-card-body {
  padding: 24px;
}

.work-card-category {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.work-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.work-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.work-card-tag {
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.15);
  font-weight: 500;
}

.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-orange);
  transition: gap var(--transition-base);
}

.work-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.work-card-link:hover {
  gap: 10px;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.2);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow-cyan);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(34, 211, 238, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-cyan);
  font-size: 1.4rem;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(34, 211, 238, 0.15);
  transform: scale(1.05);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: var(--section-padding);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-orange);
}

.pricing-card.popular {
  border-color: var(--accent-orange);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--accent-orange);
  color: var(--text-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.1;
}

.pricing-price .currency {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

.pricing-price .plus {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.pricing-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 28px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-feature .check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.7rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ===== PROCESS SECTION ===== */
.process {
  padding: var(--section-padding);
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent-cyan), var(--accent-cyan), transparent);
  opacity: 0.3;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.process-step:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.process-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  z-index: 2;
  transition: all var(--transition-base);
}

.process-step:hover .process-node {
  background: rgba(34, 211, 238, 0.15);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 100%;
  transition: all var(--transition-base);
}

.process-step:hover .process-card {
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

.process-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.process-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-logo-text .dot {
  color: var(--accent-orange);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 380px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.footer-social-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--text-white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.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;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .work-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(31, 34, 41, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right var(--transition-base);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-heading {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .work-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card.popular {
    order: -1;
  }

  /* Process timeline mobile */
  .process-timeline::before {
    left: 22px;
  }

  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    padding-right: 0;
    padding-left: 70px;
    justify-content: flex-start;
  }

  .process-node {
    left: 22px;
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid>div:first-child {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .section-heading {
    font-size: 1.7rem;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* ===== MOBILE OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all var(--transition-base);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ===== FLOATING BACKGROUND BLOBS ===== */
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  /* Adjusted opacity to compensate for lack of mix-blend-mode blending */
  will-change: transform;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--accent-orange);
  animation: blob-float 12s infinite ease-in-out;
}

.blob-2 {
  bottom: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--accent-cyan);
  animation: blob-float 15s infinite ease-in-out 2s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: var(--accent-orange);
  animation: blob-float 18s infinite ease-in-out 4s;
}

@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -60px) scale(1.15);
  }

  66% {
    transform: translate(-30px, 40px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* ===== LET'S TALK MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: 40px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #111625;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  padding: 40px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-base);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin: 40px auto;
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  stroke-width: 3px;
}

.modal-header {
  margin-bottom: 28px;
}

.modal-subtitle {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.phone-prefix {
  position: absolute;
  left: 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
}

.phone-input-wrapper input {
  padding-left: 54px !important;
  width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-base);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-orange);
}

.form-group select {
  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='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.reply-note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.btn-submit {
  padding: 12px 32px !important;
  font-size: 0.95rem !important;
}

/* Responsive modal */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 20px 12px;
    /* reduced overlay padding to fit small viewports */
  }

  .modal-container {
    padding: 24px 16px;
    /* more compact padding */
    border-radius: var(--radius-md);
    /* slightly tighter border radius for mobile */
    margin: 20px auto;
    /* Centered with vertical spacing */
  }

  .modal-close {
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
  }

  .modal-header {
    padding-right: 40px;
    /* prevent text from overlapping close button */
    margin-bottom: 20px;
  }

  .modal-title {
    font-size: 1.4rem;
    /* scaled down from 1.8rem */
  }

  .modal-desc {
    font-size: 0.85rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    /* tighter gap */
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    /* more compact input fields */
    font-size: 16px;
    /* Prevents auto-zoom on focus in iOS Safari */
  }

  .form-group textarea {
    min-height: 80px;
    height: 90px;
  }

  .modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
    margin-top: 5px;
  }

  .btn-submit {
    order: 1;
    width: 100%;
  }

  .reply-note {
    order: 2;
    font-size: 0.8rem;
  }
}