/* ============================================
   CSS Variables — Dark Theme (default)
   ============================================ */
[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-section: #111118;
  --bg-card: #1a1a24;
  --accent: #8B5CF6;
  --accent-hover: #7C3AED;
  --accent-glow: rgba(139, 92, 246, 0.4);
  --accent-border: rgba(139, 92, 246, 0.3);
  --text-primary: #f1f1f3;
  --text-secondary: #a1a1aa;
  --text-heading: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 12px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.2);
  --header-bg: rgba(10, 10, 15, 0.8);
  --border-color: rgba(255, 255, 255, 0.06);
}

/* ============================================
   CSS Variables — Light Theme
   ============================================ */
[data-theme="light"] {
  --bg-primary: #f8f8fc;
  --bg-section: #ffffff;
  --bg-card: #f1f0f9;
  --accent: #7C3AED;
  --accent-hover: #6D28D9;
  --accent-glow: rgba(124, 58, 237, 0.3);
  --accent-border: rgba(124, 58, 237, 0.3);
  --text-primary: #1a1a2e;
  --text-secondary: #52525b;
  --text-heading: #0f0f1a;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-blur: 12px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
  --header-bg: rgba(248, 248, 252, 0.8);
  --border-color: rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 60px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

.btn--outline {
  border: 1px solid var(--accent-border);
  color: var(--accent);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

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

/* ============================================
   Tags
   ============================================ */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: var(--header-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: padding var(--transition), background var(--transition);
}

.header.scrolled {
  padding: 12px 0;
}

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

.header__logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  transition: opacity var(--transition);
}

.header__logo:hover {
  opacity: 0.8;
}

.header__menu {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.header__link:hover {
  color: var(--text-primary);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}

.theme-toggle:hover {
  color: var(--accent);
  background: var(--glass-bg);
}

.theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity var(--transition), transform var(--transition);
}

[data-theme="dark"] .theme-icon--dark {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="dark"] .theme-icon--light {
  opacity: 0;
  transform: rotate(-90deg);
}

[data-theme="light"] .theme-icon--dark {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="light"] .theme-icon--light {
  opacity: 1;
  transform: rotate(0deg);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Cards — General
   ============================================ */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

/* ============================================
   Services
   ============================================ */
.services {
  background: var(--bg-section);
}

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

.card--service {
  padding: 36px 28px;
  text-align: center;
  will-change: transform;
}

.card--service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card__title {
  margin-bottom: 12px;
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Featured service card — animated border */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.card--featured {
  position: relative;
  background: transparent;
  border: none;
  z-index: 1;
}

.card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(
    var(--gradient-angle, 0deg),
    #8B5CF6, #EC4899, #3B82F6, #8B5CF6
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
  z-index: -1;
}

.card--featured::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius-md) - 2px);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  z-index: -1;
}

@keyframes borderRotate {
  to {
    --gradient-angle: 360deg;
  }
}

.card--featured:hover {
  transform: translateY(-4px);
}

.card--featured:hover::before {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* ============================================
   Portfolio Slider
   ============================================ */
.portfolio-slider {
  position: relative;
  overflow: hidden;
}

.portfolio-slider__track {
  display: flex;
  transition: transform 0.5s ease;
  margin: 0 -12px;
}

.portfolio-slider__track > .card--portfolio {
  flex: 0 0 calc(100% / 3);
  padding: 0 12px;
  box-sizing: border-box;
}

.card--portfolio {
  overflow: hidden;
}

.card__preview {
  height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: 0 -12px;
  width: calc(100% + 24px);
}

.card__preview--1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card__preview--1::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  top: 30px;
  right: 30px;
}

.card__preview--1::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  bottom: 30px;
  left: 30px;
  transform: rotate(15deg);
}

.card__preview--2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card__preview--2::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(255,255,255,0.15);
  top: 20px;
  right: 40px;
}

.card__preview--2::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(255,255,255,0.2);
  bottom: 20px;
  left: 20px;
}

.card__preview--3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card__preview--3::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  top: -40px;
  left: -40px;
}

.card__preview--3::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  bottom: 30px;
  right: 30px;
}

.card__preview--4 {
  background: linear-gradient(135deg, #f97316 0%, #eab308 100%);
}

.card__preview--4::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  top: 25px;
  left: 25px;
  transform: rotate(25deg);
}

.card__preview--4::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  bottom: 20px;
  right: 25px;
}

.card__preview--5 {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.card__preview--5::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  bottom: -40px;
  right: -30px;
}

.card__preview--5::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 80px solid rgba(255,255,255,0.12);
  top: 25px;
  left: 30px;
}

.card__preview--6 {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.card__preview--6::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  top: 20px;
  right: 20px;
}

.card__preview--6::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  bottom: 20px;
  left: 25px;
  transform: rotate(-10deg);
}

.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--transition);
}

.card--portfolio:hover .card__overlay {
  opacity: 1;
}

.card__body {
  padding: 24px;
}

.card__body .card__title {
  margin-bottom: 8px;
}

.card__body .card__text {
  margin-bottom: 16px;
}

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

/* ============================================
   Reviews / Slider
   ============================================ */
.slider {
  position: relative;
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 40px;
}

.card--review {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.card__rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.star {
  width: 20px;
  height: 20px;
}

.star--filled {
  color: #FBBF24;
  fill: #FBBF24;
}

.card__quote {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}

.card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.card__role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  background: var(--glass-bg);
}

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

.slider__arrow svg {
  width: 20px;
  height: 20px;
}

.slider__dots {
  display: flex;
  gap: 8px;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.slider__dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ============================================
   FAQ
   ============================================ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item[open] {
  border-color: var(--accent-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
  user-select: none;
  list-style: none;
  transition: color var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  display: none;
  content: '';
}

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

.faq__icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item[open] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   Contact
   ============================================ */
.contact {
  background: var(--bg-section);
}

.contact__wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.contact__methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.contact__method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.contact__method:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

.contact__method.active {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), var(--shadow-card);
}

.contact__method-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent);
  transition: all var(--transition);
}

[data-theme="light"] .contact__method-icon {
  background: rgba(124, 58, 237, 0.1);
}

.contact__method-icon svg {
  width: 26px;
  height: 26px;
}

.contact__method.active .contact__method-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
}

.contact__method-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__method-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
}

.contact__method-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact__form {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
  margin-top: 0;
}

.contact__form.visible {
  max-height: 500px;
  opacity: 1;
  margin-top: 8px;
}

.contact__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}

.contact__success.visible {
  display: flex;
}

.contact__success-icon {
  width: 80px;
  height: 80px;
  color: #22C55E;
}

.contact__success-circle {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: successCircleDraw 0.8s ease forwards;
}

.contact__success-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: successCheckDraw 0.5s ease forwards 0.5s;
}

@keyframes successCircleDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes successCheckDraw {
  to { stroke-dashoffset: 0; }
}

.contact__success-title {
  font-size: 1.5rem;
  color: var(--text-heading);
}

.contact__success-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.contact__direct {
  text-align: center;
  margin-top: 48px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contact__direct a {
  color: var(--accent);
  font-weight: 500;
  transition: opacity var(--transition);
}

.contact__direct a:hover {
  opacity: 0.8;
}

.contact__direct-sep {
  color: var(--text-secondary);
  opacity: 0.5;
}

/* ============================================
   Form
   ============================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form__input {
  padding: 14px 18px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition);
  outline: none;
}

.form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form__error {
  font-size: 0.8rem;
  color: #EF4444;
  min-height: 1.2em;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__status {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form__status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form__status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form__submit {
  position: relative;
  width: 100%;
}

.form__submit.loading .form__submit-text {
  opacity: 0;
}

.form__submit.loading .form__submit-loader {
  display: block;
}

.form__submit-loader {
  display: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-color);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.footer__logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(139, 92, 246, 0.1);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
