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

/* --- CUSTOM VARIABLES & DESIGN SYSTEM --- */
:root {
  /* Colors */
  --bg-darker: #080808;
  --bg-primary: #121212; /* Deep Charcoal */
  --bg-secondary: #1a1a1a; /* Elevated Charcoal */
  --bg-card: rgba(22, 22, 22, 0.7);
  --accent-blue: #007AFF; /* Electric Blue */
  --accent-blue-glow: rgba(0, 122, 255, 0.4);
  --accent-blue-dim: rgba(0, 122, 255, 0.1);
  --accent-blue-border: rgba(0, 122, 255, 0.25);
  
  --text-primary: #f5f5f7;
  --text-secondary: #8e8e93;
  --text-tertiary: #515156;
  
  /* Borders & Glassmorphism */
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-active: rgba(255, 255, 255, 0.16);
  --bg-glass: rgba(18, 18, 18, 0.75);
  --blur-amount: 20px;
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-darker);
  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;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, var(--bg-primary) 0%, var(--bg-darker) 100%);
}

/* Global Ambient Glows */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

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

sup {
  font-family: var(--font-display);
  font-size: 0.6em;
  top: -0.4em;
  color: var(--accent-blue);
  font-weight: 800;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #2c2c2e;
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* --- REUSABLE COMPONENTS --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glass-active);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  border: 1px solid var(--accent-blue);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
  background: #0066d6;
  border-color: #0066d6;
  box-shadow: 0 6px 24px rgba(0, 122, 255, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--accent-blue-dim);
  border: 1px solid var(--accent-blue-border);
  color: var(--accent-blue);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 16px;
}

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

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-blue); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* --- NAVIGATION HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
}

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

.navbar-scrolled {
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-scrolled .nav-container {
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo-icon {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav ul a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-blue);
  transition: var(--transition-smooth);
}

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

nav ul a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 4px;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 30%, #a2a2a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .accent-word {
  color: var(--accent-blue);
  -webkit-text-fill-color: initial;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-graphic-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  background: var(--bg-card);
}

.hero-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: brightness(0.9) contrast(1.1);
  transition: var(--transition-smooth);
}

.hero-graphic:hover img {
  transform: scale(1.03);
  opacity: 0.95;
}

/* Glass decorative elements floaters */
.glass-floater {
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: none;
  animation: float-slow 8s ease-in-out infinite;
}

.floater-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.floater-2 {
  bottom: 5%;
  left: -5%;
  width: 100px;
  height: 100px;
  animation-delay: -3s;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* --- MISSION & VISION --- */
.mission-vision {
  padding: 120px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.mv-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.mv-header p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.mv-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mv-card {
  padding: 32px;
  display: flex;
  gap: 24px;
}

.mv-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: var(--accent-blue-dim);
  border: 1px solid var(--accent-blue-border);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.mv-card-content p {
  font-size: 0.95rem;
}

/* --- WHAT WE DO (BENTO GRID) --- */
.what-we-do {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title-area {
  margin-bottom: 64px;
  max-width: 600px;
}

.section-title-area h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(180px, auto);
}

/* Spotlight Glowing Card Border Container */
.bento-card {
  position: relative;
  grid-column: span 12;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  z-index: 1;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* border thickness */
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(0, 122, 255, 0.035) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-card-bg {
  opacity: 0.3;
}

.bento-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.8) contrast(1.2);
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-card-bg img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(0.85) contrast(1.1);
}

.bento-card-header {
  position: relative;
  z-index: 3;
}

.bento-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-card-icon {
  background: var(--accent-blue-dim);
  border-color: var(--accent-blue-border);
  color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 122, 255, 0.2);
}

.bento-card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.bento-card-header p {
  font-size: 0.95rem;
  max-width: 420px;
}

.bento-card-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
}

.bento-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.bento-link span {
  transition: var(--transition-smooth);
}

.bento-link:hover span {
  transform: translateX(4px);
}

/* Card Specific Grid Spans */
/* Large Card - Bio-Integrated */
.bento-card-large {
  grid-column: span 12;
}

/* Medium Card - Public Safety */
.bento-card-medium-1 {
  grid-column: span 6;
}

/* Medium Card - Micro-Service */
.bento-card-medium-2 {
  grid-column: span 6;
}

/* Grid layout adjustments for desktops */
@media (min-width: 992px) {
  .bento-card-large {
    grid-column: span 12;
    min-height: 420px;
  }
  .bento-card-medium-1 {
    grid-column: span 6;
    min-height: 380px;
  }
  .bento-card-medium-2 {
    grid-column: span 6;
    min-height: 380px;
  }
}

/* Bento Accent card: Metric Block */
.bento-accent-card {
  grid-column: span 12;
  background: radial-gradient(circle at 100% 100%, var(--accent-blue-dim) 0%, transparent 60%), var(--bg-card);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 200px;
  padding: 40px;
}

.bento-accent-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #fff;
}

.bento-accent-card p {
  max-width: 480px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  flex-shrink: 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
}
.metric-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-blue);
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* --- PROUD FACTOR (TEAM CULTURE) --- */
.proud-factor {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.proud-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.proud-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 40%, #a2a2a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proud-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.proud-interactive {
  height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prototype-visualizer {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 20px 20px;
}

.visualizer-module {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 5;
  transition: transform 0.1s ease, border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.visualizer-module:active {
  cursor: grabbing;
  z-index: 10;
}

.visualizer-module.active {
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px var(--accent-blue-glow);
}

.visualizer-module svg {
  margin-bottom: 8px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.visualizer-module.active svg {
  color: var(--accent-blue);
  filter: drop-shadow(0 0 5px var(--accent-blue));
}

.visualizer-module span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: var(--font-display);
}

.visualizer-module.active span {
  color: #fff;
}

/* Initial placements inside sandbox */
.module-core {
  transform: translate(-100px, 0);
}
.module-sensor {
  transform: translate(0, -60px);
}
.module-comm {
  transform: translate(100px, 0);
}
.module-power {
  transform: translate(0, 60px);
}

.prototype-status {
  font-family: var(--font-display);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34c759;
  box-shadow: 0 0 8px #34c759;
  animation: pulse-glow-green 2s infinite;
}

@keyframes pulse-glow-green {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.assembly-btn {
  background: var(--accent-blue-dim);
  border: 1px solid var(--accent-blue-border);
  color: var(--accent-blue);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}
.assembly-btn:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

/* --- CONTACT / SIGN UP --- */
.contact-section {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card {
  padding: 80px 40px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.contact-card h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.contact-card p {
  max-width: 500px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
}

.signup-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
  position: relative;
  z-index: 5;
}

.form-input-wrapper {
  position: relative;
  flex-grow: 1;
}

.signup-form input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-darker);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.signup-form button {
  white-space: nowrap;
}

/* --- FOOTER --- */
footer {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 24px;
}

.udyam-badge {
  display: inline-flex;
  flex-direction: column;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
}

.udyam-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.udyam-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-col ul a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-blue);
}

/* --- ANIMATION REVEAL CLASSES (JS TRIGGERED) --- */
.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.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-graphic-wrapper {
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
  }
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .bento-grid {
    grid-auto-rows: auto;
  }
  .bento-card {
    min-height: 340px;
  }
  .bento-card-medium-1, .bento-card-medium-2 {
    grid-column: span 12;
  }
  .bento-accent-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .metric-grid {
    width: 100%;
    margin-top: 16px;
  }
  .proud-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .nav-container {
    height: 70px;
  }
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-darker);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 24px;
    transition: var(--transition-smooth);
    z-index: 99;
  }
  nav.mobile-active {
    left: 0;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  nav ul a {
    font-size: 1.2rem;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  .signup-form {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
