/* ==========================================================================
   EYCODEX DIGITAL AGENCY - CORE STYLESHEET (style.css)
   Aesthetic: Ultra-Modern Cyberpunk-Minimalist Dark (Vibrant Neon & Frosted Glass)
   Typography: Outfit & Plus Jakarta Sans & JetBrains Mono
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-darkest: #04060d;
  --bg-darker: #080d1a;
  --bg-card: rgba(13, 19, 38, 0.7);
  --bg-card-hover: rgba(18, 27, 54, 0.85);
  --bg-surface: #0b1120;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-heavy: rgba(8, 13, 26, 0.88);

  /* Primary Neon Brand Accents */
  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.45);
  --violet: #7f00ff;
  --violet-glow: rgba(127, 0, 255, 0.45);
  --emerald: #00f5a0;
  --emerald-glow: rgba(0, 245, 160, 0.45);
  --amber: #fbbf24;
  --rose: #f43f5e;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-accent: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  --gradient-emerald: linear-gradient(135deg, #00f5a0 0%, #00d9f5 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-cyan: rgba(0, 242, 254, 0.35);
  --border-purple: rgba(127, 0, 255, 0.35);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-cyan: 0 0 30px rgba(0, 242, 254, 0.25);
  --shadow-violet: 0 0 30px rgba(127, 0, 255, 0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1240px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Selection */
::selection {
  background: rgba(0, 242, 254, 0.3);
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   3. GLOBAL UTILITIES & BACKGROUND FX
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

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

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

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

.text-cyan { color: var(--cyan); }
.text-purple { color: var(--violet); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }

/* Ambient Background Lights (Hardware-accelerated, zero compositor blur cost) */
.bg-canvas-container,
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
  contain: strict;
}

#bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  transform: translateZ(0);
  contain: strict;
}

.glow-1 {
  width: 650px;
  height: 650px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle closest-side, rgba(0, 242, 254, 0.18) 0%, rgba(127, 0, 255, 0.08) 45%, rgba(0, 242, 254, 0.02) 75%, transparent 100%);
}

.glow-2 {
  width: 750px;
  height: 750px;
  bottom: 8%;
  left: -200px;
  background: radial-gradient(circle closest-side, rgba(127, 0, 255, 0.18) 0%, rgba(0, 245, 160, 0.06) 45%, rgba(127, 0, 255, 0.02) 75%, transparent 100%);
}

.grid-overlay {
  display: none !important;
}

/* Section Common Structure */
.section,
section[id],
main > section,
div[id] {
  scroll-margin-top: 80px;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge-purple {
  background: rgba(127, 0, 255, 0.08);
  border-color: rgba(127, 0, 255, 0.3);
  color: #c084fc;
}

.badge-emerald {
  background: rgba(0, 245, 160, 0.08);
  border-color: rgba(0, 245, 160, 0.3);
  color: var(--emerald);
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Glass Card Base */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #04060d;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
  color: #000000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.65rem 0;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.45));
  transition: var(--transition-smooth);
}

.site-header.scrolled .brand-logo-img {
  height: 40px;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.85));
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.25s ease-out;
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 270px;
  background: rgba(8, 14, 28, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.15);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1050;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  margin-bottom: 2px;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.nav-dropdown-link svg {
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown-link:hover {
  background: rgba(0, 242, 254, 0.08);
  color: #ffffff;
  padding-left: 1.1rem;
}

.nav-dropdown-link:hover svg {
  transform: scale(1.15);
}

/* Subpage Hero & Breadcrumbs */
.subpage-hero {
  padding: 8.5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  color: var(--cyan);
}

.breadcrumb-separator {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--cyan);
  font-weight: 600;
}

.subpage-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.subpage-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.subpage-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subpage-hero-media img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.subpage-hero-media:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 242, 254, 0.4);
}

.subpage-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.subpage-stat-item {
  display: flex;
  flex-direction: column;
}

.subpage-stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Feature & Deep Content Layouts */
.content-section {
  padding: 4.5rem 0;
}

.content-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.content-two-col.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-check-item strong {
  color: #ffffff;
}

.check-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.subpage-cta-banner {
  background: linear-gradient(135deg, rgba(14, 23, 47, 0.9) 0%, rgba(8, 13, 26, 0.95) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.15);
}

@media (max-width: 900px) {
  .content-two-col, .content-two-col.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .subpage-cta-banner {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .cards-grid-3, .cards-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Right Nav Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--gradient-brand);
  color: #04060d;
}

.lang-btn:not(.active):hover {
  color: #fff;
}

/* Hamburger Toggle - Pure CSS Bars for 100% Mobile Browser Compatibility */
.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(0, 242, 254, 0.08) !important;
  border: 1.5px solid rgba(0, 242, 254, 0.4) !important;
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.18);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  z-index: 1001;
}

.mobile-toggle .hamburger-bar {
  display: block;
  width: 21px;
  height: 2.5px;
  background-color: #00f2fe !important;
  background: #00f2fe !important;
  border-radius: 3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease;
  pointer-events: none;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible,
.mobile-toggle.active {
  background: rgba(0, 242, 254, 0.2) !important;
  border-color: #00f2fe !important;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.55);
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu CTA (hidden on desktop) */
.mobile-menu-cta {
  display: none !important;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

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

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 242, 254, 0.07);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseGlow 1.8s infinite;
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  font-family: var(--font-mono);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* Hero Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number-wrap {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.stat-suffix {
  color: var(--cyan);
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.3;
}

/* 3D Visual Showcase Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-main-card {
  background: linear-gradient(145deg, rgba(16, 24, 45, 0.92), rgba(8, 12, 25, 0.98));
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-cyan), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-4deg) rotateX(4deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-main-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 0 45px rgba(0, 242, 254, 0.4);
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

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

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.status-pill {
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--emerald);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-center {
  text-align: center;
  padding: 1rem 0;
}

.hero-card-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 1.25rem auto;
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.6));
  animation: float 4s ease-in-out infinite;
}

.card-feature-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.feat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* Floating Badges */
.hero-floating-badge {
  position: absolute;
  background: rgba(13, 19, 38, 0.95);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite alternate;
}

.badge-speed {
  top: -20px;
  left: -25px;
  border-color: rgba(0, 245, 160, 0.4);
}

.speed-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--emerald);
  box-shadow: 0 0 12px var(--emerald-glow);
}

.badge-global {
  bottom: -25px;
  right: -20px;
  border-color: rgba(0, 242, 254, 0.4);
  animation-delay: -2.5s;
}

.badge-icon-globe {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* --------------------------------------------------------------------------
   7. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
  position: relative;
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-wrap svg {
  transform: scale(1.15) rotate(4deg);
}

.icon-theme-cyan {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, rgba(0, 242, 254, 0.04) 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.18);
}

.icon-theme-blue {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.18);
}

.icon-theme-emerald {
  background: radial-gradient(circle, rgba(0, 245, 160, 0.18) 0%, rgba(0, 245, 160, 0.04) 100%);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--emerald);
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.18);
}

.icon-theme-purple {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0.04) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.18);
}

.icon-theme-amber {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, rgba(251, 191, 36, 0.04) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--amber);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.18);
}

.icon-theme-rose {
  background: radial-gradient(circle, rgba(244, 63, 94, 0.18) 0%, rgba(244, 63, 94, 0.04) 100%);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.18);
}

.service-card:hover .service-icon-wrap {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 32px currentColor;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.svc-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

/* Brand Logos Showcase Section */
.brand-showcase-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 18, 34, 0.4);
  position: relative;
  overflow: hidden;
}

.brand-showcase-header {
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.brand-logo-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.2);
}

.brand-logo-img-thumb {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: grayscale(30%) brightness(1.1);
  transition: var(--transition-fast);
}

.brand-logo-item:hover .brand-logo-img-thumb {
  filter: grayscale(0%) brightness(1.3) drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
}

.brand-logo-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.brand-logo-item:hover .brand-logo-name {
  color: #fff;
}

/* Service Card Media Preview */
.service-card-media {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: rgba(4, 6, 13, 0.6);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: var(--transition-smooth);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.service-card:hover .service-card-media {
  border-color: var(--border-medium);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: auto;
}

.service-link svg {
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. REAL PORTFOLIO & CASE STUDIES
   -------------------------------------------------------------------------- */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--gradient-brand);
  color: #04060d;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan);
  box-shadow: 0 15px 35px -5px rgba(0, 242, 254, 0.2);
}

.project-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: radial-gradient(ellipse at 50% 70%, rgba(0, 242, 254, 0.08) 0%, rgba(15, 23, 42, 0.85) 55%, #070a14 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dual-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- COMPLETE REALISTIC LAPTOP --- */
.mockup-laptop {
  position: relative;
  width: 80%;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  transform: translateX(-5%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Laptop Lid / Screen Display */
.laptop-lid {
  width: 84%;
  aspect-ratio: 16 / 10;
  background: #0d111a;
  border-radius: 8px 8px 0 0;
  padding: 6px 6px 0 6px;
  border: 1.5px solid #334155;
  border-bottom: none;
  position: relative;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.6);
}

.laptop-camera {
  position: absolute;
  top: 2.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5px;
  height: 3.5px;
  background: #020617;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 242, 254, 0.7);
}

/* Laptop Screen Display & Browser Header */
.laptop-screen {
  width: 100%;
  height: 100%;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  position: relative;
  background: #030712;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

.laptop-browser-bar {
  height: 12px;
  background: #0d121c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 5px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.browser-dots {
  display: flex;
  gap: 2px;
  align-items: center;
}

.b-dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
}
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }

.browser-url-pill {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 5.5px;
  color: #94a3b8;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.laptop-viewport {
  position: relative;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  background: #000;
}

.laptop-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.screen-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 65%);
}

/* Laptop Hinge */
.laptop-hinge {
  width: 22%;
  height: 3.5px;
  background: #1e293b;
  border-radius: 1px 1px 0 0;
  border: 1px solid #334155;
  border-bottom: none;
}

/* Laptop Lower Base / Chassis */
.laptop-base {
  width: 100%;
  position: relative;
}

.laptop-base-top {
  width: 100%;
  height: 7px;
  background: linear-gradient(to bottom, #475569 0%, #1e293b 70%, #0f172a 100%);
  border-radius: 3px 3px 0 0;
  border: 1px solid #475569;
  border-bottom: none;
  position: relative;
  display: flex;
  justify-content: center;
}

.laptop-notch {
  width: 22%;
  height: 3px;
  background: #090d16;
  border-radius: 0 0 3px 3px;
  border: 1px solid #334155;
  border-top: none;
}

.laptop-base-bottom {
  width: 102%;
  height: 5px;
  margin-left: -1%;
  background: linear-gradient(to bottom, #1e293b 0%, #090d16 100%);
  border-radius: 0 0 6px 6px;
  border: 1px solid #1e293b;
  border-top: 1px solid #334155;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.7);
}

.laptop-shadow {
  position: absolute;
  bottom: -6px;
  left: 3%;
  width: 94%;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, transparent 70%);
  filter: blur(4px);
  z-index: -1;
}

/* --- COMPLETE REALISTIC SMARTPHONE (PIXEL-PERFECT MOBILE VIEW) --- */
.mockup-phone {
  position: absolute;
  right: 5%;
  bottom: 2px;
  width: 24%;
  max-width: 86px;
  min-width: 66px;
  aspect-ratio: 9 / 18.5;
  z-index: 3;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.phone-body {
  width: 100%;
  height: 100%;
  background: #090d16;
  border-radius: 13px;
  border: 2px solid #334155;
  padding: 3.5px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 242, 254, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-island {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 4.5px;
  background: #000;
  border-radius: 8px;
  z-index: 6;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  background: #030712;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.85);
  box-sizing: border-box;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.phone-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 35%, transparent 60%);
  z-index: 4;
}

.phone-home-indicator {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  z-index: 5;
}

.phone-shadow {
  position: absolute;
  bottom: -5px;
  left: 8%;
  width: 84%;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, transparent 75%);
  filter: blur(3px);
  z-index: -1;
}

/* --- CARD HOVER EFFECTS --- */
.project-card:hover .mockup-laptop {
  transform: translateX(-5%) translateY(-4px) scale(1.02);
}

.project-card:hover .laptop-screen-img {
  transform: scale(1.06);
}

.project-card:hover .mockup-phone {
  transform: translateY(-8px) scale(1.07);
}

.project-card:hover .phone-screen-img {
  transform: scale(1.06);
}

.project-card:hover .phone-body {
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 242, 254, 0.4);
}

/* --- MODAL DUAL STAGE ENLARGED VIEW --- */
.modal-device-stage {
  width: 100%;
  min-height: 280px;
  max-height: 350px;
  background: radial-gradient(ellipse at 50% 65%, rgba(0, 242, 254, 0.12) 0%, rgba(15, 23, 42, 0.9) 60%, #050811 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-device-stage .mockup-laptop {
  width: 76%;
  max-width: 440px;
}

.modal-device-stage .laptop-lid {
  padding: 8px 8px 0 8px;
  border-radius: 10px 10px 0 0;
}

.modal-device-stage .laptop-browser-bar {
  height: 16px;
  padding: 0 8px;
}

.modal-device-stage .b-dot {
  width: 5px;
  height: 5px;
}

.modal-device-stage .browser-url-pill {
  font-size: 8px;
  padding: 2px 8px;
}

.modal-device-stage .laptop-base-top {
  height: 9px;
}

.modal-device-stage .laptop-base-bottom {
  height: 7px;
}

.modal-device-stage .mockup-phone {
  width: 22%;
  max-width: 115px;
  min-width: 85px;
  right: 6%;
  bottom: 4px;
}

.modal-device-stage .phone-body {
  border-radius: 16px;
  padding: 5px;
}

.modal-device-stage .phone-island {
  height: 6px;
  top: 6px;
}

.modal-device-stage .phone-screen {
  padding: 0;
  border-radius: 11px;
}

.project-brand-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 12, 24, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-location-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(45, 15, 75, 0.92);
  border: 1px solid rgba(127, 0, 255, 0.5);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e9d5ff;
}

.project-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.project-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-metric {
  font-size: 0.76rem;
  color: var(--emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

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

.project-live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-fast);
}

.project-live-btn:hover {
  background: rgba(0, 242, 254, 0.22);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
  transform: translateY(-1px);
}

.browser-url-link {
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.browser-url-link:hover {
  background: rgba(0, 242, 254, 0.25) !important;
  color: #fff !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.45);
}

.project-view-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.project-card:hover .project-view-btn {
  color: var(--cyan);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   9. GLOBAL REACH & MAP SHOWCASE (TURKEY & WORLDWIDE)
   -------------------------------------------------------------------------- */
.global-reach-section {
  position: relative;
  background: radial-gradient(circle at center, rgba(13, 18, 34, 0.8) 0%, var(--bg-darkest) 80%);
}

.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.reach-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.reach-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
  min-width: 0;
  width: 100%;
}

.reach-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.reach-stat-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.reach-stat-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.reach-country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.country-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.country-pill:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--border-cyan);
  color: #fff;
}

.reach-map-visual {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(16, 24, 45, 0.7), rgba(8, 12, 25, 0.9));
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.map-hub-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: var(--transition-smooth);
}

.map-hub-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-cyan);
  transform: translateX(4px);
}

.hub-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   10. WHY EYCODEX & TECH STACK
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.16) 0%, rgba(0, 242, 254, 0.04) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.feature-box:hover .feat-icon {
  background: var(--gradient-brand);
  color: #000;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
}

.feat-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.proc-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(127, 0, 255, 0.2) 0%, rgba(127, 0, 255, 0.04) 100%);
  border: 1px solid rgba(127, 0, 255, 0.35);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(127, 0, 255, 0.2);
}

.process-card:hover .proc-icon-box {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 0 25px rgba(127, 0, 255, 0.6);
}

.proc-icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.feat-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.feat-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tech Marquee */
.tech-marquee-wrapper {
  margin-top: 4rem;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.tech-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tech-pill svg {
  flex-shrink: 0;
}

.tech-pill:hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(0, 242, 254, 0.06);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   11. WORK PROCESS (6 STEPS)
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition-smooth);
}

.process-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-4px);
}

.step-watermark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}

.proc-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.proc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-wrapper {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--border-cyan);
  background: rgba(18, 28, 54, 0.75);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
  background: var(--gradient-brand);
  color: #04060d;
  border-color: transparent;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.35rem;
}

/* --------------------------------------------------------------------------
   13. CONTACT & QUOTE FORM
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  min-width: 0;
  width: 100%;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-direct-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
  min-width: 0;
  width: 100%;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
  width: 100%;
}

.contact-direct-item > div:last-child {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle, rgba(0, 242, 254, 0.16) 0%, rgba(0, 242, 254, 0.04) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  transition: var(--transition-smooth);
}

.contact-direct-item:hover .contact-icon-box {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.contact-detail-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-detail-val {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}

.contact-detail-val a {
  word-break: break-word;
  overflow-wrap: anywhere;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--emerald);
  font-weight: 600;
  max-width: 100%;
  box-sizing: border-box;
}

.response-badge span {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Form Styles */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.04);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

select.form-control option {
  background: var(--bg-surface);
  color: #fff;
  padding: 0.5rem;
}

/* Multi-Select Dropdown Component */
.custom-multiselect {
  position: relative;
  width: 100%;
  user-select: none;
}

.multiselect-trigger {
  width: 100%;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  color: #fff;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  font-family: inherit;
}

.multiselect-trigger:hover {
  border-color: rgba(0, 242, 254, 0.45);
  background: rgba(0, 242, 254, 0.03);
}

.custom-multiselect.open .multiselect-trigger {
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.multiselect-selected-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.multiselect-placeholder {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.multiselect-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.multiselect-tag-more {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.multiselect-trigger-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.multiselect-count-badge {
  background: var(--cyan);
  color: #050811;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: all var(--transition-fast);
}

.multiselect-chevron {
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.custom-multiselect.open .multiselect-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

/* Dropdown Popup Menu */
.multiselect-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(13, 19, 33, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 242, 254, 0.12);
  padding: 0.6rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  pointer-events: none;
}

.custom-multiselect.open .multiselect-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.multiselect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.4rem;
}

.multiselect-header-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.multiselect-action-btn {
  background: none;
  border: none;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.multiselect-action-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  color: #fff;
}

.multiselect-options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.multiselect-options::-webkit-scrollbar {
  width: 5px;
}
.multiselect-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.multiselect-options::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.3);
  border-radius: 4px;
}
.multiselect-options::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.6);
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.multiselect-option:hover {
  background: rgba(0, 242, 254, 0.06);
  border-color: rgba(0, 242, 254, 0.25);
  color: #fff;
}

.multiselect-option.selected {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: #fff;
  font-weight: 600;
}

.multiselect-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.multiselect-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050811;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.multiselect-option:hover .multiselect-checkbox-custom {
  border-color: rgba(0, 242, 254, 0.6);
}

.multiselect-option.selected .multiselect-checkbox-custom {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.multiselect-checkbox-custom svg {
  opacity: 0;
  transform: scale(0.6);
  transition: all var(--transition-fast);
  stroke: #050811;
}

.multiselect-option.selected .multiselect-checkbox-custom svg {
  opacity: 1;
  transform: scale(1);
}

.multiselect-option-label {
  flex: 1;
}

/* Legacy Multi-Select Service Chips (Fallback) */
.service-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.service-chip {
  position: relative;
  cursor: pointer;
  user-select: none;
  display: block;
}

.service-chip-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.service-chip-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.service-chip-content svg {
  opacity: 0.35;
  transform: scale(0.85);
  transition: all var(--transition-fast);
  color: var(--text-muted);
  flex-shrink: 0;
}

.service-chip:hover .service-chip-content {
  border-color: rgba(0, 242, 254, 0.4);
  color: #fff;
  background: rgba(0, 242, 254, 0.04);
}

.service-chip-input:checked + .service-chip-content {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--cyan);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.service-chip-input:checked + .service-chip-content svg {
  opacity: 1;
  transform: scale(1.1);
  color: var(--cyan);
}

@media (max-width: 580px) {
  .service-chips-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--gradient-brand);
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.footer-col-title {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-link-with-icon {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.footer-link-with-icon svg {
  flex-shrink: 0;
}

.footer-link-with-icon span {
  min-width: 0;
  flex: 1;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-link-with-icon span a {
  word-break: break-word;
  overflow-wrap: anywhere;
  color: inherit;
  text-decoration: none;
}

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

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}

.legal-btn:hover {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   15. FLOATING WHATSAPP & BACK TO TOP
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.contact-icon-box.icon-box-wa {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.16) 0%, rgba(0, 242, 254, 0.04) 100%);
  border-color: rgba(0, 242, 254, 0.35);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.contact-icon-box.icon-box-wa:hover {
  background: var(--gradient-brand);
  color: #04060d;
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px) scale(1.08);
}

/* --------------------------------------------------------------------------
   15. FLOATING ACTIONS (WhatsApp & Back to Top)
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  pointer-events: none;
}

.floating-actions > * {
  pointer-events: auto;
}

.float-whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 23, 47, 0.98) 0%, rgba(4, 8, 18, 0.99) 100%);
  border: 1.5px solid rgba(0, 242, 254, 0.5);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.35);
  position: relative;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-whatsapp svg {
  width: 30px;
  height: 30px;
}

.float-whatsapp:hover {
  background: var(--gradient-brand);
  color: #04060d;
  border-color: #00f2fe;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.6), 0 0 30px rgba(0, 242, 254, 0.45);
}

.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.12);
  z-index: -1;
  animation: waPulse 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  60% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.back-to-top {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  background: rgba(13, 19, 33, 0.95);
  border: 1.5px solid rgba(0, 242, 254, 0.35);
  color: #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gradient-brand);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   16. MODALS & TOASTS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-bounce);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}



.modal-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .modal-actions-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .modal-action-btn {
    white-space: normal;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
  }
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-msg {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-cyan);
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid,
  .subpage-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .subpage-hero-media {
    margin-top: 1.5rem;
  }
  .hero-badge-container {
    margin-inline: auto;
  }
  .hero-description {
    margin-inline: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .services-grid, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reach-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .site-header {
    padding: 0.65rem 0;
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 135px;
    width: auto;
    object-fit: contain;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .lang-switcher {
    padding: 2px;
  }
  .lang-btn {
    padding: 3px 8px;
    font-size: 0.72rem;
  }
  .mobile-toggle {
    display: flex !important;
  }
  /* Completely hide desktop top bar CTA on mobile/tablet to prevent any layout overflow */
  .site-header .nav-actions .btn,
  .site-header .nav-actions #nav-cta-btn,
  .site-header .nav-actions .header-cta-btn {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background: rgba(6, 10, 22, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--border-cyan);
    padding: 1.1rem 1.25rem 1.75rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 242, 254, 0.2);
    z-index: 999;
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu > li {
    width: 100%;
  }
  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 242, 254, 0.2);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
  }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--cyan);
  }
  .nav-menu .nav-link:active {
    background: rgba(0, 242, 254, 0.2) !important;
    color: #ffffff !important;
    transform: scale(0.98);
  }
  .nav-menu .nav-link::after {
    display: none;
  }
  .nav-item-dropdown {
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: var(--radius-sm);
    box-shadow: none;
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    padding: 0.4rem 0.5rem;
    width: 100%;
    min-width: unset;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.95rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 242, 254, 0.2);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  }
  .nav-dropdown-link:hover {
    background: rgba(0, 242, 254, 0.08);
    color: #ffffff;
  }
  .nav-dropdown-link:active {
    background: rgba(0, 242, 254, 0.2) !important;
    color: #ffffff !important;
    transform: scale(0.98);
  }
  /* Mobile Menu CTA inside open drawer */
  .mobile-menu-cta {
    display: block !important;
    width: 100% !important;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 242, 254, 0.2);
  }
  .mobile-menu-cta .btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }
  .services-grid, .portfolio-grid, .process-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .reach-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .reach-info-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.6rem;
  }
  .float-whatsapp {
    width: 50px;
    height: 50px;
  }
  .float-whatsapp svg {
    width: 26px;
    height: 26px;
  }
  .back-to-top {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
  .mockup-laptop {
    width: 82%;
  }
  .mockup-phone {
    width: 26%;
    right: 4%;
  }
  .modal-device-stage {
    min-height: 220px;
    padding: 1rem 0.75rem;
  }
  .modal-device-stage .mockup-laptop {
    width: 80%;
  }
  .modal-device-stage .mockup-phone {
    width: 25%;
    right: 3%;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }
  .project-img-wrap {
    aspect-ratio: 16 / 12;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  .mockup-laptop {
    width: 84%;
  }
  .mockup-phone {
    width: 30%;
    min-width: 60px;
    right: 2%;
  }
  .phone-screen {
    border-radius: 7px;
  }
  .brand-logo-img {
    height: 34px;
    max-width: 120px;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.15;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .reach-info-card {
    padding: 1.35rem 1rem;
    border-radius: var(--radius-lg);
  }
  .reach-stats-grid {
    gap: 0.65rem;
    margin: 1.25rem 0;
  }
  .reach-stat-box {
    padding: 0.85rem 0.65rem;
    border-radius: var(--radius-sm);
  }
  .reach-stat-val {
    font-size: 1.35rem;
  }
  .reach-stat-title {
    font-size: 0.74rem;
    line-height: 1.3;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem 1.15rem;
  }
  .contact-direct-item {
    gap: 0.85rem;
  }
  .contact-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  .contact-detail-val {
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 0.75rem;
  }
  .site-header {
    padding: 0.5rem 0;
  }
  .brand-logo-img {
    height: 30px;
    max-width: 105px;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .lang-switcher {
    padding: 1.5px;
  }
  .lang-btn {
    padding: 2px 6px;
    font-size: 0.68rem;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    gap: 4px;
  }
  .mobile-toggle .hamburger-bar {
    width: 18px;
    height: 2.2px;
  }
  .mobile-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(6.2px) rotate(45deg);
  }
  .mobile-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-6.2px) rotate(-45deg);
  }
  .reach-info-card {
    padding: 1.1rem 0.75rem;
  }
  .reach-stats-grid {
    gap: 0.5rem;
  }
  .reach-stat-box {
    padding: 0.65rem 0.5rem;
  }
  .reach-stat-val {
    font-size: 1.2rem;
  }
  .reach-stat-title {
    font-size: 0.68rem;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 1.25rem 0.85rem;
  }
  .contact-direct-item {
    gap: 0.65rem;
  }
  .contact-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .contact-detail-val {
    font-size: 0.82rem;
  }
  .contact-detail-title {
    font-size: 0.72rem;
  }
}


