
/* ===========================
   AETHER EDITING — STYLE.CSS (IMPROVED)
   Dark Cinematic Portfolio
   =========================== */

/* ===================== DESIGN TOKENS ===================== */
:root {
  /* Color Palette */
  --bg: #050608;
  --surface: #0a0c10;
  --surface2: #10131a;
  --border: rgba(255,255,255,0.07);
  --accent: #1a8fff;
  --accent2: #00c8ff;
  --accent-glow: rgba(26,143,255,0.18);
  --accent-rgba-light: rgba(26,143,255,0.3);
  --accent-rgba-lighter: rgba(26,143,255,0.25);
  --text: #e8eaf0;
  --text-muted: #6b7280;
  --text-dim: #3a4050;
  --white: #ffffff;
  --success: #22c55e;
  --success-glow: rgba(34,197,94,0.2);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;

  /* Radii */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-full: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-accent: 0 0 20px rgba(0,200,255,0.3);

  /* Animation */
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --duration-short: 0.2s;
  --duration-standard: 0.3s;
  --duration-long: 0.6s;

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-modal: 999;
  --z-nav: 1000;
  --z-hamburger: 1100;
}

/* ===================== ACCESSIBILITY ===================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

ul {
  list-style: none;
}

/* Form Inputs - Unified Styling */
select,
input,
textarea {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

select option {
  background: var(--surface2);
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent2);
}

/* ===================== UTILITY CLASSES ===================== */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  height: 64px;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav.scrolled {
  background: rgba(5, 6, 8, 0.97);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

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

.nav-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.nav-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
  will-change: opacity;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
  will-change: transform;
}

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

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: var(--z-hamburger);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
  will-change: transform;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.98);
  backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.mobile-overlay ul a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.mobile-overlay ul a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

.mobile-socials {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

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

.mobile-socials a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ===================== HERO SECTION ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(1rem, 6vw, 5rem);
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  object-position: center top;
  filter: brightness(0.3) saturate(0.5);
  will-change: filter;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 8, 0.2) 0%,
    rgba(5, 6, 8, 0.5) 40%,
    rgba(5, 6, 8, 0.92) 75%,
    var(--bg) 100%
  );
}

/* Scan Line Animation */
.hero-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%
  );
  opacity: 0.7;
  z-index: 2;
  animation: scanDown 6s ease-in-out infinite;
  will-change: top, opacity;
}

@keyframes scanDown {
  0% {
    top: 64px;
    opacity: 0.7;
  }
  90% {
    top: 100%;
    opacity: 0.2;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Brackets */
.hero-bracket,
.frame-corner,
.form-bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 3;
}

.hero-bracket.tl {
  top: 80px;
  left: clamp(1rem, 4vw, 3rem);
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.hero-bracket.tr {
  top: 80px;
  right: clamp(1rem, 4vw, 3rem);
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

.hero-bracket.bl {
  bottom: 20px;
  left: clamp(1rem, 4vw, 3rem);
  border-bottom: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.hero-bracket.br {
  bottom: 20px;
  right: clamp(1rem, 4vw, 3rem);
  border-bottom: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

.hero-content {
  position: relative;
  z-index: 4;
  padding-bottom: 6rem;
  max-width: 860px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s ease both 0.2s;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 8px var(--accent2);
  animation: pulse 2s ease infinite;
  will-change: opacity;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title .line1 {
  display: block;
  animation: fadeUp 0.8s ease both 0.3s;
}

.hero-title .line2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
  animation: fadeUp 0.8s ease both 0.45s;
}

.cursor-bar {
  color: var(--accent);
  -webkit-text-stroke: 0;
  animation: blink 1s step-end infinite;
  will-change: opacity;
}

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

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

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.8s ease both 0.6s;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease both 0.75s;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s ease both 0.9s;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: clamp(1rem, 4vw, 3rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 0.8s ease both 1s;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scrollLine 2s ease infinite;
  will-change: transform;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

/* ===================== MARQUEE ===================== */
.marquee-wrap {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.marquee-track .sep {
  color: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===================== BUTTONS ===================== */
/* Base Button Card */
.card-base {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid var(--accent);
  will-change: transform;
}

.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

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

/* Ghost Button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(26, 143, 255, 0.2);
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Button Modifiers */
.btn-large {
  padding: 16px 40px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===================== LAYOUT ===================== */
.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.05;
}

.section-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  transition: opacity var(--transition);
}

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

.section-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ===================== SERVICE CARDS (HOME) ===================== */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  transition: background var(--transition), transform var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.service-card:hover {
  background: var(--surface2);
  transform: translateY(-2px);
}

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

.card-icon {
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  transition: color var(--transition);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 3px 10px;
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-rgba-lighter);
}

/* ===================== WHY SECTION ===================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.why-frame img {
  object-fit: cover;
  filter: brightness(0.8) saturate(0.7);
  will-change: transform;
}

.why-frame:hover img {
  transform: scale(1.02);
}

.frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 2;
}

.frame-corner.tl {
  top: 12px;
  left: 12px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.frame-corner.tr {
  top: 12px;
  right: 12px;
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

.frame-corner.bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.frame-corner.br {
  bottom: 12px;
  right: 12px;
  border-bottom: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

.why-body {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 1.5rem 0;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ===================== CTA BAND ===================== */
.cta-band {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 50% 50%,
    rgba(26, 143, 255, 0.08) 0%,
    transparent 70%
  );
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.05;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  position: relative;
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(4rem, 6vw, 5rem);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0.75rem 0 1rem;
}

.page-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ===================== SERVICES FULL ===================== */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-full-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.service-full-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  will-change: transform;
}

.service-full-card:hover {
  border-color: var(--accent-rgba-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

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

.sfc-custom {
  border-color: rgba(26, 143, 255, 0.2);
  background: var(--surface2);
}

.sfc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.sfc-icon {
  font-size: 1.3rem;
  color: var(--accent);
}

.sfc-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-rgba-lighter);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.service-full-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-full-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex: 1;
}

.sfc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.sfc-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.sfc-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.sfc-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===================== PROCESS ===================== */
.process-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.process-step {
  flex: 1;
  min-width: 160px;
  padding: 2rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.process-step:hover {
  border-color: var(--accent-rgba-light);
  transform: translateY(-2px);
  background: var(--surface);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-arrow {
  font-size: 1.2rem;
  color: var(--text-dim);
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ===================== FILTER BAR ===================== */
.filter-bar-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: var(--z-sticky);
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  padding: 1rem clamp(1rem, 5vw, 3rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===================== PORTFOLIO GRID ===================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.port-card {
  cursor: pointer;
  transition: transform var(--transition);
}

.port-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.port-thumb {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface2);
}

.port-thumb img {
  transition: transform 0.5s ease, filter var(--transition);
  filter: brightness(0.8) saturate(0.7);
  will-change: transform, filter;
}

/* Vimeo iframe wrapper */
.vimeo-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vimeo-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.port-card:hover .port-thumb img {
  transform: scale(1.05);
  filter: brightness(0.5) saturate(0.5);
}

.port-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  background: rgba(5, 6, 8, 0.3);
}

.port-card:hover .port-overlay {
  opacity: 1;
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-accent);
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.5);
}

.port-info {
  text-align: center;
  padding: 0 1rem;
}

.port-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.port-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.port-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0 0;
}

.port-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.port-duration {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.port-card.hidden {
  display: none;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.testi-card:hover {
  border-color: var(--accent-rgba-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.testi-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.testi-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}

.testi-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ===================== CONTACT ===================== */
.contact-section {
  padding-top: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.ci-block {
  margin-bottom: 2.5rem;
}

.ci-body {
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.ci-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.ci-item:hover {
  border-color: var(--accent);
  background: var(--surface2);
  transform: translateX(4px);
}

.ci-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ci-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent-rgba-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ci-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 2px;
}

.ci-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.ci-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s ease infinite;
  will-change: opacity;
}

/* ===================== FORM ===================== */
.contact-form-wrap {
  position: sticky;
  top: 80px;
  z-index: 10;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  box-shadow: var(--shadow-md);
}

.form-bracket {
  width: 14px;
  height: 14px;
}

.form-bracket.tl {
  top: 12px;
  left: 12px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.form-bracket.tr {
  top: 12px;
  right: 12px;
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

.form-bracket.bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.form-bracket.br {
  bottom: 12px;
  right: 12px;
  border-bottom: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

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

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2rem, 10vw, 6rem);
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 1rem;
    padding: 1rem 0;
  }

  .stat-divider {
    display: none;
  }

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

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

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

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

  .section-header {
    gap: 1rem;
    justify-content: center;
    text-align: center;
  }

  .cta-band-inner {
    justify-content: center;
    text-align: center;
  }

  .process-steps {
    flex-direction: column;
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 8vw, 4rem);
    line-height: 1;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-full {
    width: 100%;
  }

  .stat {
    flex: 1;
  }

  .marquee-track {
    animation: marquee 15s linear infinite;
  }

  .nav {
    padding: 0 1rem;
  }

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

  .filter-bar {
    padding: 0.75rem 1rem;
  }
   }
