:root {
  --bg-color: #030712;
  --bg-secondary: #0f172a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-color: #0ea5e9;
  --accent-color-hover: #38bdf8;
  --card-bg: rgba(15, 23, 42, 0.6);
  --card-border: rgba(56, 189, 248, 0.15);
  --gradient-1: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  --gradient-2: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Glows for Depth */
.bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: var(--accent-color);
  filter: blur(180px);
  opacity: 0.08;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.bg-glow-1 { top: -200px; left: -200px; }
.bg-glow-2 { bottom: 30%; right: -300px; background: #3b82f6; }
.bg-glow-3 { top: 40%; left: -300px; opacity: 0.05; }

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.2;
}

h2.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

/* Utilities */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(14, 165, 233, 0.15);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: background 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
}

nav.scrolled {
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Sections */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-container {
  padding: 7rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6rem;
}

.hero-content {
  flex: 1.2;
  max-width: 700px;
  z-index: 10;
}

.greeting {
  font-family: var(--font-mono);
  color: var(--accent-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
  margin-bottom: 1.5rem;
}

.hero-description {
  margin-bottom: 3rem;
  font-size: 1.15rem;
  max-width: 550px;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}

.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 2s ease 1s forwards;
}

/* Hero Visual - Tech Grid Animation */
.tech-grid {
  position: relative;
  width: 300px;
  height: 300px;
}

.tech-grid .node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulseNode 2s infinite alternate;
}

.tech-grid .node-1 { top: 44px; left: 44px; }
.tech-grid .node-2 { top: 44px; right: 44px; animation-delay: 0.5s; }
.tech-grid .node-3 { bottom: 44px; left: 94px; animation-delay: 1s; }

.tech-grid .core-server {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(14,165,233,0.5);
}

.connect-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

/* Services / Solutions */
.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  font-size: 1.1rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

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

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-mono);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Business Value Section */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.value-subtitle {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.value-text p {
  margin-bottom: 1.5rem;
}

.value-bullets {
  list-style: none;
  margin-top: 2rem;
}

.value-bullets li {
  margin-bottom: 1rem;
  padding-left: 20px;
  border-left: 2px solid var(--accent-color);
  color: var(--text-secondary);
}

.value-bullets strong {
  color: var(--text-primary);
}

.value-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem !important;
}

.metric-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  box-shadow: 0 0 30px rgba(14,165,233,0.2);
  margin: 0 auto;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 1px;
}

.status-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.bar {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 4px;
}

.fill-1 { width: 95%; }
.fill-2 { width: 88%; }
.fill-3 { width: 98%; }

/* Contact Section */
.contact-card {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-content p {
  margin-bottom: 2.5rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 0;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.2rem;
}

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

footer p {
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseNode {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(1.3); opacity: 1; }
}

/* Scroll Fade */
.section-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
  .hero-content { margin-bottom: 4rem; }
  .hero-cta { justify-content: center; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.5rem; }
  .contact-actions { flex-direction: column; }
}
