/* ============================================================
   style.css - Global Styles, Theme Variables, Layout, Components
   ============================================================ */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
  --primary: #7C3AED;
  --primary-light: #A855F7;
  --primary-dark: #6D28D9;
  --accent: #6366F1;
  --bg: #0D0D0F;
  --bg-secondary: #131317;
  --bg-card: rgba(124, 58, 237, 0.08);
  --border: rgba(124, 58, 237, 0.25);
  --text-primary: #F5F3FF;
  --text-secondary: #A5A0B4;
  --text-muted: #6B667D;
  --glass-bg: rgba(15, 15, 20, 0.75);
  --glass-border: rgba(124, 58, 237, 0.18);
  --gradient-text: linear-gradient(135deg, #A855F7, #6366F1);
  --gradient-bg: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(99, 102, 241, 0.1));
  --glow-purple: 0 0 30px rgba(124, 58, 237, 0.3), 0 0 60px rgba(124, 58, 237, 0.1);
  --glow-card: 0 0 20px rgba(124, 58, 237, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --navbar-height: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- DOT GRID BACKGROUND ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ---------- ANIMATED GRADIENT MESH BG (for hero) ---------- */
.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-mesh::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  left: -100px;
  animation: float-mesh-1 12s ease-in-out infinite;
}

.hero-mesh::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -150px;
  right: -100px;
  animation: float-mesh-2 15s ease-in-out infinite;
}

@keyframes float-mesh-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-30px, -20px) scale(0.9); }
}

@keyframes float-mesh-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -30px) scale(1.15); }
  66% { transform: translate(40px, 25px) scale(0.85); }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.code-font {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ---------- SECTION SPACING ---------- */
.section {
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 8px;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   NAVBAR — Floating Capsule
   ============================================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 880px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  box-shadow: var(--glow-purple);
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.15);
}

.nav-links a.active {
  background: rgba(124, 58, 237, 0.2);
  font-weight: 600;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  display: block;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 36px rgba(124, 58, 237, 0.55);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--primary-light);
  color: var(--text-primary);
  transform: translateY(-2px);
}

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

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

/* ============================================================
   CARDS — Glassmorphism
   ============================================================ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px;
  transition: all var(--transition);
  box-shadow: var(--glow-card);
}

.glass-card:hover {
  border-color: var(--border);
  box-shadow: var(--glow-purple);
  transform: translateY(-4px);
}

/* ============================================================
   GRID SYSTEMS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.05;
}

.hero-content .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-content .description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

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

/* Terminal Window */
.hero-terminal {
  margin-top: 64px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.terminal-window {
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow-purple);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(30, 30, 38, 0.8);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #FF5F56; }
.terminal-dot:nth-child(2) { background: #FFBD2E; }
.terminal-dot:nth-child(3) { background: #27C93F; }

.terminal-body {
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.terminal-body .key { color: #A855F7; }
.terminal-body .string { color: #34D399; }
.terminal-body .status { color: #27C93F; font-weight: 600; }
.terminal-body .bracket { color: var(--text-muted); }
.terminal-body .blink {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--primary-light);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ============================================================
   TECH TICKER
   ============================================================ */
.tech-ticker {
  padding: 40px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.tech-ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 20s linear infinite;
  width: max-content;
}

.tech-ticker-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.tech-ticker-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   PAGE HERO (for inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: flex-start;
}

.about-image-wrapper {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gradient-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary-light);
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.2), transparent);
}

.about-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

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

.about-social a:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  box-shadow: var(--glow-purple);
}

.about-social svg {
  width: 20px;
  height: 20px;
}

.about-bio h3 {
  margin-bottom: 16px;
}

.about-bio p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
}

.stat-card .stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 48px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
  border: 3px solid var(--bg);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.timeline-content h4 {
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================================
   SKILLS PAGE
   ============================================================ */
.skills-category {
  margin-bottom: 56px;
}

.skills-category h3 {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skills-category h3 .cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  font-size: 1.2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.skill-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-card .skill-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.skill-card .skill-name {
  font-weight: 600;
  font-size: 1rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-text);
  border-radius: var(--radius-full);
  transition: width 1.5s ease-in-out;
}

/* Soft skills */
.soft-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.soft-skill-tag {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
}

/* ============================================================
   EXPERIENCE PAGE — Timeline
   ============================================================ */
.exp-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 48px;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), rgba(124, 58, 237, 0.1));
  border-radius: 2px;
}

.exp-item {
  position: relative;
  margin-bottom: 56px;
}

.exp-item:last-child {
  margin-bottom: 0;
}

.exp-dot {
  position: absolute;
  left: -56px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.6);
  border: 4px solid var(--bg);
}

.exp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.exp-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.exp-role {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.exp-company {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.exp-details {
  list-style: none;
}

.exp-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.exp-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 200px;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-light);
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 13, 15, 0.7) 100%);
}

.project-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-body h3 {
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.project-links {
  display: flex;
  gap: 12px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  text-align: center;
  padding: 40px 28px;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 180px;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-light);
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.12);
}

.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-body h3 {
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-body p {
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 16px;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  cursor: pointer;
  align-self: flex-start;
}

.blog-read-more:hover {
  color: var(--primary);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-detail span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(39, 201, 63, 0.08);
  border: 1px solid rgba(39, 201, 63, 0.2);
  color: #27C93F;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
}

.availability-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27C93F;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.contact-social-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.contact-social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.contact-social-row a:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  box-shadow: var(--glow-purple);
}

.contact-social-row svg {
  width: 20px;
  height: 20px;
}

/* Form */
.contact-form {
  padding: 40px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: rgba(18, 18, 24, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

.error-message {
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 6px;
  display: none;
}

.error-message.visible {
  display: block;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.form-success.visible {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  color: #27C93F;
  margin-bottom: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  padding: 60px 24px 32px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(124, 58, 237, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--primary-light);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   FADE-UP ANIMATION (base class for IntersectionObserver)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
