/* ==========================================================================
   DEVELOPER PORTFOLIO STYLING SYSTEM
   Theme: Galactic Cyber / Glassmorphic Premium (CMS Focus)
   Fonts: Outfit (Headings) & Inter (UI/Body) & Fira Code (Accents)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CUSTOM PROPERTIES --- */
:root {
  /* Color Palette */
  --bg-primary: #070913;
  --bg-secondary: #0c0f24;
  --bg-card: rgba(14, 18, 41, 0.45);
  --bg-card-hover: rgba(22, 28, 62, 0.7);
  
  --color-cyan: #00f0ff;
  --color-purple: #9d4edd;
  --color-pink: #ff007f;
  --color-yellow: #ffd166;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.2);
  --border-glow-purple: rgba(157, 78, 221, 0.25);
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
  --grad-secondary: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
  --grad-cyber: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-pink) 50%, var(--color-purple) 100%);
  --grad-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  
  /* Shadows & Glows */
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
  --glow-purple: 0 0 20px rgba(157, 78, 221, 0.35);
  --glow-pink: 0 0 20px rgba(255, 0, 127, 0.35);
  --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.5);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(13, 18, 51, 0.8) 0, transparent 40%),
    radial-gradient(at 100% 0%, rgba(26, 10, 48, 0.8) 0, transparent 40%),
    radial-gradient(at 50% 50%, rgba(10, 15, 30, 0.5) 0, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dotted grid background overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(157, 78, 221, 0.25);
  border: 2px solid var(--bg-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* --- REUSABLE UTILITIES & GLASSMORPHISM --- */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.section-padding {
  padding: 100px 0;
}

.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  transition: var(--transition-smooth);
}

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

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

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

.section-title span.tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-cyan);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan), 0 12px 24px rgba(0, 240, 255, 0.2);
  filter: brightness(1.1);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--color-purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-3px);
  background: rgba(157, 78, 221, 0.08);
}

/* Dynamic Ambient Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}
.blob-cyan {
  background: var(--color-cyan);
  width: 400px;
  height: 400px;
  top: -100px;
  left: -200px;
}
.blob-purple {
  background: var(--color-purple);
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: -250px;
}

/* --- NAVIGATION HEADER --- */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 19, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

header.navbar.scrolled {
  padding: 10px 0;
  background: rgba(7, 9, 19, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.navbar.scrolled .nav-container {
  padding: 12px 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
  animation: glowPulse 2s infinite ease-in-out;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 30px;
  color: var(--color-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Hero Visual Canvas / Code Terminal Mockup */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.terminal-mockup {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-main), 0 0 30px rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-light);
  transform: rotateY(-10deg) rotateX(10deg);
  transition: var(--transition-smooth);
}

.hero-visual:hover .terminal-mockup {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: var(--shadow-main), 0 0 45px rgba(157, 78, 221, 0.15);
}

.terminal-header {
  background: rgba(12, 15, 36, 0.9);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.term-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.term-btn.red { background: #ff5f56; }
.term-btn.yellow { background: #ffbd2e; }
.term-btn.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(7, 9, 19, 0.9);
  color: var(--text-muted);
}

.term-line {
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
}

.term-prompt {
  color: var(--color-pink);
  user-select: none;
}

.term-cyan { color: var(--color-cyan); }
.term-purple { color: var(--color-purple); }
.term-yellow { color: var(--color-yellow); }
.term-white { color: var(--text-main); }

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
  max-width: 420px;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.about-stat {
  border-left: 2px solid var(--border-light);
  padding-left: 16px;
}

.about-stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.about-stat p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.skill-tag:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
  background: rgba(0, 240, 255, 0.02);
  transform: translateY(-2px);
}

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-purple);
  box-shadow: var(--shadow-main), 0 10px 30px rgba(157, 78, 221, 0.08);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.2);
  color: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--grad-primary);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: var(--glow-cyan);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-features {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-features li i {
  color: var(--color-cyan);
}

/* --- SELECTED WORK SECTION --- */
.work-filter-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--grad-primary);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: var(--glow-cyan);
  font-weight: 600;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

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

.work-card:hover {
  border-color: rgba(255, 0, 127, 0.25);
  box-shadow: var(--shadow-main), 0 10px 30px rgba(255, 0, 127, 0.08);
}

.work-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-secondary);
}

.work-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.work-card:hover .work-img-container img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-overlay-content {
  text-align: center;
  padding: 20px;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.work-card:hover .work-overlay-content {
  transform: translateY(0);
}

.work-link {
  width: 50px;
  height: 50px;
  background: var(--grad-primary);
  color: var(--bg-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--glow-cyan);
  transition: var(--transition-fast);
}

.work-link:hover {
  transform: scale(1.1);
}

.work-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-pink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.work-details h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.work-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.work-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  padding: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-text p, .contact-item-text a {
  font-size: 1.05rem;
  color: var(--text-main);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
  background: rgba(0, 240, 255, 0.05);
}

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

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

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

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

.form-input-wrapper {
  position: relative;
}

.form-input-wrapper input,
.form-input-wrapper textarea {
  width: 100%;
  padding: 14px 20px;
  background: rgba(7, 9, 19, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input-wrapper textarea {
  height: 150px;
  resize: vertical;
}

.form-input-wrapper input:focus,
.form-input-wrapper textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  background: rgba(7, 9, 19, 0.7);
}

/* Custom dropdown wrappers */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 14px 20px;
  background: rgba(7, 9, 19, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  appearance: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.select-wrapper::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Dynamic validation highlights */
.form-group.error .form-input-wrapper input,
.form-group.error .form-input-wrapper textarea {
  border-color: var(--color-pink);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.15);
}

.error-message {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-pink);
  margin-top: 6px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-light);
  background: rgba(7, 9, 19, 0.95);
  padding: 40px 0;
}

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

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-back-to-top {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-back-to-top:hover {
  border-color: var(--color-purple);
  color: var(--color-purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-3px);
}

/* --- INTERACTIVE SUCCESS DIALOG (MODAL) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 15, 0.9);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: 90%;
  max-width: 480px;
  padding: 40px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px auto;
  box-shadow: var(--glow-cyan);
}

.modal-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.modal-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* --- ON-SCROLL ANIMATION CONTROLLERS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  .terminal-mockup {
    transform: none !important;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  .nav-links {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(7, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 60px 0;
    gap: 30px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-light);
  }
  .nav-links.active {
    left: 0;
  }
  .menu-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
