/* ==========================================================================
   CodeTech Ph - Design System & Stylesheet
   Theme: Obsidian Cyber Tech / Neon Cyan & Electric Blue
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070a14;
  --bg-secondary: #0c1224;
  --bg-card: rgba(14, 22, 45, 0.7);
  --bg-card-hover: rgba(20, 32, 65, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  /* Primary & Accent Glows */
  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #3b82f6 50%, #8b5cf6 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #2563eb 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(17, 26, 52, 0.75) 0%, rgba(10, 16, 33, 0.85) 100%);
  --grad-badge: linear-gradient(90deg, rgba(0, 242, 254, 0.15), rgba(99, 102, 241, 0.15));
  --grad-glow-mesh: radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.12) 0%, rgba(37, 99, 235, 0.08) 35%, transparent 70%);

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-accent: #38bdf8;
  
  /* Shadows & Glows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --glow-cyan: 0 0 30px rgba(0, 242, 254, 0.35);
  --glow-blue: 0 0 30px rgba(37, 99, 235, 0.35);
  --glow-btn: 0 0 20px rgba(0, 242, 254, 0.4);

  /* Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Orbs */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  will-change: transform;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: var(--accent-cyan);
  top: -10%;
  left: -5%;
}

.orb-2 {
  width: 650px;
  height: 650px;
  background: var(--accent-blue);
  top: 35%;
  right: -10%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: var(--accent-violet);
  bottom: 5%;
  left: 20%;
  animation-duration: 25s;
  animation-delay: -10s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

.cyan-text {
  color: var(--accent-cyan);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--grad-badge);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cyan-blue);
  color: #070a14;
  font-weight: 700;
  box-shadow: var(--glow-btn);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

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

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

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   Navigation Bar (Ultra-Modern Floating Glassmorphic Pill)
   ========================================================================== */
.site-nav-wrapper {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
  transition: var(--transition);
}

.site-nav {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 1180px;
  background: rgba(10, 15, 30, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.25rem;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav.scrolled {
  background: rgba(7, 10, 22, 0.92);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.2);
  padding: 0.5rem 1.2rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-cyan-blue);
  color: #070a14;
  font-family: 'Fira Code', monospace;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
  transition: var(--transition);
}

.brand-logo:hover .logo-badge {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.8);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo-text span {
  color: var(--accent-cyan);
}

.logo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 242, 254, 0.3);
  margin-left: 4px;
}

/* Nav Links Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Nav Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-nav-messenger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  background: rgba(0, 132, 255, 0.12);
  border: 1px solid rgba(0, 132, 255, 0.3);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
}

.btn-nav-messenger:hover {
  background: rgba(0, 132, 255, 0.25);
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(0, 132, 255, 0.4);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  background: var(--grad-cyan-blue);
  color: #070a14;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
  transition: var(--transition);
}

.btn-nav-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 9.5rem;
  padding-bottom: 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.hero-content {
  position: relative;
}

.hero-badge-container {
  margin-bottom: 1.5rem;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan);
  animation: pulseAnim 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-tagline-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dim);
}

.hero-tagline-bar span {
  color: var(--accent-cyan);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

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

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Hero Terminal Visual */
.hero-visual {
  position: relative;
}

.ide-window {
  background: rgba(11, 17, 36, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), var(--glow-cyan);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.ide-window:hover {
  border-color: rgba(0, 242, 254, 0.4);
}

.ide-header {
  background: rgba(7, 10, 22, 0.9);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

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

.ide-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

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

.ide-tabs {
  display: flex;
  gap: 0.25rem;
}

.ide-tab {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Fira Code', monospace;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ide-tab.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-cyan);
}

.ide-content {
  padding: 1.25rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
  min-height: 320px;
}

.code-line {
  display: flex;
  align-items: flex-start;
  white-space: pre-wrap;
}

.line-num {
  color: var(--text-dim);
  user-select: none;
  width: 2rem;
  flex-shrink: 0;
}

.token-kw { color: #f43f5e; font-weight: 600; }
.token-fn { color: #38bdf8; }
.token-str { color: #34d399; }
.token-obj { color: #fbbf24; }
.token-comm { color: #64748b; font-style: italic; }
.token-var { color: #a78bfa; }

/* Floating Feature Badges */
.float-card {
  position: absolute;
  background: rgba(14, 23, 48, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

.float-card-1 {
  bottom: -20px;
  left: -20px;
}

.float-card-2 {
  top: -15px;
  right: -15px;
  animation-delay: -3s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-cyan-blue);
  color: #070a14;
}

.float-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
}

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

/* ==========================================================================
   Tech Stack Infinite Marquee
   ========================================================================== */
.marquee-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(9, 14, 28, 0.5);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.marquee-track-wrapper {
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  animation: marqueeScroll 28s linear infinite;
  align-items: center;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

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

.tech-pill svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Services Matrix (Interactive Bento Grid)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.12), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5), var(--glow-cyan);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  background: var(--grad-cyan-blue);
  color: #070a14;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

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

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

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.service-link:hover {
  gap: 0.75rem;
  color: #fff;
}

/* ==========================================================================
   Interactive Cost & Scope Estimator
   ========================================================================== */
.calculator-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.calc-radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.calc-radio-label input {
  display: none;
}

.calc-radio-label svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.calc-radio-label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-radio-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 242, 254, 0.3);
}

.calc-radio-label.selected {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.calc-radio-label.selected svg {
  color: var(--accent-cyan);
}

.calc-radio-label.selected span {
  color: var(--text-main);
}

/* Feature Checkboxes */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.feature-check-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.feature-check-label input {
  accent-color: var(--accent-cyan);
  width: 16px;
  height: 16px;
}

.feature-check-label:hover {
  background: rgba(255, 255, 255, 0.05);
}

.feature-check-label.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--text-main);
}

/* Calculator Summary Box */
.calc-summary-box {
  background: rgba(7, 10, 22, 0.7);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.summary-header h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

.price-estimate-box {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(0, 242, 254, 0.05);
  border: 1px dashed rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
}

.estimate-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.estimate-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: 'Outfit', sans-serif;
  margin: 0.25rem 0;
}

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

.summary-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.summary-perks li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-perks li svg {
  color: var(--accent-emerald);
}

/* ==========================================================================
   Portfolio / Case Studies
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-cyan-blue);
  color: #070a14;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

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

.project-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7), var(--glow-cyan);
}

.project-preview {
  position: relative;
  background: #060914;
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.project-browser-frame {
  display: flex;
  flex-direction: column;
}

.browser-mockup-header {
  height: 32px;
  background: rgba(7, 10, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.browser-url-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 2px 14px;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #090e1f;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 20, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(7, 10, 20, 0.85);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  z-index: 2;
}

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

.project-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

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

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

.project-tag {
  font-size: 0.72rem;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
}

.btn-visit-site {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-visit-site:hover {
  background: var(--grad-cyan-blue);
  color: #070a14;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   Engineering Process (Roadmap)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.4);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

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

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

/* ==========================================================================
   Testimonials & Trust
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-stars {
  display: flex;
  gap: 3px;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-cyan-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #070a14;
}

.client-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.client-info p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(0, 242, 254, 0.35);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Contact / Consultation CTA Banner & Form
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(14, 23, 50, 0.95) 0%, rgba(7, 10, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--glow-cyan);
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.cta-banner-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-banner-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.quick-link-item:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.quick-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

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

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

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.form-select option {
  background: #0d1326;
  color: #fff;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #04060d;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem 0;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  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-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-cyan);
  color: #070a14;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

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

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Floating Quick Actions (Messenger / Call) */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-action-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad-cyan-blue);
  color: #070a14;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.5);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.float-action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.8);
}

.float-tooltip {
  position: absolute;
  right: 65px;
  background: rgba(7, 10, 20, 0.95);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-action-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(-5px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.08); }
  100% { transform: translate(-40px, 50px) scale(0.95); }
}

@keyframes pulseAnim {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

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

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .site-nav {
    max-width: 95%;
  }
  .nav-links a {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tagline-bar {
    justify-content: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-card {
    grid-template-columns: 1fr;
  }
  .cta-banner-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav-wrapper {
    top: 0.75rem;
    padding: 0 0.75rem;
  }
  .site-nav {
    border-radius: 16px;
    padding: 0.5rem 1rem;
  }
  .nav-links {
    display: none;
  }
  .btn-nav-messenger {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  /* Mobile Dropdown Drawer */
  .mobile-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    background: rgba(10, 15, 32, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 18px;
    padding: 1.5rem;
    gap: 0.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.15);
  }

  .mobile-menu-active .nav-links a {
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    width: 100%;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-card,
  .cta-banner {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
