/* ==========================================================================
   ANDREIWD STYLE PURPLE THEME DESIGN SYSTEM
   Cyber-Minimalist / Blueprint Grid / Neon Violet & Amethyst Aesthetics
   ========================================================================== */

:root {
  /* Core Backgrounds */
  --bg-page: #08070d;
  --bg-surface: #0e0c17;
  --bg-card: #12101f;
  --bg-card-hover: #171428;
  --bg-ink: #06050a;
  
  /* Borders & Lines */
  --border-line: rgba(168, 85, 247, 0.12);
  --border-line-strong: rgba(168, 85, 247, 0.28);
  --border-line-hover: rgba(192, 132, 252, 0.6);
  --border-line-subtle: rgba(255, 255, 255, 0.07);

  /* Primary Violet / Purple Brand Colors */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #581c87;
  --purple-900: #3b0764;
  --purple-glow: rgba(168, 85, 247, 0.45);
  --purple-glow-sm: rgba(168, 85, 247, 0.25);
  --purple-glow-lg: rgba(147, 51, 234, 0.55);

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  --gradient-purple-light: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
  --gradient-card: linear-gradient(180deg, rgba(26, 22, 45, 0.7) 0%, rgba(14, 12, 23, 0.9) 100%);

  /* Neutrals & Text */
  --text-white: #ffffff;
  --text-gray-100: #f1eff7;
  --text-gray-200: #c5c2d6;
  --text-gray-300: #9693ab;
  --text-gray-400: #6a6782;
  --text-gray-500: #4a4760;

  /* Accents */
  --color-success: #10b981;
  --color-success-glow: rgba(16, 185, 129, 0.5);

  /* Typography - Official AndreiWD Font Stack */
  --font-display: 'Chakra Petch', -apple-system, sans-serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Chakra Petch', monospace;

  /* Layout */
  --header-height: 74px;
  --max-width: 1240px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background-color: var(--bg-page);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-page);
  color: var(--text-gray-200);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

::selection {
  background: var(--purple-600);
  color: #fff;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: #25213b;
  border-radius: 4px;
  border: 1px solid var(--border-line);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-700);
}

/* ==========================================================================
   BACKGROUNDS: Blueprint Grid & Ambient Purple Embers
   ========================================================================== */
.bg-blueprint {
  background-image: 
    linear-gradient(to right, rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-blueprint-dense {
  background-image: 
    linear-gradient(to right, rgba(168, 85, 247, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bg-ember {
  background: radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.14) 0%, rgba(147, 51, 234, 0.05) 45%, transparent 75%);
  pointer-events: none;
}

.bg-ember-corner {
  background: radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.bg-scanlines {
  background-image: linear-gradient(rgba(18, 16, 31, 0.8), rgba(18, 16, 31, 0.8)), repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(168, 85, 247, 0.03) 3px, rgba(168, 85, 247, 0.03) 3px);
}

/* ==========================================================================
   DECORATIVE CHAMFERS / NOTCHES (AndreiWD signature style)
   ========================================================================== */
.notch-tr {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.notch-tr-sm {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.notch-both {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.notch-bl {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

/* ==========================================================================
   LOADER OVERLAY (Intro screen with live % counter)
   ========================================================================== */
.awd-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.awd-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.awd-loader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.awd-loader-mark {
  width: 58px;
  height: 58px;
  border: 1px solid var(--purple-500);
  background: rgba(168, 85, 247, 0.08);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--purple-glow);
}

.awd-loader-mark-symbol {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  z-index: 2;
}

.awd-loader-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #c084fc;
  box-shadow: 0 0 10px #c084fc, 0 0 20px #a855f7;
  animation: scanline 1.8s infinite ease-in-out;
}

@keyframes scanline {
  0% { top: -10%; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.awd-loader-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-white);
  text-transform: uppercase;
}

.awd-loader-word span {
  color: var(--purple-400);
  text-shadow: 0 0 15px var(--purple-glow);
}

.awd-loader-progress-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.awd-loader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-purple);
  box-shadow: 0 0 12px var(--purple-500);
  transition: width 0.1s linear;
}

.awd-loader-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--purple-300);
  letter-spacing: 0.18em;
}

/* ==========================================================================
   BUTTONS (Notched, Glowing, Glitch & Grain)
   ========================================================================== */
.awd-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-expo);
  white-space: nowrap;
}

.awd-btn-solid {
  background: var(--gradient-purple);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.awd-btn-solid:hover {
  background: var(--purple-500);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.65), 0 0 50px rgba(147, 51, 234, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.awd-btn-solid:active {
  transform: translateY(1px);
}

.awd-btn-outline {
  background: rgba(14, 12, 23, 0.6);
  backdrop-filter: blur(8px);
  border-color: var(--border-line-strong);
  color: var(--text-gray-100);
}

.awd-btn-outline:hover {
  border-color: var(--purple-400);
  color: #ffffff;
  background: rgba(168, 85, 247, 0.12);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}

.awd-btn-outline:active {
  transform: translateY(1px);
}

.awd-btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.awd-btn-md {
  height: 48px;
  padding: 0 26px;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.awd-btn-lg {
  height: 56px;
  padding: 0 34px;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.awd-btn .arrow-icon {
  font-size: 1.15em;
  transition: transform 0.2s var(--ease-expo);
}

.awd-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 7, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-line);
  height: var(--header-height);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border-line-strong);
  background: rgba(8, 7, 13, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--purple-500);
  background: rgba(168, 85, 247, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 15px var(--purple-glow-sm);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--text-white);
  text-transform: uppercase;
}

.brand-text span {
  color: var(--purple-400);
  text-shadow: 0 0 12px var(--purple-glow);
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  position: relative;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gray-300);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-white);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--purple-400);
  box-shadow: 0 0 8px var(--purple-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-expo);
}

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

.nav-actions {
  display: none;
  align-items: center;
  gap: 18px;
}

@media (min-width: 992px) {
  .nav-actions {
    display: flex;
  }
}

/* Language switch */
.lang-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-line-strong);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(14, 12, 23, 0.6);
}

.lang-btn {
  padding: 5px 10px;
  color: var(--text-gray-300);
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.lang-btn.active {
  background: rgba(168, 85, 247, 0.18);
  color: var(--purple-400);
}

.lang-btn:hover:not(.active) {
  color: var(--text-white);
}

.lang-divider {
  color: var(--border-line-strong);
  padding: 0 2px;
}

/* Burger Button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-line-strong);
  padding: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--purple-400);
  transition: all 0.25s ease;
}

@media (min-width: 992px) {
  .burger-btn {
    display: none;
  }
}

.burger-btn:hover {
  border-color: var(--purple-400);
  box-shadow: 0 0 10px var(--purple-glow-sm);
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  height: var(--header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-line);
}

.mobile-nav-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 6px;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-line);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--purple-400);
  letter-spacing: 0.18em;
}

.mobile-nav-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-white);
  transition: color 0.2s ease;
}

.mobile-nav-arrow {
  margin-left: auto;
  color: var(--purple-400);
  font-size: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover .mobile-nav-title {
  color: var(--purple-400);
}

.mobile-nav-link:hover .mobile-nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-footer {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border-line);
}

/* ==========================================================================
   COORDINATE MARKS & DECORATIVE CROSSES
   ========================================================================== */
.tech-cross {
  position: absolute;
  font-family: var(--font-mono);
  color: var(--purple-400);
  font-size: 14px;
  user-select: none;
  pointer-events: none;
  opacity: 0.7;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  border-bottom: 1px solid var(--border-line);
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 90px;
    padding-bottom: 100px;
  }
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border-line-strong);
  background: rgba(18, 16, 31, 0.85);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray-200);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-success-glow);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.status-caret {
  display: inline-block;
  width: 2px;
  height: 12px;
  background-color: var(--purple-400);
  margin-left: 4px;
  animation: blink 1s infinite;
}

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

/* Headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.hero-title .highlight {
  color: var(--purple-400);
  display: block;
  text-shadow: 0 0 30px var(--purple-glow);
}

.hero-description {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--text-gray-200);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Portrait Frame */
.hero-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.portrait-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(147, 51, 234, 0.08) 50%, transparent 75%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
}

.portrait-offset-frame {
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  pointer-events: none;
  z-index: 2;
}

.portrait-card {
  position: relative;
  z-index: 3;
  background: var(--bg-card);
  border: 1px solid var(--border-line-strong);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.portrait-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.6s var(--ease-expo), filter 0.6s ease;
}

.portrait-card:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-overlay-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(8, 7, 13, 0.8) 100%);
  pointer-events: none;
}

.portrait-badge-bottom {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 10px 14px;
  background: rgba(14, 12, 23, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-gray-200);
}

.portrait-badge-bottom .code-tag {
  color: var(--purple-400);
  font-weight: 600;
}

/* ==========================================================================
   AI & CORE TECH ICONS STRIP (GLM, GEMINI, CODEX, C++, KERNEL)
   ========================================================================== */
.tech-icons-strip {
  border-bottom: 1px solid var(--border-line);
  background: rgba(11, 9, 19, 0.75);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.tech-icons-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .tech-icons-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .tech-icons-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tech-icon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all 0.25s var(--ease-expo);
  text-decoration: none;
  color: inherit;
}

.tech-icon-card:hover {
  border-color: var(--purple-400);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.25);
  transform: translateY(-3px);
}

.tech-icon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-icon-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--purple-400);
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.12);
  padding: 3px 6px;
  border: 1px solid var(--border-line);
}

.tech-svg-box {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-line-strong);
  background: rgba(168, 85, 247, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  transition: all 0.2s ease;
}

.tech-icon-card:hover .tech-svg-box {
  background: var(--purple-500);
  color: #ffffff;
  border-color: var(--purple-400);
  box-shadow: 0 0 16px var(--purple-glow);
}

.tech-svg-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.tech-icon-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tech-icon-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 0.04em;
}

.tech-icon-card:hover .tech-icon-name {
  color: var(--purple-300);
}

.tech-icon-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-gray-300);
  line-height: 1.4;
}

/* ==========================================================================
   METRICS & STATS STRIP
   ========================================================================== */
.stats-strip {
  border-bottom: 1px solid var(--border-line);
  background: rgba(14, 12, 23, 0.5);
  position: relative;
  z-index: 10;
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 32px 24px;
  border-right: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 0.2s ease;
}

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

.stat-item:hover {
  background: rgba(168, 85, 247, 0.04);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stat-number span {
  color: var(--purple-400);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-gray-400);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  position: relative;
  padding: 90px 0;
  border-bottom: 1px solid var(--border-line);
}

@media (min-width: 992px) {
  .section {
    padding: 120px 0;
  }
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '//';
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.section-title span {
  color: var(--purple-400);
}

.section-subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-gray-300);
  max-width: 580px;
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT & SKILLS SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

.about-text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray-200);
  margin-bottom: 20px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .about-features-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 20px;
  transition: all 0.2s ease;
}

.feature-box:hover {
  border-color: var(--border-line-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-title span {
  color: var(--purple-400);
  font-size: 12px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-gray-300);
  line-height: 1.5;
}

/* Skills Matrix Box */
.skills-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: rgba(8, 7, 13, 0.9);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #36324e;
}

.terminal-dot:nth-child(1) { background: #ff5f56; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-gray-400);
  letter-spacing: 0.1em;
}

.terminal-body {
  padding: 24px;
}

.skill-category {
  margin-bottom: 24px;
}

.skill-category:last-child {
  margin-bottom: 0;
}

.skill-cat-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 12px;
}

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

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid var(--border-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-gray-200);
  letter-spacing: 0.08em;
  transition: all 0.15s ease;
}

.tech-tag:hover {
  border-color: var(--purple-400);
  color: #fff;
  background: rgba(168, 85, 247, 0.16);
  box-shadow: 0 0 12px var(--purple-glow-sm);
  transform: translateY(-1px);
}

.tech-tag .bracket {
  opacity: 0.4;
}

/* ==========================================================================
   SERVICES / SPECIALTIES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-expo);
}

.service-card:hover {
  border-color: var(--purple-500);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-400);
  letter-spacing: 0.2em;
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-line-strong);
  background: rgba(168, 85, 247, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  font-size: 18px;
  transition: all 0.2s ease;
}

.service-card:hover .service-icon {
  background: var(--purple-500);
  color: #fff;
  border-color: var(--purple-400);
  box-shadow: 0 0 15px var(--purple-glow);
}

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray-300);
  margin-bottom: 24px;
  flex: 1;
}

.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-line);
  padding-top: 18px;
}

.service-item-li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-gray-300);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-item-li::before {
  content: '+';
  color: var(--purple-400);
  font-weight: bold;
}

/* ==========================================================================
   PORTFOLIO / PROJECTS SECTION
   ========================================================================== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-gray-300);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: #fff;
  border-color: var(--border-line-strong);
}

.filter-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--purple-400);
  color: var(--purple-300);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-expo);
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--purple-400);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.28);
  transform: translateY(-5px);
}

.project-thumb-box {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #110e21;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.4s var(--ease-expo), filter 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.05);
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 13, 0.35);
  transition: background 0.2s ease;
}

.project-card:hover .project-thumb-overlay {
  background: rgba(168, 85, 247, 0.12);
}

.project-index-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-gray-200);
  background: rgba(8, 7, 13, 0.7);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border: 1px solid var(--border-line);
  transition: all 0.2s ease;
}

.project-card:hover .project-index-pill {
  color: var(--purple-400);
  border-color: var(--purple-500);
}

.project-content {
  padding: 22px;
  border-top: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  transition: color 0.2s ease;
}

.project-card:hover .project-title {
  color: var(--purple-300);
}

.project-arrow {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--purple-400);
  transition: transform 0.2s var(--ease-expo);
}

.project-card:hover .project-arrow {
  transform: translate(3px, -3px);
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.project-year {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-gray-400);
}

/* ==========================================================================
   PROCESS / METHODOLOGY SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 30px 24px;
  position: relative;
  transition: all 0.2s ease;
}

.process-step-card:hover {
  border-color: var(--purple-500);
  transform: translateY(-3px);
}

.step-num-big {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: rgba(168, 85, 247, 0.25);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.process-step-card:hover .step-num-big {
  color: var(--purple-400);
  text-shadow: 0 0 15px var(--purple-glow-sm);
}

.step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-gray-300);
}

/* ==========================================================================
   CALL TO ACTION BANNER (High-Impact AndreiWD Style)
   ========================================================================== */
.cta-banner-section {
  padding: 90px 0;
}

.cta-banner-box {
  background: var(--bg-ink);
  border: 1px solid var(--border-line-strong);
  padding: 48px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
  .cta-banner-box {
    padding: 60px 48px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-white);
}

.cta-banner-title span {
  color: var(--purple-400);
  text-shadow: 0 0 25px var(--purple-glow);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-info-item {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.contact-info-item:hover {
  border-color: var(--purple-400);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-line-strong);
  background: rgba(168, 85, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray-400);
  margin-bottom: 3px;
}

.contact-info-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

/* Contact Form */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 36px 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-gray-300);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(8, 7, 13, 0.8);
  border: 1px solid var(--border-line-strong);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-white);
  outline: none;
  transition: all 0.2s ease;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
  background: rgba(14, 12, 23, 0.95);
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--bg-card);
  border: 1px solid var(--purple-400);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--purple-glow);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-expo);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  color: var(--color-success);
}

/* ==========================================================================
   FOOTER (Tech Grid, Monospace Meta & Back to Top)
   ========================================================================== */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border-line);
  background: var(--bg-ink);
  overflow: hidden;
  padding-top: 70px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.footer-brand-col {
  max-width: 360px;
}

.footer-bio {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-gray-300);
  margin-top: 20px;
}

.footer-status-pill {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-line-strong);
  padding: 8px 14px;
  background: rgba(18, 16, 31, 0.6);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray-200);
}

.footer-nav-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-nav-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-gray-300);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--purple-300);
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-line);
  background: rgba(6, 5, 10, 0.95);
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

.footer-bottom-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-gray-400);
}

.footer-bottom-container span.accent {
  color: var(--purple-400);
}

.back-to-top-btn {
  background: none;
  border: 1px solid var(--border-line-strong);
  color: var(--text-gray-300);
  padding: 5px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  transition: all 0.2s ease;
}

.back-to-top-btn:hover {
  border-color: var(--purple-400);
  color: var(--purple-300);
  box-shadow: 0 0 10px var(--purple-glow-sm);
}

/* ==========================================================================
   PROJECT DETAILS MODAL (Interactive)
   ========================================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6, 5, 10, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-expo);
}

.project-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-line-strong);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--purple-glow-sm);
  transform: translateY(20px) scale(0.97);
  transition: all 0.3s var(--ease-expo);
}

.project-modal.is-active .modal-content-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(8, 7, 13, 0.8);
  border: 1px solid var(--border-line-strong);
  color: var(--text-white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  border-color: var(--purple-400);
  color: var(--purple-400);
  box-shadow: 0 0 10px var(--purple-glow-sm);
}

.modal-img-holder {
  aspect-ratio: 16 / 9;
  background: #151126;
  position: relative;
  overflow: hidden;
}

.modal-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 30px;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple-400);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 16px;
}

.modal-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray-200);
  margin-bottom: 24px;
}

.modal-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
