/* ============================================
   BLUE JOLT DIGITAL — Design System
   ============================================ */

/* --- Google Fonts --- */
/* Pre-loaded in HTML head for performance and to prevent layout reflow shift */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --navy-900: #060d18;
  --navy-800: #0a1628;
  --navy-700: #0f2035;
  --navy-600: #152d47;
  --blue-700: #1a5276;
  --blue-600: #1e6091;
  --blue-500: #2980b9;
  --electric: #00b4d8;
  --cyan: #48cae4;
  --cyan-light: #90e0ef;
  --white: #ffffff;
  --light: #f0f4f8;
  --light-muted: #b0bec5;
  --glass-bg: rgba(15, 32, 53, 0.65);
  --glass-border: rgba(0, 180, 216, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
  background-color: var(--navy-900);
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy-900);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  background: rgba(6, 13, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 180, 216, 0.08);
  contain: layout style;
}

.navbar.scrolled {
  background: rgba(6, 13, 24, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--electric), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light-muted);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--cyan));
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 36px;
  background: linear-gradient(135deg, var(--electric), var(--blue-500));
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-links a.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.35);
}

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

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--light);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section-dark {
  background: var(--navy-800);
}

.section-gradient {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.section-white {
  background: #ffffff;
}

/* --- About Card --- */
.about-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  max-width: 1000px;
  margin: 0 auto;
}

.about-card .about-text h2 {
  color: var(--navy-800);
}

.about-card .about-text p {
  color: var(--navy-600);
}

.about-card .btn-primary {
  color: var(--white);
}
.section-white .about-text h2 {
  color: var(--navy-800);
}

.section-white .about-text p {
  color: var(--navy-600);
}

.section-white .btn-primary {
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  contain: layout style;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 13, 24, 0.92) 0%,
    rgba(10, 22, 40, 0.80) 50%,
    rgba(6, 13, 24, 0.88) 100%
  );
}



.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--electric);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
  min-height: 2.3em;
}

.js-enabled #typing-hero {
  opacity: 0;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--electric), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.period-hit {
  color: var(--electric);
  -webkit-text-fill-color: var(--electric) !important;
}



.hero-subtitle {
  font-size: 1.1rem;
  color: var(--light-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--electric);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--light-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   CONTACT FORM (Hero)
   ============================================ */
.hero-form-wrapper {
  display: flex;
  justify-content: flex-end;
}

.hero-form {
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}



.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-800);
}

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

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

.form-group label .required {
  color: var(--electric);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #f5f7fa;
  border: 1px solid #d0d7de;
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca8b4;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12);
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: var(--navy-600);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #d0d7de;
  border-radius: 4px;
  background: #f5f7fa;
  cursor: pointer;
  position: relative;
  margin-top: 1px;
  transition: all var(--transition-fast);
}

.form-consent input[type="checkbox"]:checked {
  background: var(--electric);
  border-color: var(--electric);
}

.form-consent input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--electric), var(--blue-500));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric), var(--blue-500));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.35);
}

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

.btn-outline:hover {
  background: rgba(0, 180, 216, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--light-muted);
  line-height: 1.7;
}

/* ============================================
   SERVICE CARDS (Home Page)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  contain: layout style;
}

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

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 180, 216, 0.08);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(0, 180, 216, 0.18);
}

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

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--light-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-card .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

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

.card-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SERVICE PAGE — Hero
   ============================================ */
.service-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 0 40px;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  overflow: hidden;
  text-align: center;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 24, 0.88) 0%,
    rgba(10, 22, 40, 0.82) 50%,
    rgba(6, 13, 24, 0.90) 100%
  );
}

.service-hero > .container {
  position: relative;
  z-index: 2;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

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

.service-hero .section-title,
.service-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-hero .section-subtitle,
.service-hero .service-subtitle {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  color: var(--light-muted);
  line-height: 1.7;
}

.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 12px 28px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
}

.price-badge .price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--electric);
}

.price-badge .period {
  font-size: 0.95rem;
  color: var(--light-muted);
  font-weight: 500;
}

.price-note {
  font-size: 0.85rem;
  color: var(--light-muted);
  margin-top: 4px;
}

/* ============================================
   SERVICE PAGE — Features
   ============================================ */
.features-section {
  padding: 60px 0 100px;
}

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--light-muted);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.08) 0%, rgba(26, 82, 118, 0.12) 100%);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--light-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

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

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: var(--light-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

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

.about-logo-large {
  max-width: 320px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.2), 0 0 60px rgba(0, 180, 216, 0.08);
}

.about-logo-large.logo-no-glow {
  box-shadow: none;
}

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

.value-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--light-muted);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(0, 180, 216, 0.08);
  padding: 60px 0 30px;
}

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

.footer-brand img {
  height: 45px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--light-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  color: var(--light-muted);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col a:hover {
  color: var(--electric);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  color: var(--light-muted);
  font-size: 0.8rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* Glow pulse for electric elements */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 180, 216, 0.15); }
  50% { box-shadow: 0 0 30px rgba(0, 180, 216, 0.3); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-form-wrapper {
    justify-content: center;
  }

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

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

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

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-800);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    transition: right var(--transition-base);
    border-left: 1px solid rgba(0, 180, 216, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
  }

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

  .nav-links a {
    padding: 14px 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light-muted);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--white);
  }

  .hamburger.active span {
    background: var(--light);
  }

  .nav-links a.nav-cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

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

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

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .about-card {
    padding: 32px 24px;
  }

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

  .cta-box {
    padding: 40px 24px;
  }

  .hero-form {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .price-badge .price {
    font-size: 1.6rem;
  }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--electric), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.stat-card p {
  color: var(--light-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================
   FLOW GRAPHIC
   ============================================ */
.flow-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.flow-step {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  min-width: 160px;
  flex: 1;
  max-width: 220px;
  transition: all var(--transition-base);
}

.flow-step:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-4px);
}

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.feature-icon svg,
.value-icon svg,
.flow-icon svg {
  width: 24px;
  height: 24px;
  color: var(--electric);
  display: block;
}

.flow-step p {
  color: var(--light-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.flow-arrow {
  color: var(--electric);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  color: var(--light-muted);
  font-size: 0.95rem;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-weight: 700;
}

/* ============================================
   FEATURES GRID VARIANTS
   ============================================ */
.features-grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================
   HERO CTA BUTTONS
   ============================================ */
.hero-cta-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   SECTION COPY BLOCK
   ============================================ */
.section-copy {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-copy p {
  color: var(--light-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE — New Components
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .features-grid-4x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .features-grid-4x2 {
    grid-template-columns: 1fr;
  }

  .flow-graphic {
    flex-direction: column;
    gap: 8px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-step {
    max-width: 100%;
    min-width: auto;
  }
}

/* ============================================
   WEB DESIGN OVERHAUL
   ============================================ */
.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.split-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.split-section .section-label {
  align-self: flex-start;
}

.split-section p.lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--light-muted);
}

/* Warning Badge Panel */
.warning-badge-panel {
  background: rgba(220, 53, 69, 0.05);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-left: 4px solid #ff4d6d;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 16px;
  text-align: left;
}

.warning-badge-panel svg {
  width: 24px;
  height: 24px;
  color: #ff4d6d;
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-badge-panel p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ffb3c1;
}

/* ROI Panel */
.roi-panel {
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-left: 4px solid var(--electric);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 16px;
  text-align: left;
}

.roi-panel svg {
  width: 24px;
  height: 24px;
  color: var(--electric);
  flex-shrink: 0;
  margin-top: 2px;
}

.roi-panel p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cyan-light);
}

.roi-panel strong {
  color: var(--white);
}

/* Vertical Cards Stack */
.vertical-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vertical-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition-base);
  text-align: left;
}

.vertical-card:hover {
  border-color: rgba(0, 180, 216, 0.35);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 180, 216, 0.08);
}

.vertical-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.vertical-card:hover .card-icon {
  background: rgba(0, 180, 216, 0.2);
}

.vertical-card .card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--electric);
}

.vertical-card .card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vertical-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
}

.vertical-card p {
  font-size: 0.88rem;
  color: var(--light-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Vertical Pipeline */
.vertical-pipeline {
  position: relative;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.vertical-pipeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--electric) 0%, rgba(72, 202, 228, 0.4) 50%, rgba(6, 13, 24, 0.1) 100%);
  z-index: 1;
}

.pipeline-step {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition-base);
  z-index: 2;
  text-align: left;
}

.pipeline-step:hover {
  border-color: rgba(0, 180, 216, 0.35);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 180, 216, 0.08);
}

.pipeline-step::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 10px var(--electric), 0 0 20px var(--electric);
  z-index: 3;
}

.pipeline-step .step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.pipeline-step:hover .step-icon {
  background: rgba(0, 180, 216, 0.2);
}

.pipeline-step .step-icon svg {
  width: 22px;
  height: 22px;
  color: var(--electric);
}

.pipeline-step .step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pipeline-step h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
}

.pipeline-step p {
  font-size: 0.85rem;
  color: var(--light-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .vertical-card {
    flex-direction: column;
    gap: 16px;
  }

  .pipeline-step {
    gap: 16px;
  }
}

/* Typing Cursor */
.typing-cursor::after {
  content: '|';
  display: inline-block;
  width: 0;
  overflow: visible;
  color: var(--electric);
  margin-left: 2px;
  animation: blink 0.8s infinite;
  font-weight: 300;
  vertical-align: baseline;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
