/* ── PLASMETAL DESIGN SYSTEM ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,200;0,300;0,400;0,600;0,700;1,300&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  /* Brand colours */
  --plasma-violet:  #7c3aed;
  --plasma-purple:  #a855f7;
  --aurora-cyan:    #06b6d4;
  --aurora-green:   #10b981;
  --aurora-bright:  #4ade80;
  --steel-light:    #cbd5e1;
  --steel-mid:      #94a3b8;
  --steel-dark:     #475569;

  /* Backgrounds */
  --bg-void:        #05050f;
  --bg-deep:        #080814;
  --bg-card:        rgba(255,255,255,0.04);
  --bg-card-hover:  rgba(255,255,255,0.07);

  /* Text */
  --text-primary:   #f1f5f9;
  --text-secondary: rgba(203,213,225,0.70);
  --text-muted:     rgba(148,163,184,0.55);

  /* Borders */
  --border:         rgba(168,85,247,0.18);
  --border-bright:  rgba(168,85,247,0.45);

  /* Header */
  --header-height:  72px;

  /* Transitions */
  --ease:           cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: var(--aurora-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--aurora-bright); }

/* ── LAYOUT ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }

/* ── HEADER ──────────────────────────────────────────── */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(5,5,15,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), border-color 0.3s;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-wordmark {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.brand-wordmark span { color: var(--plasma-purple); }

.brand-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aurora-cyan);
  border: 1px solid rgba(6,182,212,0.35);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  margin-top: 0.1rem;
  align-self: flex-start;
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--steel-light);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--aurora-bright); }

.nav-cta {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--plasma-violet), var(--aurora-cyan));
  color: #fff !important;
  transition: opacity 0.2s, transform 0.2s !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); background: linear-gradient(135deg, var(--plasma-violet), var(--aurora-cyan)) !important; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--plasma-violet) 0%, var(--aurora-cyan) 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(124,58,237,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(124,58,237,0.5); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--steel-light);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover { background: rgba(168,85,247,0.08); color: var(--text-primary); border-color: var(--plasma-purple); transform: translateY(-2px); }

/* ── GLASS CARD ───────────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.2);
}

/* ── ACCENT LINE ──────────────────────────────────────── */
.accent-line {
  width: 56px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--plasma-violet), var(--aurora-cyan));
  margin-bottom: 1.5rem;
}

/* ── SECTION LABEL ────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--aurora-cyan);
  margin-bottom: 1rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
.app-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 300px;
  line-height: 1.75;
}

.footer-col h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-mid);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--aurora-bright); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--aurora-cyan); font-size: 0.78rem; }
.footer-bottom a:hover { color: var(--aurora-bright); }

/* ── PLASMA GLOW ANIMATION ────────────────────────────── */
@keyframes plasma-pulse {
  0%, 100% { opacity: 0.6; text-shadow: 0 0 20px var(--plasma-purple); }
  50%       { opacity: 1;   text-shadow: 0 0 40px var(--aurora-cyan), 0 0 80px var(--plasma-violet); }
}

@keyframes aurora-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fade-up 0.7s var(--ease) both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }

/* ── FORMS ───────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--steel-light);
  letter-spacing: 0.04em;
}

.form-input {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--plasma-purple);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}

.form-input::placeholder { color: var(--text-muted); }

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

select.form-input option { background: var(--bg-deep); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}
