/* ================================================================
   TRANSFORDABLE — Shared Design System
   ================================================================ */

:root {
  --bg1: #020817;
  --bg2: #0c1526;
  --bg3: #131f35;
  --violet: #7c3aed;
  --violet-light: #a78bfa;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --amber: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --text: #e2e8f0;
  --muted: #64748b;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.12);
  --card: rgba(255,255,255,0.03);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 64px rgba(0,0,0,0.5);
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg1); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.grad-text {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fcd34d 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: all 0.2s; border: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.5); }
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.btn-secondary:hover { background: var(--card); border-color: var(--violet-light); color: var(--violet-light); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-outline-violet {
  background: transparent; color: var(--violet-light);
  border: 1px solid rgba(124,58,237,0.5);
}
.btn-outline-violet:hover { background: rgba(124,58,237,0.1); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(2,8,23,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav.scrolled { background: rgba(2,8,23,0.98); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.nav-logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border2);
  color: var(--text); width: 38px; height: 38px; border-radius: 8px;
  font-size: 16px; align-items: center; justify-content: center;
}
.nav-mobile {
  display: none; background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 12px 0; color: var(--text); font-size: 15px; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: none; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(6,182,212,0.12) 0%, transparent 50%),
    var(--bg1);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero-blob-1 { width: 600px; height: 600px; top: -150px; right: -100px; background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%); }
.hero-blob-2 { width: 400px; height: 400px; bottom: -100px; left: -80px; background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%); animation-duration: 15s; animation-direction: reverse; }
.hero-blob-3 { width: 300px; height: 300px; top: 40%; left: 50%; background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%); animation-duration: 18s; }
@keyframes blobFloat { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(30px,-20px) scale(1.05);} 66%{transform:translate(-20px,15px) scale(0.95);} }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 28px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3);
  font-size: 13px; font-weight: 600; color: var(--violet-light);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(42px, 7vw, 80px); font-weight: 700;
  line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted); line-height: 1.7;
  max-width: 600px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; gap: 0; justify-content: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; flex-wrap: wrap;
}
.hero-stat {
  flex: 1; min-width: 120px; padding: 20px 28px; text-align: center;
  border-right: 1px solid var(--border); position: relative;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  background: linear-gradient(135deg, var(--violet-light), var(--cyan-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.hero-stat-source { font-size: 10px; color: var(--muted); opacity: 0.5; margin-top: 3px; font-style: italic; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--violet-light); margin-bottom: 16px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--violet-light); }
.section-title {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: -1px; line-height: 1.15; margin-bottom: 20px;
}
.section-sub { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* ===== CARDS ===== */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: rgba(124,58,237,0.3); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }

/* ===== INDUSTRY CARDS ===== */
.industry-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.2);
}
.industry-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.industry-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.industry-tag {
  display: inline-block; padding: 4px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 600; background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2); color: var(--cyan-light); margin: 3px;
}

/* ===== PROCESS ===== */
.process-step {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 32px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  color: #fff; box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.step-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.testimonial-quote { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 16px;
}
.author-name { font-weight: 700; font-size: 14px; }
.author-title { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ===== TECH STRIP ===== */
.tech-item {
  padding: 12px 24px; background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.tech-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ===== STATS SECTION ===== */
.stat-box {
  text-align: center; padding: 40px 24px;
}
.stat-num {
  font-family: var(--font-display); font-size: 52px; font-weight: 800;
  letter-spacing: -2px; line-height: 1;
  background: linear-gradient(135deg, var(--violet-light), var(--cyan-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 500; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid rgba(124,58,237,0.2); border-radius: 24px;
  padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
  margin: 0 24px;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124,58,237,0.1), transparent);
  pointer-events: none;
}

/* ===== FOOTER ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--violet-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; background: var(--card);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; transition: all 0.2s;
}
.footer-social a:hover { color: var(--violet-light); border-color: var(--violet-light); }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s, transform 0.7s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 80px; text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(124,58,237,0.2) 0%, transparent 60%), var(--bg1);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px,5vw,60px); font-weight:700; letter-spacing:-1.5px; margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 10px; padding: 14px 16px; color: var(--text);
  font-size: 15px; font-family: var(--font-body); transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg3); }

/* ===== BADGE PILLS ===== */
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.badge-violet { background: rgba(124,58,237,0.12); color: var(--violet-light); border: 1px solid rgba(124,58,237,0.25); }
.badge-cyan { background: rgba(6,182,212,0.1); color: var(--cyan-light); border: 1px solid rgba(6,182,212,0.2); }
.badge-amber { background: rgba(245,158,11,0.1); color: #fcd34d; border: 1px solid rgba(245,158,11,0.2); }
.badge-green { background: rgba(16,185,129,0.1); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.2); }

/* ===== CAREERS ===== */
.job-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; transition: all 0.25s;
}
.job-card:hover { border-color: rgba(124,58,237,0.3); transform: translateX(4px); }
.job-dept { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--violet-light); margin-bottom: 8px; }
.job-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.job-meta-item { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.job-actions { flex-shrink: 0; }

/* ===== DIVIDER ===== */
.divider { width: 1px; height: 48px; background: linear-gradient(180deg, transparent, var(--border2), transparent); }
.divider-h { height: 1px; background: var(--border); margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { border-radius: 12px; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-section { padding: 48px 24px; margin: 0; border-radius: 0; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .market-stats-grid { grid-template-columns: 1fr 1fr !important; }
  .market-stats-grid > div { border-right: none !important; border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1px; }
  .process-step { flex-direction: column; }
}
