/* K&V Systems - Universal PWA Architect & Ecosystem Hub */
/* Warm Light Autumn Nature Color Palette */
:root {
  /* Warm Spiced Linen & Golden Ivory Light Backgrounds */
  --bg-dark: #fbf7f0;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-elevated: #fcf9f4;
  --bg-input: #ffffff;
  
  /* Autumn Hairline Biscuit & Amber Borders */
  --border: rgba(180, 83, 9, 0.16);
  --border-glow: rgba(217, 119, 6, 0.45);
  --border-light: rgba(180, 83, 9, 0.08);

  /* Deep Roasted Coffee & Warm Hazelnut Typography */
  --text-main: #26160d;
  --text-muted: #6b5647;
  --text-light: #8c7463;

  /* Autumn Amber Gold */
  --primary: #d97706;
  --primary-light: #b45309;
  --primary-dark: #92400e;
  --primary-glow: 0 4px 18px rgba(217, 119, 6, 0.22);

  /* Autumn Terracotta & Rust */
  --rust: #c25e2e;
  --rust-light: #a34418;
  --rust-glow: 0 4px 18px rgba(194, 94, 46, 0.22);

  /* Autumn Forest Moss Green */
  --accent: #3d6935;
  --accent-light: #4e8244;
  --accent-glow: 0 4px 18px rgba(61, 105, 53, 0.22);

  /* Autumn Leaf Gradients */
  --gradient-tech: linear-gradient(135deg, #f59e0b 0%, #d97706 40%, #c25e2e 75%, #9a3412 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gradient-moss: linear-gradient(135deg, #5e9453 0%, #3d6935 100%);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-tech: 0 14px 34px -10px rgba(120, 53, 15, 0.09), 0 4px 14px rgba(0, 0, 0, 0.03);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Autumn Canopy Light & Earth Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 50% 8%, rgba(245, 158, 11, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 85% 55%, rgba(194, 94, 46, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(61, 105, 53, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(180, 83, 9, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 83, 9, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, 0 0, -1px -1px, -1px -1px;
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(251, 247, 240, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.04);
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-tech);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: var(--primary-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Segmented Language Switcher (Clean Separation) */
.lang-switcher-segmented {
  display: inline-flex;
  align-items: center;
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.lang-switch-btn {
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.lang-switch-btn:hover {
  color: var(--text-main);
  background: rgba(180, 83, 9, 0.08);
}

.lang-switch-btn.active {
  background: var(--gradient-tech);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.btn-pwa-install {
  background: rgba(61, 105, 53, 0.12);
  border: 1px solid rgba(61, 105, 53, 0.3);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-pwa-install:hover {
  background: rgba(61, 105, 53, 0.22);
  box-shadow: var(--accent-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: var(--gradient-tech);
  color: #fff;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.05);
}

.btn-secondary:hover {
  background: #fdfaf5;
  border-color: var(--border-glow);
  color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.1);
}

.btn-moss {
  background: var(--gradient-moss);
  color: #fff;
  box-shadow: 0 4px 18px rgba(61, 105, 53, 0.3);
}

.btn-moss:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(78, 130, 68, 0.45);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}


/* Mobile Navigation Button & Drawer */
.btn-mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.06);
}
.btn-mobile-menu:hover,
.btn-mobile-menu.active {
  background: #fff9f0;
  border-color: var(--primary);
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-mobile-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.btn-mobile-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.btn-mobile-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: rgba(38, 22, 13, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-content {
  background: #ffffff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 16px 36px rgba(38, 22, 13, 0.12);
  padding: 18px 20px 24px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  transform: translateY(-10px);
  transition: transform 0.25s ease;
}
.mobile-nav-drawer.open .mobile-nav-content {
  transform: translateY(0);
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #fbf7f0;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.mobile-nav-links a:hover {
  background: #fff5e6;
  border-color: var(--primary);
  color: var(--primary-light);
}
.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0 12px;
}
.mobile-subpages-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mobile-subpages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.mobile-subpage-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.mobile-subpage-pill:hover {
  background: #fff9f0;
  border-color: var(--primary);
  color: var(--primary-light);
}
.mobile-nav-cta .btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 0.95rem;
  display: flex;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.15);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Quick Launch Demos Banner */
.demo-selector-banner {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.demo-card-quick {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.05);
}

.demo-card-quick:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.16);
}

.demo-flag {
  font-size: 2rem;
}

.demo-info {
  text-align: left;
}

.demo-title {
  font-weight: 700;
  font-size: 1rem;
}

.demo-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.demo-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--primary-light);
}

/* Product Mockup Showcase */
.product-showcase {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.3) 0%, rgba(224, 159, 62, 0.08) 100%);
  box-shadow: 0 20px 50px -15px rgba(120, 53, 15, 0.12);
}

.mockup-inner {
  background: #ffffff;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mockup-header {
  height: 42px;
  background: #f7f1e6;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #c25e2e; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #4e8244; }

.mockup-url {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 12px;
  font-family: monospace;
}

.mockup-content {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.mockup-feature-box {
  background: #fdfaf5;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s;
}

.mockup-feature-box:hover {
  border-color: var(--border-glow);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.08);
}

/* ============================================================ */
/* UNIVERSAL PWA ARCHITECT & APPS ECOSYSTEM SECTION              */
/* ============================================================ */
.architect-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7f1e6 0%, #fbf8f2 50%, #f5eee0 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.architect-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 40px;
}

.architect-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.05);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill:hover {
  color: var(--text-main);
  background: rgba(217, 119, 6, 0.08);
}

.filter-pill.active {
  background: var(--gradient-tech);
  color: #fff;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.35);
}

.architect-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-deploy-app {
  background: var(--gradient-tech);
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--primary-glow);
  transition: all 0.2s;
}

.btn-deploy-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6);
}

.btn-tool-sm {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-tool-sm:hover {
  background: #fdfaf5;
  border-color: var(--primary-light);
  color: var(--primary-light);
}

/* Ecosystem Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.app-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.04);
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-tech);
  opacity: 0.3;
  transition: opacity 0.3s;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.1);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.app-card-meta {
  flex-grow: 1;
}

.app-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.app-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(61, 105, 53, 0.1);
  color: var(--accent);
  border: 1px solid rgba(61, 105, 53, 0.25);
}

.app-status-badge.custom {
  background: rgba(217, 119, 6, 0.1);
  color: var(--primary-light);
  border-color: var(--border-glow);
}

.app-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.app-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.spec-tag {
  background: #f7f1e6;
  border: 1px solid rgba(180, 83, 9, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.btn-launch-app {
  background: var(--gradient-tech);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-launch-app:hover {
  transform: translateY(-2px);
  box-shadow: var(--primary-glow);
}

.btn-delete-app {
  background: rgba(194, 94, 46, 0.1);
  border: 1px solid rgba(194, 94, 46, 0.25);
  color: #b91c1c;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete-app:hover {
  background: rgba(194, 94, 46, 0.2);
}

/* ============================================================ */
/* MODAL: UPLOAD & REGISTER NEW APPLICATION                      */
/* ============================================================ */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 22, 13, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.architect-modal {
  background: #ffffff;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(50, 20, 5, 0.25);
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .architect-modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--primary-light);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background: #fdfbf7;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: #ffffff;
}

.emoji-picker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.emoji-btn {
  width: 40px;
  height: 40px;
  background: #fdfbf7;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.emoji-btn:hover, .emoji-btn.active {
  border-color: var(--primary-light);
  background: rgba(245, 158, 11, 0.15);
  transform: scale(1.1);
}

.file-upload-box {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  background: #fdfbf7;
  cursor: pointer;
  transition: all 0.2s;
}

.file-upload-box:hover {
  border-color: var(--primary-light);
  background: rgba(245, 158, 11, 0.05);
}

.file-info-badge {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* ============================================================ */
/* FEATURES SECTION                                             */
/* ============================================================ */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.04);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-tech);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================ */
/* TRADE ROLES TESTING CARDS                                    */
/* ============================================================ */
.trade-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.trade-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.04);
}

.trade-card:hover {
  border-color: var(--primary);
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
}

.trade-card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.trade-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.trade-rabat-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(61, 105, 53, 0.1);
  color: var(--accent);
  border: 1px solid rgba(61, 105, 53, 0.25);
  margin-bottom: 8px;
}

.trade-card code {
  display: block;
  font-size: 0.82rem;
  background: #f7f1e6;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--rust);
  border: 1px solid rgba(180, 83, 9, 0.12);
}

/* ============================================================ */
/* INTERACTIVE ROI CALCULATOR                                   */
/* ============================================================ */
.roi-card {
  background: #ffffff;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 42px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.06);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.slider-group {
  margin-bottom: 24px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  height: 6px;
  background: #e6dacb;
  border-radius: 4px;
  outline: none;
}

.roi-results {
  background: #fdf5ea;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.roi-stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 6px;
}

.roi-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================ */
/* PRICING GRID                                                 */
/* ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.04);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
  box-shadow: 0 12px 36px rgba(217, 119, 6, 0.16);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-tech);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: var(--primary-glow);
}

.pricing-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 44px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.pricing-features li span.check {
  color: var(--accent);
  font-weight: 900;
}

/* ============================================================ */
/* FOUNDER PROFILE                                              */
/* ============================================================ */
.founder-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  box-shadow: 0 8px 26px rgba(180, 83, 9, 0.06);
}

.founder-avatar {
  width: 100px;
  height: 100px;
  min-width: 100px;
  background: var(--gradient-tech);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--primary-glow);
  color: #fff;
}

.founder-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.founder-title {
  color: var(--primary-light);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.founder-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================ */
/* CONTACT BANNER                                               */
/* ============================================================ */
.contact-banner {
  background: linear-gradient(135deg, #fbeee0 0%, #fcf3ea 50%, #f6e7d6 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 14px 40px rgba(217, 119, 6, 0.12);
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ============================================================ */
/* TOAST NOTIFICATION                                           */
/* ============================================================ */
.kv-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(50, 20, 5, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.kv-toast.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 80px;
  background: #f4ece0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

/* ============================================================ */
/* DEVELOPMENT OFFERINGS & SUBPAGE ARCHITECTURE STYLES          */
/* ============================================================ */
.dev-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.dev-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.04);
}

.dev-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-tech);
  opacity: 0.3;
  transition: opacity 0.3s;
}

.dev-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-glow);
  box-shadow: 0 14px 34px -10px rgba(120, 53, 15, 0.12);
}

.dev-card:hover::before {
  opacity: 1;
}

.dev-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dev-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.1);
}

.dev-card-meta {
  flex-grow: 1;
}

.dev-card-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(61, 105, 53, 0.1);
  color: var(--accent);
  margin-bottom: 4px;
  border: 1px solid rgba(61, 105, 53, 0.25);
}

.dev-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.dev-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.dev-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.dev-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-dev-link {
  background: var(--gradient-tech);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-dev-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-dev-demo {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--primary-light);
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-dev-demo:hover {
  background: #fdfaf5;
  border-color: var(--primary-light);
}

/* Subpage Detail Specifics */
.subpage-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.05);
}

.subpage-nav-back:hover {
  background: #fdfaf5;
  border-color: var(--primary-light);
  transform: translateX(-3px);
}

.subpage-hero {
  padding: 50px 0 40px;
  text-align: left;
}

.subpage-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.subpage-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
  margin-top: 30px;
}

.subpage-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.05);
}

.subpage-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subpage-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.spec-list {
  list-style: none;
  margin: 20px 0;
}

.spec-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.spec-list li span.bullet {
  color: var(--accent);
  font-size: 1.1rem;
}

.step-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.step-card {
  background: #fdfaf5;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-tech);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.subpage-cta {
  background: linear-gradient(135deg, #fbeee0 0%, #fcf3ea 50%, #f6e7d6 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 46px 36px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08);
}

@media (max-width: 900px) {
  .subpage-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ */
/* RESPONSIVE DESIGN                                            */
/* ============================================================ */
@media (max-width: 768px) {
  .nav-wrap {
    height: 64px;
  }
  .brand-logo {
    font-size: 1.1rem;
    gap: 8px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .nav-links {
    display: none !important;
  }
  .nav-cta-desktop {
    display: none !important;
  }
  .btn-mobile-menu {
    display: flex !important;
  }
  .mobile-nav-drawer {
    display: block;
    top: 64px;
  }
  .nav-actions {
    gap: 8px;
  }
  .lang-switcher-segmented {
    padding: 2px;
  }
  .lang-switch-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  .architect-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-pills {
    justify-content: center;
  }
  .architect-actions {
    justify-content: center;
  }
  .roi-grid {
    grid-template-columns: 1fr;
  }
  .founder-card {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 60px 0 40px;
  }
  .section {
    padding: 60px 0;
  }
  .architect-modal {
    padding: 20px;
  }
  .dev-cards-grid {
    grid-template-columns: 1fr;
  }
}
