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

:root {
  --bg: #050508;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.28);
  --text-primary: #F0EDE8;
  --text-secondary: rgba(240, 237, 232, 0.55);
  --accent: #8B3FD9;
  --accent-dim: rgba(139, 63, 217, 0.15);
  --glow: rgba(139, 63, 217, 0.35);
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ─── CUSTOM CURSOR ─── */

.hoverable:hover~* #cursor,
body.hovering #cursor {
  width: 20px;
  height: 20px;
}

/* ─── SCROLLY ZONE ─── */
#scrolly-zone {
  position: relative;
  height: 500vh;
}

#sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#sequence-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Canvas overlay gradient */
#canvas-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(5, 5, 8, 0.7) 100%),
    linear-gradient(to bottom, rgba(5, 5, 8, 0.4) 0%, transparent 15%, transparent 85%, rgba(5, 5, 8, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ─── OVERLAY TEXT ─── */
#overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.overlay-section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: none;
  will-change: opacity, transform;
}

.overlay-section.center {
  justify-content: center;
  text-align: center;
}

.overlay-section.left {
  justify-content: flex-start;
  padding-left: clamp(32px, 8vw, 120px);
}

.overlay-section.right {
  justify-content: flex-end;
  padding-right: clamp(32px, 8vw, 120px);
  text-align: right;
}

.overlay-content {
  max-width: 680px;
}

.text-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.8vw, 18px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.9;
}

.text-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-shadow: 0 0 80px rgba(139, 63, 217, 0.15);
}

.text-headline .accent-word {
  color: var(--accent);
}

.text-sub {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: 20px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  max-width: 480px;
}

/* ─── SCROLL INDICATOR ─── */
#scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.5s;
}

#scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {

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

  50% {
    transform: scaleY(0.5);
    opacity: 1;
  }
}

/* ─── PROGRESS BAR ─── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 100;
  width: 0%;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px var(--glow);
}

/* ─── NAVIGATION ─── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 64px);
  mix-blend-mode: normal;
}

#nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 5, 8, 0.6), transparent);
  pointer-events: none;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent);
}

/* ─── FRAME COUNTER ─── */

/* ─── AFTER SCROLL SECTION ─── */
#after-scroll {
  position: relative;
  isolation: isolate;
  background: var(--bg);
  position: relative;
}

/* ─── INTRO BAND ─── */
.intro-band {
  padding: 120px clamp(24px, 8vw, 120px) 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.intro-band h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 600px;
}

.intro-band p {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-secondary);
  max-width: 380px;
  line-height: 1.7;
  font-weight: 300;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0 clamp(24px, 8vw, 120px);
  width: calc(100% - clamp(48px, 16vw, 240px));
}

/* ─── PROJECTS GRID ─── */
#projects {
  padding: 80px clamp(24px, 8vw, 120px) 120px;
}

.projects-label {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
  opacity: 0.9;
}

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

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

.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(139, 63, 217, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-4px);
}

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

.project-card.featured {
  grid-column: span 1;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.card-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  opacity: 0.5;
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}

.card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.card-link svg {
  transition: transform 0.2s;
}

.card-link:hover svg {
  transform: translate(3px, -3px);
}

.card-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(139, 63, 217, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── SKILLS SECTION ─── */
#skills {
  padding: 80px clamp(24px, 8vw, 120px);
  border-top: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}

.skill-cell {
  background: var(--bg);
  padding: 28px 24px;
  transition: background 0.3s;
}

.skill-cell:hover {
  background: var(--surface);
}

.skill-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

/* ─── CONTACT / FOOTER ─── */
#contact {
  padding: 120px clamp(24px, 8vw, 120px);
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.contact-headline span {
  color: var(--accent);
}

.contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.social-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--accent);
}


footer p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* ─── NOISE OVERLAY ─── */
#noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .project-card.featured {
    grid-column: span 1;
  }

  .nav-links {
    display: none;
  }
}

.intro-band {
  padding: 120px clamp(24px, 8vw, 120px) 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.intro-band h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.intro-band h2 span {
  color: var(--accent);
}

/* Removed redundant media query */


/* ─── FAQ SECTION ─── */
#faq {
  padding: 120px clamp(24px, 8vw, 120px);
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, transparent, rgba(139, 63, 217, 0.03));
}

.faq-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 40px;
  text-align: center;
}

.faq-headline span {
  display: block;
  color: var(--accent);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light mode for FAQ */
body.light-mode .faq-item {
  background: rgba(139, 63, 217, 0.05);
  border-color: rgba(139, 63, 217, 0.15);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-2px);
}

body.light-mode .faq-item:hover {
  background: rgba(139, 63, 217, 0.08);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

body.rtl .faq-question {
  text-align: right;
  flex-direction: row-reverse;
}

.faq-question-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  color: var(--text-primary);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.4s;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 100%;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 100%;
  transition: transform 0.4s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Large enough for content */
  padding-bottom: 24px;
}

.faq-answer-inner {
  padding: 0 32px 10px;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--text-secondary);
}


.marquee-outer {
  overflow: hidden;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-inner-wrap {
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 14px;
  animation: mqScroll 30s linear infinite;
  width: max-content;
}

.marquee-outer:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes mqScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.sk-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-width: 96px;
  flex-shrink: 0;
  transition: border-color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              background 0.4s;
  cursor: default;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.sk-badge:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  z-index: 10;
}

.sk-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.sk-badge:hover::after {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

.sk-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s;
  filter: drop-shadow(0 0 0 transparent);
}

.sk-badge:hover .sk-icon {
  transform: translateZ(20px) scale(1.15);
  filter: drop-shadow(0 0 15px var(--glow));
}

.sk-name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.55);
  white-space: nowrap;
}


.cta-float {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 63, 217, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.cta-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(139, 63, 217, 0.7);
}


footer {
  padding: 40px clamp(24px, 8vw, 120px);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

footer p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  opacity: 0.5;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-brand {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .footer-brand-name {
    font-size: 28px;
  }
}


.price-card {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 36px 48px;
  margin: 32px 0;
  width: min(480px, 90vw);
  text-align: center;
}

.price-label {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(240, 237, 232, 0.55);
  font-weight: 300;
  margin-bottom: 12px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 96px);
  color: var(--accent);
  line-height: 1;
}

.contact-btns {
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(480px, 90vw);
}

.btn-wa,
.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-wa {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 28px rgba(139, 63, 217, 0.4);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(139, 63, 217, 0.6);
}

.btn-call {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-call:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}


#section-2 .text-sub {
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.75;
  max-width: 520px;
  color: rgba(240, 237, 232, 0.75);
  margin-top: 12px;
  text-align: left;
}

#section-2 .overlay-content {
  max-width: 580px;
  text-align: left;
}

#section-2 .text-headline {
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-align: left;
}

#section-2 .text-eyebrow {
  margin-bottom: 12px;
  text-align: left;
}


.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.project-card:hover .card-img {
  opacity: 1;
}


/* --- CURSOR BLOB --- */
.cursor-blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
  will-change: transform;
  mix-blend-mode: normal;
  background: radial-gradient(circle at 40% 40%,
      rgba(139, 63, 217, 0.75) 15%,
      rgba(176, 100, 255, 0.65) 35%,
      rgba(100, 30, 200, 0.6) 60%,
      rgba(80, 20, 160, 0.5) 85%,
      rgba(160, 80, 255, 0.4) 100%);
  border-radius: 50% 40% 60% 50% / 45% 55% 40% 60%;
  opacity: 0;
  transition: opacity 0.5s;
}

.cursor-blob.active {
  opacity: 1;
}

.cursor-blob::before,
.cursor-blob::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  filter: blur(140px);
  opacity: 0.85;
  mix-blend-mode: normal;
}

.cursor-blob::before {
  background: radial-gradient(circle at 80% 20%,
      rgba(160, 80, 255, 0.5) 20%,
      rgba(100, 20, 200, 0.4) 80%);
  animation: blobPulse 6s infinite ease-in-out;
}

.cursor-blob::after {
  background: radial-gradient(circle at 30% 70%,
      rgba(180, 100, 255, 0.4) 25%,
      rgba(80, 10, 180, 0.4) 80%);
  animation: blobPulse 7s infinite ease-in-out reverse;
}

@keyframes blobPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }

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


.btn-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-email:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}


.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 7px 10px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: background 0.2s, border-color 0.2s;
}

.nav-icon-btn:hover {
  background: rgba(139, 63, 217, 0.2);
  border-color: var(--accent);
}

.lang-switcher {
  position: relative;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a2e;
  border: 1px solid rgba(139, 63, 217, 0.3);
  border-radius: 10px;
  overflow: hidden;
  min-width: 130px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.open {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
  background: rgba(139, 63, 217, 0.2);
  color: var(--accent);
}

.lang-option.active {
  color: var(--accent);
}

/* Light mode overrides */
body.light-mode {
  --bg: #F5F3FF;
  --surface: rgba(139, 63, 217, 0.07);
  --surface-hover: rgba(139, 63, 217, 0.12);
  --border: rgba(139, 63, 217, 0.18);
  --border-hover: rgba(139, 63, 217, 0.5);
  --text-primary: #1a0533;
  --text-secondary: rgba(26, 5, 51, 0.6);
}

body.light-mode #sequence-canvas {
  filter: brightness(0.95);
}

body.light-mode .lang-dropdown {
  background: #ffffff;
  border-color: rgba(139, 63, 217, 0.25);
}

body.light-mode .lang-option {
  color: #555;
}

/* RTL for Arabic */
body.rtl {
  direction: rtl;
}

body.rtl .overlay-section.left {
  justify-content: flex-start;
  padding-left: clamp(32px, 8vw, 120px);
  padding-right: clamp(32px, 6vw, 64px);
  text-align: right;
}

body.rtl #section-2.overlay-section.left {
  justify-content: flex-end;
  padding-left: clamp(32px, 8vw, 120px);
  padding-right: clamp(32px, 6vw, 64px);
  text-align: right;
}

body.rtl .overlay-section.right {
  padding-right: 0;
  padding-left: clamp(32px, 8vw, 120px);
}

body.rtl .lang-dropdown {
  left: 0;
  right: auto;
}

body.rtl .lang-option {
  text-align: right;
}


body.light-mode .cursor-blob {
  mix-blend-mode: multiply;
  background: radial-gradient(circle at 40% 40%,
      rgba(139, 63, 217, 0.35) 15%,
      rgba(176, 100, 255, 0.28) 35%,
      rgba(100, 30, 200, 0.22) 60%,
      rgba(80, 20, 160, 0.18) 85%,
      rgba(160, 80, 255, 0.15) 100%);
}



body.rtl .marquee-outer,
body.rtl .marquee-inner-wrap,
body.rtl .marquee-track {
  direction: ltr;
}


@media (max-width: 768px) {
  .intro-band {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-band h2 {
    text-align: center;
  }

  .intro-band p {
    text-align: center;
  }
}

body.light-mode #section-1 .text-sub {
  color: rgba(26, 5, 51, 0.8) !important;
}


body.light-mode #contact .contact-headline,
body.light-mode #contact .contact-headline span {
  color: var(--text-primary);
}

body.light-mode #contact>p {
  color: rgba(26, 5, 51, 0.65) !important;
}

body.light-mode .price-card {
  background: rgba(139, 63, 217, 0.08);
  border: 1px solid rgba(139, 63, 217, 0.25);
}

body.light-mode .price-label {
  color: rgba(26, 5, 51, 0.6) !important;
}


body.light-mode .btn-call {
  background: rgba(139, 63, 217, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(139, 63, 217, 0.35);
}

body.light-mode .btn-call:hover {
  background: rgba(139, 63, 217, 0.15);
}

body.light-mode .btn-email {
  background: rgba(139, 63, 217, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(139, 63, 217, 0.35);
}

body.light-mode .btn-email:hover {
  background: rgba(139, 63, 217, 0.15);
}

body.light-mode .sk-badge {
  background: rgba(139, 63, 217, 0.07);
  border: 1px solid rgba(139, 63, 217, 0.25);
}

body.light-mode .sk-badge:hover {
  background: rgba(139, 63, 217, 0.14);
  border-color: rgba(139, 63, 217, 0.5);
}

body.light-mode .sk-name {
  color: rgba(26, 5, 51, 0.6);
}

/* Hosting Pricing Light Mode */
body.light-mode .hosting-label {
  color: var(--text-primary);
}

body.light-mode .hosting-sub {
  background: rgba(139, 63, 217, 0.05);
  border-color: rgba(139, 63, 217, 0.15);
  color: var(--text-secondary);
}

body.light-mode .pricing-card {
  background: #ffffff;
  border-color: rgba(139, 63, 217, 0.12);
  box-shadow: 0 10px 30px rgba(139, 63, 217, 0.05);
}

body.light-mode .pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(139, 63, 217, 0.1);
}

body.light-mode .pricing-card h3,
body.light-mode .pricing-card .price {
  color: var(--text-primary);
}

body.light-mode .pricing-card .price span {
  color: var(--text-secondary);
}

body.light-mode .feature-item {
  color: var(--text-secondary);
}

body.light-mode .btn-pricing {
  background: rgba(139, 63, 217, 0.05);
  border-color: rgba(139, 63, 217, 0.15);
  color: var(--text-primary);
}

body.light-mode .btn-pricing:hover {
  background: var(--accent);
  color: #fff;
}

body.light-mode .pricing-card.featured .btn-pricing {
  background: var(--accent);
  color: #fff;
  border: none;
}


body.light-mode #section-0 .text-sub {
  color: rgba(26, 5, 51, 0.8) !important;
}

body.light-mode #section-2 .text-sub {
  color: rgba(26, 5, 51, 0.8) !important;
}

/* --- Direct Message Features --- */
.btn-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(139, 63, 217, 0.6);
}

body.light-mode .btn-direct {
  background: var(--accent);
  color: #fff;
}

/* Contact Modal */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.95);
  /* backdrop-filter: blur(12px); */
  /* -webkit-backdrop-filter: blur(12px); */
  z-index: 2000;
  display: none; /* مخفي تماماً ولن يعيق أي ضغطة */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal-overlay.open {
  display: flex; /* يظهر فقط عند الفتح */
}

.contact-modal {
  background: #0f0f18;
  border: 1px solid rgba(139, 63, 217, 0.3);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px);
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.contact-modal-overlay.open .contact-modal {
  transform: translateY(0) scale(1);
}

body.light-mode .contact-modal {
  background: #ffffff;
  border-color: rgba(139, 63, 217, 0.2);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(139, 63, 217, 0.2);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group-modal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group-modal label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group-modal input,
.form-group-modal select,
.form-group-modal textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

body.light-mode .form-group-modal input,
body.light-mode .form-group-modal select,
body.light-mode .form-group-modal textarea {
  background: #f8f8fb;
  border-color: #e0e0e0;
}

.form-group-modal input:focus,
.form-group-modal select:focus,
.form-group-modal textarea:focus {
  border-color: var(--accent);
  background: rgba(139, 63, 217, 0.05);
}

/* Fix for Autofill background */
.form-group-modal input:-webkit-autofill,
.form-group-modal input:-webkit-autofill:hover,
.form-group-modal input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0px 1000px #0f0f18 inset;
  transition: background-color 5000s ease-in-out 0s;
}

body.light-mode .form-group-modal input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #f8f8fb inset;
  -webkit-text-fill-color: #1a0533;
}

.form-group-modal select option {
  background: #0f0f18;
  color: #fff;
}

body.light-mode .form-group-modal select option {
  background: #ffffff;
  color: #1a0533;
}

.btn-send {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 18px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-send:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 63, 217, 0.3);
}

.btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  font-family: var(--font-mono);
  min-height: 20px;
}

.form-status.success {
  color: #22c55e;
}

.form-status.error {
  color: #ef4444;
}

body.rtl .form-group-modal label {
  text-align: right;
}

body.rtl .lang-option {
  text-align: right;
}

/* --- Contact Modal Scrollbar Fix --- */
.contact-modal {
  max-height: 90vh;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 63, 217, 0.3) transparent;
}

.contact-modal::-webkit-scrollbar {
  width: 6px;
}

.contact-modal::-webkit-scrollbar-track {
  background: transparent;
}

.contact-modal::-webkit-scrollbar-thumb {
  background: rgba(139, 63, 217, 0.3);
  border-radius: 10px;
}

.contact-modal::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Ensure the overlay doesn't have an extra scrollbar */
.contact-modal-overlay {
  overflow: hidden !important;
}

/* RTL for Legal Pages */
body.rtl .back-nav {
  display: flex;
  justify-content: flex-start;
  /* This will be right-side in RTL */
}

body.rtl .back-nav a {
  flex-direction: row;
  /* Keep arrow first, but it will be on the right of text because of direction:rtl */
  gap: 8px;
}

body.rtl .back-nav a span.arrow {
  transform: scaleX(-1);
  display: inline-block;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-5px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ─── COOKIE CONSENT ─── */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s ease, 
              visibility 0s linear 0.6s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s ease, 
              visibility 0s linear 0s;
}

.cookie-text p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 0;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-btns {
  display: flex;
  gap: 12px;
}

.btn-cookie {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
}

.btn-accept {
  background: var(--accent);
  color: white;
  border: none;
}

.btn-accept:hover {
  background: #a45df2;
  box-shadow: 0 0 15px var(--glow);
  transform: translateY(-2px);
}

.btn-decline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-decline:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

@media (max-width: 480px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  padding: 50px 0;
  overflow: hidden;
  position: relative;
}

.testimonials-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.testimonials-label span {
  color: var(--accent);
}

.marquee-testimonials {
  padding: 40px 0;
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testimonial-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 30px !important;
  width: 100% !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  padding: 30px 40px !important;
  margin: 0 auto !important;
  /* Scrollbar Styling */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.05);
}

.testimonial-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 30px !important;
  width: 100% !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  padding: 30px 40px !important;
  margin: 0 auto !important;
  /* Premium Scrollbar Styling */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.05);
}

.testimonial-track::-webkit-scrollbar {
  height: 8px;
  display: block !important;
}

.testimonial-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.testimonial-track::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, var(--accent), #9d00ff);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--accent);
}

.testimonial-card {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  flex-shrink: 0 !important;
  scroll-snap-align: center !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  position: relative;
}

.custom-scrollbar-container {
  display: none !important;
}

/* Hide controls if using marquee */
.slider-controls {
  display: none !important;
}

.testimonial-card {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  flex-shrink: 0 !important;
  scroll-snap-align: center !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent);
  background: var(--surface-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stars {
  display: flex;
  gap: 6px;
  color: #FFD700;
  margin-bottom: 20px;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  opacity: 0.85;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
}

.review-date {
  font-size: 13px;
  opacity: 0.5;
  font-family: var(--font-mono);
}

.add-review-container {
  text-align: center;
  margin-top: 50px;
}

.btn-add-review {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 14px;
}

.btn-add-review:hover {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 40px var(--glow);
  transform: translateY(-5px);
}

/* Star Rating Input */
.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 12px;
  margin: 25px 0;
}

.rating-input input {
  display: none;
}

.rating-input label {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rating-input label:hover,
.rating-input label:hover~label,
.rating-input input:checked~label {
  color: #FFD700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 340px;
    padding: 30px;
  }
}

/* Hosting Pricing Section */
.hosting-section {
  padding: 40px 20px 100px;
  /* تقليل المسافة العلوية من 100 إلى 40 */
  position: relative;
  overflow: hidden;
}

.hosting-label {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  /* موازنة بين الضخم والصغير */
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
}

.hosting-label span {
  color: var(--accent);
  margin-left: 10px;
  /* ضمان وجود مسافة */
}

.hosting-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  background: rgba(157, 0, 255, 0.05);
  border: 1px solid rgba(157, 0, 255, 0.2);
  padding: 15px 25px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(157, 0, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(157, 0, 255, 0.15);
  background: linear-gradient(135deg, rgba(157, 0, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.pricing-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 10px;
  color: #fff;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 48px;
  color: #fff;
  margin-bottom: 5px;
}

.pricing-card .price span {
  font-size: 16px;
  opacity: 0.6;
  font-family: var(--font-body);
}

.pricing-card .p-desc {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 30px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.btn-pricing {
  margin-top: auto;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 15;
  display: block;
}

.pricing-card.featured .btn-pricing {
  background: var(--accent);
  border: none;
}

.btn-pricing:hover {
  background: #fff;
  color: #000;
  transform: scale(1.02);
}

.btn-pricing {
  pointer-events: auto !important;
  z-index: 9999 !important;
  position: relative !important;
}

.contact-modal-overlay {
  pointer-events: none; /* Default state */
}

.contact-modal-overlay.open {
  pointer-events: auto; /* Active state */
}

/* Process Section */
.process-section {
  padding: 80px 20px;
  position: relative;
}

.process-label {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
}

.process-label span {
  color: var(--accent);
  margin-left: 10px;
}

.process-sub-wrapper {
  max-width: 800px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 25px 40px;
  text-align: center;
}

.process-sub {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.process-card:hover {
  transform: translateY(-10px);
  background: rgba(139, 63, 217, 0.05);
  border-color: rgba(139, 63, 217, 0.3);
}

.process-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 54px;
  opacity: 0.15;
  color: var(--accent);
  user-select: none;
  font-weight: 800;
}

.process-icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 63, 217, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 12px;
  color: #fff;
}

.process-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
}

/* Light mode support */
body.light-mode .process-label { color: var(--text-primary); }
body.light-mode .process-sub-wrapper {
  background: rgba(139, 63, 217, 0.02);
  border-color: rgba(139, 63, 217, 0.1);
}
body.light-mode .process-sub { color: var(--text-secondary); }
body.light-mode .process-card {
  background: #ffffff;
  border-color: rgba(139, 63, 217, 0.12);
  box-shadow: 0 10px 30px rgba(139, 63, 217, 0.05);
}
body.light-mode .process-card h3 { color: var(--text-primary); }
body.light-mode .process-card p { color: var(--text-secondary); }