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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  /* Color Space Interpolation Preamble */
  --in-oklab: ;
  --in-oklch: ;
  
  /* Primary Theme Colors */
  --bg-primary: #0a0a0c;
  --bg-secondary: #111115;
  --bg-tertiary: #16161f;
  
  --accent-primary: #6366f1; /* Royal Indigo */
  --accent-secondary: #a855f7; /* Violet */
  --accent-cyan: #06b6d4; /* Electric Cyan */
  --accent-teal: #10b981; /* Emerald/Teal */
  
  /* Muted Text Colors */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  
  /* Borders and Blurs */
  --border-light: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(99, 102, 241, 0.15);
  --glass-bg: rgba(17, 17, 21, 0.7);
  --glass-blur: 16px;
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing & Utilities */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container-max: 1200px;
}

@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08), transparent 50%),
              radial-gradient(circle at 10% 40%, rgba(6, 182, 212, 0.04), transparent 40%),
              radial-gradient(circle at 90% 70%, rgba(168, 85, 247, 0.05), transparent 45%),
              var(--bg-primary);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: var(--radius-sm);
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Language Toggle Logic */
body.lang-en .lang-pt {
  display: none !important;
}
body.lang-pt .lang-en {
  display: none !important;
}

/* --- GRID BACKGROUND LIGHTING --- */
.background-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  mask-image: radial-gradient(ellipse at top center, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* --- HEADER / FLOATING NAVBAR --- */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(17, 17, 21, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.03em;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg var(--in-oklch), var(--accent-primary), var(--accent-secondary));
  display: inline-block;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

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

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Button & Switcher aesthetics */
.lang-switch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.btn-cta {
  background: linear-gradient(135deg var(--in-oklch), var(--accent-primary), var(--accent-secondary));
  color: var(--text-white);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 12rem 0 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.badge-wrapper {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: #c7d2fe;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 0 12px rgba(99, 102, 241, 0.05);
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseGlow 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  max-width: 900px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.gradient-text-indigo {
  background: linear-gradient(135deg var(--in-oklch), var(--text-white), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg var(--in-oklch), var(--accent-cyan), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  margin-bottom: 5rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.hero-btn-primary {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
}

/* Floating Badges under Hero */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-white);
}

.hero-feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- COMPANIES LOGO CAROUSEL --- */
.logos-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(17, 17, 21, 0.3);
  overflow: hidden;
  position: relative;
}

.logos-section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.logo-slider {
  display: flex;
  width: 200%;
  animation: scrollLogos 25s linear infinite;
}

.logo-slide-track {
  display: flex;
  justify-content: space-around;
  width: 100%;
  align-items: center;
}

.company-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.45;
  transition: opacity 0.3s, filter 0.3s;
  color: var(--text-white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.company-logo:hover {
  opacity: 0.9;
}

.company-logo svg {
  fill: currentColor;
  height: 28px;
}

/* --- SERVICES SECTION --- */
.services-section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Progressive hover glass-card with cursor reactive glow */
.glass-card {
  position: relative;
  background: rgba(17, 17, 21, 0.4);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-5px);
}

/* Radial Glow background that follows mouse */
.card-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.08), transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.glass-card:hover .card-glow-bg {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  position: relative;
  z-index: 1;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  position: relative;
  z-index: 1;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

/* --- TECH STACK SECTION --- */
.tech-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.03), transparent 60%);
}

.tech-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.tech-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.tech-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  transition: all 0.3s;
}

.tech-pill:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
}

.tech-pill svg {
  width: 32px;
  height: 32px;
}

.tech-pill span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --- FOUNDER HIGHLIGHT SECTION --- */
.founder-section {
  padding: 8rem 0;
}

.founder-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.founder-photo-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  z-index: 1;
}

.founder-avatar {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg var(--in-oklch), var(--accent-primary), var(--accent-secondary));
  padding: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 4rem;
  color: var(--text-white);
  font-weight: 700;
  font-family: var(--font-display);
}

.founder-socials {
  display: flex;
  gap: 1rem;
}

.founder-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
  text-decoration: none;
}

.founder-social-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text-white);
  border-color: rgba(99, 102, 241, 0.4);
}

.founder-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.founder-role {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.founder-bio {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.founder-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  background: linear-gradient(135deg var(--in-oklch), var(--text-white), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 10% 80%, rgba(99, 102, 241, 0.04), transparent 50%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.contact-detail-text span {
  display: block;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.contact-detail-text a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-detail-text a:hover {
  color: var(--accent-cyan);
}

/* Form Styling with Float Labels */
.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
}

.form-input:focus {
  border-color: var(--accent-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.form-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.65rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-primary);
  background-color: var(--bg-secondary);
  padding: 0 0.35rem;
  font-weight: 600;
}

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

.form-submit-btn {
  background: linear-gradient(135deg var(--in-oklch), var(--accent-primary), var(--accent-secondary));
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.form-status {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

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

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border-light);
  background-color: #08080a;
  padding: 4rem 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 2rem;
  justify-content: center;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  list-style: none;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

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

.footer-socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.footer-social-btn {
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-social-btn:hover {
  color: var(--text-white);
}

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

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 4px var(--accent-cyan);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px var(--accent-cyan);
  }
}

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

/* --- SCROLL DRIVEN ANIMATIONS (PROGRESSIVE ENHANCEMENT) --- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealIn {
      from {
        opacity: 0;
        transform: translateY(60px);
      }
    }
    
    .services-grid > *,
    .founder-card,
    .tech-grid-container > *,
    .contact-layout > * {
      animation: revealIn auto ease-out forwards;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
  .founder-photo-container {
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
  }
  .founder-avatar {
    width: 180px;
    height: 180px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    border-radius: 24px;
    padding: 0.75rem 1.25rem;
    position: relative;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0.5rem;
    right: 0.5rem;
    background: rgba(17, 17, 21, 0.98);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.25rem;
    transition: color 0.3s;
  }
  .mobile-nav-toggle:hover {
    color: var(--accent-primary);
  }
  
  .hero-section {
    padding: 10rem 0 4rem 0;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tech-grid-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .founder-photo-container {
    flex-direction: column;
    align-items: center;
  }
  
  .founder-metrics {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .contact-form {
    padding: 2rem;
  }
}
