@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================
   CSS CUSTOM VARIABLES & TOKENS
   ========================================== */
:root {
  /* Color Palette */
  --color-bg-base: #050608;
  --color-bg-surface: #0a0d14;
  --color-bg-card: #0f131a;
  
  --color-accent-primary: #00f2fe; /* Cyber Cyan */
  --color-accent-secondary: #4facfe; /* Royal Neon Blue */
  --color-accent-purple: #7f00ff; /* Deep Cosmic Purple */
  
  --color-text-primary: #ffffff;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #475569;
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 60%);
  --gradient-dark: linear-gradient(180deg, var(--color-bg-base) 0%, var(--color-bg-surface) 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  --gradient-brand-text: linear-gradient(135deg, var(--color-accent-primary) 0%, #a78bfa 100%);

  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Sizing */
  --header-height: 80px;
  --container-width: 1280px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   GLOBAL RESET & INITIAL SETUP
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: var(--gradient-dark);
  min-height: 100vh;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border: 2px solid var(--color-bg-base);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-primary);
}

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

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

section {
  padding: 100px 0;
  position: relative;
}

/* Grid helper */
.grid {
  display: grid;
  gap: 30px;
}

/* ==========================================
   COMPONENTS & UTILITIES
   ========================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

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

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--color-accent-primary);
  background: rgba(0, 242, 254, 0.05);
  color: var(--color-accent-primary);
  transform: translateY(-2px);
}

/* Neon Text */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Frosted Glass Panels */
.glass-panel {
  background: rgba(10, 13, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-primary);
  margin-bottom: 12px;
  display: inline-block;
  background: rgba(0, 242, 254, 0.07);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

/* Card Hover glow border technique */
.glow-card {
  position: relative;
  background: rgba(15, 19, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  padding: 40px;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.glow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.2);
  background: rgba(15, 19, 26, 0.8);
}

.glow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius-md);
  padding: 1.5px; /* Border thickness */
  background: radial-gradient(
    300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(0, 242, 254, 0.3) 0%,
    rgba(79, 172, 254, 0.1) 40%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Canvas background styles */
#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: background var(--transition-fast), border-color var(--transition-fast), backdrop-filter var(--transition-fast);
}

header.sticky {
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-glow {
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-primary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all var(--transition-fast);
}

/* Burger Animation states */
.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.burger-menu.open span:nth-child(2) {
  opacity: 0;
}
.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.hero-tag span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  box-shadow: 0 0 10px var(--color-accent-primary);
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
}

.kpi-item h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  margin-bottom: 5px;
}

.kpi-item p {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-main-card {
  padding: 30px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform var(--transition-slow);
}

.hero-visual:hover .hero-main-card {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mock-window-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mock-dot:nth-child(1) { background: #ff5f56; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #27c93f; }

.mock-window-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mock-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.mock-bar-md { width: 60%; }
.mock-bar-lg { width: 90%; }
.mock-bar-sm { width: 40%; }

.mock-box {
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(79, 172, 254, 0.05) 100%);
  border-radius: 8px;
  border: 1px dashed rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 500;
  color: var(--color-accent-primary);
  font-size: 0.9rem;
}

.hero-glow-sphere {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent-primary);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features svg {
  color: var(--color-accent-primary);
  width: 14px;
  height: 14px;
}

/* ==========================================
   SHOWCASE (PORTFOLIO) SECTION
   ========================================== */
.showcase-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  list-style: none;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent-primary);
  color: #000;
  border-color: var(--color-accent-primary);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.showcase-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition-normal);
  aspect-ratio: 4 / 3;
}

.showcase-img-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0d1117;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.95) 10%, rgba(5, 6, 8, 0.4) 60%, transparent 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.showcase-card:hover .showcase-img {
  transform: scale(1.08);
}

.showcase-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.showcase-tag {
  font-size: 0.75rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--color-accent-primary);
  padding: 3px 8px;
  border-radius: 4px;
}

.showcase-project-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.showcase-project-desc {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: rgba(5, 6, 8, 0.95);
  backdrop-filter: blur(15px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border-radius: var(--border-radius-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--color-bg-surface);
}

.lightbox-visual {
  background: #090c10;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-preview-window {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lightbox-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-accent-primary);
  transform: rotate(90deg);
}

.lightbox-meta {
  margin-bottom: 30px;
}

.lightbox-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.lightbox-desc {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
}

.lightbox-subtitle {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lightbox-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.lightbox-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.lightbox-quote {
  border-left: 3px solid var(--color-accent-primary);
  padding-left: 20px;
  margin-bottom: 30px;
  font-style: italic;
  color: var(--color-text-secondary);
}

.lightbox-author {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  font-style: normal;
  color: #fff;
}

/* ==========================================
   INTERACTIVE COST CALCULATOR
   ========================================== */
.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.calc-section {
  margin-bottom: 35px;
}

.calc-section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-primary);
  margin-bottom: 20px;
}

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

.calc-option-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  position: relative;
}

.calc-option-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.02);
}

.calc-option-card.active {
  border-color: var(--color-accent-primary);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.1);
}

.calc-card-icon {
  margin-bottom: 12px;
  color: var(--color-accent-primary);
}

.calc-card-title {
  font-size: 1rem;
  margin-bottom: 4px;
}

.calc-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
}

.slider-header span {
  font-weight: 600;
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #1e293b;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  list-style: none;
}

.calc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.calc-checkbox-label:hover {
  border-color: rgba(0, 242, 254, 0.2);
}

.calc-checkbox-label.active {
  border-color: var(--color-accent-primary);
  background: rgba(0, 242, 254, 0.03);
}

.calc-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.calc-checkbox:checked {
  border-color: var(--color-accent-primary);
  background: var(--color-accent-primary);
}

.calc-checkbox:checked::after {
  content: "✓";
  position: absolute;
  color: #000;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

.calc-summary-panel {
  padding: 40px;
  position: sticky;
  top: 120px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.calc-summary-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
}

.calc-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.calc-summary-item span:nth-child(2) {
  color: #fff;
  font-weight: 500;
}

.calc-summary-total {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  margin-top: 25px;
  padding-top: 25px;
}

.calc-summary-total .total-label {
  font-size: 1.1rem;
  font-weight: 600;
}

.calc-summary-total .total-price {
  font-size: 2.2rem;
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--color-accent-primary);
}

.calc-timeline-estimate {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.1);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--color-accent-primary);
  margin: 24px 0;
}

.calc-summary-panel .btn {
  width: 100%;
}

/* ==========================================
   DEVELOPMENT PROCESS SECTION
   ========================================== */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08) 10%, rgba(255, 255, 255, 0.08) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-progress-bar {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0%; /* Driven by JS on scroll */
  background: var(--gradient-brand);
  transform: translateX(-50%);
  z-index: 1;
  transition: height 0.1s ease-out;
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg-base);
  border: 3px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  z-index: 2;
  transition: all var(--transition-normal);
}

.timeline-item.active .timeline-dot {
  border-color: var(--color-accent-primary);
  background: var(--color-accent-primary);
  box-shadow: 0 0 15px var(--color-accent-primary);
}

.timeline-card {
  width: 45%;
  padding: 30px;
  transition: all var(--transition-normal);
}

.timeline-card-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 15px;
  right: 30px;
  line-height: 1;
  transition: color var(--transition-normal);
}

.timeline-item.active .timeline-card-number {
  color: rgba(0, 242, 254, 0.08);
}

.timeline-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.timeline-card-desc {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

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

.testimonial-stars {
  color: #ffbd2e;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #000;
  font-family: var(--font-headings);
}

.client-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

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

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0;
}

.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.channel-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  flex-shrink: 0;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.channel-details p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--color-accent-primary);
  background: rgba(0, 242, 254, 0.05);
  color: var(--color-accent-primary);
  transform: translateY(-2px);
}

/* Form Styles */
.contact-form-panel {
  padding: 45px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
  color: #fff;
}

.form-input:focus {
  border-color: var(--color-accent-primary);
  background: rgba(0, 242, 254, 0.01);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.form-label {
  position: absolute;
  left: 16px;
  top: 18px;
  color: var(--color-text-secondary);
  pointer-events: none;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

/* Floating label effect */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 0.75rem;
  color: var(--color-accent-primary);
  background: #090c10;
  padding: 0 6px;
  border-radius: 4px;
}

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

.contact-form-panel .btn {
  width: 100%;
}

/* Form status popup */
.form-success-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(10, 20, 15, 0.9);
  border: 1px solid #10b981;
  padding: 20px 30px;
  border-radius: 8px;
  z-index: 1002;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateY(150px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.form-success-popup.active {
  transform: translateY(0);
  opacity: 1;
}

.success-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--color-bg-base);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 30px;
  max-width: 280px;
}

.footer-links-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

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

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
  70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 30px auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-kpis {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-main-card {
    transform: none !important;
  }
  
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  
  .calc-summary-panel {
    position: static;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  /* Mobile Navigation Drawer styles */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--header-height));
    background: #050608;
    z-index: 99;
    padding: 40px;
    gap: 30px;
    animation: slideIn 0.3s forwards ease;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .kpi-item h3 {
    font-size: 1.8rem;
  }
  
  .lightbox-content {
    grid-template-columns: 1fr;
  }
  
  .lightbox-visual {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .process-timeline::before,
  .timeline-progress-bar {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-item {
    justify-content: flex-end;
  }
  
  .timeline-card {
    width: calc(100% - 40px);
    margin-left: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group.full-width {
    grid-column: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-kpis {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
