:root {
  --bg-obsidian: #080C10;
  --bg-surface: #0E141B;
  --bg-card: rgba(18, 26, 36, 0.75);
  --bg-card-hover: rgba(24, 35, 49, 0.9);
  --border-subtle: rgba(0, 229, 184, 0.15);
  --border-glow: rgba(0, 229, 184, 0.4);
  
  --rune-cyan: #00E5B8;
  --rune-cyan-light: #52ffd5;
  --rune-cyan-dim: rgba(0, 229, 184, 0.1);
  --drakkar-teal: #164654;
  --fjord-blue: #0F1E2E;
  
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dark: #0A0F14;
  
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Canvas */
#telemetry-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 229, 184, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Utilities */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.cyan-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--rune-cyan) 80%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-text {
  text-shadow: 0 0 20px rgba(0, 229, 184, 0.5);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #00E5B8, #00B4A0);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0, 229, 184, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38efc6, #00d4b2);
  box-shadow: 0 6px 28px rgba(0, 229, 184, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(22, 70, 84, 0.25);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(22, 70, 84, 0.45);
  border-color: var(--rune-cyan);
  color: var(--rune-cyan-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--rune-cyan);
  border: 1px solid var(--rune-cyan);
}

.btn-outline:hover {
  background: var(--rune-cyan-dim);
  box-shadow: 0 0 15px rgba(0, 229, 184, 0.25);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  background: rgba(0, 229, 184, 0.08);
  border: 1px solid rgba(0, 229, 184, 0.25);
  color: var(--rune-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 16px var(--rune-cyan); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Header & Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 12, 16, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img, .brand-logo svg {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 140px 0 80px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin: 1.25rem 0 1.2rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item h4 {
  font-size: 1.7rem;
  color: var(--rune-cyan);
  font-family: var(--font-mono);
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual Box */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 184, 0.1);
  overflow: hidden;
  transition: var(--transition);
}

.hero-visual-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 229, 184, 0.2);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

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

.visual-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 0.75rem;
}

.visual-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .visual-image-wrapper img {
  transform: scale(1.02);
}

.live-telemetry-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(10, 15, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 184, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Sections Global */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-title-wrap h2 {
  font-size: 2.4rem;
  margin: 0.75rem 0 1rem;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Pain Points / Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.08);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #F87171;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #FEE2E2;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* The Solution Banner */
.solution-banner {
  background: linear-gradient(135deg, rgba(22, 70, 84, 0.4), rgba(10, 24, 34, 0.8));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 40px rgba(0, 229, 184, 0.08);
}

.solution-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--rune-cyan);
}

.solution-content p {
  color: #CBD5E1;
  max-width: 680px;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rune-cyan), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 184, 0.15);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--rune-cyan-dim);
  border: 1px solid rgba(0, 229, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rune-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card .stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.stack-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  color: #A0AEC0;
}

.service-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.inspect-btn {
  background: none;
  border: none;
  color: var(--rune-cyan);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.inspect-btn:hover {
  gap: 0.7rem;
  color: var(--rune-cyan-light);
}

/* Method / Process Section */
.method-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.method-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.method-step:hover {
  transform: translateY(-4px);
  border-color: var(--rune-cyan);
  box-shadow: 0 10px 25px rgba(0, 229, 184, 0.12);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(0, 229, 184, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

.method-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.method-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Interactive Estimator Section */
.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
}

.estimator-group-title {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.system-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.type-option-label {
  display: block;
  cursor: pointer;
}

.type-option-label input {
  display: none;
}

.type-card-inner {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 20, 27, 0.6);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  transition: var(--transition);
}

.type-option-label input:checked + .type-card-inner {
  border-color: var(--rune-cyan);
  background: rgba(0, 229, 184, 0.08);
  box-shadow: 0 0 15px rgba(0, 229, 184, 0.15);
}

.type-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

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

.addons-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.addon-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem;
  background: rgba(14, 20, 27, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.addon-label:hover {
  background: rgba(14, 20, 27, 0.8);
  border-color: rgba(0, 229, 184, 0.3);
}

.addon-label input {
  margin-top: 0.25rem;
  accent-color: var(--rune-cyan);
}

.addon-info .name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
}

.addon-info .price {
  font-size: 0.75rem;
  color: var(--rune-cyan);
  font-family: var(--font-mono);
}

/* Estimator Summary Box */
.estimator-summary {
  background: linear-gradient(180deg, rgba(14, 24, 34, 0.9), rgba(8, 14, 20, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.summary-rows {
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.summary-row.total-row {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.summary-total-val {
  font-size: 1.7rem;
  color: var(--rune-cyan);
  font-family: var(--font-mono);
}

/* Story / "Quem Somos" Section */
.story-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.story-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.story-card-graphic {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.story-pillars {
  display: grid;
  gap: 1.2rem;
}

.pillar-item {
  display: flex;
  gap: 1rem;
}

.pillar-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--rune-cyan-dim);
  border: 1px solid rgba(0, 229, 184, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rune-cyan);
  flex-shrink: 0;
}

.pillar-item h4 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.pillar-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Proposal Generator Section */
.proposal-generator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.proposal-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: #CBD5E1;
  font-weight: 500;
}

.form-input, .form-select, .form-textarea {
  background: rgba(14, 20, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--rune-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 184, 0.25);
}

/* Proposal Preview Box */
.proposal-preview-paper {
  background: #0B1017;
  border: 1px solid rgba(0, 229, 184, 0.25);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-top: 2rem;
  font-family: var(--font-body);
  color: #E2E8F0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
}

.proposal-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(0, 229, 184, 0.3);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.proposal-preview-body h4 {
  color: var(--rune-cyan);
  margin: 1.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.proposal-preview-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.proposal-preview-body li {
  margin-bottom: 0.35rem;
  color: #CBD5E1;
}

/* Contact / Diagnostic Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--rune-cyan-dim);
  border: 1px solid rgba(0, 229, 184, 0.3);
  color: var(--rune-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: #0E1620;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 229, 184, 0.2);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  background: #06090D;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 24, 34, 0.95);
  border: 1px solid var(--rune-cyan);
  color: #FFFFFF;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 184, 0.3);
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 0.6rem;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Floating WhatsApp Chat Widget */
.whatsapp-float-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-tooltip {
  background: rgba(14, 20, 27, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 9999px;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 211, 102, 0.2);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-tooltip-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 0 10px #25D366;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.25);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waRadar 2s infinite;
}

@keyframes waRadar {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .whatsapp-tooltip {
    display: none;
  }
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 1024px) {
  .hero-grid, .estimator-grid, .story-wrapper, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .services-grid, .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .method-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn-outline {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .services-grid, .problem-grid, .system-types-grid, .addons-list, .method-timeline, .proposal-form-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}