/* ============================================================
   MEGAPOWER — style.css
   Dark electric theme · Blue lightning · Châtellerault
   ============================================================ */

/* ---- FONTS ---- */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap");

/* ---- VARIABLES ---- */
:root {
  --bg: #03050e;
  --bg2: #060b1a;
  --bg3: #0a1128;
  --surface: #0d1830;
  --surface2: #111f3d;
  --border: rgba(0, 180, 255, 0.18);
  --border-glow: rgba(0, 180, 255, 0.5);

  --blue: #00b4ff;
  --blue-light: #4fd8ff;
  --blue-glow: #00d4ff;
  --white: #e8f4ff;
  --muted: #5a7a9a;
  --accent: #ffffff;

  --font-display: "Bebas Neue", sans-serif;
  --font-mono: "Space Mono", monospace;
  --font-body: "DM Sans", sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-sm: 0 0 12px rgba(0, 180, 255, 0.4);
  --glow-md: 0 0 24px rgba(0, 180, 255, 0.5), 0 0 60px rgba(0, 180, 255, 0.2);
  --glow-lg: 0 0 40px rgba(0, 180, 255, 0.6), 0 0 100px rgba(0, 180, 255, 0.25);
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
input,
textarea,
select,
button {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  outline: none;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ============================================================
   CANVAS LIGHTNING BACKGROUND
   ============================================================ */
#lightning-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--blue-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: var(--glow-md);
  transition:
    transform 0.1s,
    width 0.2s,
    height 0.2s;
  mix-blend-mode: screen;
}
.cursor-trail {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 180, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.12s ease-out,
    left 0.12s ease-out,
    top 0.12s ease-out;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor,
body:has(.card-btn:hover) .cursor {
  width: 20px;
  height: 20px;
}

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 68px;
  background: rgba(3, 5, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}
#navbar.scrolled {
  border-color: var(--border-glow);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-bolt {
  font-size: 1.5rem;
  animation: bolt-pulse 2s ease-in-out infinite;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 3px;
  color: var(--blue-light);
  text-shadow: var(--glow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color var(--transition);
  text-transform: uppercase;
}
.nav-links a:hover {
  color: var(--blue-light);
}
.nav-links .nav-cta {
  color: var(--blue-glow);
  border: 1px solid var(--blue);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  box-shadow: var(--glow-sm);
}
.nav-links .nav-cta:hover {
  background: var(--blue);
  color: var(--bg);
  box-shadow: var(--glow-md);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  transition: all var(--transition);
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-left: calc((100vw - 1200px) / 2);
}
@media (max-width: 1250px) {
  .hero-content {
    margin-left: 2rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  background: rgba(0, 180, 255, 0.05);
  animation: fade-in-up 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.hero-title .line-reveal {
  display: block;
  animation: slide-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-title .delay-1 {
  animation-delay: 0.15s;
}
.hero-title .delay-2 {
  animation-delay: 0.3s;
}
.accent-text {
  color: var(--blue-glow);
  text-shadow: var(--glow-lg);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(232, 244, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fade-in-up 0.8s 0.4s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fade-in-up 0.8s 0.55s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fade-in-up 0.8s 0.7s ease both;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--blue-light);
  text-shadow: var(--glow-sm);
}
.stat-unit {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue);
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* HERO VISUAL */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bolt-container {
  position: relative;
  width: 220px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-bolt {
  width: 140px;
  height: 320px;
  animation: bolt-flash 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px #00b4ff)
    drop-shadow(0 0 60px rgba(0, 180, 255, 0.4));
}
.bolt-ring {
  position: absolute;
  border: 1px solid rgba(0, 180, 255, 0.25);
  border-radius: 50%;
  animation: ring-expand 3s ease-out infinite;
}
.ring-1 {
  width: 180px;
  height: 180px;
  animation-delay: 0s;
}
.ring-2 {
  width: 280px;
  height: 280px;
  animation-delay: 0.8s;
}
.ring-3 {
  width: 380px;
  height: 380px;
  animation-delay: 1.6s;
}
.bolt-particles {
  position: absolute;
  inset: 0;
}

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  animation: fade-in-up 1s 1.2s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--blue), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
section {
  position: relative;
  z-index: 2;
  padding: 100px 2rem;
}
#maintenance {
  background: var(--bg2);
}
#developpement {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
#contact {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.3rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 180, 255, 0.05);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 1px;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.section-sub {
  color: rgba(232, 244, 255, 0.6);
  line-height: 1.75;
  font-size: 1.05rem;
}

/* ============================================================
   PRICING GRID
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 2.2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: default;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% -20%,
    rgba(0, 180, 255, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    var(--glow-sm);
}
.pricing-card:hover::before {
  opacity: 1;
}
.pricing-card.featured {
  border-color: var(--blue);
  background: var(--surface2);
  box-shadow:
    0 0 0 1px rgba(0, 180, 255, 0.3),
    var(--glow-sm);
}
.pricing-card.featured:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    var(--glow-md);
  transform: translateY(-8px);
}
/* Charge bar top animation */
.card-charge-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--blue-light),
    transparent
  );
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-card:hover .card-charge-bar {
  width: 100%;
}
.pricing-card.featured .card-charge-bar {
  width: 100%;
}

.badge-popular {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--bg);
  background: var(--blue);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}
.card-header {
  margin-bottom: 1.8rem;
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}
.card-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  flex-wrap: wrap;
}
.price-from {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  width: 100%;
  margin-bottom: 0.2rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--blue-light);
  line-height: 1;
  text-shadow: var(--glow-sm);
}
.price-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue);
}
.price-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.card-features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(232, 244, 255, 0.8);
  line-height: 1.4;
}
.card-features li.feat-disabled {
  color: var(--muted);
}
.feat-icon {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue);
  flex-shrink: 0;
  width: 16px;
}
.feat-disabled .feat-icon {
  color: var(--muted);
}
.card-btn {
  display: block;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}
.card-btn:hover {
  color: var(--bg);
  border-color: var(--blue);
  box-shadow: var(--glow-md);
}
.card-btn:hover::after {
  transform: translateX(0);
}
.card-btn:active {
  transform: scale(0.97);
}
.featured .card-btn {
  background: var(--blue);
  color: var(--bg);
  box-shadow: var(--glow-sm);
}
.featured .card-btn:hover {
  background: var(--blue-light);
  box-shadow: var(--glow-md);
}

/* STACK SHOWCASE */
.stack-showcase {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stack-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.stack-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.stack-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(0, 180, 255, 0.05);
  transition: all var(--transition);
  cursor: default;
}
.stack-badge:hover {
  border-color: var(--blue);
  background: rgba(0, 180, 255, 0.12);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .section-title {
  text-align: left;
  font-size: clamp(2rem, 4vw, 3rem);
}
.contact-info p {
  color: rgba(232, 244, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: rgba(232, 244, 255, 0.75);
}
.contact-icon {
  font-size: 1.1rem;
}

/* FORM */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}
.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    var(--blue-light),
    var(--blue),
    transparent
  );
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.75rem 1rem;
  transition: all var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow:
    0 0 0 3px rgba(0, 180, 255, 0.12),
    var(--glow-sm);
  background: rgba(0, 20, 50, 0.95);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300b4ff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.form-group select option,
.form-group select optgroup {
  background: var(--bg3);
  color: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.field-error {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #ff4d6d;
  min-height: 16px;
}
.char-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  text-align: right;
}

/* SUCCESS / ERROR */
.form-success,
.form-error {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success {
  color: var(--blue-light);
}
.form-success .success-icon {
  font-size: 3rem;
  animation: bolt-pulse 1s ease infinite;
  display: block;
  margin-bottom: 1rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-shadow: var(--glow-sm);
}
.form-success p {
  color: rgba(232, 244, 255, 0.7);
}
.form-error {
  color: #ff4d6d;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background: var(--blue);
  color: var(--bg);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--glow-sm);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--blue-light);
  box-shadow: var(--glow-lg);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0) scale(0.97);
}
.btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.3),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover .btn-glow {
  opacity: 1;
}
.btn-full {
  width: 100%;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  box-shadow: var(--glow-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(90, 122, 154, 0.6);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(40px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0% 0);
  }
}
@keyframes bolt-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
    filter: brightness(1.4);
  }
}
@keyframes bolt-flash {
  0%,
  85%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 20px #00b4ff)
      drop-shadow(0 0 60px rgba(0, 180, 255, 0.4));
  }
  87% {
    opacity: 0.2;
  }
  89% {
    opacity: 1;
    filter: drop-shadow(0 0 40px #fff) drop-shadow(0 0 120px #00b4ff);
  }
  91% {
    opacity: 0.4;
  }
  93% {
    opacity: 1;
  }
}
@keyframes ring-expand {
  0% {
    opacity: 0.6;
    transform: scale(0.5);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}
@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}
@keyframes thunder-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-3px) rotate(-1deg);
  }
  30% {
    transform: translateX(3px) rotate(1deg);
  }
  50% {
    transform: translateX(-2px);
  }
  70% {
    transform: translateX(2px);
  }
}
@keyframes card-appear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }
  .hero-content {
    margin-left: 0;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(3rem, 14vw, 5.5rem);
  }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(3, 5, 14, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .burger {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 1.2rem;
  }
  .contact-form-wrap {
    padding: 1.5rem;
  }
  .stack-showcase {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  section {
    padding: 70px 1.2rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
