/* ==========================================
   VEKARIS — Design System
   ========================================== */

:root {
  --color-bg:           #08010F;
  --color-bg-surface:   #160028;
  --color-bg-deep:      #08010F;
  --color-border:       #2A0050;
  --color-accent:       #BF00FF;
  --color-accent-2:     #8B00CC;
  --color-text-primary: #F8F0FF;
  --color-text-body:    #A888C0;
  --color-text-muted:   rgba(191,0,255,0.35);
  --color-grid:         rgba(191,0,255,0.03);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  background: var(--color-bg);
  color: var(--color-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: #F8F0FF;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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


/* ==========================================
   NAVBAR
   ========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: var(--color-bg-deep);
  border-bottom: 1px solid rgba(191,0,255,0.08);
  transition: backdrop-filter 0.3s, background 0.3s;
}

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

.navbar.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(3,7,15,0.85);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.01em;
}

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

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

.nav-center a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  position: relative;
}

.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

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

.nav-center a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  color: var(--color-accent);
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-bg-deep);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3,7,15,0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
}

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

@media (max-width: 768px) {
  .nav-center, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ==========================================
   HERO
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-deep);
  padding: 0 48px;
  overflow: hidden;
  text-align: left;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: rgba(100, 0, 180, 0.2);
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #BF00FF;
  border: 1px solid rgba(191, 0, 255, 0.25);
  border-radius: 2px;
  padding: 7px 16px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #F8F0FF;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: wordFadeUp 0.5s ease forwards;
}

.hero h1 .accent-word {
  color: #fff;
  animation: wordFadeUp 0.5s ease forwards, colorReveal 0.8s ease 0.6s forwards;
}

@keyframes wordFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes colorReveal {
  to {
    color: var(--color-accent);
  }
}

.hero-sub {
  font-size: 17px;
  color: #A888C0;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { padding: 0 24px; }
  .hero h1 { font-size: 42px; }
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #F8F0FF;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #D400FF;
  border-color: #D400FF;
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: #D4A0F0;
  border: 1px solid rgba(191, 0, 255, 0.3);
  border-radius: 2px;
  padding: 13px 28px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: #BF00FF;
  color: #F8F0FF;
  background: rgba(191, 0, 255, 0.08);
}

/* ==========================================
   STATS BAR
   ========================================== */

.stats-bar {
  background: var(--color-bg-deep);
  border-top: 1px solid rgba(191,0,255,0.08);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 32px 48px;
  border-right: 1px solid rgba(191,0,255,0.08);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .stats-bar .container { grid-template-columns: 1fr; }
  .stat { padding: 20px; border-right: none; border-bottom: 1px solid rgba(191,0,255,0.08); }
  .stat:last-child { border-bottom: none; }
}

/* ==========================================
   TRANSITION BAR
   ========================================== */

.transition-bar {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,0,255,0.6), rgba(139,0,204,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
  padding: 72px 0;
  background: var(--color-bg);
  border-bottom: 1px solid #2A0050;
}

.section-deep {
  background: var(--color-bg-deep);
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-body {
  font-size: 15px;
  color: var(--color-text-body);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section h2 { font-size: 28px; }
}

/* ==========================================
   WORK GRID
   ========================================== */

.work-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2px;
}

.work-card {
  background: var(--color-bg-surface);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.work-card:nth-child(2) {
  background: var(--color-bg);
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.work-card:hover {
  transform: translateY(-2px);
}

.work-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.work-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.work-card p {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.work-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.work-link:hover {
  opacity: 0.7;
}

.work-link-alt {
  color: var(--color-accent-2);
}

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

/* ==========================================
   SERVICES STRIP
   ========================================== */

.services-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.service-strip-card {
  background: var(--color-bg-surface);
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.service-strip-card:hover {
  transform: translateY(-2px);
}

.service-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.service-strip-card:hover .service-icon {
  border-color: rgba(191,0,255,0.5);
  box-shadow: 0 0 8px rgba(191,0,255,0.15);
}

.service-icon svg {
  color: var(--color-accent);
}

.service-strip-card h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.service-strip-card p {
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.6;
}

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

@media (max-width: 480px) {
  .services-strip { grid-template-columns: 1fr; }
}

/* ==========================================
   CTA BANNER
   ========================================== */

.cta-banner {
  background: var(--color-bg-deep);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}

.cta-banner p {
  font-size: 15px;
  color: var(--color-text-body);
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.7;
}

.cta-corner {
  position: absolute;
  bottom: 24px;
  right: 48px;
  opacity: 0.05;
}

@media (max-width: 768px) {
  .cta-banner { padding: 48px 0; }
  .cta-banner h2 { font-size: 28px; }
  .cta-corner { display: none; }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--color-bg-deep);
  border-top: 1px solid rgba(191,0,255,0.05);
  padding: 24px 0;
}

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

.footer-left, .footer-right {
  font-size: 11px;
  color: var(--color-text-muted);
}

.footer-right .cyan {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
  background: var(--color-bg-deep);
  padding: 80px 0 64px;
  padding-top: 140px;
}

.page-header .eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #BF00FF;
  margin-bottom: 16px;
  font-weight: 500;
}

.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #F8F0FF;
  max-width: 800px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 16px;
  color: #A888C0;
  line-height: 1.75;
  max-width: 520px;
}

.page-header h1,
.services-header h1,
.work-header h1,
.about-header h1,
.contact-header h1 {
  font-size: 52px !important;
  line-height: 1.1 !important;
  max-width: 700px !important;
}

@media (max-width: 768px) {
  .page-header { padding: 120px 0 48px; }
  .page-header h1,
  .services-header h1,
  .work-header h1,
  .about-header h1,
  .contact-header h1 { font-size: 36px !important; }
}

/* ==========================================
   CASE STUDY CARDS (work.html)
   ========================================== */

.case-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 40px;
  margin-bottom: 16px;
  transition: border-color 0.3s, transform 0.3s;
}

.case-card:nth-child(even) {
  background: var(--color-bg);
}

.case-card:hover {
  border-color: rgba(191,0,255,0.3);
  transform: translateY(-2px);
}

.case-location {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.case-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.case-pill {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--color-border);
  color: var(--color-text-body);
  border-radius: 2px;
}

.view-all-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.view-all-link:hover {
  opacity: 0.7;
}

.case-tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.case-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.case-card p {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 16px;
}

.case-detail {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.case-detail-item {
  font-size: 12px;
}

.case-detail-label {
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  margin-bottom: 2px;
}

.case-detail-value {
  color: var(--color-text-primary);
}

/* ==========================================
   SERVICE BLOCKS (services.html)
   ========================================== */

.service-block {
  border-top: 1px solid #2A0050;
  padding: 48px 0;
  transition: background 0.3s ease;
}

.service-block:hover {
  background: rgba(191, 0, 255, 0.03);
}

.service-block:last-child {
  border-bottom: 1px solid #2A0050;
}

.service-block-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 40px;
  align-items: start;
}

.service-number {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #BF00FF;
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #F8F0FF;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 15px;
  color: #A888C0;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 11px;
  padding: 4px 12px;
  border: 1px solid #2A0050;
  border-radius: 2px;
  color: #A888C0;
  letter-spacing: 0.04em;
}

.service-link {
  font-size: 13px;
  color: #BF00FF;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
  padding-top: 4px;
  transition: color 0.2s ease;
}

.service-link:hover {
  color: #D400FF;
}

@media (max-width: 768px) {
  .service-block-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 24px;
  }
}

/* ==========================================
   ABOUT
   ========================================== */

.about-story {
  max-width: 640px;
}

.about-story p {
  font-size: 16px !important;
  line-height: 2 !important;
  color: #A888C0 !important;
  max-width: 640px;
  margin-bottom: 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 48px;
}

.value-card {
  background: #160028;
  border: 1px solid #2A0050;
  border-radius: 2px;
  padding: 36px 32px;
  transition: border-color 0.3s ease;
}

.value-card:hover {
  border-color: rgba(191, 0, 255, 0.4);
}

.value-card h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #F8F0FF;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: #A888C0;
  line-height: 1.75;
}

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

/* ==========================================
   CONTACT
   ========================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #D4A0F0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #1E0035;
  border: 1px solid #3A0070;
  border-radius: 2px;
  color: #F8F0FF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(248, 240, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #BF00FF;
  background: #240040;
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
}

.form-group select option {
  background: #160028;
  color: #F8F0FF;
}

.form-group textarea {
  resize: vertical;
}

.contact-sidebar {
  padding-top: 8px;
}

.contact-sidebar-item {
  margin-bottom: 24px;
}

.contact-sidebar-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #BF00FF;
  margin-bottom: 4px;
}

.contact-sidebar-value {
  font-size: 15px;
  color: #F8F0FF;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-sidebar-value a {
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.contact-sidebar-value a:hover {
  opacity: 0.7;
}

.contact-sidebar-note {
  font-size: 13px;
  color: #A888C0;
  border-left: 2px solid #BF00FF;
  padding-left: 12px;
  margin-top: 32px;
  line-height: 1.6;
}

button[type="submit"] {
  background: #BF00FF;
  color: #F8F0FF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  border-radius: 2px;
  width: 100%;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: background 0.2s ease;
}

button[type="submit"]:hover {
  background: #9900CC;
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================
   FEATURE 1 — KINETIC TEXT
   ========================================== */

#kinetic-word {
  display: inline-block;
  color: #BF00FF;
  font-style: italic;
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 200px;
}

#kinetic-word.exit {
  opacity: 0;
  transform: translateY(-12px);
}

#kinetic-word.enter {
  opacity: 0;
  transform: translateY(12px);
}

/* ==========================================
   FEATURE 3 — GLITCH LOGO
   ========================================== */

@keyframes glitch {
  0%   { clip-path: inset(0 0 100% 0); transform: translate(0); }
  10%  { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 1px); color: #BF00FF; }
  20%  { clip-path: inset(50% 0 30% 0); transform: translate(3px, -1px); color: #FF00FF; }
  30%  { clip-path: inset(20% 0 70% 0); transform: translate(-2px, 2px); color: #BF00FF; }
  40%  { clip-path: inset(70% 0 10% 0); transform: translate(2px, -2px); color: #E8C0FF; }
  50%  { clip-path: inset(0 0 0 0); transform: translate(0); color: inherit; }
  100% { clip-path: inset(0 0 0 0); transform: translate(0); color: inherit; }
}

.nav-logo {
  position: relative;
}

.nav-logo.glitching {
  animation: glitch 0.4s steps(1) forwards;
}

/* ==========================================
   FEATURE 4 — NOISE OVERLAY
   ========================================== */

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

/* ==========================================
   PROJECT GRID
   ========================================== */

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

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.project-card {
  background: #160028;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  background: #160028;
  border-color: rgba(0, 200, 255, 0.25);
  transform: translateY(-2px);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,0,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #BF00FF;
  font-weight: 500;
}

.project-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #F8F0FF;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.project-location {
  font-size: 11px;
  color: #A888C0;
  letter-spacing: 0.04em;
}

.project-desc {
  font-size: 13px;
  color: #A888C0;
  line-height: 1.75;
  flex: 1;
}

.project-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.service-pill {
  font-size: 10px;
  padding: 3px 10px;
  background: #08010F;
  border: 1px solid #2A0050;
  border-radius: 2px;
  color: #A888C0;
  letter-spacing: 0.04em;
}

.visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #BF00FF;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-top: 8px;
  text-decoration: none;
  width: fit-content;
  transition: gap 0.2s ease;
}

.visit-btn:hover {
  gap: 10px;
}

.visit-btn::after {
  content: '\2192';
}

/* ==========================================
   FEATURE 8 — SITE PREVIEW
   ========================================== */

.site-preview {
  position: fixed;
  top: 50%;
  right: 60px;
  transform: translateY(-50%) scale(0.95);
  width: 380px;
  height: 280px;
  background: #120020;
  border: 1px solid rgba(191,0,255,0.2);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.site-preview.visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: none;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #120020;
  border-bottom: 1px solid rgba(191,0,255,0.05);
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2A0050;
}

.preview-url {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  font-family: monospace;
  margin-left: 6px;
}

#preview-iframe {
  width: 150%;
  height: 150%;
  border: none;
  transform: scale(0.667);
  transform-origin: top left;
  pointer-events: none;
}

@media (max-width: 768px) {
  .site-preview { display: none; }
}

/* ==========================================
   PAGE FADE
   ========================================== */

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  animation: pageFadeIn 0.4s ease forwards;
}

/* ==========================================
   STATS BAR v2
   ========================================== */

.stats-bar {
  background: #08010F;
  border-top: 1px solid #2A0050;
  border-bottom: 1px solid #2A0050;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 36px 0;
  border-right: 1px solid #2A0050;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #BF00FF;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid #2A0050; }
  .stat-item:last-child { border-bottom: none; }
}

/* ==========================================
   WHY VEKARIS
   ========================================== */

.why-vekaris {
  background: #08010F;
  padding: 80px 0;
  border-top: 1px solid #2A0050;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.why-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #BF00FF;
  margin-bottom: 40px;
  font-weight: 500;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #2A0050;
}

.why-item {
  background: #0E0018;
  padding: 36px 28px;
  transition: background 0.3s ease;
}

.why-item:hover { background: #140020; }

.why-icon {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #BF00FF;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.why-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #F8F0FF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.why-item p {
  font-size: 13px;
  color: #A888C0;
  line-height: 1.75;
}

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

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonials {
  background: #0A0014;
  padding: 80px 0;
  border-top: 1px solid #2A0050;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.testimonial-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #BF00FF;
  margin-bottom: 40px;
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #2A0050;
}

.testimonial-card {
  background: #0E0018;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s ease;
}

.testimonial-card:hover { background: #140020; }

.testimonial-stars {
  font-size: 14px;
  color: #BF00FF;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: #A888C0;
  line-height: 1.85;
  flex: 1;
  font-style: italic;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: #F8F0FF;
  margin-bottom: 2px;
}

.author-loc {
  font-size: 11px;
  color: rgba(191, 0, 255, 0.5);
  letter-spacing: 0.04em;
}

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

/* ==========================================
   RICH FOOTER
   ========================================== */

.site-footer {
  background: #04000A;
  border-top: 1px solid #2A0050;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2A0050;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #F8F0FF;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer-logo span { color: #BF00FF; }

.footer-tagline {
  font-size: 14px;
  color: #6A5080;
  line-height: 1.75;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-cta {
  font-size: 13px;
  color: #BF00FF;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-cta:hover { color: #D400FF; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #BF00FF;
  font-weight: 500;
  margin-bottom: 4px;
}

.footer-col a, .footer-col span {
  font-size: 13px;
  color: #6A5080;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: #A888C0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(248, 240, 255, 0.2);
  letter-spacing: 0.04em;
}

.footer-bottom em {
  color: #BF00FF;
  font-style: normal;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-inner { padding: 48px 24px 24px; }
}

/* ==========================================
   CONTACT SIDEBAR CARD
   ========================================== */

.contact-sidebar {
  background: #0E0018;
  border: 1px solid #2A0050;
  border-radius: 2px;
  padding: 36px 32px;
  height: fit-content;
  position: sticky;
  top: 88px;
}

.response-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #A888C0;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #2A0050;
}

.response-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #BF00FF;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ==========================================
   FORM FIELD OVERRIDES
   ========================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background: #1E0035 !important;
  border: 1px solid #3A0070 !important;
  color: #F8F0FF !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  width: 100% !important;
  border-radius: 2px !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(248,240,255,0.2) !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #BF00FF !important;
  background: #240040 !important;
}

/* ==========================================
   TRUST ITEMS (contact sidebar)
   ========================================== */

.trust-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.trust-icon {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #BF00FF;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-top: 2px;
}

.trust-text {
  font-size: 13px;
  color: #A888C0;
  line-height: 1.75;
}

.trust-text strong {
  display: block;
  color: #F8F0FF;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

/* ==========================================
   OVERRIDES — Testimonial contrast
   ========================================== */

.testimonial-card {
  background: #120020 !important;
}

.testimonial-text {
  color: #C8A8E0 !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

/* ==========================================
   OVERRIDES — Footer column balance
   ========================================== */

.footer-top {
  grid-template-columns: 1fr 1.5fr !important;
  gap: 60px !important;
}

/* ==========================================
   OVERRIDES — Page header h1 size
   ========================================== */

.page-header h1 {
  font-size: 48px !important;
  line-height: 1.1 !important;
  max-width: 680px !important;
}

@media (max-width: 768px) {
  .page-header h1 { font-size: 32px !important; }
}

/* ==========================================
   OVERRIDES — About story + value cards
   ========================================== */

.about-story p {
  color: #A888C0 !important;
  font-size: 16px !important;
  line-height: 2 !important;
}

.value-card h4 {
  color: #F8F0FF !important;
  font-size: 18px !important;
}

.value-card p {
  color: #A888C0 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

/* ==========================================
   OVERRIDES — Contact form fields
   ========================================== */

input, select, textarea {
  background: #1C0030 !important;
  border: 1px solid #4A0080 !important;
  color: #F8F0FF !important;
  font-size: 15px !important;
}

input:focus, select:focus, textarea:focus {
  border-color: #BF00FF !important;
  background: #240040 !important;
  outline: none !important;
}

input::placeholder, textarea::placeholder {
  color: rgba(248,240,255,0.25) !important;
}
