/* VTF Apps Studio - Premium Design System & Stylesheet */

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

/* CSS Variables */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color System */
  --bg-primary: #070510;      /* Dark Obsidian Violet */
  --bg-secondary: #0d0a1b;    /* Dark Charcoal Violet */
  --bg-card: rgba(18, 14, 38, 0.65); /* Translucent Glassmorphism Card */
  --border-color: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(var(--primary-rgb), 0.35);
  
  --primary-rgb: 0, 242, 254;       /* Neon Cyan RGB */
  --secondary-rgb: 168, 85, 247;    /* Neon Purple RGB */
  --accent-rgb: 236, 72, 153;       /* Neon Pink RGB */

  --primary: rgb(var(--primary-rgb));
  --secondary: rgb(var(--secondary-rgb));
  --accent: rgb(var(--accent-rgb));
  
  --text-primary: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #070510;

  --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --grad-text: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  --grad-logo: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  --grad-neon: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));

  --shadow-glow: 0 0 25px rgba(var(--primary-rgb), 0.18);
  --shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.7);

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* Cyber Coordinate Grid Overlay */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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;
  background-position: center;
  pointer-events: none;
  z-index: -2;
}

/* Neon Ambient Ambient Blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.glow-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: 5%;
  right: -5%;
}

.glow-blob-2 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  bottom: 15%;
  left: -10%;
}

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

h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

/* Header & Sticky Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background-color: rgba(5, 7, 10, 0.75);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Premium Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  background: var(--grad-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: url(#logo-grad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.6));
}

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

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

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

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  margin-bottom: 4rem;
  max-width: 750px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: var(--border-color);
}

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

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

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

/* Hero Section */
.hero {
  padding: 10rem 0 7rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.05);
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
}

/* Hero Graphic Illustration */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 20px 60px rgba(var(--primary-rgb), 0.15));
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.floating-element {
  animation: float 6.5s ease-in-out infinite;
}

.floating-element-delayed {
  animation: float 6.5s ease-in-out infinite;
  animation-delay: 3.25s;
}

/* Pillar Cards (Spotlight Glow Core Layout) */
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.25rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Spotlight Overlay for Cards */
.pillar-card::before, .product-card::before, .contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--primary-rgb), 0.08),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.pillar-card:hover::before, .product-card:hover::before, .contact-card:hover::before {
  opacity: 1;
}

.pillar-card::after, .product-card::after, .contact-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 1.5px solid transparent;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--primary-rgb), 0.4),
    transparent 60%
  ) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.pillar-card:hover::after, .product-card:hover::after, .contact-card:hover::after {
  opacity: 1;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.pillar-card h3 {
  margin-bottom: 1rem;
}

/* Product Showcase Layout */
.product-showcase {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 8rem 0;
  position: relative;
}

.product-showcase-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.product-showcase-title-row .section-title {
  margin-bottom: 0;
}

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

.product-card {
  background: rgba(5, 7, 10, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.product-card-preview {
  height: 280px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.product-badge.web {
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
}

.product-badge.mobile {
  background: rgba(127, 0, 255, 0.08);
  border: 1px solid rgba(127, 0, 255, 0.2);
  color: #a855f7;
}

.product-card-body h3 {
  margin-bottom: 0.75rem;
}

.product-card-body p {
  font-size: 0.975rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.product-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-top: auto;
}

.product-tech-stack li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

/* Phone Mockup */
.phone-mockup {
  width: 140px;
  height: 240px;
  border: 4px solid #1a202c;
  border-radius: 24px;
  background: #0d1117;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  padding: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.phone-notch {
  width: 50px;
  height: 8px;
  background: #1a202c;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  flex-grow: 1;
  border-radius: 16px;
  background: linear-gradient(180deg, #0f1626 0%, #08090f 100%);
  position: relative;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  margin-bottom: 4px;
}

.phone-pill {
  height: 6px;
  width: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.phone-pill.short {
  width: 45px;
}

.phone-pill.xs {
  width: 30px;
  height: 4px;
  margin-bottom: 4px;
}

.phone-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px;
  margin-top: 10px;
}

.phone-bottom-bar {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.product-card:hover .phone-mockup {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.2);
}

/* Browser Mockup */
.browser-mockup {
  width: 280px;
  height: 180px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #0d1117;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.browser-bar {
  height: 24px;
  background: #161b22;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}

.browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.browser-dot:nth-child(1) { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }

.browser-address {
  height: 12px;
  width: 130px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-left: 15px;
}

.browser-screen {
  flex-grow: 1;
  display: flex;
  background: #090d14;
}

.browser-sidebar {
  width: 50px;
  border-right: 1px solid var(--border-color);
  background: #0b0f19;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.browser-line {
  height: 4px;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}

.browser-line.active {
  background: var(--primary);
}

.browser-chart {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.browser-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 80px;
  width: 100%;
}

.browser-chart-bar {
  flex-grow: 1;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid var(--primary);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  height: 30%;
  transition: var(--transition-smooth);
}

.browser-chart-bar:nth-child(2) { height: 60%; background: rgba(var(--secondary-rgb), 0.1); border-color: var(--secondary); }
.browser-chart-bar:nth-child(3) { height: 45%; }
.browser-chart-bar:nth-child(4) { height: 80%; background: rgba(127, 0, 255, 0.1); border-color: var(--accent); }

.product-card:hover .browser-mockup {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.2);
}

/* About Hero / Intro */
.about-hero {
  padding-bottom: 3rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-content p {
  margin-bottom: 1.5rem;
}

.philosophy-graphic {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

/* Engineering Timeline / Process */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-step {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.timeline-item p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Products Page Catalog Filter Elements */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: #05070a;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* Contact Details Page Elements */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

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

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.08);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.contact-card-content a {
  color: var(--primary);
  font-weight: 500;
}

.contact-card-content a:hover {
  text-decoration: underline;
}

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

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.15);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.15);
}

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

.form-feedback {
  display: none;
  font-size: 0.8rem;
  color: #ff3366;
  margin-top: 0.4rem;
  font-weight: 500;
}

/* Success Form Overlay Modal inside Card */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  transform: scale(0.95);
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-glow);
}

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

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

.footer-logo-col p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

.footer-link {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* Radar Pulse animation keyframe */
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-illustration {
    max-width: 380px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 3rem;
    gap: 2rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 99;
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
