/* ==========================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================== */
:root {
  /* Colors */
  --bg-dark-base: #030014;
  --bg-dark-tint: #080521;
  --bg-card: rgba(15, 10, 40, 0.4);
  --bg-card-hover: rgba(25, 15, 60, 0.6);
  
  --neon-blue: #00d2ff;
  --neon-purple: #bd00ff;
  --neon-red: #ff003c;
  --neon-green: #00ff66;
  
  --text-main: #f3f1fd;
  --text-muted: #8d8aa7;
  --text-dark: #0a081e;
  
  --border-light: rgba(255, 255, 255, 0.06);
  --border-glow-blue: rgba(0, 210, 255, 0.2);
  --border-glow-purple: rgba(189, 0, 255, 0.2);
  --border-glow-red: rgba(255, 0, 60, 0.2);
  
  /* Fonts */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  
  /* Layout */
  --nav-height: 104px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow-blue: 0 0 15px rgba(0, 210, 255, 0.3);
  --shadow-glow-purple: 0 0 15px rgba(189, 0, 255, 0.3);
  --shadow-glow-red: 0 0 15px rgba(255, 0, 60, 0.3);
  --shadow-glow-green: 0 0 15px rgba(0, 255, 102, 0.3);
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(189, 0, 255, 0.2);
  border-radius: 5px;
  border: 2px solid var(--bg-dark-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-purple);
  box-shadow: var(--shadow-glow-purple);
}

/* Typography Selection */
::selection {
  background: var(--neon-purple);
  color: #fff;
}

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

input, textarea, select, button {
  font-family: inherit;
  outline: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================
   BACKGROUND TECH EFFECTS
   ========================================== */
.tech-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(189, 0, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 0, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  z-index: -2;
  pointer-events: none;
}

.tech-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-dark-base) 80%);
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  animation: orbMovement 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(189, 0, 255, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  top: -10%;
  right: -10%;
  animation-duration: 25s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 10%;
  left: -15%;
  animation-duration: 30s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 60, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  top: 40%;
  right: 15%;
  animation-duration: 18s;
}

@keyframes orbMovement {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.9); }
}

/* ==========================================
   BUTTONS & GRADIENTS
   ========================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  box-shadow: var(--shadow-glow-purple);
  transition: var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(189, 0, 255, 0.6), var(--shadow-glow-blue);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  box-shadow: var(--shadow-glow-purple);
  transition: var(--transition-normal);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(189, 0, 255, 0.5);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: #25d366;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow-green);
  transition: var(--transition-normal);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background-color: #20ba59;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

.btn-sms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-sms:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-blue);
  box-shadow: var(--shadow-glow-blue);
}

.w-full {
  width: 100%;
}

.badge-ai-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(189, 0, 255, 0.12);
  border: 1px solid rgba(189, 0, 255, 0.4);
  color: #e6b3ff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(189, 0, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(189, 0, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(189, 0, 255, 0); }
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: rgba(255, 0, 60, 0.1);
  border: 1px solid rgba(255, 0, 60, 0.3);
  color: #ff9fb4;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(3, 0, 20, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 84px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.35));
}

@media (max-width: 768px) {
  .nav-logo {
    height: 60px;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff, #bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--neon-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
  transition: var(--transition-fast);
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* Mobile Dropdown Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background-color: rgba(8, 5, 33, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}

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

.mobile-link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-extra {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.15;
  margin-top: 20px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 540px;
}

.price-speed-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 35px;
}

.ps-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.ps-card:hover {
  border-color: rgba(189, 0, 255, 0.3);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

.ps-card i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ps-text {
  display: flex;
  flex-direction: column;
}

.ps-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-meta-links {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta-links i {
  color: var(--neon-blue);
  margin-right: 4px;
}

/* Floating Laptop Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.glow-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(189, 0, 255, 0.15) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.mockup-frame {
  background-color: rgba(10, 8, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow-purple);
  backdrop-filter: blur(20px);
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(3, 0, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 8px;
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.mockup-url {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 4px 16px;
  border-radius: 4px;
  font-family: monospace;
  flex: 1;
  text-align: center;
}

.mockup-content {
  padding: 30px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mockup-hero-demo {
  text-align: center;
  width: 100%;
}

.pulse-logo {
  height: 72px;
  margin: 0 auto 20px auto;
  animation: logoPulse 3s infinite alternate ease-in-out;
}

@keyframes logoPulse {
  0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(189, 0, 255, 0.3)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.8)); }
}

.bar {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin: 10px auto;
}

.bar-lg { width: 70%; background-color: rgba(255, 255, 255, 0.1); }
.bar-md { width: 50%; }
.bar-sm { width: 35%; }

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.grid-box {
  height: 40px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: var(--transition-fast);
}

.grid-box:hover {
  background-color: rgba(0, 210, 255, 0.05);
  border-color: var(--neon-blue);
}

.animate-float {
  animation: floatEffect 6s infinite ease-in-out;
}

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

/* Wave Divider */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider .shape-fill {
  fill: var(--bg-dark-tint);
}

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */
.section-padding {
  padding: 100px 0;
}

.bg-dark-tint {
  background-color: var(--bg-dark-tint);
}

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

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

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Intersection Observer Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 35px 30px;
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-card-hover);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: var(--shadow-glow-blue);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--neon-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(189, 0, 255, 0.1);
  border-color: rgba(189, 0, 255, 0.3);
  color: var(--neon-purple);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(255, 0, 60, 0.1);
  border-color: rgba(255, 0, 60, 0.3);
  color: var(--neon-red);
}

.service-card:nth-child(4) .service-icon {
  background: rgba(0, 255, 102, 0.1);
  border-color: rgba(0, 255, 102, 0.3);
  color: var(--neon-green);
}

.service-card:nth-child(2):hover {
  border-color: rgba(189, 0, 255, 0.4);
  box-shadow: var(--shadow-glow-purple);
}
.service-card:nth-child(3):hover {
  border-color: rgba(255, 0, 60, 0.4);
  box-shadow: var(--shadow-glow-red);
}
.service-card:nth-child(4):hover {
  border-color: rgba(0, 255, 102, 0.4);
  box-shadow: var(--shadow-glow-green);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.card-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.card-highlight {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card:nth-child(2) .card-highlight { color: var(--neon-purple); }
.service-card:nth-child(3) .card-highlight { color: var(--neon-red); }
.service-card:nth-child(4) .card-highlight { color: var(--neon-green); }

/* ==========================================
   AI TECHNOLOGY SECTION
   ========================================== */
.ai-section {
  background-color: var(--bg-dark-tint);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.ai-neural-net {
  width: 350px;
  height: 350px;
  position: relative;
  background-color: rgba(189, 0, 255, 0.03);
  border: 1px dashed rgba(189, 0, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-core {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  z-index: 5;
  box-shadow: 0 0 35px var(--neon-purple);
}

.neural-node {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: rgba(10, 8, 30, 0.9);
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--neon-blue);
  z-index: 4;
  box-shadow: var(--shadow-glow-blue);
  animation: floatNode 4s infinite alternate ease-in-out;
}

.node-1 { top: 12%; left: 12%; border-color: var(--neon-blue); color: var(--neon-blue); animation-delay: 0s;}
.node-2 { top: 15%; right: 10%; border-color: var(--neon-purple); color: var(--neon-purple); box-shadow: var(--shadow-glow-purple); animation-delay: 1s;}
.node-3 { bottom: 15%; left: 8%; border-color: var(--neon-red); color: var(--neon-red); box-shadow: var(--shadow-glow-red); animation-delay: 2s;}
.node-4 { bottom: 12%; right: 12%; border-color: var(--neon-green); color: var(--neon-green); box-shadow: var(--shadow-glow-green); animation-delay: 3s;}

@keyframes floatNode {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.neural-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.neural-lines line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
  stroke-dasharray: 4;
}

.ai-content .tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--neon-blue);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.ai-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.ai-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 35px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-features li {
  display: flex;
  gap: 20px;
}

.feat-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--neon-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ai-features li:nth-child(2) .feat-icon {
  color: var(--neon-purple);
}
.ai-features li:nth-child(3) .feat-icon {
  color: var(--neon-green);
}

.feat-text h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feat-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================
   PORTFOLIO CAROUSEL
   ========================================== */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  backdrop-filter: blur(10px);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 400%; /* 4 slides */
}

.carousel-slide {
  width: 25%; /* 1/4 of track */
  flex-shrink: 0;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.port-img-wrapper {
  overflow: hidden;
  height: 420px;
  position: relative;
  background-color: #000;
  border-right: 1px solid var(--border-light);
}

.port-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.portfolio-item:hover .port-img-wrapper img {
  transform: scale(1.05);
}

.port-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.port-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.tag-blue { background-color: rgba(0, 210, 255, 0.1); border: 1px solid rgba(0, 210, 255, 0.3); color: var(--neon-blue); }
.tag-purple { background-color: rgba(189, 0, 255, 0.1); border: 1px solid rgba(189, 0, 255, 0.3); color: var(--neon-purple); }
.tag-red { background-color: rgba(255, 0, 60, 0.1); border: 1px solid rgba(255, 0, 60, 0.3); color: var(--neon-red); }

.port-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

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

/* Slide buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(10, 8, 30, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background-color: var(--neon-purple);
  color: #fff;
  box-shadow: var(--shadow-glow-purple);
  border-color: transparent;
}

.btn-left { left: -25px; }
.btn-right { right: -25px; }

/* Dots indicator */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--neon-purple);
  box-shadow: var(--shadow-glow-purple);
  width: 24px;
  border-radius: 5px;
}

/* ==========================================
   BRANDS & CLIENTS
   ========================================== */
.brand-section {
  background-color: rgba(10, 8, 30, 0.6);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.brands-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  margin-bottom: 50px;
}

.brands-marquee::before,
.brands-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brands-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark-base) 0%, transparent 100%);
}

.brands-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark-base) 0%, transparent 100%);
}

.marquee-content {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.65;
  transition: var(--transition-fast);
}

.brand-item:hover {
  opacity: 1;
  color: var(--neon-blue);
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.4));
}

.brand-item i {
  font-size: 1.5rem;
}

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

/* Clients Showcase Grid Links */
.showcase-grid-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.grid-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.grid-panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.active-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--neon-green);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.showcase-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.showcase-link-card {
  padding: 20px;
  background-color: rgba(3, 0, 20, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-fast);
}

.showcase-link-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(0, 210, 255, 0.2);
  transform: translateY(-2px);
}

.sl-title {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--text-main);
}

.btn-text-icon {
  font-size: 0.8rem;
  color: var(--neon-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-text-icon:hover {
  color: var(--text-main);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.comments-feed-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.feed-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rs-score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--neon-blue);
}

.rs-stars {
  color: #ffbd2e;
  font-size: 0.9rem;
}

.rs-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 12px;
}

.comment-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(6px);
  transition: var(--transition-fast);
  animation: fadeInComment 0.5s ease-out;
}

@keyframes fadeInComment {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.comment-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(189, 0, 255, 0.15);
}

.cc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cc-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.cc-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cc-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

.cc-stars {
  color: #ffbd2e;
  font-size: 0.8rem;
}

.cc-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.cc-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  opacity: 0.6;
}

/* Comment Form styling */
.form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 35px 30px;
  backdrop-filter: blur(12px);
}

.form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.form-wrapper p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

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

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background-color: rgba(3, 0, 20, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-purple);
  box-shadow: 0 0 10px rgba(189, 0, 255, 0.2);
  background-color: rgba(3, 0, 20, 0.9);
}

/* Star rating radio buttons UI */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #ffbd2e;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(189, 0, 255, 0.1);
  border: 1px solid rgba(189, 0, 255, 0.3);
  color: var(--neon-purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.info-item:nth-child(2) .info-icon {
  background-color: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--neon-blue);
}

.info-item:nth-child(3) .info-icon {
  background-color: rgba(0, 255, 102, 0.1);
  border-color: rgba(0, 255, 102, 0.3);
  color: var(--neon-green);
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-val {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.info-val:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.direct-chat-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.form-status-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status-message.success {
  display: block;
  background-color: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--neon-green);
  color: #c2ffd4;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: #02000c;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 40px;
}

.footer-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--neon-purple);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-icons a:hover {
  background-color: var(--neon-purple);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow-purple);
  transform: translateY(-2px);
}

.footer-contact-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-contact-text i {
  color: var(--neon-blue);
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.bottom-container a {
  color: var(--neon-blue);
}

.bottom-container a:hover {
  text-decoration: underline;
}

/* ==========================================
   RESPONSIVENESS
   ========================================== */
@media (max-width: 992px) {
  .hero-grid,
  .ai-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-visual,
  .ai-visual {
    order: -1;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 76px;
  }
  :root {
    --nav-height: 76px;
  }
  
  .nav-links,
  .nav-extra .lang-badge {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .portfolio-item {
    grid-template-columns: 1fr;
  }
  
  .port-img-wrapper {
    height: 260px;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .price-speed-cards {
    flex-direction: column;
  }
}

/* ==========================================
   NEURAL CANVAS BACKGROUND
   ========================================== */
#neuralCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto; /* Allow mouse interaction */
}

/* Ensure hero contents stay above canvas */
.hero-content, .hero-visual {
  position: relative;
  z-index: 2;
}

/* ==========================================
   INTERACTIVE CALCULATOR STYLE
   ========================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 40px;
  align-items: stretch;
}

.calc-options-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(12px);
}

.calc-options-panel h3, .calc-results-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.calc-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: rgba(3, 0, 20, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-checkbox-label:hover {
  border-color: rgba(189, 0, 255, 0.3);
  background-color: rgba(3, 0, 20, 0.7);
}

.calc-checkbox-label input {
  display: none;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-muted);
  border-radius: 6px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.calc-checkbox-label input:checked + .custom-checkbox {
  border-color: var(--neon-purple);
  background-color: rgba(189, 0, 255, 0.2);
  box-shadow: var(--shadow-glow-purple);
}

.calc-checkbox-label input:checked + .custom-checkbox::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--neon-blue);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: var(--shadow-glow-blue);
}

.calc-label-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.95rem;
}

.calc-price-badge {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neon-blue);
  background-color: rgba(0, 210, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.calc-checkbox-label input:checked ~ .calc-label-text .calc-price-badge {
  color: #fff;
  background-color: var(--neon-purple);
  box-shadow: var(--shadow-glow-purple);
}

.calc-results-panel {
  background-color: rgba(15, 10, 45, 0.5);
  border: 1px solid rgba(189, 0, 255, 0.25);
  box-shadow: var(--shadow-glow-purple);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.calc-result-val {
  font-weight: 700;
  color: var(--text-main);
}

.calc-result-val.total-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--neon-blue);
  text-shadow: var(--shadow-glow-blue);
}

.calc-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-features-list i {
  color: var(--neon-green);
  margin-right: 8px;
}

/* ==========================================
   AI WEB GENERATOR SIMULATOR
   ========================================== */
.ai-simulator-container {
  margin-top: 60px;
}

.simulator-wrapper {
  background-color: #030010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.sim-header {
  background-color: rgba(15, 10, 35, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  display: flex;
  align-items: center;
}

.sim-controls {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}

.sim-dot-decor {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
}

.sim-controls span:nth-child(1) { background-color: #ff5f56; }
.sim-controls span:nth-child(2) { background-color: #ffbd2e; }
.sim-controls span:nth-child(3) { background-color: #27c93f; }

.sim-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.sim-form-area {
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(10, 8, 30, 0.4);
}

.sim-form-area h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.sim-form-area p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sim-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.sim-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sim-form-group input, .sim-form-group select {
  background-color: rgba(3, 0, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.sim-form-group input:focus, .sim-form-group select:focus {
  border-color: var(--neon-blue);
  box-shadow: var(--shadow-glow-blue);
}

.sim-preview-area {
  padding: 40px;
  background-color: #020008;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-console {
  width: 100%;
  min-height: 250px;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #00ff66;
  padding: 20px;
  background-color: rgba(3, 0, 20, 0.9);
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: 8px;
  overflow-y: auto;
  box-shadow: inset 0 0 20px rgba(0, 255, 102, 0.05);
}

.console-line {
  margin-bottom: 8px;
}

.console-line.text-blue { color: var(--neon-blue); }
.console-line.text-purple { color: var(--neon-purple); }
.console-line.text-red { color: var(--neon-red); }

/* AI Rendered Mini Browser Preview */
.sim-render-wrapper {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  animation: scaleInPreview 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInPreview {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.mini-browser-header {
  background-color: #121020;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  display: flex;
  align-items: center;
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  margin-right: 4px;
}

.mini-url {
  font-size: 0.65rem;
  color: var(--text-muted);
  background-color: rgba(255,255,255,0.03);
  padding: 2px 10px;
  border-radius: 4px;
  margin-left: 10px;
  font-family: monospace;
}

.mini-browser-body {
  background-color: #030014;
  padding: 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.mini-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.mini-logo {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

.mini-menu-bars {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mini-hero {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.mini-hero h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.mini-hero p {
  font-size: 0.7rem;
  color: var(--text-muted);
  max-width: 220px;
}

.mini-button {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 6px 12px;
  background-color: var(--neon-purple);
  border-radius: 4px;
  margin-top: 12px;
}

/* AI SIMULATOR THEME OVERRIDES */
.theme-cyberpunk .mini-browser-body { border-top: 2px solid #bd00ff; }
.theme-cyberpunk .mini-logo, .theme-cyberpunk .mini-hero h4 { color: #bd00ff; text-shadow: 0 0 10px rgba(189, 0, 255, 0.4); }
.theme-cyberpunk .mini-button { background: linear-gradient(135deg, #bd00ff, #00d2ff); color: #fff; }

.theme-quantum .mini-browser-body { border-top: 2px solid #00d2ff; }
.theme-quantum .mini-logo, .theme-quantum .mini-hero h4 { color: #00d2ff; text-shadow: 0 0 10px rgba(0, 210, 255, 0.4); }
.theme-quantum .mini-button { background: linear-gradient(135deg, #00d2ff, #00ff66); color: #fff; }

.theme-vulcan .mini-browser-body { border-top: 2px solid #ff003c; }
.theme-vulcan .mini-logo, .theme-vulcan .mini-hero h4 { color: #ff003c; text-shadow: 0 0 10px rgba(255, 0, 60, 0.4); }
.theme-vulcan .mini-button { background: linear-gradient(135deg, #ff003c, #bd00ff); color: #fff; }

.theme-emerald .mini-browser-body { border-top: 2px solid #00ff66; }
.theme-emerald .mini-logo, .theme-emerald .mini-hero h4 { color: #00ff66; text-shadow: 0 0 10px rgba(0, 255, 102, 0.4); }
.theme-emerald .mini-button { background: linear-gradient(135deg, #00ff66, #ffff00); color: #0a081e; }

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(189, 0, 255, 0.25);
  background-color: rgba(15, 10, 45, 0.3);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-trigger i {
  color: var(--neon-blue);
  transition: transform 0.4s ease;
}

.faq-item.active {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-glow-purple);
  background-color: rgba(15, 10, 45, 0.5);
}

.faq-item.active .faq-trigger i {
  transform: rotate(180deg);
  color: var(--neon-purple);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  padding-bottom: 24px;
}

/* ==========================================
   THEME PANEL (FLOATING SELECTOR)
   ========================================== */
.theme-panel {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.theme-panel-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-purple), 0 5px 15px rgba(0,0,0,0.3);
  transition: var(--transition-normal);
}

.theme-panel-toggle:hover {
  transform: rotate(45deg) scale(1.05);
}

.theme-options {
  background-color: rgba(8, 5, 33, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--shadow-glow-purple);
  backdrop-filter: blur(16px);
  width: 170px;
  display: none;
  animation: slideUpPanel 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

@keyframes slideUpPanel {
  0% { opacity: 0; transform: translateY(10px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.theme-panel.active .theme-options {
  display: block;
}

.theme-options h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-align: center;
}

.theme-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.theme-opt {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-opt:hover {
  transform: scale(1.1);
}

.theme-opt.active {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* ==========================================
   DYNAMIC PALETTE THEMES (DATA-THEME SELECTORS)
   ========================================== */
html[data-theme-choice="blue"] {
  --neon-purple: #00d2ff;
  --neon-blue: #00ff66;
  --neon-red: #bd00ff;
  --shadow-glow-purple: 0 0 15px rgba(0, 210, 255, 0.3);
  --shadow-glow-blue: 0 0 15px rgba(0, 255, 102, 0.3);
}

html[data-theme-choice="red"] {
  --neon-purple: #ff003c;
  --neon-blue: #bd00ff;
  --neon-red: #00d2ff;
  --shadow-glow-purple: 0 0 15px rgba(255, 0, 60, 0.3);
  --shadow-glow-blue: 0 0 15px rgba(189, 0, 255, 0.3);
}

html[data-theme-choice="green"] {
  --neon-purple: #00ff66;
  --neon-blue: #ffff00;
  --neon-red: #ff003c;
  --shadow-glow-purple: 0 0 15px rgba(0, 255, 102, 0.3);
  --shadow-glow-blue: 0 0 15px rgba(255, 255, 0, 0.3);
}

/* Media query updates for Phase 2 */
@media (max-width: 992px) {
  .calc-grid, .sim-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sim-form-area {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
}
