/* ==========================================================================
   AWH Studio Technology & AI Studio - Vibrant High-Contrast Slate Theme
   Elevated Brightness & Clarity (Vercel / Apple Pro / Linear Aesthetic)
   ========================================================================== */

:root {
  /* Surface & Canvas (Warm Linen & Alabaster Theme) */
  --bg-dark: #faf9f5;               /* Warm Cream Canvas */
  --bg-surface: #ffffff;            /* Clean White Card Surface */
  --bg-subtle: #f5f3ee;             /* Soft Oatmeal Warm Gray */
  --bg-card: #ffffff;               /* Crisp Card */
  --bg-card-hover: #fcfbf9;         /* Warm Card Hover */
  --bg-glass-input: #ffffff;

  /* Borders & Dividers (Warm Stone) */
  --border-subtle: #eae6df;         /* Warm Linen 1px Border */
  --border-hover: #d8d2c7;          /* Soft Warm Stone */
  --border-focus: #1c1917;          /* Deep Stone Focus */
  --border-accent: #d97706;

  /* Typography Colors (Warm Stone & Graphite) */
  --text-primary: #1c1917;          /* Warm Stone 900 Graphite */
  --text-secondary: #57534e;        /* Stone 600 Gentle Warm Gray */
  --text-muted: #78716c;            /* Stone 500 Subtitle Gray */

  /* Semantic Accents (Warmth & Balance) */
  --accent-amber: #d97706;          /* Warm Amber Gold */
  --accent-gold: #b45309;           /* Deep Gold */
  --accent-cyan: #0284c7;           /* Sky Blue */
  --accent-blue: #2563eb;           /* Tech Blue */
  --accent-purple: #7c3aed;         /* Royal Purple */
  --accent-emerald: #059669;        /* Forest Emerald */
  --accent-pink: #db2777;           /* Pink */
  --accent-rose: #e11d48;           /* Rose */
  --accent-indigo: #4f46e5;         /* Deep Indigo */

  /* Typography Families */
  --font-main: 'Inter', 'PingFang TC', 'Microsoft JhengHei', 'Heiti TC', 'Noto Sans CJK TC', sans-serif;
  --font-display: 'Outfit', 'PingFang TC', 'Microsoft JhengHei', 'Heiti TC', 'Noto Sans CJK TC', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing Scale (4px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius Scale */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows (Warm Soft Elevations) */
  --shadow-card: 0 2px 4px rgba(28, 25, 23, 0.03), 0 10px 25px -5px rgba(28, 25, 23, 0.05);
  --shadow-hover: 0 4px 6px -1px rgba(28, 25, 23, 0.04), 0 20px 30px -10px rgba(217, 119, 6, 0.08);

  /* Kinetic Timing Functions */
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  background-color: #faf9f5;
  background-image: 
    radial-gradient(ellipse 75% 45% at 50% -10%, rgba(245, 158, 11, 0.07), rgba(99, 102, 241, 0.03) 50%, transparent 80%),
    radial-gradient(rgba(28, 25, 23, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glows - Hidden in Crisp Light Theme */
.ambient-glow {
  display: none;
}

/* Sticky Navbar - Warm Glassmorphism */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
  border-color: var(--accent-amber);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-name .highlight {
  background: none;
  -webkit-text-fill-color: initial;
  color: #d97706;
  font-weight: 800;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #0f172a;
  font-weight: 800;
}

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

/* App Switcher Dropdown - Light Theme Minimalist */
.suite-switcher-container {
  position: relative;
}

.switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.switcher-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 330px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 200;
}

.switcher-menu.show {
  display: flex;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-header {
  font-size: 0.7rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.5rem;
  text-transform: uppercase;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.menu-item:hover {
  background: #f8fafc;
}

.menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.icon-purple { color: var(--accent-purple); }
.icon-cyan { color: var(--accent-cyan); }
.icon-emerald { color: var(--accent-emerald); }
.icon-blue { color: var(--accent-blue); }
.icon-amber { color: var(--accent-amber); }

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

.menu-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-cta {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(15, 23, 42, 0.15);
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.55rem 1.25rem;
}

.btn-cta:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), 0 6px 18px rgba(15, 23, 42, 0.25);
}

/* Hero Section - Apple Pure White Theme */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 5.5rem 1.5rem 3.5rem;
  text-align: center;
}

.hero-container {
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1.15rem;
  border-radius: 9999px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.08);
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #d97706;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.6);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .hero-headline { font-size: 2.25rem; }
}

/* Warm Tech Obsidian & Amber Indigo Gradient */
.gradient-text {
  background: linear-gradient(135deg, #1c1917 10%, #4338ca 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1c1917;
  font-weight: 900;
}

.hero-subline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Apple & Stripe Warm Charcoal Primary Button */
.btn-hero-primary {
  padding: 0.85rem 2.2rem;
  font-size: 1.02rem;
  background: #1c1917;
  color: #ffffff;
  border: 1px solid #1c1917;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 8px 20px -4px rgba(28, 25, 23, 0.25);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: #292524;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.35);
  color: #ffffff;
}

.btn-hero-outline {
  padding: 0.85rem 2.2rem;
  font-size: 1.02rem;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
  transition: all 0.2s ease;
}

.btn-hero-outline:hover {
  background: #fdfcf9;
  border-color: #d8d2c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.06);
}

/* Metrics Grid Bar - Warm Alabaster Card with Amber Accents */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.04);
}

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

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.45rem);
  white-space: nowrap;
  font-weight: 900;
  background: linear-gradient(180deg, #1c1917 20%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1c1917;
  margin-bottom: 0.2rem;
}

.metric-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 0.2rem;
}

.metric-desc {
  font-size: 0.78rem;
  color: #64748b;
}

/* Section Common Layout */
.solutions-section, .products-section, .insights-section, .about-section, .contact-section {
  position: relative;
  z-index: 10;
  padding: 4.5rem 1.5rem;
}

.solutions-section {
  background: #f5f3ee;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: inline-block;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 0.28rem 0.85rem;
  border-radius: 9999px;
}

.section-sub {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Solutions Grid - Clean Warm Apple Cards */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
}

.solution-card:hover {
  background: #ffffff;
  border-color: #f59e0b;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(217, 119, 6, 0.1), 0 0 0 1px rgba(245, 158, 11, 0.15);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

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

.card-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card-features li {
  font-size: 0.95rem;
  color: #334155;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.5;
}

.card-features li svg {
  width: 18px;
  height: 18px;
  color: #059669;
  flex-shrink: 0;
}

/* Flagship Products Showcase - Apple / Stripe Crisp White Style */
.products-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 5rem 0;
  position: relative;
}

/* Category Filter Tabs - Apple Minimalist Pill */
.product-filter-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.product-filter-tabs {
  display: inline-flex;
  gap: 0.4rem;
  background: #f5f3ee;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.35rem;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.03);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-tab:hover {
  color: var(--text-primary);
  background: rgba(28, 25, 23, 0.04);
}

.filter-tab.active {
  background: #1c1917;
  border-color: #1c1917;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.15);
}

.tab-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  background: rgba(28, 25, 23, 0.08);
  color: inherit;
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Products Matrix Grid (2-Column Spec-driven Layout) */
.products-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .products-matrix-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
  box-shadow: 0 20px 40px -12px rgba(217, 119, 6, 0.1), 0 0 0 1px rgba(245, 158, 11, 0.15);
}

.product-card:hover .card-title {
  color: #b45309;
}

/* Product Card Header */
.card-header {
  margin-bottom: 1.25rem;
}

.card-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.8rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.tag-purple { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.tag-cyan { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.tag-emerald { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.tag-indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.tag-rose { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.tag-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tag-amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

.card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a8a29e;
  font-weight: 700;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Technical Specs Box */
.card-spec-box {
  background: #faf9f5;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.spec-title {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.spec-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: #059669;
}

.spec-item strong {
  color: var(--text-primary);
}

/* Card Mockup Preview (Clickable Lightbox) */
.card-preview-frame {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.card-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.card-preview-frame:hover img {
  transform: scale(1.025);
}

.preview-overlay-hint {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(2px);
}

.card-preview-frame:hover .preview-overlay-hint {
  opacity: 1;
}

/* Card Actions */
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.btn-card-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.lightbox-caption {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
  color: #475569;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0f172a;
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.demo-badge {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.demo-screen {
  background: #020617;
  border-radius: 12px;
  aspect-ratio: 16/9;
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.screen-video {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #312e81 0%, #0f172a 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  position: relative;
}

.screen-overlay {
  padding: 0.4rem 1rem;
  font-weight: 900;
  font-size: 0.92rem;
  text-align: center;
  border-radius: 6px;
  width: 85%;
}

.style-yellow { background: transparent; color: #facc15; text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; }
.style-neon { background: rgba(15, 23, 42, 0.9); color: #22d3ee; border: 2px solid #06b6d4; }
.style-outline { background: rgba(0, 0, 0, 0.85); color: #fff; border: 2px solid #f43f5e; }
.style-clean { background: #fff; color: #000; }

.screen-speed {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.85);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.row-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 700;
  width: 70px;
}

.btn-grid {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.demo-btn, .speed-btn-demo {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
}

.demo-btn.active, .speed-btn-demo.active {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 800;
}

/* Script Box Demo */
.script-box-demo {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.topic-pill-demo {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  gap: 0.5rem;
  color: #fff;
}

.pill-fire { color: var(--accent-pink); }

.script-body-demo {
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  line-height: 1.5;
  color: var(--text-secondary);
}

.btn-copy-demo {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

/* Heatmap Grid Demo */
.heatmap-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.tile {
  padding: 1rem;
  border-radius: 10px;
  color: white;
}

.tile-strong-up { background: linear-gradient(135deg, #059669, #10b981); }
.tile-up { background: linear-gradient(135deg, #047857, #059669); }
.tile-neutral { background: rgba(51, 65, 85, 0.9); }
.tile-down { background: linear-gradient(135deg, #be123c, #f43f5e); }

.t-name { font-size: 0.82rem; font-weight: 800; }
.t-val { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 900; }

/* Andrew CRM Demo Box */
.crm-demo-box {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.crm-header-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.crm-tag-demo { color: var(--accent-blue); }
.crm-threat-demo {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 800;
}

.crm-card-demo {
  background: rgba(15, 23, 42, 0.7);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.crm-client-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.crm-pitch-box {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.crm-pitch-box strong { color: var(--accent-cyan); }

/* Hotel Calc Demo */
.hotel-calc-demo {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-row-demo {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-label-demo {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.calc-label-demo strong {
  color: var(--accent-amber);
}

.calc-slider {
  width: 100%;
  accent-color: var(--accent-amber);
}

.calc-res-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.res-yen {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
}

.res-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.res-twd-box {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(52, 211, 153, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.calc-note-demo {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
}

.calc-note-demo strong {
  color: #34d399;
}

/* About Section */
/* About Section - Apple Crisp Card */
.about-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.04);
}

.about-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.ph-item {
  background: #faf9f5;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
}

.ph-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 900;
  color: #d97706;
  margin-bottom: 0.5rem;
}

.ph-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.ph-desc {
  font-size: 0.86rem;
  color: #64748b;
}

/* Contact Section & Form - Stripe Crisp Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 700; }
.info-val { font-size: 0.95rem; font-weight: 800; color: var(--text-primary); }

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 25px rgba(28, 25, 23, 0.04);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.02rem;
  background: #1c1917;
  color: #ffffff;
  border: 1px solid #1c1917;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 8px 20px -4px rgba(28, 25, 23, 0.25);
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: #292524;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.35);
}

/* Footer - Warm Minimalist Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #f5f3ee;
  padding: 4rem 1.5rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-brand { max-width: 380px; }
.footer-desc { color: #64748b; font-size: 0.88rem; margin-top: 1rem; }

.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }

.link-col { display: flex; flex-direction: column; gap: 0.6rem; }
.link-col h4 { font-size: 0.88rem; color: #0f172a; font-weight: 800; margin-bottom: 0.5rem; }
.link-col a { color: #475569; text-decoration: none; font-size: 0.82rem; font-weight: 600; }
.link-col a:hover { color: #0f172a; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* House AI Demo Box Styles */
.icon-indigo { color: #818cf8; }
.tag-indigo { background: rgba(99, 102, 241, 0.2); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.4); }

.icon-rose { color: #f43f5e; }
.tag-rose { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.4); }

.houseai-demo-box {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.houseai-header-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.houseai-tag-demo { color: #818cf8; }

.houseai-badge-demo {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 800;
}

.houseai-card-demo {
  background: rgba(15, 23, 42, 0.7);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.houseai-title-demo {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.houseai-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.houseai-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #38bdf8;
  font-family: var(--font-mono);
}

.houseai-unit {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.img-preview-box {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.product-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-mockup-img:hover {
  transform: scale(1.02);
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
}

.case-action-btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Mobile Specific Polish */
@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    max-width: 100%;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    white-space: nowrap;
  }

  .hero-headline {
    font-size: 1.85rem !important;
    line-height: 1.35 !important;
  }

  .hero-subline {
    font-size: 0.92rem !important;
    padding: 0 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }
}
