/* ==========================================================================
   INTELIAHOME ONE-PAGE - HIGH CONVERSION DESIGN SYSTEM (INNOMOOD STYLED)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-canvas: #08090d;
  --bg-surface: #10121a;
  --bg-raised: #181b26;
  --bg-glass: rgba(255, 255, 255, 0.03);

  --text-fg: #ffffff;
  --text-muted: #949dbd;
  --text-dim: #606885;

  --gold-primary: #d4af37;
  --gold-light: #f6e27a;
  --gold-dark: #997813;
  --gold-gradient: linear-gradient(135deg, #f6e27a 0%, #d4af37 50%, #8a6c14 100%);
  --gold-glow: 0 0 28px rgba(212, 175, 55, 0.35);
  --gold-glow-intense: 0 0 45px rgba(212, 175, 55, 0.6);

  --border-edge: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

button { cursor: pointer; }

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

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* Header Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-edge);
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  padding: 2px;
  background: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1;
}

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

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-fg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-intense);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  color: var(--text-fg);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.825rem;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(212, 175, 55, 0.08) 0%, rgba(8, 9, 13, 0) 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Trust Ticker Bar */
.trust-bar {
  border-y: 1px solid var(--border-edge);
  background: rgba(16, 18, 26, 0.6);
  padding: 20px 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-item span {
  color: var(--gold-primary);
  font-weight: 800;
}

/* Terminal / Code Window */
.term-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.7), var(--gold-glow);
}

.term-header {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border-edge);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-edge);
}

.term-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.term-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
}

.term-line {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.term-prompt { color: var(--gold-primary); }
.term-check { color: #10b981; }

/* Cards Grid InnoMood Style */
.section-block {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-edge);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Service Cards Layout & Perfect Line Alignment */
.card-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-edge);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-normal);
}

.card-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.card-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

@media (min-width: 992px) {
  .card-title {
    min-height: 3.2rem;
    display: flex;
    align-items: flex-start;
  }
  .card-text {
    min-height: 52px;
  }
  .tag-list {
    min-height: 64px;
    align-content: flex-start;
  }
}

/* Specifications Detail inside card (Always Visible & Perfectly Aligned Across Pairs) */
.card-details {
  margin-top: 12px;
  padding-top: 16px;
  margin-bottom: 20px;
  border-top: 1px dashed var(--border-gold);
  flex-grow: 1;
}

.card-details ul {
  display: grid;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.card-details ul li {
  line-height: 1.5;
}

.card-details ul li strong {
  color: var(--text-fg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-edge);
}

.tag-item {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border-edge);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
}

.card-details ul {
  display: grid;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.card-details ul li {
  line-height: 1.5;
}

.card-details ul li strong {
  color: var(--text-fg);
}

.expand-btn {
  display: none !important;
}

/* Category Filter Tabs (Audience Directed) */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.tab-btn {
  padding: 10px 22px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-edge);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
  cursor: pointer;
}

.tab-btn.active {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: #000;
  font-weight: 700;
  box-shadow: var(--gold-glow);
}

.tab-btn:hover:not(.active) {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* Timeline Process (InnoMood Step Style) */
.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.timeline-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-edge);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
}

.timeline-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* Simulator Box */
.sim-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.sim-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.sim-btn {
  padding: 14px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-edge);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-align: left;
  transition: var(--transition-normal);
}

.sim-btn.active, .sim-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--text-fg);
}

.sim-view {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  border: 1px solid var(--border-edge);
}

.sim-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
}

.sim-hud {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

/* Calculator Box */
.calc-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.select-box, .input-box {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-edge);
  border-radius: var(--radius-sm);
  color: var(--text-fg);
  margin-top: 8px;
}

.select-box:focus, .input-box:focus {
  border-color: var(--gold-primary);
}

.cb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.cb-item {
  padding: 12px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-edge);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.cb-item.selected {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--text-fg);
}

.calc-result {
  background: var(--bg-canvas);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin: 12px 0;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

/* Footer */
.footer {
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border-edge);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Mobile Navigation & Touch Enhancements */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-edge);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-fg);
  transition: var(--transition-normal);
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-grid { grid-template-columns: 1fr; }
  .timeline-list { grid-template-columns: repeat(2, 1fr); }
  .sim-container { grid-template-columns: 1fr; gap: 24px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Header Mobile CTA Helpers */
.desktop-only-cta {
  display: inline-flex !important;
  white-space: nowrap !important;
}

.mobile-only-cta {
  display: none !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .desktop-only-cta, .nav-cta {
    display: none !important;
  }

  .mobile-only-cta {
    display: flex !important;
    justify-content: center;
    align-items: center;
    white-space: nowrap !important;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-img {
    height: 40px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 9, 13, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.9);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .hero {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.15rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

/* Contact Form Responsiveness */
.contact-card-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-canvas);
  border: 1px solid var(--border-gold);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--gold-glow);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-card-box {
    padding: 24px 16px;
    border-radius: 16px;
  }

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

  .contact-card-box label {
    font-size: 0.88rem;
    margin-bottom: 6px;
  }

  .contact-card-box .input-box,
  .contact-card-box .select-box {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .contact-card-box button[type="submit"] {
    font-size: 0.95rem !important;
    padding: 14px 16px !important;
  }
}

  .timeline-list {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 60px 0;
  }

  .sim-view {
    height: 240px;
  }

  .sim-hud {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 12px;
    width: 100%;
  }
}
