/* -------------------------------------------------------------
   Alpha Control Visual Identity - Design System
   Designed for: alphacontroltech.com
   Aesthetic: Dark Futuristic / Minimalist Glassmorphism
   Colors: Deep Navy (#050A14) & Electric Cyan (#00D4FF)
------------------------------------------------------------- */

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

:root {
  /* Color Tokens */
  --bg-primary: #050A14;
  --bg-secondary: #0A1628;
  --bg-glass: rgba(10, 22, 40, 0.65);
  --bg-glass-heavy: rgba(5, 10, 20, 0.9);
  --color-primary: #00D4FF;
  --color-primary-dim: rgba(0, 212, 255, 0.15);
  --color-primary-glow: rgba(0, 212, 255, 0.3);
  
  /* Secondary Color Tokens (Warm Gold/Orange Metallic Glow) */
  --color-accent: #FF9F1C;
  --color-accent-dim: rgba(255, 159, 28, 0.15);
  --color-accent-glow: rgba(255, 159, 28, 0.35);
  --border-accent-glow: rgba(255, 159, 28, 0.25);

  --color-text-bright: #FFFFFF;
  --color-text-normal: #DDE2F1;
  --color-text-muted: #94A3B8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-cyan-glow: rgba(0, 212, 255, 0.25);
  
  /* Fonts */
  --font-family: 'Inter', sans-serif;
  
  /* Spacing (8px grid) */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --container-max-width: 1200px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--color-text-normal);
  font-family: var(--font-family);
  overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-bright);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 40%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

p {
  color: var(--color-text-normal);
  font-weight: 400;
}

/* Decorative Background Grid & Particles */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

/* Cybernetic Grid Overlay */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 40%, transparent 100%);
}

/* Glowing Ambience Spheres */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -9;
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: pulse-glow 15s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0F52BA 0%, transparent 70%);
  top: 40%;
  left: -200px;
  animation-delay: -5s;
}

.glow-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  bottom: 10%;
  right: -100px;
  animation-delay: -10s;
}

@keyframes pulse-glow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translate(30px, -20px) scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: translate(-20px, 30px) scale(0.9);
    opacity: 0.12;
  }
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

.text-center {
  text-align: center;
}

/* Component: Glass Cards */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: var(--spacing-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan-glow);
  box-shadow: 0 10px 30px -15px rgba(0, 212, 255, 0.3);
}

/* Component: Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  gap: 8px;
  outline: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #03070C;
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 14px 0 rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  background-color: #00b3d6;
  border-color: #00b3d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-bright);
  border: 1px solid var(--border-glass);
}

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

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 10, 20, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.3s ease;
}

header.scrolled {
  background: rgba(5, 10, 20, 0.9);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-alpha {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.brand-control {
  background: linear-gradient(135deg, var(--color-primary) 30%, #0088FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

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

.nav-links a {
  color: var(--color-text-normal);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

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

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

/* Section Header Utility */
.section-header {
  max-width: 700px;
  margin: 0 auto var(--spacing-lg) auto;
}

.section-header .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: var(--spacing-xs);
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* 1. Hero Section */
#inicio {
  position: relative;
  padding-top: 160px;
  padding-bottom: var(--spacing-xl);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.hero-text-block {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-text-block h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
  font-weight: 800;
}

.hero-text-block p {
  font-size: 1.125rem;
  color: var(--color-text-normal);
  margin-bottom: var(--spacing-md);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: var(--spacing-sm);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mockup Interface Element */
.mockup-container {
  width: 100%;
  max-width: 480px;
  height: 320px;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.05);
  overflow: hidden;
  position: relative;
  animation: float-mockup 6s infinite ease-in-out;
}

@keyframes float-mockup {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

.mockup-header {
  height: 32px;
  background: rgba(5, 10, 20, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dot.active {
  background: var(--color-primary);
}

.mockup-title {
  font-family: monospace;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-left: auto;
}

.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-row {
  display: flex;
  gap: 16px;
}

.mockup-chart-box {
  flex: 1.5;
  height: 120px;
  border-radius: 6px;
  background: rgba(3, 7, 12, 0.4);
  border: 1px dashed rgba(0, 212, 255, 0.15);
  position: relative;
  overflow: hidden;
  padding: 12px;
}

.mockup-chart-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.chart-column {
  width: 12%;
  background: linear-gradient(to top, var(--color-primary-dim), var(--color-primary));
  border-radius: 3px 3px 0 0;
  animation: grow-bar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: bottom;
}

@keyframes grow-bar {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.mockup-stats-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-stat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 6px;
}

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

.mockup-stat-item .value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.mockup-footer-code {
  font-family: monospace;
  font-size: 0.75rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.05);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.1);
  display: flex;
  justify-content: space-between;
}

/* 2. Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.service-card {
  padding: var(--spacing-md) var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 8px;
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.1);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.375rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  width: 100%;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features-list li {
  font-size: 0.8125rem;
  color: var(--color-text-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

/* 3. Process Section (Timeline) */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  position: relative;
  margin-top: 40px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3) 20%, rgba(0, 212, 255, 0.3) 80%, transparent);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.125rem;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.05);
  transition: all 0.3s ease;
}

.process-step:hover .process-step-num {
  background: var(--color-primary);
  color: #03070C;
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.process-step h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* 4. Portfolio / Projects Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-img-box {
  width: 100%;
  height: 180px;
  background-color: #03070C;
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-mockup-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
              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: 100% 100%, 20px 20px, 20px 20px;
}

.project-mockup-ui {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 22, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px 6px 0 0;
  padding: 12px;
  height: 140px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: transform 0.4s ease;
}

.project-card:hover .project-mockup-ui {
  transform: translateY(-8px);
}

.project-mockup-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  border-radius: 3px;
  width: 70%;
}

.project-mockup-line:nth-child(2) {
  width: 50%;
}

.project-mockup-line:nth-child(3) {
  width: 85%;
  height: 40px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 4px;
}

.project-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-sm);
}

.project-link {
  color: var(--color-text-bright);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.2s ease;
}

.project-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.project-card:hover .project-link {
  color: var(--color-primary);
}

.project-card:hover .project-link svg {
  transform: translateX(3px);
}

/* 5. Stats Section */
.stats-bar {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: var(--spacing-lg) var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.stat-box {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* 6. Legal / Verification Box (Important for Meta Verification) */
.legal-verification-box {
  margin-top: var(--spacing-lg);
  border: 1px dashed rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.02);
  padding: var(--spacing-md);
  border-radius: 8px;
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.verification-icon {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verification-icon svg {
  width: 44px;
  height: 44px;
}

.verification-text h4 {
  font-size: 1.125rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.verification-text p {
  font-size: 0.875rem;
  color: var(--color-text-normal);
}

/* 7. Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--spacing-lg);
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-info-block h3 {
  font-size: 1.75rem;
}

.contact-info-block p {
  color: var(--color-text-muted);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin-top: var(--spacing-xs);
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.detail-text span {
  display: block;
}

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

.detail-text .value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-bright);
}

.detail-text a {
  color: var(--color-text-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

.detail-text a:hover {
  color: var(--color-primary);
}

/* Form Styling */
.contact-form-card {
  padding: var(--spacing-md) var(--spacing-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(3, 7, 12, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--color-text-bright);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(3, 7, 12, 0.8);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.05);
}

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

/* Form Feedback States */
.form-feedback {
  padding: 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34D399;
}

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

/* Footer & Legal Compliance (Crucial for Meta Approval) */
footer {
  background: #03070C;
  border-top: 1px solid var(--border-glass);
  padding: var(--spacing-lg) 0 30px 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-links-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-bright);
  margin-bottom: 16px;
}

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

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

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

.footer-legal-notice {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 6px;
}

.footer-legal-notice h4 {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-legal-notice p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-normal);
}

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

.footer-bottom .legal-name {
  color: var(--color-text-bright);
  font-weight: 600;
  border-left: 2px solid var(--color-primary);
  padding-left: 8px;
}

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

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

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

/* Modals for Privacy & Terms (Crucial for Meta crawlers to find real text) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  width: 100%;
  max-width: 650px;
  max-height: 80vh;
  overflow-y: auto;
  padding: var(--spacing-md);
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

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

.modal-close:hover {
  color: var(--color-primary);
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-text-block {
  color: var(--color-text-normal);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1.6;
}

.modal-text-block h4 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 8px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .hero-text-block h1 {
    font-size: 2.75rem;
  }
  
  .hero-text-block p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .stats-bar {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
  }
  
  .stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    transition: left 0.3s ease;
    z-index: 99;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .header-cta {
    display: none;
  }
  
  .legal-verification-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   PRO FLOATING WHATSAPP BUTTON (Antigravity Interactive Upgrade)
------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulse-whatsapp 2s infinite ease-in-out;
}

.whatsapp-float i {
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover i {
  transform: scale(1.1) rotate(10deg);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Ensure floating button behaves beautifully on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
