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

:root {
  --bg-dark: #05050c;
  --bg-card: rgba(10, 11, 28, 0.45);
  --border-color: rgba(255, 255, 255, 0.07);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --primary: #6366f1; /* Cyber Indigo */
  --primary-glow: rgba(99, 102, 241, 0.25);
  --secondary: #06b6d4; /* Cyber Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.25);
  --accent: #ec4899; /* Radiant Pink */
  --accent-glow: rgba(236, 72, 153, 0.25);
  --gradient-tech: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #818cf8 100%);
  --gradient-cyber: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius-xl: 24px;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 8px var(--primary-glow);
}

/* Grid & Glow Overlay Background */
.app-container {
  position: relative;
  min-height: 100vh;
}

.ambient-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.2;
  mix-blend-mode: screen;
}

.glow-orb-1 {
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--primary);
  animation: floatOrb 25s infinite alternate;
}

.glow-orb-2 {
  top: 40%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: var(--secondary);
  animation: floatOrb 20s infinite alternate-reverse;
}

.glow-orb-3 {
  bottom: 10%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: var(--accent);
  animation: floatOrb 30s infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.1); }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.neon-text-primary {
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.neon-text-accent {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

/* Global Buttons & Links */
a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  color: #fff;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

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

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

.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-cyber {
  background: var(--gradient-tech);
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-cyber:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

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

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

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.05) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Header / Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 1rem 0;
  background: rgba(5, 5, 12, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-tech);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-glow);
}

.logo-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--bg-dark);
  border-radius: 3px;
  transform: rotate(45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-tech);
  transition: var(--transition-fast);
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 11rem 0 6rem 0;
  display: flex;
  align-items: center;
  min-height: 95vh;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.badge-futuristic {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(90deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating Code / Mockup Canvas */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.canvas-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  z-index: 0;
}

.visual-mockup {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-xl);
  z-index: 1;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: floatMockup 6s ease-in-out infinite alternate;
}

@keyframes floatMockup {
  0% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0px); }
  100% { transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) translateY(-15px); }
}

.mockup-inner {
  width: 100%;
  height: 100%;
  background: rgba(10, 11, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
}

.mockup-dots {
  display: flex;
  gap: 0.4rem;
}

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

.mockup-dot-red { background: #ef4444; }
.mockup-dot-yellow { background: #eab308; }
.mockup-dot-green { background: #22c55e; }

.mockup-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mockup-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  padding: 1.5rem 0;
}

.tech-bubble {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateZ(20px);
  transition: var(--transition-smooth);
}

.tech-bubble:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateZ(35px) scale(1.03);
}

.bubble-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.bubble-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.bubble-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.bubble-icon.pink { background: rgba(236, 72, 153, 0.15); color: #ec4899; }

.bubble-content {
  flex-grow: 1;
}

.bubble-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.bubble-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.bubble-fill {
  height: 100%;
  background: var(--gradient-tech);
  border-radius: 2px;
}

/* Sections Common Styling */
.section {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
}

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

.section-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  overflow: hidden;
  cursor: pointer;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
  color: var(--primary);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.1) rotate(5deg);
}

.service-card:nth-child(2):hover .service-icon-wrapper {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 0 20px var(--secondary-glow);
}

.service-card:nth-child(3):hover .service-icon-wrapper {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.service-card:nth-child(2) .service-icon-wrapper {
  color: var(--secondary);
}

.service-card:nth-child(3) .service-icon-wrapper {
  color: var(--accent);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-title {
  color: #fff;
}

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

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: auto;
  transition: var(--transition-fast);
}

.service-learn-more svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
  fill: currentColor;
}

.service-card:hover .service-learn-more {
  color: var(--primary);
  gap: 0.8rem;
}

.service-card:nth-child(2):hover .service-learn-more {
  color: var(--secondary);
}

.service-card:nth-child(3):hover .service-learn-more {
  color: var(--accent);
}

/* Interactive Preview / Portfolio Section */
.showcase-container {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 3rem;
  align-items: stretch;
}

.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

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

.showcase-tab.active {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: inset 0 0 10px rgba(99, 102, 241, 0.05);
}

.showcase-tab.active h3 {
  color: #fff;
}

.showcase-tab-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.tab-icon {
  font-size: 1.3rem;
}

.showcase-tab-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

/* Display Mockup Frame */
.showcase-display {
  display: flex;
  align-items: center;
  justify-content: center;
}

.display-frame {
  width: 100%;
  background: rgba(10, 11, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.display-header {
  background: rgba(5, 5, 12, 0.8);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.display-address {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.2rem 1.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 50%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.display-content {
  flex-grow: 1;
  padding: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.preview-pane {
  width: 100%;
  height: 100%;
  display: none;
  animation: paneFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preview-pane.active {
  display: block;
}

@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* CSS Mockups Internals */
/* SaaS Mockup */
.mockup-saas {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  height: 100%;
  width: 100%;
}

.saas-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.saas-side-item {
  height: 32px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  width: 100%;
}

.saas-side-item.active {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.saas-main {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.saas-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
}

.saas-chart {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  min-height: 180px;
  position: relative;
}

.saas-chart::after {
  content: 'MONTHLY ACTIVE USERS';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.chart-bar {
  width: 24px;
  background: var(--gradient-tech);
  border-radius: 4px 4px 0 0;
  animation: growBar 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: bottom;
}

@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* App Mockup (Mobile outline) */
.mockup-app {
  width: 230px;
  height: 380px;
  margin: 0 auto;
  border: 8px solid #1e293b;
  border-radius: 36px;
  background: #090d16;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.app-camera {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #1e293b;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 5;
}

.app-screen {
  padding: 2.2rem 1rem 1rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-widget {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.app-feed-item {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.app-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-tech);
}

/* Web Mockup */
.mockup-web {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.web-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.web-hero {
  text-align: center;
  padding: 2.5rem 1rem;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.web-cta-btn {
  background: var(--secondary);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 0 10px var(--secondary-glow);
}

/* E-Commerce Mockup */
.mockup-ecommerce {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.shop-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition-fast);
}

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

.shop-img {
  height: 80px;
  background: var(--gradient-tech);
  border-radius: 8px;
  opacity: 0.85;
}

.shop-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Cost Estimator Section */
.estimator-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.control-value-badge {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Futuristic Slider Styling */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 10px var(--secondary-glow);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Feature Grid Checkboxes */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-checkbox-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.feature-checkbox-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-checkbox-card.selected {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.05);
}

.checkbox-indicator {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.feature-checkbox-card.selected .checkbox-indicator {
  border-color: var(--secondary);
  background: var(--secondary);
}

.checkbox-indicator svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 3px;
  display: none;
}

.feature-checkbox-card.selected .checkbox-indicator svg {
  display: block;
}

.feature-label-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.feature-checkbox-card.selected .feature-label-text {
  color: var(--text-primary);
}

/* Estimator Result Card */
.estimator-result {
  position: sticky;
  top: 100px;
}

.result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.result-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.result-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.result-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.metric-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

.metric-val-big {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.metric-val-medium {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.result-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.spec-line-label {
  color: var(--text-muted);
}

.spec-line-val {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Timeline/Process Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  background: var(--gradient-tech);
  transform: translateX(-50%);
  height: 0%;
  transition: height 0.1s ease-out;
  box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}

.timeline-badge {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #090d16;
  border: 3px solid rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-item.active .timeline-badge {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  background: #fff;
}

.timeline-panel {
  width: 44%;
  float: left;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-panel {
  float: right;
}

.timeline-step {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}

.timeline-item:nth-child(2) .timeline-step { color: var(--secondary); }
.timeline-item:nth-child(3) .timeline-step { color: var(--accent); }
.timeline-item:nth-child(4) .timeline-step { color: var(--primary); }
.timeline-item:nth-child(5) .timeline-step { color: var(--secondary); }

.timeline-title {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

/* Contact Hub Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-title-main {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row-double {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.12);
}

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

.form-status {
  padding: 1rem;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 0.8rem;
  animation: paneFadeIn 0.3s ease forwards;
}

.form-status.success {
  display: flex;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

/* Footer Section */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: rgba(3, 3, 7, 0.8);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  font-size: 1.4rem;
}

.footer-desc {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

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

.footer-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

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

.footer-systems-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  color: #4ade80;
  font-weight: 500;
}

.ping-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 1.5s infinite;
}

/* Responsiveness Rules */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    order: -1;
  }
  .visual-mockup {
    max-width: 360px;
  }
  .estimator-wrapper, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .estimator-result {
    position: static;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 3rem !important; }
  h2 { font-size: 2.2rem !important; }
  .nav-menu {
    display: none; /* simple hidden state for base layout */
  }
  .nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }
  .mobile-nav-toggle {
    display: block;
  }
  .showcase-container {
    grid-template-columns: 1fr;
  }
  .timeline::before, .timeline-progress {
    left: 20px;
  }
  .timeline-badge {
    left: 20px;
  }
  .timeline-panel {
    width: calc(100% - 40px);
    float: right !important;
    padding-left: 1rem;
  }
  .form-row-double {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
