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

:root {
  --primary: #5A4FCF;
  --accent: #22D3EE;
  --bg: #0f0f1a;
  --card-bg: rgba(255,255,255,0.05);
  --text: #e0e0ff;
  --text-muted: #9090c0;
  --border: rgba(255,255,255,0.1);
  --gradient: linear-gradient(135deg, #5A4FCF, #22D3EE);
  --gradient-bg: linear-gradient(135deg, #0f0f1a 0%, #1a1040 50%, #0f1a2a 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Glass Card */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #5A4FCF, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 30px rgba(90,79,207,0.5);
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(34,211,238,0.6);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 20px rgba(34,211,238,0.2);
}

.btn-outline:hover {
  background: rgba(34,211,238,0.1);
  box-shadow: 0 0 30px rgba(34,211,238,0.4);
  transform: translateY(-2px);
  opacity: 1;
}

/* Section */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15,15,26,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5A4FCF, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-menu a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--accent);
  background: rgba(34,211,238,0.08);
  opacity: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(15,15,26,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.dropdown-menu a:hover {
  color: var(--accent);
  background: rgba(34,211,238,0.08);
  opacity: 1;
}

.nav-cta { margin-left: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(90,79,207,0.3) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,0.2) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

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

/* Dashboard Mockup */
.dashboard-mockup {
  position: relative;
}

.dash-window {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.dash-topbar {
  background: rgba(255,255,255,0.05);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dash-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dash-dot:nth-child(1) { background: #ff5f57; }
.dash-dot:nth-child(2) { background: #ffbd2e; }
.dash-dot:nth-child(3) { background: #28c840; }

.dash-title-bar {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
}

.dash-body { padding: 24px; }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.dash-metric {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}

.dash-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.dash-metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.dash-metric-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.dash-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  height: 120px;
  position: relative;
  overflow: hidden;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--primary), var(--accent));
  opacity: 0.7;
  animation: bar-grow 1.5s ease-out forwards;
  transform-origin: bottom;
}

@keyframes bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.dash-status {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* TRUST STRIP */
.trust-strip {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  padding: 36px 28px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 20px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(90,79,207,0.3);
  opacity: 1;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-arrow {
  margin-top: 20px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* WHY US */
.why-us {
  background: linear-gradient(180deg, transparent, rgba(90,79,207,0.05) 50%, transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s;
}

.why-item:hover {
  border-color: rgba(34,211,238,0.3);
}

.why-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(34,211,238,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PROCESS */
.process-timeline {
  margin-top: 60px;
  position: relative;
}

.process-line {
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 12px;
}

.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(90,79,207,0.5);
}

.process-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CALCULATOR */
.calc-section {
  background: linear-gradient(135deg, rgba(90,79,207,0.1), rgba(34,211,238,0.05));
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.calc-form {
  padding: 40px;
}

.calc-group { margin-bottom: 24px; }

.calc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.calc-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.1);
}

.calc-range {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  outline: none;
  margin-top: 8px;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  cursor: pointer;
  box-shadow: 0 0 10px rgba(34,211,238,0.5);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-card {
  padding: 24px 20px;
  border-radius: 16px;
  text-align: center;
}

.result-card.highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(90,79,207,0.3), rgba(34,211,238,0.2));
  border: 1px solid rgba(34,211,238,0.3);
}

.result-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

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

/* COUNTERS */
.counters-section {
  padding: 80px 0;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.counter-item {
  padding: 40px 20px;
}

.counter-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* TESTIMONIALS */
.testimonials-section { overflow: hidden; }

.testimonials-slider {
  display: flex;
  gap: 24px;
  animation: scroll-left 30s linear infinite;
  width: max-content;
  margin-top: 60px;
}

.testimonials-slider:hover { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  width: 380px;
  padding: 32px;
  flex-shrink: 0;
  border-radius: 20px;
}

.testimonial-stars {
  color: #ffd700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* PROJECTS GALLERY */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s;
}

.project-card:nth-child(1) { background: linear-gradient(135deg, #1a0a4a, #2a1060); }
.project-card:nth-child(2) { background: linear-gradient(135deg, #0a1a4a, #102060); }
.project-card:nth-child(3) { background: linear-gradient(135deg, #0a2a2a, #104040); }
.project-card:nth-child(4) { background: linear-gradient(135deg, #2a0a2a, #401060); }
.project-card:nth-child(5) { background: linear-gradient(135deg, #1a2a0a, #203010); }
.project-card:nth-child(6) { background: linear-gradient(135deg, #2a1a0a, #402010); }
.project-card:nth-child(7) { background: linear-gradient(135deg, #0a0a2a, #101040); }
.project-card:nth-child(8) { background: linear-gradient(135deg, #1a0a2a, #301050); }

.project-card:hover { transform: scale(1.03); }

.project-panel-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.project-kw {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.project-type {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

/* FAQ */
.faq-list { margin-top: 60px; }

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 24px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* MAP CONTACT */
.map-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.map-embed {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.1);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.5);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(34,211,238,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* FOOTER */
.footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(34,211,238,0.1);
  color: var(--accent);
  border-color: rgba(34,211,238,0.3);
  opacity: 1;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* STICKY QUOTE BUTTON */
.sticky-quote {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.sticky-btn-main {
  background: var(--gradient);
  color: #fff;
  width: auto;
  padding: 0 20px;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.sticky-btn-main:hover {
  box-shadow: 0 8px 30px rgba(90,79,207,0.5);
  transform: translateY(-2px);
  opacity: 1;
}

.sticky-btn-wa {
  background: #25d366;
  color: #fff;
}

.sticky-btn-wa:hover {
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transform: translateY(-2px);
  opacity: 1;
}

/* POPUP */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 20px;
}

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

.popup-box {
  background: linear-gradient(135deg, #0f0f1a, #1a1040);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 48px;
  max-width: 560px;
  width: 100%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.popup-overlay.active .popup-box { transform: scale(1); }

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.popup-close:hover { background: rgba(255,255,255,0.15); color: var(--text); }

.popup-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.popup-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.1);
}

.form-select option { background: #1a1040; }

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-check input { margin-top: 2px; accent-color: var(--accent); }
.form-check a { color: var(--accent); }

.form-msg {
  font-size: 0.85rem;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  display: none;
}

.form-msg.success { background: rgba(34,211,238,0.1); color: var(--accent); display: block; }
.form-msg.error { background: rgba(255,90,90,0.1); color: #ff5a5a; display: block; }

.popup-wa-alt {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.popup-wa-alt a {
  color: #25d366;
  font-weight: 600;
}

/* PAGE HERO */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, rgba(90,79,207,0.2), rgba(34,211,238,0.05));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); opacity: 1; }
.breadcrumb span { color: var(--accent); }

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); margin-top: 16px; max-width: 600px; }

/* SERVICE PAGE CONTENT */
.service-content { padding: 80px 0; }

.service-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--text);
}

.service-body h2:first-child { margin-top: 0; }

.service-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.service-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-body ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-sidebar { position: sticky; top: 100px; }

.sidebar-cta {
  padding: 32px;
  margin-bottom: 24px;
}

.sidebar-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.sidebar-cta p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sidebar-cta .btn { width: 100%; justify-content: center; }

.sidebar-services h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sidebar-services ul { list-style: none; }
.sidebar-services li { margin-bottom: 4px; }
.sidebar-services a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}
.sidebar-services a:hover {
  color: var(--accent);
  background: rgba(34,211,238,0.08);
  opacity: 1;
}
.sidebar-services a.active {
  color: var(--accent);
  background: rgba(34,211,238,0.1);
}

/* ABOUT */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
}

.about-visual {
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(90,79,207,0.3), rgba(34,211,238,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-visual-inner {
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 800;
  opacity: 0.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  padding: 32px;
  text-align: center;
  border-radius: 20px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
}

.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--text-muted); }

/* PROJECTS PAGE */
.projects-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(34,211,238,0.08);
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s;
}

.blog-card:hover { transform: translateY(-6px); opacity: 1; }

.blog-thumb {
  height: 220px;
  background: linear-gradient(135deg, rgba(90,79,207,0.4), rgba(34,211,238,0.2));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(34,211,238,0.2);
  border: 1px solid rgba(34,211,238,0.4);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.blog-body { padding: 24px; }

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* BLOG POST */
.blog-post-content { padding: 80px 0; }

.blog-post-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.post-body h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 16px; }
.post-body h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 12px; color: var(--accent); }
.post-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.post-body ul, .post-body ol { padding-left: 20px; margin-bottom: 16px; }
.post-body li { color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }

.post-sidebar { position: sticky; top: 100px; }

/* CONTACT PAGE */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
}

.contact-form-wrap {
  padding: 48px;
  border-radius: 24px;
}

/* 404 */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-family: 'Outfit', sans-serif;
  font-size: 10rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.1;
}

.error-title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.error-sub { color: var(--text-muted); margin-bottom: 32px; }

/* PRIVACY */
.privacy-content { padding: 80px 0; max-width: 800px; margin: 0 auto; }
.privacy-content h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 14px; }
.privacy-content p, .privacy-content li { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.privacy-content ul { padding-left: 20px; }

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .dashboard-mockup { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-line { display: none; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .map-contact { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-grid { grid-template-columns: 1fr; }
  .contact-main { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15,15,26,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .sticky-quote { bottom: 16px; right: 16px; }
  .calc-results { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* SVG Logo Animation */
@keyframes logo-pulse {
  0%, 100% { opacity: 1; r: 4; }
  50% { opacity: 0.6; r: 6; }
}

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

.logo-node { animation: logo-pulse 2s ease-in-out infinite; }
.logo-ring { animation: logo-rotate 8s linear infinite; transform-origin: 24px 24px; }


/* ============================================================
   RESPONSIVE & NAV FIX PACK  (appended 2026-05-30, rev2)
   Fixes: mobile horizontal scroll/zoom, dropdown menus not
   opening, header menu overflow, service section misalignment.
   This block is intentionally last so it overrides earlier rules.
   ============================================================ */

/* --- Global horizontal-overflow guard (no more sideways drag on mobile) --- */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }
img, svg, video, iframe { max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

/* --- Responsive tables: wide service/spec tables scroll inside instead of
       breaking the whole page width on phones --- */
.service-body table,
.extended-content table,
.extended-supplement table,
.post-body table,
.privacy-content table,
.service-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Align BOTH appended sections to the SAME width/padding as the page body
       (were 1280px / 2rem vs body 1200px / 24px -> caused the "shift") --- */
.extended-content,
.extended-supplement {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}

/* --- Desktop dropdown: guaranteed on EVERY site (some were missing it) --- */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: rgba(15,15,26,0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1001;
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --- Raise the mobile breakpoint to 992px so the full horizontal menu only
       shows when it actually fits; otherwise use the hamburger --- */
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 2px;
    background: rgba(15,15,26,0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 14px 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .hamburger { display: flex !important; }
  .nav-cta { display: none; }

  /* Mobile dropdown turns into an inline collapsible list */
  .nav-dropdown > .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 2px 0 6px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: none;
  }
  .nav-dropdown.open > .dropdown-menu { display: block; }
  .nav-menu a { padding: 12px 14px; font-size: 1rem; }
}

/* --- Small phones: tighten paddings, prevent edge clipping --- */
@media (max-width: 600px) {
  .container, .container-wide { padding-left: 16px; padding-right: 16px; }
  .extended-content,
  .extended-supplement { padding-left: 16px !important; padding-right: 16px !important; }
  .section { padding: 56px 0; }
  .hero { padding: 110px 0 60px; }
  .popup-box { padding: 32px 20px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
}

/* --- Animate hamburger into an X when open --- */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Professional SVG icons (replaced the old emoji). Default scales with the
       container font-size so it matches whatever the emoji used to be. --- */
.svg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }
/* fixed-size flex icon boxes: fill ~55% of the box regardless of per-site px size */
.contact-detail-icon .svg-icon,
.advantage-icon .svg-icon,
.trust-badge-icon .svg-icon,
.pricing-icon .svg-icon,
.investment-icon .svg-icon,
.feature-icon .svg-icon,
.benefit-icon .svg-icon,
.value-icon .svg-icon,
.step-icon .svg-icon,
.process-icon .svg-icon,
.why-icon .svg-icon,
.card-icon .svg-icon { width: 55%; height: 55%; }
/* inline label icons a touch larger than text */
.icon .svg-icon,
.nav-cta .svg-icon,
.btn .svg-icon { width: 1.2em; height: 1.2em; }
/* decorative blog thumbnails: centered, subtle */
.blog-thumb .svg-icon,
.blog-icon-overlay .svg-icon { width: 38%; height: 38%; opacity: .55; }
.icon-badge .svg-icon { width: 32px; height: 32px; }
