/* ==========================================================================
   MakersApps.com - World-Class Design System & Stylesheet
   Architecture: 3-Layer Token System (Primitive -> Semantic -> Component)
   Palette: Electric Amber/Gold (#facc15 / #f59e0b) & Deep Obsidian (#07080b)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, Consolas, 'Liberation Mono', monospace;

  /* Theme Colors - Dark Mode (Default) */
  --bg-main: #07080b;
  --bg-card: rgba(15, 18, 26, 0.75);
  --bg-card-hover: rgba(22, 27, 39, 0.9);
  --bg-card-solid: #0d1017;
  --header-bg: rgba(7, 8, 11, 0.82);
  --input-bg: rgba(255, 255, 255, 0.04);
  --contact-box-bg: rgba(13, 16, 23, 0.82);

  /* Primary Brand (Electric Gold & Amber) */
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --primary-glow: rgba(245, 158, 11, 0.35);
  --primary-gradient: linear-gradient(135deg, #facc15 0%, #f59e0b 50%, #ea580c 100%);
  --gold-glow-gradient: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(234, 88, 12, 0.08) 50%, transparent 70%);

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-gradient: linear-gradient(135deg, #ffffff 15%, #fde047 65%, #f59e0b 100%);

  /* Borders & Shadows */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(245, 158, 11, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.04);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 12px 36px rgba(245, 158, 11, 0.25);

  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-main: #f8f9fa;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-card-solid: #ffffff;
  --header-bg: rgba(248, 249, 250, 0.88);
  --input-bg: #f1f5f9;
  --contact-box-bg: rgba(255, 255, 255, 0.95);

  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-glow: rgba(217, 119, 6, 0.25);
  --primary-gradient: linear-gradient(135deg, #eab308 0%, #d97706 50%, #c2410c 100%);
  --gold-glow-gradient: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.05) 50%, transparent 70%);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-gradient: linear-gradient(135deg, #0f172a 20%, #b45309 80%, #9a3412 100%);

  --border-color: #e2e8f0;
  --border-highlight: rgba(217, 119, 6, 0.4);
  --border-subtle: #f1f5f9;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 12px 36px rgba(217, 119, 6, 0.15);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   3. Header & Navigation
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.nav-cta {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-highlight);
  color: var(--primary) !important;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--primary-gradient);
  border-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.header-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  border-radius: var(--radius-full);
}

.toggle-track {
  width: 50px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px;
  transition: all var(--transition-normal);
}

[data-theme="light"] .toggle-track {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.theme-toggle-btn:hover .toggle-track {
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
}

.toggle-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #000000;
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(22px);
  color: #ffffff;
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   4. Hero Section (Centered High-End Modern Studio Layout)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-chroma-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 158, 11, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-centered-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-header-centered {
  text-align: center;
  max-width: 860px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  margin-bottom: 24px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-dot-glow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 36px;
}

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

/* DelyCloud Roll-Text Buttons */
.btn-dely-primary,
.btn-dely-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 10px 10px 24px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.btn-dely-primary {
  background: var(--primary-gradient);
  color: #07080b;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-dely-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.45);
}

.btn-dely-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.btn-dely-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.roll-text-wrapper {
  display: inline-block;
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  vertical-align: middle;
}

.roll-text-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.roll-text-item {
  height: 22px;
  display: flex;
  align-items: center;
}

.btn-dely-primary:hover .roll-text-inner,
.btn-dely-secondary:hover .roll-text-inner {
  transform: translateY(-22px);
}

.btn-arrow-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #07080b;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow-circle.secondary {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
}

.btn-dely-primary:hover .btn-arrow-circle {
  transform: rotate(45deg);
}

.btn-dely-secondary:hover .btn-arrow-circle {
  transform: translateY(3px);
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 12.5px;
  color: var(--text-subtle);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border-color);
}

/* --------------------------------------------------------------------------
   5. Interactive Showcase Studio Console (Linear / Raycast Style)
   -------------------------------------------------------------------------- */
.hero-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.mesh-gradient-bg {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--gold-glow-gradient);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: pulseMesh 8s ease-in-out infinite alternate;
}

@keyframes pulseMesh {
  0% { transform: scale(0.9) translate(-10px, 10px); }
  100% { transform: scale(1.1) translate(10px, -10px); }
}

.hero-showcase-window {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #0d1017;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 158, 11, 0.15);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

[data-theme="light"] .hero-showcase-window {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 25px rgba(245, 158, 11, 0.08);
}

.ide-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .ide-titlebar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.ide-dots {
  display: flex;
  gap: 6px;
}

.dot-red { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.dot-yellow { width: 11px; height: 11px; border-radius: 50%; background: #f59e0b; }
.dot-green { width: 11px; height: 11px; border-radius: 50%; background: #10b981; }

.ide-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.ide-status-badge {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

/* Showcase Project Switcher Nav */
.showcase-nav-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
}

.showcase-nav-bar::-webkit-scrollbar {
  display: none;
}

.showcase-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.showcase-tab.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--primary);
}

.ide-content {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.ide-code-line {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ide-code-line.indent {
  padding-left: 20px;
}

.code-keyword { color: #f43f5e; font-weight: 600; }
.code-var { color: #38bdf8; }
.code-fn { color: #fbbf24; }
.code-prop { color: #f59e0b; }
.code-str { color: #34d399; }
.sc-link { color: #38bdf8; text-decoration: underline; }

.ide-divider {
  height: 1px;
  background: var(--border-color);
  margin: 18px 0 16px;
}

.ide-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ide-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

[data-theme="light"] .ide-stat-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.stat-label {
  font-size: 11px;
  color: var(--text-subtle);
  font-family: var(--font-body);
}

.stat-value {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.text-emerald { color: #10b981; }
.text-gold { color: #f59e0b; }
.text-cyan { color: #0284c7; }
[data-theme="dark"] .text-cyan { color: #38bdf8; }

/* Floating Badges */
.floating-pill-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #11141c;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: transform 0.3s ease;
}

[data-theme="light"] .floating-pill-badge {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.badge-showcase-left {
  top: -15px;
  left: -20px;
  animation: floatBadge1 5s ease-in-out infinite alternate;
}

.badge-showcase-right {
  bottom: -15px;
  right: -20px;
  animation: floatBadge2 6s ease-in-out infinite alternate;
}

@keyframes floatBadge1 {
  0% { transform: translateY(0px) rotate(1deg); }
  100% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes floatBadge2 {
  0% { transform: translateY(0px) rotate(-1deg); }
  100% { transform: translateY(8px) rotate(1deg); }
}

.pill-icon-glow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.pill-icon-glow.bg-emerald {
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.pill-icon-glow.bg-amber {
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

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

.pill-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.pill-sub {
  font-size: 11px;
  color: var(--text-subtle);
}

@media (max-width: 640px) {
  .badge-showcase-left,
  .badge-showcase-right {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Services Bento Grid Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
}

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

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

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.6;
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.bento-card-featured {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 50%);
}

.bento-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tech-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-neutral {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 4px 11px;
  border-radius: var(--radius-full);
}

@media (max-width: 960px) {
  .bento-services-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-featured {
    grid-column: span 1;
  }
}

/* --------------------------------------------------------------------------
   7. Portfolio Section (6 Official Projects)
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.portfolio-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.portfolio-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.portfolio-image-container {
  margin-bottom: 18px;
}

.portfolio-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition-fast);
}

.portfolio-app-icon:hover {
  transform: scale(1.06);
}

.portfolio-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.badge-status-online {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.portfolio-item-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.portfolio-item-title a {
  text-decoration: none;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.portfolio-item-title a:hover {
  color: var(--primary);
}

.portfolio-item-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.portfolio-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --------------------------------------------------------------------------
   8. Tech Stack Matrix
   -------------------------------------------------------------------------- */
.tech-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

.tech-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-fast);
}

.tech-box:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.tech-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.tech-category {
  font-size: 12px;
  color: var(--text-subtle);
}

@media (max-width: 900px) {
  .tech-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --------------------------------------------------------------------------
   9. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--border-highlight);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--primary);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

/* --------------------------------------------------------------------------
   10. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 0 120px;
  background: radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
}

.contact-box {
  max-width: 740px;
  margin: 0 auto;
  background: var(--contact-box-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

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

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

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

.text-area {
  min-height: 120px;
  resize: vertical;
}

.form-error-msg {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  min-height: 16px;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.hidden {
  display: none !important;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #07080b;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.45);
}

.btn-block {
  width: 100%;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #07080b;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-box {
    padding: 28px 20px;
  }
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.main-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  background: #050608;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img-footer {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   12. Floating WhatsApp Button (Continuous Sonar Waves)
   -------------------------------------------------------------------------- */
.floating-wsp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.wsp-tooltip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #11141c;
  color: #f8fafc;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.wsp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.wsp-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  border-radius: 50%;
  background-color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: transform var(--transition-fast);
}

.floating-wsp:hover .wsp-circle {
  transform: scale(1.08);
}

.wsp-icon {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  display: block;
  fill: #ffffff;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

.wsp-sonar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #10b981;
  pointer-events: none;
  z-index: 1;
}

.wsp-sonar-ring.ring-1 {
  animation: wspSonarPulse 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.wsp-sonar-ring.ring-2 {
  animation: wspSonarPulse 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  animation-delay: 1.1s;
}

@keyframes wspSonarPulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  70% {
    opacity: 0.25;
  }
  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .wsp-tooltip {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   13. 404 Not Found Page Styles
   -------------------------------------------------------------------------- */
.not-found-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 16px;
}

.not-found-code {
  font-family: var(--font-heading);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.not-found-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
}

.not-found-desc {
  color: #94a3b8;
  max-width: 420px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Legal & Policies Center Page Styles
   -------------------------------------------------------------------------- */
.legal-page {
  padding-top: 110px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.legal-back-nav {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.legal-back-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateX(-3px);
}

.legal-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  position: sticky;
  top: 85px;
  z-index: 100;
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.legal-nav-tab {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

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

.legal-nav-tab.active {
  color: #07080b;
  background: var(--primary-color);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 160px;
}

.legal-doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-color);
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.25);
  margin-bottom: 16px;
}

.legal-doc-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.legal-meta-info {
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-highlight-box {
  background: rgba(245, 158, 11, 0.05);
  border-left: 3px solid var(--primary-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
  color: #e2e8f0;
  font-size: 14.5px;
}

.legal-entity-box {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-entity-box h4 {
  color: #60a5fa;
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 700;
}

.legal-entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  font-size: 13.5px;
}

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

@media (max-width: 768px) {
  .legal-content-card {
    padding: 24px 20px;
  }
  .legal-nav-tabs {
    border-radius: var(--radius-md);
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }
}

