/* ============================================
   GoodsKart — Premium Corporate Design System
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Base Colors */
  --bg-primary: #06080f;
  --bg-secondary: #0c1021;
  --bg-surface: #111631;
  --bg-surface-hover: #161c3d;
  --bg-card: rgba(17, 22, 49, 0.6);

  /* Text Colors */
  --text-primary: #f0f2f8;
  --text-secondary: #8892b0;
  --text-muted: #5a6480;

  /* Accent - Loado (Blue/Cyan) */
  --loado-start: #00f2fe;
  --loado-end: #0072ff;
  --loado-glow: rgba(0, 114, 255, 0.3);

  /* Accent - Midshot (Purple/Magenta) */
  --midshot-start: #d946ef;
  --midshot-end: #8b5cf6;
  --midshot-glow: rgba(139, 92, 246, 0.3);

  /* Accent - DoorCad (Green/Emerald) */
  --doorcad-start: #10b981;
  --doorcad-end: #059669;
  --doorcad-glow: rgba(16, 185, 129, 0.3);

  /* Borders */
  --border-subtle: rgba(136, 146, 176, 0.1);
  --border-light: rgba(136, 146, 176, 0.18);

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Font */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Container */
  --container-max: 1200px;
  --section-pad: 120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 8, 15, 0.65);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(6, 8, 15, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.85;
}

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

.logo-accent {
  background: linear-gradient(135deg, var(--doorcad-start), var(--loado-start));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.chevron {
  transition: transform var(--transition-fast);
}

.dropdown-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  padding: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-icon--loado { background: rgba(0, 114, 255, 0.12); color: var(--loado-start); }
.dropdown-icon--midshot { background: rgba(217, 70, 239, 0.12); color: var(--midshot-start); }
.dropdown-icon--doorcad { background: rgba(16, 185, 129, 0.12); color: var(--doorcad-start); }

.dropdown-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.dropdown-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Nav CTA */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--doorcad-start), var(--loado-end));
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(136, 146, 176, 0.3);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-nav {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px 24px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.mobile-link:hover { color: var(--text-primary); }

.mobile-sub-links {
  padding: 4px 0 8px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-sub-link {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.mobile-sub-link:hover { color: var(--text-primary); }

.mobile-cta {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: blobFloat 12s ease-in-out infinite alternate;
}

.blob--cyan {
  width: 500px;
  height: 500px;
  background: var(--loado-end);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.blob--purple {
  width: 400px;
  height: 400px;
  background: var(--midshot-end);
  bottom: 10%;
  left: -10%;
  animation-delay: -4s;
}

.blob--green {
  width: 350px;
  height: 350px;
  background: var(--doorcad-start);
  top: 40%;
  right: 30%;
  opacity: 0.18;
  animation-delay: -8s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
  100% { transform: translate(10px, -10px) scale(1.02); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(136, 146, 176, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 146, 176, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--doorcad-start);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--doorcad-start);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--loado-start), var(--loado-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--midshot-start), var(--midshot-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, var(--doorcad-start), var(--doorcad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.9;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), rgba(0, 114, 255, 0.1), transparent);
  border-radius: 50%;
  filter: blur(40px);
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  min-width: 210px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.float-card:hover {
  transform: translateY(-4px) !important;
}

.float-card--loado {
  top: 5%;
  left: 5%;
  animation: floatCard 6s ease-in-out infinite;
}

.float-card--midshot {
  top: 35%;
  right: 0;
  animation: floatCard 6s ease-in-out infinite;
  animation-delay: -2s;
}

.float-card--doorcad {
  bottom: 5%;
  left: 12%;
  animation: floatCard 6s ease-in-out infinite;
  animation-delay: -4s;
}

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

.float-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.float-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.float-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.float-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-bar {
  height: 6px;
  border-radius: 3px;
}

.mini-timeline {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 24px;
}

.tl-block {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--midshot-start), var(--midshot-end));
}

.tl-block--1 { height: 60%; opacity: 0.8; }
.tl-block--2 { height: 100%; opacity: 0.9; }
.tl-block--3 { height: 40%; opacity: 0.6; }
.tl-block--4 { height: 75%; opacity: 0.7; }

.mini-blueprint {
  width: 100%;
  height: auto;
}

/* =============================================
   METRICS
   ============================================= */
.metrics {
  padding: 64px 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.metrics-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.metric-item {
  flex: 1;
  text-align: center;
  padding: 16px 24px;
}

.metric-number {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--loado-start);
  background: rgba(0, 242, 254, 0.07);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag--green {
  color: var(--doorcad-start);
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.15);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   PRODUCTS
   ============================================= */
.products {
  padding: var(--section-pad) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  z-index: 0;
}

.product-card:hover .card-glow {
  opacity: 1;
}

.product-card[data-product="loado"] .card-glow {
  box-shadow: 0 0 60px var(--loado-glow), inset 0 0 60px rgba(0, 114, 255, 0.05);
}

.product-card[data-product="midshot"] .card-glow {
  box-shadow: 0 0 60px var(--midshot-glow), inset 0 0 60px rgba(139, 92, 246, 0.05);
}

.product-card[data-product="doorcad"] .card-glow {
  box-shadow: 0 0 60px var(--doorcad-glow), inset 0 0 60px rgba(16, 185, 129, 0.05);
}

.product-card-inner {
  position: relative;
  z-index: 1;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: border-color var(--transition-smooth);
}

.product-card:hover .product-card-inner {
  border-color: rgba(136, 146, 176, 0.25);
}

.product-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.product-icon--loado { background: rgba(0, 114, 255, 0.1); }
.product-icon--midshot { background: rgba(217, 70, 239, 0.1); }
.product-icon--doorcad { background: rgba(16, 185, 129, 0.1); }

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

.product-tag--loado { color: var(--loado-start); background: rgba(0, 242, 254, 0.08); }
.product-tag--midshot { color: var(--midshot-start); background: rgba(217, 70, 239, 0.08); }
.product-tag--doorcad { color: var(--doorcad-start); background: rgba(16, 185, 129, 0.08); }

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.product-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 24px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.product-link:hover {
  gap: 10px;
}

.product-link--loado { color: var(--loado-start); }
.product-link--midshot { color: var(--midshot-start); }
.product-link--doorcad { color: var(--doorcad-start); }

/* Featured badge */
.product-card--featured {
  grid-column: span 1;
}

.product-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--doorcad-start), var(--doorcad-end));
  color: #fff;
  border-radius: 100px;
  z-index: 2;
}

/* =============================================
   DOORCAD SHOWCASE
   ============================================= */
.doorcad-showcase {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.doorcad-showcase::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 60%);
  pointer-events: none;
}

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

.doorcad-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.feature-icon--green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--doorcad-start);
}

.feature-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.doorcad-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-download {
  background: linear-gradient(135deg, var(--doorcad-start), var(--doorcad-end));
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.btn-download:hover {
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

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

.btn-demo:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.3);
}

.download-badges {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* DoorCad Mockup */
.doorcad-mockup {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(16, 185, 129, 0.06);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

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

.mockup-dot--red { background: #ff5f57; }
.mockup-dot--yellow { background: #ffbd2e; }
.mockup-dot--green { background: #28c840; }

.mockup-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-body {
  display: flex;
  min-height: 260px;
}

.mockup-sidebar {
  width: 120px;
  padding: 12px 0;
  border-right: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.sidebar-item {
  padding: 8px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: default;
  transition: all var(--transition-fast);
}

.sidebar-item.active {
  color: var(--doorcad-start);
  background: rgba(16, 185, 129, 0.06);
  border-left: 2px solid var(--doorcad-start);
}

.mockup-canvas {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.cad-drawing {
  flex: 1;
  width: 100%;
}

.mockup-status-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--doorcad-start);
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--doorcad-start);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* =============================================
   ECOSYSTEM
   ============================================= */
.ecosystem {
  padding: var(--section-pad) 0;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.eco-card {
  position: relative;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-smooth);
}

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

.eco-card-inner {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  height: 100%;
  backdrop-filter: blur(10px);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.eco-card:hover .eco-card-inner {
  border-color: rgba(136, 146, 176, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.eco-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.eco-icon--blue { background: rgba(0, 114, 255, 0.1); color: var(--loado-end); }
.eco-icon--cyan { background: rgba(0, 242, 254, 0.1); color: var(--loado-start); }
.eco-icon--purple { background: rgba(217, 70, 239, 0.1); color: var(--midshot-start); }
.eco-icon--green { background: rgba(16, 185, 129, 0.1); color: var(--doorcad-start); }

.eco-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.eco-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 80px 0 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  line-height: 1.6;
}

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

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(136, 146, 176, 0.3);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

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

/* =============================================
   CONTACT MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 8, 15, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-smooth);
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
}

.modal-overlay.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--doorcad-start);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-form {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  padding: 14px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success.show {
  display: block;
}

.form-success.show + .modal-form,
.form-success.show ~ .modal-form {
  display: none;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* When form success is shown, hide the form */
.modal-form.hidden {
  display: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

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

  .product-card--featured {
    grid-column: span 2;
  }

  .doorcad-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .nav-links {
    display: none;
  }

  .btn-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .metrics-grid {
    flex-direction: column;
    gap: 0;
  }

  .metric-divider {
    width: 60px;
    height: 1px;
  }

  .metric-item {
    padding: 20px 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card--featured {
    grid-column: span 1;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 1;
  }

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

  .doorcad-ctas {
    flex-direction: column;
  }

  .doorcad-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .download-badges {
    justify-content: center;
  }

  .modal-content {
    padding: 28px 20px;
  }

  .mockup-sidebar {
    width: 90px;
  }

  .sidebar-item {
    font-size: 0.68rem;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-headline {
    font-size: 1.7rem;
  }

  .hero-subheadline {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .float-card {
    min-width: 160px;
    padding: 10px;
  }

  .float-card-title {
    font-size: 0.68rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .product-card-inner {
    padding: 24px;
  }
}

/* =============================================
   UTILITY ANIMATIONS
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Subtle shimmer for premium feel */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
