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

:root {
  /* Color Palette */
  --bg-primary: #080c14;
  --bg-secondary: #0e1422;
  --bg-card: rgba(14, 20, 34, 0.65);
  --bg-card-hover: rgba(20, 30, 50, 0.85);
  
  --color-cyan: #00f2fe;
  --color-blue: #0076ff;
  --color-purple: #7f00ff;
  --color-green: #39ff14;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 50%, var(--color-purple) 100%);
  --gradient-neon: linear-gradient(90deg, #38ef7d 0%, #11998e 50%, #00f2fe 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(0, 242, 254, 0.15) 0%, rgba(127, 0, 255, 0.05) 50%, transparent 100%);

  /* Typography */
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;

  /* Glassmorphism & Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --card-radius: 16px;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(127, 0, 255, 0.05) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  color: #e2e8f0;
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Utilities --- */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

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

.text-cyan { color: var(--color-cyan); }
.text-purple { color: var(--color-purple); }

.bg-glow-spot {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(40px);
}

.section-padding {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: #94a3b8;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(8, 12, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  height: 70px;
  background: rgba(8, 12, 20, 0.9);
  border-bottom-color: rgba(0, 242, 254, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  position: relative;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
  transform: scale(1.08);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  color: #94a3b8;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-cyan);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--color-cyan);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(0, 118, 255, 0.1) 100%);
  border: 1px solid var(--border-glow);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  color: var(--color-cyan);
  font-weight: 600;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--gradient-primary);
  color: #080c14;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  align-self: flex-start;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--color-cyan);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulse-dot 1.5s infinite alternate;
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}

.hero-content p.subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #080c14;
  box-shadow: 0 4px 25px rgba(0, 118, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating Art / Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
}

.tech-sphere {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 242, 254, 0.12) 0%, rgba(127, 0, 255, 0.03) 70%, transparent 100%);
  border: 1px solid rgba(0, 242, 254, 0.15);
  box-shadow: inset 0 0 40px rgba(0, 242, 254, 0.1);
  animation: float 6s ease-in-out infinite;
}

.tech-orbit-1, .tech-orbit-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.05);
  top: 0; left: 0; right: 0; bottom: 0;
}

.tech-orbit-1 {
  border-color: rgba(0, 242, 254, 0.1);
  animation: spin 30s linear infinite;
}

.tech-orbit-2 {
  top: -20px; left: -20px; right: -20px; bottom: -20px;
  border-color: rgba(127, 0, 255, 0.07);
  animation: spin-reverse 20s linear infinite;
}

.visual-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float-card 6s ease-in-out infinite;
}

.visual-card.vc-1 {
  top: 15%;
  left: -20px;
  animation-delay: 0s;
  border-left: 3px solid var(--color-cyan);
}

.visual-card.vc-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 3s;
  border-left: 3px solid var(--color-purple);
}

.vc-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.vc-info {
  display: flex;
  flex-direction: column;
}

.vc-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.vc-subtitle {
  font-size: 0.75rem;
  color: #64748b;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 3.5rem 2.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.05), var(--glass-shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-cyan);
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--color-cyan);
  color: #fff;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.service-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.service-bullets li::before {
  content: "→";
  color: var(--color-cyan);
  font-weight: bold;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
}

.about-image img {
  width: 100%;
  border-radius: calc(var(--card-radius) - 1px);
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(8, 12, 20, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.about-content p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: #94a3b8;
}

.social-icon:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);
}

/* --- Portfolio Section --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  list-style: none;
}

.filter-btn {
  padding: 0.6rem 1.6rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-fast);
  color: #94a3b8;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-primary);
  color: #080c14;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(0, 118, 255, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-item {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 15px 30px rgba(0, 242, 254, 0.06), var(--glass-shadow);
}

.portfolio-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: #0f172a;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 12, 20, 0.4);
  opacity: 0;
  transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
}

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.portfolio-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.portfolio-info p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.portfolio-link {
  margin-top: auto;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-cyan);
  transition: var(--transition-fast);
}

.portfolio-link:hover {
  color: #fff;
}

.portfolio-link::after {
  content: "→";
  transition: var(--transition-fast);
}

.portfolio-link:hover::after {
  transform: translateX(3px);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.contact-header p {
  color: #94a3b8;
  font-size: 1.05rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-fast);
}

.contact-method-card:hover {
  border-color: rgba(0, 242, 254, 0.2);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-cyan);
}

.contact-method-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-method-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.contact-method-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.contact-form-container::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, transparent 50%, rgba(127, 0, 255, 0.2) 100%);
  pointer-events: none;
  z-index: -1;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  background: rgba(8, 12, 20, 0.85);
}

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

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: none;
}

.form-status.success {
  background: rgba(56, 239, 125, 0.1);
  border: 1px solid rgba(56, 239, 125, 0.3);
  color: #38ef7d;
  display: block;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  display: block;
}

/* --- Footer --- */
footer {
  background: #05080e;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand p {
  color: #64748b;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links-col h4 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* --- Scroll Animations Trigger Classes --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    order: -1;
    height: 350px;
  }
  .hero-visual-inner {
    max-width: 320px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section-padding {
    padding: 5rem 0;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  
  /* Mobile Navigation */
  .menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .services-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
