/* ==========================================================================
   BASE64 SOLUTIONS — MODERN DESIGN SYSTEM
   Solid bases, big achievements | OutSystems Experts
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-surface: #0e131d;
  --bg-card: rgba(18, 24, 38, 0.72);
  --bg-card-hover: rgba(26, 35, 54, 0.85);
  --bg-glass: rgba(14, 19, 31, 0.75);
  
  --brand-red: #d12127;
  --brand-red-bright: #e5242c;
  --brand-red-glow: rgba(229, 36, 44, 0.35);
  --brand-red-subtle: rgba(229, 36, 44, 0.12);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-red: rgba(229, 36, 44, 0.4);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  /* Spacings & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px var(--brand-red-glow);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

/* Background Atmosphere */
.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -2;
}

.glow-sphere-1 {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 550px;
  background: radial-gradient(circle, rgba(229, 36, 44, 0.18) 0%, rgba(229, 36, 44, 0) 70%);
}

.glow-sphere-2 {
  top: 1400px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 33, 39, 0.12) 0%, rgba(209, 33, 39, 0) 70%);
}

.grid-overlay {
  position: fixed;
  inset: 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: 48px 48px;
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

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

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red-bright) 0%, var(--brand-red) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(229, 36, 44, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f0333b 0%, #d82329 100%);
  box-shadow: 0 6px 28px rgba(229, 36, 44, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Glass Card Common Styles */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(229, 36, 44, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Section Header */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red-bright);
  background: var(--brand-red-subtle);
  border: 1px solid rgba(229, 36, 44, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  height: 72px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-image {
  transform: scale(1.02);
}

.desktop-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-red-bright);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  display: none;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--brand-red-bright);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(229, 36, 44, 0.4);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

/* Mobile Language Switcher */
.mobile-lang-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
}

.mobile-lang-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-switcher {
  padding: 3px;
}

.mobile-switcher .lang-btn {
  padding: 6px 14px;
  font-size: 0.88rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(14, 19, 29, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  padding: 8px 0;
}

.mobile-nav-link:hover {
  color: var(--brand-red-bright);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--brand-red-subtle);
  border: 1px solid rgba(229, 36, 44, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-red-bright);
  box-shadow: 0 0 10px var(--brand-red-bright);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(229, 36, 44, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(229, 36, 44, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(229, 36, 44, 0); }
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.highlight-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-red-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* Metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

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

.metric-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.metric-divider {
  display: none;
}

/* Code Terminal Visual */
.hero-visual {
  width: 100%;
}

.code-terminal {
  background: #090c13;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 36, 44, 0.1);
  overflow: hidden;
  font-family: var(--font-mono);
  position: relative;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 22px;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-line {
  white-space: pre;
}

.indent-1 { padding-left: 20px; }
.indent-2 { padding-left: 40px; }
.indent-3 { padding-left: 60px; }

.code-comment { color: #64748b; font-style: italic; }
.code-keyword { color: #f43f5e; font-weight: 600; }
.code-function { color: #38bdf8; }
.code-entity { color: #fbbf24; }
.code-string { color: #4ade80; }
.code-number { color: #c084fc; }
.code-boolean { color: #fb923c; }
.code-property { color: #e2e8f0; }

.terminal-badge {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.badge-status {
  color: var(--brand-red-bright);
  font-weight: 600;
}

.badge-time {
  color: #22c55e;
}

/* ==========================================================================
   ABOUT / ORIGEM SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-card {
  display: flex;
  flex-direction: column;
}

.about-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.about-icon-box.accent {
  background: var(--brand-red-subtle);
  border-color: var(--border-red);
  color: var(--brand-red-bright);
}

.about-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.about-card-text {
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   DIFFERENTIAL SECTION
   ========================================================================== */

.glass-panel {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 14, 23, 0.9) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}

.difference-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.difference-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.difference-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.difference-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diff-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.diff-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-red-subtle);
  border: 1px solid var(--border-red);
  color: var(--brand-red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.diff-heading {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.diff-desc {
  font-size: 0.95rem;
}

/* Stats Card in Difference */
.difference-stats-card .card-inner-box {
  background: #080b11;
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(209, 33, 39, 0.15);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red-bright);
  background: var(--brand-red-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.stat-highlight {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.status-ok {
  color: #22c55e;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ==========================================================================
   SERVICES & SPECIALTIES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--brand-red-subtle);
  border: 1px solid var(--border-red);
  color: var(--brand-red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   TIMELINE / METHODOLOGY
   ========================================================================== */

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.timeline-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: all var(--transition-fast);
}

.timeline-step:hover {
  border-color: var(--border-red);
  transform: translateY(-2px);
}

.step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-red-bright);
  margin-bottom: 14px;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   TECH STACK PILLS
   ========================================================================== */

.tech-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.tech-icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ SECTION (SEO & ACCORDION)
   ========================================================================== */

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(229, 36, 44, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  list-style: none;
  user-select: none;
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--brand-red-bright);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 26px 28px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */

.section-cta-banner {
  padding: 40px 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(209, 33, 39, 0.9) 0%, rgba(160, 20, 25, 0.95) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  box-shadow: 0 15px 50px rgba(209, 33, 39, 0.35);
  color: #ffffff;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-banner-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
}

.cta-banner-card .btn-primary {
  background: #ffffff;
  color: var(--brand-red);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-banner-card .btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-red-subtle);
  border: 1px solid var(--border-red);
  color: var(--brand-red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-heading {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.info-detail {
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.info-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-red-bright);
  display: inline-block;
}

.info-link:hover {
  text-decoration: underline;
}

.contact-email-highlight,
.contact-phone-highlight {
  font-family: var(--font-mono);
  font-size: 1rem;
}

/* Social Box */
.social-box {
  padding: 16px 0;
}

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

.social-links-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-red);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Form Styles */
.form-container {
  padding: 36px 28px;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(10, 14, 22, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-red-bright);
  box-shadow: 0 0 0 3px rgba(229, 36, 44, 0.2);
  background: rgba(15, 21, 33, 0.95);
}

.form-select {
  cursor: pointer;
}

/* Honeypot Trap for Bots */
.honeypot-wrap {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

/* Captcha Anti-Spam Box */
.captcha-box {
  background: rgba(14, 19, 31, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.captcha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.captcha-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.captcha-icon {
  color: var(--brand-red-bright);
}

.captcha-title {
  color: var(--text-primary);
}

.captcha-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.captcha-refresh:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--brand-red);
}

.captcha-body {
  display: flex;
  gap: 12px;
  align-items: center;
}

.captcha-badge {
  background: #080b11;
  border: 1px solid var(--border-red);
  color: var(--brand-red-bright);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  letter-spacing: 0.05em;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.captcha-input {
  max-width: 140px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

.btn-submit {
  margin-top: 8px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  display: none;
  padding: 12px;
  border-radius: var(--radius-sm);
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-nav a:hover {
  color: var(--brand-red-bright);
}

.footer-text {
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.footer-text a {
  color: var(--brand-red-bright);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.copyright-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.back-to-top:hover {
  color: var(--brand-red-bright);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .metric-divider {
    display: none;
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 56px 48px;
  }

  .cta-btn-area {
    flex-shrink: 0;
  }

  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }

  .nav-cta {
    display: inline-flex;
  }

  .mobile-toggle {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }

  .difference-box {
    grid-template-columns: 1.25fr 0.75fr;
    padding: 56px 48px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
  }
}

/* Spinner Icon */
.spin-icon {
  animation: spinAnimation 1s linear infinite;
}

@keyframes spinAnimation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

