/* ==========================================================================
   SiiyaTech - High-Tech Minimalist Stylesheet
   Brand Colors: #679eda (Light Tech Blue), #351d54 (Deep Tech Violet), #ffffff (White)
   Optimized for 90fps+ Butter-Smooth Hardware Acceleration & Clean UX
   Dual-Theme Engine: White Minimalist Default & Dark Violet Tech Mode
   ========================================================================== */

/* --- CSS Variables & Design Tokens (Default: Clean White Background) --- */
:root {
  --color-primary: #679eda;
  --color-primary-rgb: 103, 158, 218;
  --color-primary-light: #8ec0f8;
  --color-primary-dark: #3e74b0;
  
  --color-violet: #351d54;
  --color-violet-rgb: 53, 29, 84;
  --color-violet-light: #522c83;
  --color-violet-glow: #6f3aa5;

  --color-white: #ffffff;
  
  /* Light Theme (White Background Default) */
  --color-bg-deep: #ffffff;
  --color-bg-surface: #f6f8fd;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #ffffff;
  --color-bg-header: rgba(255, 255, 255, 0.92);

  --color-text-main: #180e2b;
  --color-text-muted: #4e3d6b;
  --color-text-dim: #73648e;

  --color-border: rgba(53, 29, 84, 0.12);
  --color-border-hover: rgba(103, 158, 218, 0.55);

  --card-shadow: 0 8px 26px rgba(53, 29, 84, 0.06);
  --card-shadow-hover: 0 16px 36px rgba(103, 158, 218, 0.2);

  --glow-primary: 0 0 25px rgba(103, 158, 218, 0.28);
  --glow-violet: 0 0 35px rgba(83, 45, 133, 0.18);

  /* The <> brackets in toggle - Default Light Mode */
  --toggle-brackets-color: #351d54;
  --toggle-brackets-glow: 0 0 10px rgba(53, 29, 84, 0.35);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --speed-fast: 0.2s;
  --speed-norm: 0.35s;
}

/* --- Dark Theme Variables (Activated via body.dark-theme) --- */
body.dark-theme {
  --color-bg-deep: #0a0614;
  --color-bg-surface: #120b22;
  --color-bg-card: #150c26;
  --color-bg-card-hover: #1c1133;
  --color-bg-header: rgba(10, 6, 20, 0.92);

  --color-text-main: #f3f5fa;
  --color-text-muted: #a6b2c9;
  --color-text-dim: #79859f;

  --color-border: rgba(103, 158, 218, 0.16);
  --color-border-hover: rgba(103, 158, 218, 0.5);

  --card-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 18px 45px rgba(0, 0, 0, 0.7);

  --glow-primary: 0 0 25px rgba(103, 158, 218, 0.35);
  --glow-violet: 0 0 35px rgba(83, 45, 133, 0.4);

  /* The <> brackets in toggle - Switched Dark Mode */
  --toggle-brackets-color: #679eda;
  --toggle-brackets-glow: 0 0 14px rgba(103, 158, 218, 0.8);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-deep);
  color: var(--color-text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #eaf1fb 0%, #ffffff 75%);
  transition: background 0.45s var(--ease-smooth), color 0.45s var(--ease-smooth);
}

body.dark-theme {
  background: radial-gradient(circle at 50% 0%, #1a0f30 0%, #0a0614 70%);
}

/* Custom High-Tech Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #351d54;
  border-radius: 6px;
  border: 2px solid var(--color-bg-deep);
}
body.dark-theme ::-webkit-scrollbar-thumb {
  background: #2a1945;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Ambient Animated Glow Orbs Wrapper (Strictly clamped to viewport) */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  opacity: 0.28;
  animation: floatOrb 18s infinite ease-in-out alternate;
  transition: opacity 0.5s ease;
}

body.dark-theme .ambient-glow {
  opacity: 0.45;
}

.ambient-glow-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(103, 158, 218, 0.35), transparent 70%);
  top: -100px;
  right: -80px;
}

.ambient-glow-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(83, 45, 133, 0.35), transparent 70%);
  top: 40%;
  left: -150px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.ambient-glow-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(103, 158, 218, 0.25), transparent 70%);
  bottom: 5%;
  right: 10%;
  animation-duration: 16s;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, 40px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, -20px, 0) scale(0.95); }
}

/* ==========================================================================
   FLOATING TECH OBSTACLES (Low Opacity Blurred Background)
   ========================================================================== */
.tech-obstacles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tech-obstacle {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 700;
  user-select: none;
  pointer-events: none;
  opacity: 0.13;
  filter: blur(1.5px);
  color: var(--color-violet);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: color 0.45s ease, opacity 0.45s ease;
}

body.dark-theme .tech-obstacle {
  color: var(--color-primary);
  opacity: 0.16;
}

/* Obstacle Positions & 90fps Floating Animations */
.obs-bracket-1 {
  top: 15%;
  left: 6%;
  font-size: 2.8rem;
  animation: floatObstacle1 14s infinite ease-in-out alternate;
}

.obs-curly {
  top: 55%;
  left: 4%;
  font-size: 3.2rem;
  animation: floatObstacle2 18s infinite ease-in-out alternate;
}

.obs-slash {
  top: 25%;
  right: 8%;
  font-size: 2.5rem;
  animation: floatObstacle3 16s infinite ease-in-out alternate;
}

.obs-binary {
  top: 75%;
  right: 6%;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  font-family: monospace;
  animation: floatObstacle1 20s infinite ease-in-out alternate;
}

.obs-lambda {
  top: 42%;
  right: 18%;
  font-size: 2.2rem;
  animation: floatObstacle2 15s infinite ease-in-out alternate;
}

.obs-sync {
  top: 85%;
  left: 20%;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  animation: floatObstacle3 19s infinite ease-in-out alternate;
}

.obs-code-tag {
  top: 6%;
  left: 45%;
  font-size: 1.4rem;
  animation: floatObstacle1 22s infinite ease-in-out alternate;
}

.obs-cube {
  width: 50px;
  height: 50px;
  border: 2px solid currentColor;
  border-radius: 8px;
  top: 32%;
  left: 18%;
  transform: rotate(45deg);
  animation: floatRotate 24s infinite linear;
}

.obs-ring {
  width: 70px;
  height: 70px;
  border: 2px dashed currentColor;
  border-radius: 50%;
  bottom: 22%;
  left: 42%;
  animation: floatRotateReverse 28s infinite linear;
}

@keyframes floatObstacle1 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(25px, -35px, 0) rotate(6deg); }
  100% { transform: translate3d(-20px, 20px, 0) rotate(-6deg); }
}

@keyframes floatObstacle2 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-30px, 30px, 0) rotate(-8deg); }
  100% { transform: translate3d(20px, -25px, 0) rotate(8deg); }
}

@keyframes floatObstacle3 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(20px, 25px, 0); }
  100% { transform: translate3d(-25px, -20px, 0); }
}

@keyframes floatRotate {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(15px, 20px, 0) rotate(360deg); }
}

@keyframes floatRotateReverse {
  0% { transform: translate3d(0, 0, 0) rotate(360deg); }
  100% { transform: translate3d(-15px, -15px, 0) rotate(0deg); }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
  transition: color 0.45s ease;
}

.gradient-text {
  background: linear-gradient(135deg, #351d54 10%, #679eda 80%, #3e74b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

body.dark-theme .gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #679eda 70%, #b2d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header Styles */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-violet-light);
  background: rgba(53, 29, 84, 0.08);
  border: 1px solid rgba(53, 29, 84, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

body.dark-theme .section-badge {
  color: var(--color-primary-light);
  background: rgba(103, 158, 218, 0.1);
  border-color: rgba(103, 158, 218, 0.25);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 650px;
  line-height: 1.6;
}

/* Buttons (90fps instant transitions) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  transition: all var(--speed-fast) var(--ease-smooth);
}

.btn:active {
  transform: scale(0.97) translate3d(0, 0, 0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-violet) 0%, #4e2b7a 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(53, 29, 84, 0.25);
}

body.dark-theme .btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #4b84c3 100%);
  color: #060913;
  box-shadow: 0 4px 14px rgba(103, 158, 218, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #452470 0%, var(--color-violet) 100%);
  box-shadow: 0 6px 22px rgba(53, 29, 84, 0.35);
  transform: translate3d(0, -2px, 0);
}

body.dark-theme .btn-primary:hover {
  background: linear-gradient(135deg, #7db0ea 0%, var(--color-primary) 100%);
  box-shadow: 0 6px 22px rgba(103, 158, 218, 0.45);
}

.btn-secondary {
  background: rgba(103, 158, 218, 0.12);
  color: var(--color-violet);
  border-color: rgba(53, 29, 84, 0.2);
}

body.dark-theme .btn-secondary {
  background: rgba(53, 29, 84, 0.5);
  color: var(--color-white);
  border-color: rgba(103, 158, 218, 0.35);
}

.btn-secondary:hover {
  background: rgba(103, 158, 218, 0.25);
  border-color: var(--color-primary);
  transform: translate3d(0, -2px, 0);
}

body.dark-theme .btn-secondary:hover {
  background: rgba(78, 43, 122, 0.7);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-outline-sm {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  color: var(--color-violet);
  border: 1px solid rgba(53, 29, 84, 0.25);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--speed-fast) ease;
}

body.dark-theme .btn-outline-sm {
  color: var(--color-primary-light);
  border-color: rgba(103, 158, 218, 0.35);
}

.btn-outline-sm:hover {
  background: rgba(103, 158, 218, 0.15);
  border-color: var(--color-primary);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--color-bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.site-header.header-scrolled {
  box-shadow: 0 4px 22px rgba(53, 29, 84, 0.08);
  border-bottom-color: rgba(53, 29, 84, 0.18);
}

body.dark-theme .site-header.header-scrolled {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(103, 158, 218, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: 100%;
  gap: 0.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 101;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  transition: transform var(--speed-fast) ease;
}

body.dark-theme .nav-logo-img {
  background: #ffffff;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.brand-logo:hover .nav-logo-img {
  transform: scale(1.03);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* ==========================================================================
   THEME TOGGLE BUTTON (< > Color Change Feature)
   ========================================================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(53, 29, 84, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  outline: none;
  user-select: none;
  transform: translate3d(0, 0, 0);
  transition: all var(--speed-fast) var(--ease-smooth);
}

body.dark-theme .theme-toggle {
  background: rgba(103, 158, 218, 0.1);
  border-color: rgba(103, 158, 218, 0.3);
}

.theme-toggle:hover {
  border-color: var(--color-primary);
  transform: translate3d(0, -1px, 0);
}

/* The <> Brackets: Change color dynamically when toggling! */
.toggle-brackets {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--toggle-brackets-color);
  text-shadow: var(--toggle-brackets-glow);
  letter-spacing: -0.05em;
  transition: color 0.4s var(--ease-smooth), text-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
  display: inline-block;
}

.theme-toggle:hover .toggle-brackets {
  transform: scale(1.15);
}

.toggle-track {
  width: 34px;
  height: 18px;
  background: rgba(53, 29, 84, 0.15);
  border-radius: var(--radius-full);
  position: relative;
  transition: background 0.4s ease;
}

body.dark-theme .toggle-track {
  background: var(--color-primary);
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-violet);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--ease-smooth), background 0.35s ease;
}

body.dark-theme .toggle-thumb {
  transform: translateX(16px);
  background: #0a0614;
}

.toggle-mode-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   UNIVERSAL HAMBURGER MENU (All Devices: Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */
.hamburger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(53, 29, 84, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  outline: none;
  user-select: none;
  transform: translate3d(0, 0, 0);
  transition: all var(--speed-fast) var(--ease-smooth);
}

body.dark-theme .hamburger-btn {
  background: rgba(103, 158, 218, 0.1);
  border-color: rgba(103, 158, 218, 0.3);
}

.hamburger-btn:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px) translate3d(0, 0, 0);
  background: rgba(103, 158, 218, 0.12);
}

.hamburger-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
}

.hamburger-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-main);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background 0.3s ease;
}

.hamburger-btn.active .bar-1 {
  transform: translateY(5.5px) rotate(45deg);
}
.hamburger-btn.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active .bar-3 {
  transform: translateY(-5.5px) rotate(-45deg);
}

.hamburger-label {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Navigation Overlay Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 20, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-out Navigation Drawer (All Devices) */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 90vw);
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.28);
  z-index: 999;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.nav-drawer.open {
  transform: translate3d(0, 0, 0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--color-border);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  color: var(--color-text-main);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.drawer-close:hover {
  border-color: var(--color-primary);
  transform: scale(1.08);
  background: var(--color-primary);
  color: #060913;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 1.6rem;
}

.drawer-content .nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-content .nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
  border: 1px solid transparent;
  transform: translate3d(0, 0, 0);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.drawer-content .nav-link:hover,
.drawer-content .nav-link.active {
  background: var(--color-bg-surface);
  border-color: var(--color-border);
  color: var(--color-primary);
  transform: translate3d(6px, 0, 0);
}

.link-idx {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(103, 158, 218, 0.12);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.drawer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.drawer-social-link {
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.88rem;
}

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

.drawer-loc {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 4rem;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content,
.hero-visual {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(103, 158, 218, 0.12);
  border: 1px solid rgba(103, 158, 218, 0.35);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-violet);
  margin-bottom: 1.5rem;
}

body.dark-theme .hero-tag {
  color: var(--color-primary-light);
  background: rgba(103, 158, 218, 0.08);
  border-color: rgba(103, 158, 218, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee69c;
  box-shadow: 0 0 10px #3ee69c;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.dream-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(53, 29, 84, 0.08);
  border: 1px solid rgba(53, 29, 84, 0.18);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--color-violet);
  margin-bottom: 2rem;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.45;
}

.dream-badge .lock-icon {
  margin-top: 3px;
  flex-shrink: 0;
  color: #27c93f;
}

body.dark-theme .dream-badge {
  background: rgba(53, 29, 84, 0.65);
  border-color: rgba(103, 158, 218, 0.3);
  color: #e5dbf2;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
  max-width: 100%;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

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

/* ==========================================================================
   ALL-DEVICE REAL-TIME SYNC SHOWCASE
   ========================================================================== */
.device-sync-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  box-shadow: var(--card-shadow);
  margin-top: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  animation: subtleGlow 4s infinite alternate;
}

@keyframes subtleGlow {
  0% { border-color: var(--color-border); }
  100% { border-color: rgba(103, 158, 218, 0.45); }
}

.sync-indicator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee69c;
}

.sync-pulse-ring {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #3ee69c;
  animation: pulseRing 2s infinite ease-out;
}

@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.sync-devices {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.device-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sync-connector {
  color: var(--color-primary);
  font-weight: 700;
  animation: arrowGlow 2s infinite alternate;
}

@keyframes arrowGlow {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.sync-live-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.sync-ping-ms {
  background: rgba(62, 230, 156, 0.15);
  color: #17935a;
  border: 1px solid rgba(62, 230, 156, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-family: monospace;
}

body.dark-theme .sync-ping-ms {
  color: #3ee69c;
}

/* High Tech Window Mockup */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.tech-window {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow), 0 0 30px rgba(103, 158, 218, 0.08);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.45s ease;
}

.tech-window:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: var(--card-shadow-hover), var(--glow-primary);
}

.window-header {
  background: rgba(53, 29, 84, 0.05);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body.dark-theme .window-header {
  background: rgba(30, 18, 54, 0.8);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-address-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  flex-grow: 1;
  min-width: 0;
  max-width: 280px;
  overflow: hidden;
}

.address-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  min-width: 0;
}

.status-live {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(62, 230, 156, 0.15);
  border: 1px solid rgba(62, 230, 156, 0.4);
  color: #17935a;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

body.dark-theme .status-live {
  color: #3ee69c;
}

.window-body {
  padding: 1.5rem;
}

.code-preview-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.tech-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(103, 158, 218, 0.35);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.tech-avatar img,
.tech-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-card-title {
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.tech-card-sub {
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

.tech-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform var(--speed-fast) ease, border-color var(--speed-fast) ease;
}

.metric-card:hover {
  transform: translate3d(0, -2px, 0);
  border-color: var(--color-primary);
}

.metric-icon-wrap {
  font-size: 1.1rem;
}

.metric-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.metric-desc {
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

.code-snippet-box {
  background: #180e2b;
  border: 1px solid rgba(103, 158, 218, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  color: #f3f5fa;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}

.code-snippet-box code {
  white-space: pre-wrap;
  word-break: break-word;
}

body.dark-theme .code-snippet-box {
  background: rgba(10, 6, 20, 0.95);
  border-color: rgba(103, 158, 218, 0.15);
}

.code-comment {
  color: #9aa8c3;
  font-style: italic;
}

.code-highlight {
  color: #ffd166;
}

.code-accent {
  color: var(--color-primary-light);
}

.window-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   MISSION / AIM SECTION
   ========================================================================== */
.mission-section {
  padding: 5rem 0;
  position: relative;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.mission-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.45s ease;
}

.mission-card:hover {
  transform: translate3d(0, -6px, 0);
  border-color: var(--color-border-hover);
  box-shadow: var(--card-shadow-hover);
}

.featured-mission {
  border-color: rgba(103, 158, 218, 0.45);
  background: linear-gradient(180deg, #f3f7fd 0%, #ffffff 100%);
}

body.dark-theme .featured-mission {
  background: linear-gradient(180deg, #23143c 0%, #150c26 100%);
}

.badge-featured {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-violet);
  background: rgba(103, 158, 218, 0.2);
  border: 1px solid rgba(103, 158, 218, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

body.dark-theme .badge-featured {
  color: var(--color-primary-light);
}

.mission-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(103, 158, 218, 0.15);
  border: 1px solid rgba(103, 158, 218, 0.3);
  color: var(--color-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

body.dark-theme .mission-icon {
  color: var(--color-primary);
}

.mission-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.mission-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--card-shadow);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.45s ease;
}

.service-card:hover {
  transform: translate3d(0, -6px, 0);
  border-color: var(--color-border-hover);
  box-shadow: var(--card-shadow-hover);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(53, 29, 84, 0.08);
  border: 1px solid rgba(53, 29, 84, 0.15);
  margin-bottom: 1.3rem;
}

body.dark-theme .service-icon-box {
  background: rgba(53, 29, 84, 0.7);
  border-color: rgba(103, 158, 218, 0.25);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.service-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.service-points li {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   PRICING & INTERACTIVE CALCULATOR
   ========================================================================== */
.pricing-section {
  padding: 5rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.45s ease;
}

.pricing-card:hover {
  transform: translate3d(0, -6px, 0);
  border-color: var(--color-border-hover);
  box-shadow: var(--card-shadow-hover);
}

.popular-card {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  border-color: rgba(103, 158, 218, 0.6);
  box-shadow: 0 12px 35px rgba(103, 158, 218, 0.18);
}

body.dark-theme .popular-card {
  background: linear-gradient(180deg, #261642 0%, #150c26 100%);
  border-color: rgba(103, 158, 218, 0.5);
  box-shadow: 0 12px 35px rgba(53, 29, 84, 0.4);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--color-violet), #4e2b7a);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

body.dark-theme .popular-ribbon {
  background: linear-gradient(135deg, var(--color-primary), #4b84c3);
  color: #0c0717;
}

.plan-type {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: block;
  margin-bottom: 0.75rem;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.price-currency {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 700;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1;
}

.price-period {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.plan-features li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Interactive Calculator */
.calculator-container {
  margin-top: 3.5rem;
}

.calculator-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  transition: background 0.45s ease;
}

.calc-header {
  margin-bottom: 1.8rem;
}

.calc-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.calc-header p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.calc-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.65rem;
}

.calc-select {
  width: 100%;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-main);
  outline: none;
  cursor: pointer;
  transition: border-color var(--speed-fast) ease, background 0.45s ease;
}

.calc-select:focus {
  border-color: var(--color-primary);
}

.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: background var(--speed-fast) ease, border-color var(--speed-fast) ease;
}

.check-item:hover {
  border-color: var(--color-primary);
}

.check-item input[type="checkbox"] {
  accent-color: var(--color-violet);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

body.dark-theme .check-item input[type="checkbox"] {
  accent-color: var(--color-primary);
}

.calc-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(103, 158, 218, 0.1);
  border: 1px solid var(--color-border);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  gap: 1.25rem;
}

body.dark-theme .calc-result-bar {
  background: rgba(53, 29, 84, 0.5);
  border-color: rgba(103, 158, 218, 0.25);
}

.calc-total {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.calc-total-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.calc-total-val {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #17935a;
}

body.dark-theme .calc-total-val {
  color: #3ee69c;
}

/* ==========================================================================
   LOCAL SEO BOOST SECTION
   ========================================================================== */
.seo-boost-section {
  padding: 5rem 0;
  position: relative;
}

.seo-card-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--card-shadow);
  transition: background 0.45s ease;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.seo-highlight-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-main);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.seo-text-col p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.seo-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.seo-f-item {
  display: flex;
  gap: 1rem;
}

.seo-f-icon {
  font-size: 1.3rem;
  background: rgba(103, 158, 218, 0.15);
  border: 1px solid rgba(103, 158, 218, 0.25);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seo-f-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.seo-f-item p {
  font-size: 0.88rem;
  color: var(--color-text-dim);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Location Badge Box */
.location-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: background 0.45s ease;
}

.loc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.loc-header h3 {
  font-size: 1.2rem;
}

.loc-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.town-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.town-tags li {
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(103, 158, 218, 0.12);
  border: 1px solid rgba(103, 158, 218, 0.3);
  color: var(--color-violet);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

body.dark-theme .town-tags li {
  color: var(--color-primary-light);
}

.loc-callout {
  background: rgba(53, 29, 84, 0.08);
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

body.dark-theme .loc-callout {
  background: rgba(53, 29, 84, 0.6);
  color: #e2dbec;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-accordion {
  max-width: 860px;
  margin: 2.8rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color var(--speed-fast) ease, background 0.45s ease;
}

.faq-item:hover {
  border-color: rgba(103, 158, 218, 0.45);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: color var(--speed-fast) ease;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
  transition: transform var(--speed-norm) var(--ease-smooth);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed-norm) var(--ease-smooth);
}

.faq-answer p {
  padding: 0 1.6rem 1.3rem;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 5rem 0 6rem;
  position: relative;
}

.contact-card-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  box-shadow: var(--card-shadow);
  transition: background 0.45s ease;
}

.contact-title {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform var(--speed-fast) ease, border-color var(--speed-fast) ease, background 0.45s ease;
}

.contact-item:hover {
  transform: translate3d(4px, 0, 0);
  border-color: var(--color-primary);
}

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

.whatsapp-bg {
  background: #25d366;
  color: #ffffff;
}

.insta-bg {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
}

.loc-bg {
  background: rgba(103, 158, 218, 0.15);
  border: 1px solid rgba(103, 158, 218, 0.3);
  color: var(--color-violet);
}

body.dark-theme .loc-bg {
  color: var(--color-primary);
}

.c-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
}

.c-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* Contact Form */
.contact-form {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background 0.45s ease;
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.45rem;
}

.form-input {
  width: 100%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text-main);
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--speed-fast) ease, box-shadow var(--speed-fast) ease, background 0.45s ease;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(103, 158, 218, 0.2);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0d071b;
  color: #f3f5fa;
  border-top: 1px solid rgba(103, 158, 218, 0.15);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.site-footer h4 {
  color: #ffffff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-text-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.2rem;
  display: block;
}

.footer-tagline {
  color: #a6b2c9;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 380px;
}

.footer-motto {
  font-family: var(--font-heading);
  color: var(--color-primary-light);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a,
.footer-col span {
  color: #a6b2c9;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--speed-fast) ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.84rem;
  color: #79859f;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links a {
  color: var(--color-primary-light);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Quick Contact)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition: transform var(--speed-fast) var(--ease-smooth), box-shadow var(--speed-fast) ease;
  animation: floatPulse 3s infinite ease-in-out;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translate3d(0, 0, 0);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(10, 6, 20, 0.9);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(103, 158, 218, 0.3);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--speed-fast) ease;
}

.floating-whatsapp:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-inner {
    height: 58px;
  }

  .nav-logo-img {
    height: 32px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
  }

  /* Restrict header controls on mobile to prevent overflow */
  .header-actions {
    gap: 0.45rem;
  }

  .header-actions .header-wa-btn {
    display: none; /* Mobile already has the floating WhatsApp button */
  }

  .theme-toggle {
    padding: 0.3rem 0.55rem;
    gap: 0.35rem;
  }

  .theme-toggle .toggle-mode-label {
    display: none; /* Hide the text "DARK"/"LIGHT" on mobile to save width */
  }

  .hamburger-btn {
    padding: 0.35rem 0.65rem;
    gap: 0.35rem;
  }

  .hamburger-label {
    font-size: 0.74rem;
  }

  .hero-section {
    padding: 2.2rem 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5.8vw, 2.5rem);
    line-height: 1.22;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-tag {
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .dream-badge {
    font-size: 0.82rem;
    padding: 0.45rem 0.75rem;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }

  /* Mobile Hero Stats: High-Tech Stacked Cards (Zero clipping, 100% width) */
  .hero-stats-row {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    padding: 1rem 0;
    box-sizing: border-box;
  }

  .stat-pill {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.95rem;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  .stat-num {
    font-size: 1.15rem;
    white-space: nowrap;
    color: var(--color-primary);
  }

  body:not(.dark-theme) .stat-num {
    color: var(--color-violet);
  }

  .stat-label {
    font-size: 0.82rem;
  }

  .stat-divider {
    display: none;
  }

  /* All-Device Real-time Sync Badge: Strict Containment */
  .device-sync-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
  }

  .sync-devices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .device-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
  }

  .sync-connector {
    font-size: 0.75rem;
  }

  .sync-live-tag {
    font-size: 0.76rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  /* Tech Window Mockup: Mobile Fit */
  .tech-window {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .window-header {
    padding: 0.55rem 0.75rem;
    gap: 0.45rem;
    width: 100%;
    box-sizing: border-box;
  }

  .window-address-bar {
    max-width: 175px;
    font-size: 0.72rem;
    padding: 0.22rem 0.5rem;
    min-width: 0;
  }

  .status-live {
    font-size: 0.62rem;
    padding: 0.12rem 0.4rem;
    flex-shrink: 0;
  }

  .window-body {
    padding: 1rem 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }

  .tech-metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    width: 100%;
  }

  .metric-card {
    padding: 0.55rem 0.75rem;
  }

  .code-snippet-box {
    font-size: 0.72rem;
    padding: 0.65rem 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
  }

  .window-footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .window-footer-cta .btn {
    width: 100%;
    text-align: center;
  }

  .mission-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator-box {
    padding: 1.25rem 1rem;
  }

  .calc-result-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
  }

  .calc-result-bar .btn {
    width: 100%;
    text-align: center;
  }

  .seo-card-wrap,
  .contact-card-wrapper {
    padding: 1.75rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .nav-logo-img {
    height: 28px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
  }

  .hamburger-label {
    display: none; /* Hide MENU text on small phones to keep header super clean */
  }

  .hamburger-btn {
    padding: 0.38rem 0.55rem;
  }

  .window-address-bar {
    max-width: 140px;
  }

  .calc-total {
    flex-direction: column;
    gap: 0.2rem;
  }

  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   3-SECOND ANIMATED WELCOME LOADING SCREEN
   ========================================================================== */
body.loading-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 40%, #1c0f33 0%, #0a0614 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  will-change: opacity, transform;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-screen.welcome-fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.welcome-backdrop-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 158, 218, 0.35) 0%, rgba(53, 29, 84, 0.45) 50%, transparent 70%);
  filter: blur(90px);
  animation: welcomeGlowPulse 3s infinite ease-in-out alternate;
  pointer-events: none;
}

@keyframes welcomeGlowPulse {
  0% { transform: scale(0.9) translate3d(0, 0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate3d(0, 0, 0); opacity: 1; }
}

.welcome-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  max-width: 90vw;
}

.welcome-logo-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.welcome-pulse-ring {
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  border: 1.5px solid rgba(103, 158, 218, 0.45);
  pointer-events: none;
}

.welcome-pulse-ring.ring-1 {
  animation: pulseRingRotate 7s linear infinite;
}

.welcome-pulse-ring.ring-2 {
  inset: -16px;
  border-radius: 36px;
  border: 1px dashed rgba(103, 158, 218, 0.3);
  animation: pulseRingRotateReverse 10s linear infinite;
}

@keyframes pulseRingRotate {
  0% { transform: rotate(0deg) translate3d(0, 0, 0); }
  100% { transform: rotate(360deg) translate3d(0, 0, 0); }
}

@keyframes pulseRingRotateReverse {
  0% { transform: rotate(360deg) translate3d(0, 0, 0); }
  100% { transform: rotate(0deg) translate3d(0, 0, 0); }
}

.welcome-logo-card {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(103, 158, 218, 0.4);
  animation: welcomeLogoIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.welcome-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes welcomeLogoIn {
  0% {
    transform: scale(0.7) translateY(20px) translate3d(0, 0, 0);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0) translate3d(0, 0, 0);
    opacity: 1;
  }
}

.welcome-brand-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 1.6rem;
}

.welcome-brand-accent {
  background: linear-gradient(135deg, #679eda 0%, #b2d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-progress-container {
  width: 250px;
  max-width: 80vw;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}

.welcome-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #679eda 0%, #ffffff 80%, #679eda 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 14px #679eda;
  animation: welcomeProgress 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes welcomeProgress {
  0% { width: 0%; }
  35% { width: 45%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

.welcome-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #a6b2c9;
  font-family: var(--font-main);
  white-space: nowrap;
  animation: fadeInStatus 0.8s ease forwards;
}

.welcome-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ee69c;
  box-shadow: 0 0 8px #3ee69c;
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes fadeInStatus {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .welcome-logo-wrapper {
    width: 118px;
    height: 118px;
  }
  .welcome-brand-name {
    font-size: 1.8rem;
    margin-bottom: 1.3rem;
  }
  .welcome-progress-container {
    width: 200px;
  }
  .welcome-status {
    font-size: 0.76rem;
  }
}
