/* ==========================================================================
   DIVE SOLUTIONS - PREMIUM DESIGN SYSTEM & ANIMATIONS
   Dark Oceanic Theme / Fully Responsive Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Dark Oceanic Color Palette */
  --abyss: #050d15;
  --panel: #0b1a28;
  --panel2: #0f2233;
  --panel3: #132a3e;
  --line: #1c3448;
  --line-bright: #294c69;
  
  /* Brand Accents */
  --teal: #18d8bd;
  --teal-dim: #0f8677;
  --teal-glow: rgba(24, 216, 189, 0.22);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.22);
  --amber: #ffb020;
  --amber-glow: rgba(255, 176, 32, 0.2);
  --red: #ff5252;
  --blue: #3fa6ff;
  
  /* Typography Colors */
  --text: #e7f1f6;
  --text-pure: #ffffff;
  --muted: #7f9aad;
  --muted-light: #a4bccd;
  --muted-dark: #4b6272;

  /* Typography Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Barlow Condensed', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --nav-height: 78px;

  /* Easings */
  --ease-tech: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--abyss);
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-sans);
  background-color: var(--abyss);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--abyss);
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--teal-dim);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--text-pure);
}

p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

strong {
  color: var(--text);
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Animated Geometric Network Canvas */
#networkCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Dynamic Ambient Glow Layer */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 650px;
  background: radial-gradient(circle, rgba(24, 216, 189, 0.08) 0%, rgba(6, 182, 212, 0.03) 50%, transparent 70%);
  filter: blur(120px);
}

.ambient-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 65%);
  filter: blur(140px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(5, 13, 21, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: all 0.3s var(--ease-tech);
}

.navbar.scrolled {
  background: rgba(5, 13, 21, 0.98);
  border-bottom-color: rgba(24, 216, 189, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease-tech);
}

.nav-brand:hover {
  transform: translateY(-1px);
}

.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

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

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s var(--ease-tech);
}

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Buttons with Tech Shimmer */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-tech);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(30deg);
  transition: transform 0.6s var(--ease-tech);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(500%) rotate(30deg);
}

.btn-teal {
  background-color: var(--teal);
  color: var(--abyss);
  box-shadow: 0 0 25px rgba(24, 216, 189, 0.35);
}

.btn-teal:hover {
  background-color: #21efd3;
  box-shadow: 0 0 35px rgba(24, 216, 189, 0.55);
  transform: translateY(-2px);
}

.btn-cyan {
  background-color: var(--cyan);
  color: var(--abyss);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  background-color: #22d3ee;
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: rgba(11, 26, 40, 0.85);
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background-color: rgba(24, 216, 189, 0.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-teal {
  background: rgba(24, 216, 189, 0.1);
  color: var(--teal);
  border: 1px solid rgba(24, 216, 189, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--teal);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--teal);
  opacity: 0.7;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Sections - Balanced Spacing */
.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

/* Special tight connection between Fundadores and DiveLog to eliminate empty gap */
#fundadores {
  padding-bottom: 2.5rem;
}

#divelog {
  padding-top: 2.5rem;
}

.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.15rem;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Cards & Containers */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: all 0.35s var(--ease-tech);
}

.card:hover {
  border-color: var(--line-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

/* Hero Section with Buzo Background */
.hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 5.5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-backdrop-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero-buzo-img {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 100%;
  max-width: 1400px;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.38;
  filter: contrast(1.15) brightness(0.85);
  animation: heroFloat 12s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0% { transform: translate(-50%, -45%) scale(1); }
  100% { transform: translate(-50%, -47%) scale(1.03); }
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(5, 13, 21, 0.6) 0%, rgba(5, 13, 21, 0.92) 75%, var(--abyss) 100%),
    linear-gradient(to bottom, rgba(5, 13, 21, 0.8) 0%, transparent 25%, transparent 70%, var(--abyss) 100%);
}

.hero-content {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.08;
  margin-bottom: 1.75rem;
}

.hero-title .highlight-teal {
  color: var(--teal);
  text-shadow: 0 0 30px rgba(24, 216, 189, 0.4);
}

.hero-title .highlight-cyan {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  color: var(--muted-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

/* Hero Pillars */
.hero-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-top: 1rem;
}

.hero-pillar-card {
  background: rgba(11, 26, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-tech);
}

.hero-pillar-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(24, 216, 189, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
}

/* Story Grid & Emblem Showcase */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.story-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.story-callout {
  background: var(--panel2);
  border-left: 4px solid var(--teal);
  padding: 1.4rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.story-callout p {
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 0;
  font-style: italic;
}

/* Company Emblem Box in Sobre Nosotros */
.company-emblem-card {
  background: radial-gradient(circle at center, #0e2438 0%, #081522 75%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(24, 216, 189, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-tech);
}

.company-emblem-card:hover {
  border-color: rgba(24, 216, 189, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 45px rgba(24, 216, 189, 0.15);
}

.company-emblem-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s var(--ease-tech);
}

.company-emblem-card:hover .company-emblem-img {
  transform: scale(1.04);
}

/* Founders Section */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.founder-card {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  transition: all 0.35s var(--ease-tech);
}

.founder-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(24, 216, 189, 0.1);
}

.founder-avatar {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--panel3);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(24, 216, 189, 0.2);
}

.founder-info h3 {
  font-size: 1.7rem;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
}

.founder-bio {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--muted-light);
}

/* Product Showcase Blocks - Clean Structure without blank gap */
.product-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.product-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24, 216, 189, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.product-section.rt-theme {
  border-color: rgba(6, 182, 212, 0.3);
}

.product-section.rt-theme::before {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
}

.product-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

/* Enlarged Logos for DiveLog & DiveLog RT */
.product-logo-display {
  height: 90px;
  max-height: 115px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s var(--ease-tech);
}

.product-logo-display:hover {
  transform: scale(1.03);
}

.product-logo-rt-display {
  height: 75px;
  max-height: 100px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s var(--ease-tech);
}

.product-logo-rt-display:hover {
  transform: scale(1.03);
}

/* Product Hero Grid with Screenshot_3 mockup */
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 100%;
}

.product-hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.product-hero-block h2 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
}

.product-hero-block p.lead {
  font-size: 1.1rem;
  color: var(--muted-light);
  line-height: 1.7;
}

.product-screenshot-card {
  background: var(--panel2);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 0.55rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(24, 216, 189, 0.12);
  transition: all 0.35s var(--ease-tech);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-screenshot-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 45px rgba(24, 216, 189, 0.22);
}

.product-screenshot-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  object-fit: contain;
}

/* Video Parallax Seamless Container */
.video-parallax-container {
  margin: 3rem 0 2.5rem 0;
  background: radial-gradient(circle at center, #0e2438 0%, #081522 80%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(24, 216, 189, 0.1);
  position: relative;
  overflow: hidden;
}

.video-frame-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(24, 216, 189, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  pointer-events: none; /* Seamless background motion integration */
}

.video-frame-wrapper iframe {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  border: 0;
  pointer-events: none;
}

/* Pilot Launch & Prototype Notice Box (DiveLog RT) */
.pilot-launch-box {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 25px rgba(6, 182, 212, 0.08);
}

.pilot-launch-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.18);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pilot-launch-content h4 {
  font-size: 1.2rem;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.pilot-launch-content p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Features Grid */
.features-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-detail-card {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: all 0.3s var(--ease-tech);
}

.feature-detail-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(24, 216, 189, 0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rt-theme .feature-card-icon {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
}

.feature-detail-card h4 {
  font-size: 1.22rem;
  color: var(--text-pure);
}

.feature-detail-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Field Experience Table */
.field-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin: 2rem 0;
  background: var(--panel2);
}

.field-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 520px;
}

.field-table th, .field-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.field-table th {
  background: var(--panel3);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-pure);
}

.field-table td {
  font-size: 0.93rem;
}

.field-table tr:last-child td {
  border-bottom: none;
}

/* Value Triad (4 Columns on Desktop) */
.value-triad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.value-triad-card {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-top: 3px solid var(--teal);
  transition: transform 0.3s var(--ease-tech);
}

.value-triad-card:hover {
  transform: translateY(-4px);
}

.value-triad-card.mandante {
  border-top-color: var(--amber);
}

.value-triad-card.supervisor {
  border-top-color: var(--cyan);
}

.value-triad-card.buzo {
  border-top-color: var(--blue);
}

.value-triad-card h4 {
  font-size: 1.22rem;
  margin-bottom: 0.6rem;
  color: var(--text-pure);
}

/* RT Architecture */
.rt-architecture-box {
  background: var(--panel2);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.rt-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.rt-arch-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.rt-arch-step:hover {
  border-color: var(--cyan);
}

.arch-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

/* Quote Highlight */
.quote-highlight-box {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  margin-top: 2.5rem;
  text-align: center;
}

.quote-highlight-box p {
  font-size: 1.2rem;
  color: var(--text-pure);
  font-weight: 500;
  line-height: 1.65;
  font-style: italic;
}

/* Contact Section */
.contact-container {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--abyss);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(24, 216, 189, 0.15);
}

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

.option-radio-card {
  border: 1px solid var(--line);
  background: var(--abyss);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s var(--ease-tech);
  user-select: none;
}

.option-radio-card input {
  display: none;
}

.option-radio-card.selected {
  border-color: var(--teal);
  background: rgba(24, 216, 189, 0.12);
  color: var(--teal);
  font-weight: 600;
}

/* Footer */
.footer {
  background: #02070c;
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2.5rem 0;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--text-pure);
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 52, 72, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Secret Portal Anchor Button */
.secret-anchor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-dark);
  opacity: 0.4;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.secret-anchor-btn:hover {
  opacity: 1;
  color: var(--teal);
  transform: rotate(15deg) scale(1.15);
  filter: drop-shadow(0 0 6px rgba(24, 216, 189, 0.45));
}

/* Success Toast */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--panel2);
  border: 1px solid var(--teal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(24, 216, 189, 0.25);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease-tech);
}

.toast-notice.show {
  transform: translateY(0);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-tech), transform 0.6s var(--ease-tech);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(11, 26, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-150%);
  transition: transform 0.35s var(--ease-tech);
  z-index: 999;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-drawer a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28, 52, 72, 0.4);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE DEVICES)
   ========================================================================== */

/* Tablets / Laptops (max-width: 1100px) */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 3.1rem;
  }
  .hero-buzo-img {
    opacity: 0.28;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .product-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  .product-screenshot-card {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
  }
  .value-triad-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .rt-arch-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
  .product-section {
    padding: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Small Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }
  .section {
    padding: 3.5rem 0;
  }
  #fundadores {
    padding-bottom: 2rem;
  }
  #divelog {
    padding-top: 2rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .hero {
    padding-top: calc(var(--nav-height) + 1.75rem);
    padding-bottom: 3.5rem;
  }
  .hero-title {
    font-size: 2.3rem;
    line-height: 1.15;
  }
  .hero-desc {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-logo-img {
    height: 36px;
  }
  .product-section {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .product-hero-block h2 {
    font-size: 2rem;
  }
  .product-hero-block p.lead {
    font-size: 0.98rem;
  }
  .product-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  .product-screenshot-card {
    width: 100%;
    max-width: 100%;
    padding: 0.4rem;
    margin: 0 auto;
    border-radius: var(--radius-md);
  }
  .product-screenshot-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--radius-md) - 2px);
  }
  .product-logo-display {
    height: 65px;
  }
  .product-logo-rt-display {
    height: 55px;
  }
  .video-parallax-container {
    padding: 1.25rem 0.75rem;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
  }
  .features-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .value-triad-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .founder-card {
    flex-direction: column;
    padding: 1.6rem;
    gap: 1.2rem;
  }
  .founder-avatar {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-options-grid {
    grid-template-columns: 1fr;
  }
  .pilot-launch-box {
    flex-direction: column;
    padding: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .toast-notice {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .product-hero-block h2 {
    font-size: 1.7rem;
  }
  .card, .contact-container {
    padding: 1.4rem;
  }
  .product-section {
    padding: 1.4rem 1rem;
  }
  .product-screenshot-card {
    padding: 0.3rem;
  }
}
