/*
  Klyra Technologie — Thème principal
  Agence digitale basée en Haïti
  Palette : violet électrique #6C3CE1 + cyan #00C9C8 + sombre #0A0A14
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --violet:      #6C3CE1;
  --violet-dark: #4A22B0;
  --violet-light:#8B5CF6;
  --violet-glow: rgba(108,60,225,.22);
  --cyan:        #00C9C8;
  --cyan-dark:   #009998;
  --cyan-glow:   rgba(0,201,200,.18);
  --dark:        #0A0A14;
  --dark-2:      #10101E;
  --dark-3:      #16162A;
  --card-bg:     #12122080;
  --border:      rgba(108,60,225,.22);
  --border-cyan: rgba(0,201,200,.2);
  --text:        #E2E0F0;
  --text-muted:  #8884A8;
  --white:       #FFFFFF;
  --haiti-red:   #D21034;
  --haiti-blue:  #003087;
  --shadow:      0 4px 24px rgba(108,60,225,.18);
  --shadow-lg:   0 16px 56px rgba(108,60,225,.3);
  --shadow-cyan: 0 8px 32px rgba(0,201,200,.2);
  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
  --font:        'Poppins', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: var(--transition); }
ul  { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,60,225,.12);
  border: 1px solid var(--border);
  color: var(--violet-light);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.tag.cyan {
  background: rgba(0,201,200,.1);
  border-color: var(--border-cyan);
  color: var(--cyan);
}

.section-head { margin-bottom: 64px; }
.section-head.centered { text-align: center; }
.section-head h2 { color: var(--white); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); max-width: 560px; font-size: .97rem; }
.section-head.centered p { margin: 0 auto; }

.divider-line {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 50px;
  margin: 14px 0 20px;
}
.divider-line.center { margin: 14px auto 20px; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity .6s;
}
#preloader.out { opacity: 0; pointer-events: none; }
.pre-logo { font-size: 1.8rem; font-weight: 900; color: var(--white); letter-spacing: 1px; }
.pre-logo span { color: var(--cyan); }
.pre-bar {
  width: 180px; height: 3px;
  background: var(--dark-3);
  border-radius: 50px;
  overflow: hidden;
}
.pre-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 50px;
  animation: preLoad 1.2s ease forwards;
}
@keyframes preLoad {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(10,10,20,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-klyra {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .5px;
}
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: var(--white);
  box-shadow: 0 4px 16px var(--violet-glow);
}
.logo-klyra .logo-name span { color: var(--cyan); }

/* Nav */
.main-nav {
  display: flex; align-items: center; gap: 4px;
}
.main-nav a {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  background: var(--violet-glow);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px var(--violet-glow);
}
.btn-nav-cta:hover {
  background: linear-gradient(135deg, var(--violet-light), var(--violet)) !important;
  box-shadow: 0 8px 24px var(--violet-glow) !important;
  transform: translateY(-2px);
}

.burger {
  display: none;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .85rem;
  align-items: center; gap: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: var(--white);
  padding: 15px 34px;
  border-radius: 50px;
  font-size: .95rem; font-weight: 700;
  border: none;
  box-shadow: 0 6px 24px var(--violet-glow);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--violet-glow);
  color: var(--white);
}

.btn-cyan {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: var(--dark);
  padding: 15px 34px;
  border-radius: 50px;
  font-size: .95rem; font-weight: 700;
  border: none;
  box-shadow: var(--shadow-cyan);
  transition: var(--transition);
}
.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--cyan-glow);
  color: var(--dark);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: rgba(255,255,255,.8);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.2);
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--violet-light);
  color: var(--violet-light);
  background: var(--violet-glow);
}

.btn-sm {
  padding: 10px 22px !important;
  font-size: .85rem !important;
}

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

/* Mesh gradient background */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--violet);
  top: -150px; left: -100px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  bottom: -100px; right: -80px;
  opacity: .25;
}
.blob-3 {
  width: 300px; height: 300px;
  background: var(--violet-light);
  top: 40%; right: 20%;
  opacity: .15;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,60,225,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,60,225,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-tag-wrap { margin-bottom: 24px; }
.hero-tag-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(108,60,225,.1);
  border: 1px solid var(--border);
  color: var(--violet-light);
  font-size: .78rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 50px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  animation: blip 1.6s ease-in-out infinite;
}
@keyframes blip {
  0%,100% { box-shadow: 0 0 0 0 var(--cyan-glow); opacity: 1; }
  50%      { box-shadow: 0 0 0 8px transparent; opacity: .6; }
}

.hero-section h1 { color: var(--white); margin-bottom: 22px; }
.hero-section h1 .line2 { display: block; }

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: .82rem;
}
.trust-chip i { color: var(--cyan); }

/* Hero right — code/device mockup */
.hero-mockup {
  position: relative;
}
.mockup-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.mockup-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.mc-topbar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mc-dot { width: 10px; height: 10px; border-radius: 50%; }
.mc-dot.red { background: #FF5F57; }
.mc-dot.yellow { background: #FFBD2E; }
.mc-dot.green { background: #28C840; }
.mc-topbar span {
  margin-left: auto; font-size: .72rem; color: var(--text-muted);
  background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 50px;
}
.code-line {
  font-family: 'Courier New', monospace;
  font-size: .8rem;
  line-height: 1.9;
}
.code-line .kw  { color: var(--violet-light); }
.code-line .fn  { color: var(--cyan); }
.code-line .str { color: #F9C74F; }
.code-line .cm  { color: #555580; }
.code-line .num { color: #FF8C66; }

/* Floating metric cards */
.metric-card {
  position: absolute;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 3s ease-in-out infinite;
}
.metric-card:nth-child(2) { animation-delay: 1.2s; }
.mc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.mc-icon.v { background: rgba(108,60,225,.2); color: var(--violet-light); }
.mc-icon.c { background: rgba(0,201,200,.15); color: var(--cyan); }
.metric-card .val { font-size: 1.1rem; font-weight: 800; color: var(--white); display: block; line-height: 1; }
.metric-card .lbl { font-size: .68rem; color: var(--text-muted); }
.metric-card.top-left { top: -18px; left: -40px; }
.metric-card.bot-right { bottom: -18px; right: -40px; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 2.4rem; font-weight: 900;
  color: var(--white); display: block;
  background: linear-gradient(135deg, var(--violet-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 6px;
}
.stat-item .lbl { color: var(--text-muted); font-size: .85rem; }

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.srv-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.srv-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--violet-glow) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.srv-card:hover {
  border-color: var(--violet-light);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.srv-card:hover::after { opacity: 1; }

.srv-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: var(--transition);
}
.srv-card:hover .srv-icon { transform: scale(1.1) rotate(-5deg); }
.srv-icon.violet { background: rgba(108,60,225,.18); color: var(--violet-light); }
.srv-icon.cyan   { background: rgba(0,201,200,.15);  color: var(--cyan); }
.srv-icon.mixed  { background: linear-gradient(135deg, rgba(108,60,225,.2), rgba(0,201,200,.15)); color: var(--white); }

.srv-card h4 { color: var(--white); margin-bottom: 10px; font-size: 1.05rem; position: relative; z-index: 1; }
.srv-card p  { color: var(--text-muted); font-size: .88rem; line-height: 1.7; margin-bottom: 20px; position: relative; z-index: 1; }
.srv-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--violet-light); font-size: .85rem; font-weight: 600;
  position: relative; z-index: 1;
}
.srv-link:hover { color: var(--cyan); gap: 10px; }

.srv-card.featured {
  background: linear-gradient(135deg, rgba(108,60,225,.25), rgba(0,201,200,.1));
  border-color: var(--violet-light);
}
.srv-card.featured:hover { box-shadow: var(--shadow-lg), 0 0 60px var(--violet-glow); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-visual { position: relative; }
.about-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--dark-3);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder {
  text-align: center; color: var(--text-muted);
}
.about-img-placeholder i { font-size: 4rem; color: var(--violet); margin-bottom: 12px; display: block; }

.about-badge-float {
  position: absolute; bottom: -16px; right: -16px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge-float .num { font-size: 2rem; font-weight: 900; color: var(--white); display: block; line-height: 1; }
.about-badge-float .lbl { font-size: .7rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1px; }

.about-haiti-flag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50px; padding: 6px 14px;
  font-size: .78rem; color: var(--text-muted);
  margin-bottom: 20px;
}
.haiti-colors {
  display: flex; gap: 3px;
}
.hc { width: 14px; height: 10px; border-radius: 2px; }
.hc.blue { background: var(--haiti-blue); }
.hc.red  { background: var(--haiti-red); }

.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; color: var(--text); font-size: .92rem;
}
.about-list li i { color: var(--cyan); margin-top: 4px; flex-shrink: 0; font-size: .85rem; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before {
  content: '';
  position: absolute; top: 32px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.proc-step { text-align: center; padding: 0 16px; }
.proc-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--dark-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--violet-light);
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  transition: var(--transition);
}
.proc-step:hover .proc-num {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: var(--white); border-color: transparent;
  box-shadow: var(--shadow);
}
.proc-step h4 { color: var(--white); margin-bottom: 8px; font-size: .95rem; }
.proc-step p  { color: var(--text-muted); font-size: .82rem; }

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.port-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark-2);
  transition: var(--transition);
  position: relative;
}
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--violet-light); }
.port-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.port-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,20,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.port-card:hover .port-overlay { opacity: 1; }
.port-body { padding: 20px; }
.port-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.port-tag {
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 50px;
  background: rgba(108,60,225,.15); color: var(--violet-light); border: 1px solid var(--border);
}
.port-tag.cyan-t { background: rgba(0,201,200,.1); color: var(--cyan); border-color: var(--border-cyan); }
.port-body h4 { color: var(--white); margin-bottom: 6px; font-size: .95rem; }
.port-body p  { color: var(--text-muted); font-size: .8rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--violet-light); transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-quote {
  position: absolute; top: 14px; right: 22px;
  font-size: 4rem; color: rgba(108,60,225,.1);
  font-family: Georgia, serif; line-height: 1;
}
.tc-stars { color: var(--cyan); font-size: .82rem; margin-bottom: 14px; }
.testi-card p { color: var(--text); font-size: .88rem; line-height: 1.7; margin-bottom: 22px; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; color: var(--white); flex-shrink: 0;
}
.tc-name { font-weight: 700; font-size: .9rem; color: var(--white); }
.tc-role { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.price-card.popular {
  border-color: var(--violet-light);
  background: linear-gradient(135deg, rgba(108,60,225,.15), rgba(0,201,200,.05));
}
.price-card.popular::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.popular-badge {
  position: absolute; top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: var(--white); font-size: .68rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-name { color: var(--text-muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.price-amount { color: var(--white); font-size: 2.8rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.price-desc { color: var(--text-muted); font-size: .82rem; margin-bottom: 24px; }
.price-features { margin-bottom: 28px; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-size: .85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.price-features li:last-child { border-bottom: none; }
.price-features li i { color: var(--cyan); font-size: .8rem; flex-shrink: 0; }
.price-features li.off { color: var(--text-muted); }
.price-features li.off i { color: rgba(255,255,255,.15); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--violet-light); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600; font-size: .92rem; color: var(--white);
  background: var(--dark-2);
  transition: var(--transition);
}
.faq-q:hover { background: rgba(108,60,225,.08); }
.faq-q i { transition: transform .3s; color: var(--text-muted); font-size: .8rem; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--violet-light); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted); font-size: .88rem; line-height: 1.7;
  background: var(--dark-3);
  transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; padding: 16px 24px 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.contact-info-item {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--violet-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-light); font-size: .9rem; flex-shrink: 0;
}
.ci-label { font-size: .75rem; color: var(--text-muted); }
.ci-val   { color: var(--white); font-weight: 600; font-size: .9rem; }

/* Form */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  background: var(--dark-3); border: 1.5px solid var(--border);
  border-radius: 12px; color: var(--white);
  font-size: .9rem; font-family: var(--font);
  outline: none; transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--violet-light);
  box-shadow: 0 0 0 4px var(--violet-glow);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { appearance: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-logo { margin-bottom: 18px; }
.footer-desc { color: var(--text-muted); font-size: .85rem; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--violet); color: var(--white); border-color: var(--violet); }

.footer-col h5 {
  color: var(--white); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted); font-size: .85rem;
  display: flex; align-items: center; gap: 7px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-links a i { font-size: .6rem; color: var(--violet); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 22px 0; margin-top: 56px;
}
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .78rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,.25); font-size: .78rem; }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 140px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(108,60,225,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 30%, rgba(0,201,200,.08) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; font-size: 2.6rem; }
.page-hero p  { color: var(--text-muted); font-size: 1rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); font-size: .82rem; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: rgba(255,255,255,.2); font-size: .7rem; }
.breadcrumb .cur { color: var(--violet-light); font-size: .82rem; }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p  { color: var(--text-muted); margin-bottom: 32px; font-size: .97rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ANIMATIONS / REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.shown { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.shown { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right.shown { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,20,.97); padding: 20px; border-bottom: 1px solid var(--border); gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav a { display: block; padding: 12px 16px; }
  .burger { display: flex; }
  .header-inner { position: relative; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-visual { margin-bottom: 40px; }
  .about-badge-float { right: 0; bottom: 0; }
  .contact-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .metric-card { display: none; }
  .hero-mockup { margin-top: 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { justify-content: center; }
  .cta-band { padding: 36px 24px; }
}

@media (max-width: 575px) {
  .section { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stat-item { margin-bottom: 24px; }
  .footer-bottom-links { justify-content: flex-start; }
  .cta-btns { flex-direction: column; align-items: center; }
}
