/* 
  Northgate Solutions LLC - Main Stylesheet
  Focus: Modern Dark Mode, Glassmorphism, Glowing Accents, Smooth Transitions
*/

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

:root {
  /* Color Palette (Informed by Logo Colors) */
  --bg-primary: #030811;
  --bg-secondary: #071120;
  --bg-tertiary: #0b1a30;
  
  --primary-navy: #1f3a5b;     /* Logo Navy Blue */
  --dark-navy: #0d2d4d;        /* Logo Dark Navy */
  --slate-grey: #a4aebb;       /* Logo Slate Grey Accent */
  
  /* Glowing Accents */
  --accent-cyan: #00f2fe;      /* Electric Cyan */
  --accent-blue: #0076ff;      /* Tech Blue */
  --accent-violet: #8a2be2;    /* Modern Purple */
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* System Values */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-glass: 1px solid rgba(164, 174, 187, 0.1);
  --border-glass-glow: 1px solid rgba(0, 242, 254, 0.25);
  --shadow-glow: 0 0 30px rgba(0, 118, 255, 0.15);
  --shadow-cyan-glow: 0 0 25px rgba(0, 242, 254, 0.2);
}

/* Base Settings & Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Background Animated Gradient Mesh */
.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.background-glow-1 {
  position: absolute;
  top: -10%;
  left: 15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 118, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: floatGlow 15s infinite alternate ease-in-out;
}

.background-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

.background-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  opacity: 0.8;
  z-index: -1;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}

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

p {
  color: var(--text-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--slate-grey) 70%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-accent-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons & CTA styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--dark-navy) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 118, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(164, 174, 187, 0.08);
  color: var(--text-primary);
  border: var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(164, 174, 187, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: var(--bg-primary);
  font-weight: 700;
  box-shadow: var(--shadow-cyan-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.4);
}

/* Glassmorphism containers */
.glass-container {
  background: rgba(8, 18, 37, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(3, 8, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.85rem 2rem;
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.logo-img {
  height: 36px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header.scrolled .logo-img {
  height: 32px;
}

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

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

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition-smooth);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-blue));
  transition: var(--transition-smooth);
  border-radius: 2px;
}

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

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Main Content Layout */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 50px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.hero-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}

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

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-item h3 span {
  color: var(--accent-cyan);
}

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

/* CSS-Animated Visual for Hero (Tech Graphic) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 480px;
}

.tech-orb-container {
  position: relative;
  width: 320px;
  height: 320px;
}

.tech-orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 118, 255, 0.15) 0%, rgba(3, 8, 17, 0.4) 60%);
  border-radius: 50%;
  border: 1px dashed rgba(0, 242, 254, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spin 30s linear infinite;
}

.tech-orb-inner {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1px double rgba(138, 43, 226, 0.2);
  animation: spin 20s linear infinite reverse;
}

.tech-orb-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  height: 44%;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  animation: floatCenter 6s ease-in-out infinite;
}

.tech-logo-icon {
  width: 80%;
  height: 80%;
  object-fit: contain;
  border-radius: 50%;
}

@keyframes floatCenter {
  0% { transform: translate(-50%, -50%) translateY(0px) scale(1); }
  50% { transform: translate(-50%, -50%) translateY(-8px) scale(1.03); }
  100% { transform: translate(-50%, -50%) translateY(0px) scale(1); }
}

.node-item {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(7, 17, 32, 0.85);
  border: 1px solid rgba(164, 174, 187, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.node-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.node-item:hover {
  transform: scale(1.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Placing nodes on orbital positions */
.node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.node-3 { top: 50%; left: 0; transform: translate(-50%, -50%); }
.node-4 { top: 50%; right: 0; transform: translate(50%, -50%); }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
  100% { transform: translateY(0px) scale(1); }
}

/* Section Common Styles */
section {
  padding: 7rem 0;
}

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

.section-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  display: block;
}

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

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

/* Grid & Cards for Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-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.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05), 0 0 1px 1px rgba(0, 242, 254, 0.2) inset;
}

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

.solution-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(164, 174, 187, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.solution-icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 1.5;
  transition: var(--transition-smooth);
}

.solution-card:hover .solution-icon-box {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.solution-card:hover .solution-icon-box svg {
  stroke: var(--accent-cyan);
  transform: scale(1.05);
}

.solution-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

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

.solution-features {
  list-style: none;
  margin-bottom: 2rem;
}

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

.solution-features li svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-cyan);
}

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

.solution-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.solution-link:hover {
  gap: 0.75rem;
}

/* Feature Details & Architecture grid */
.tech-capabilities {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.capabilities-visual {
  position: relative;
  background: rgba(8, 18, 37, 0.3);
  border: var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
  overflow: hidden;
}

.mesh-container {
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 1rem;
}

.mesh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.mesh-node {
  padding: 0.75rem 1.25rem;
  background: rgba(3, 8, 17, 0.9);
  border: var(--border-glass);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-secondary);
  z-index: 2;
  transition: var(--transition-smooth);
}

.mesh-node.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  color: var(--text-primary);
}

.mesh-line-horizontal {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 242, 254, 0.3), transparent);
  width: 100%;
  left: 0;
  z-index: 1;
}

.mesh-line-vertical {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(138, 43, 226, 0.3), transparent);
  height: 100%;
  left: 50%;
  top: 0;
  z-index: 1;
}

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

.capability-item {
  padding: 1.5rem;
}

.capability-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.capability-item h4 svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
}

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

/* Portfolio Section - Screenshot Mockups */
.portfolio-showcase {
  background: radial-gradient(circle at bottom, var(--bg-tertiary) 0%, transparent 100%);
  position: relative;
}

.portfolio-slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
}

/* Elegant CSS Phone Mockups for Screenshots */
.phone-mockup {
  position: relative;
  width: 280px;
  height: 570px;
  border-radius: 40px;
  background: #111827;
  border: 10px solid #1f2937;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.phone-mockup:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 35px 60px -10px rgba(0, 242, 254, 0.12), 0 0 0 2px rgba(0, 242, 254, 0.2);
}

/* Speaker & Camera notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #1f2937;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notch-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #374151;
  margin-left: 15px;
}

.notch-speaker {
  width: 35px;
  height: 3px;
  border-radius: 20px;
  background: #4b5563;
}

/* Screen container for screenshots */
.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-label {
  text-align: center;
  margin-top: 1.5rem;
}

.phone-label h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

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

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-stat-card {
  padding: 1.5rem;
  border-radius: 16px;
  border: var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.about-stat-card h4 {
  font-size: 1.6rem;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.about-stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Sizing & ROI Calculator */
.calculator-box {
  max-width: 900px;
  margin: 4rem auto 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.form-group label span.range-value {
  color: var(--accent-cyan);
}

/* Custom slider style */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  cursor: pointer;
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: rgba(3, 8, 17, 0.5);
  border-radius: 16px;
  border: var(--border-glass-glow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-cyan-glow);
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.calc-result-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.calc-breakdown {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

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

.breakdown-val {
  color: var(--text-primary);
  font-weight: 600;
}

/* Contact Section & Form (No Address) */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-panel p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-cyan);
  fill: none;
}

.contact-text h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.contact-text p {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0;
}

.contact-text a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

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

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

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.form-input, .form-textarea, .form-select {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(3, 8, 17, 0.6);
  border: 1px solid rgba(164, 174, 187, 0.15);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
}

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

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

/* Form success overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 8, 17, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-modal {
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .success-modal {
  transform: scale(1);
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 2px solid var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-cyan);
  stroke-width: 2.5;
}

.success-modal h4 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.success-modal p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* Footer Section */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2.5rem 0;
  background-color: #02050b;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo-panel p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-nav-col h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-nav-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-nav-col a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-newsletter h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 0.85rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.newsletter-btn {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--accent-blue);
  color: var(--text-primary);
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.social-link {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-capabilities {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .portfolio-slider-container {
    gap: 1.5rem;
  }
  .phone-mockup {
    width: 240px;
    height: 490px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header {
    padding: 1rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(3, 8, 17, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    z-index: 100;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-cta {
    display: none; /* Hide top CTA on mobile, can put inside mobile menu */
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-items: center;
  }
  .hero-visual {
    height: 380px;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-slider-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
