:root {
  --bg-primary: #070B1A;
  --bg-card: #0F1629;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --accent-cyan: #22D3EE;
  --accent-teal: #14B8A6;
  --accent-purple: #818CF8;
  --font-main: 'Outfit', sans-serif;
  --transition-speed: 0.3s;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-speed);
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-glass {
  background: rgba(15, 22, 41, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all var(--transition-speed);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: #000;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background var(--transition-speed);
}

header.scrolled {
  background: rgba(7, 11, 26, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-weight: 500;
  color: var(--text-secondary);
}

nav a:hover {
  color: var(--accent-cyan);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background: radial-gradient(circle at center, rgba(7, 25, 45, 0.4) 0%, var(--bg-primary) 70%);
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0));
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: 0.1;
  animation: twinkle 5s infinite;
  pointer-events: none;
}

@keyframes twinkle {
  0% {
    transform: translateY(0);
    opacity: 0.1;
  }

  50% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-20px);
    opacity: 0.1;
  }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Hero Title */
.hero-title {
  font-size: 6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -2px;
}

.hero-divider {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.8;
  display: flex;
  /* Centering fix if needed, though text-align handles it */
  justify-content: center;
  width: 100%;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  vertical-align: middle;
  margin: 4px 10px 0;
  /* Align with icon */
}

/* Subheadings */
.hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #fff;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.text-cyan {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Tags */
.hero-tags {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  background: rgba(15, 22, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: var(--accent-cyan);
  color: #fff;
}

/* New Buttons */
.btn-primary-glow {
  background: var(--accent-cyan);
  /* Fallback */
  background: linear-gradient(90deg, #22D3EE, #14B8A6);
  color: #0F172A;
  /* Dark text for contrast */
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
  transition: all 0.3s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(34, 211, 238, 0.6);
}

.btn-secondary-glow {
  background: rgba(255, 255, 255, 0.03);
  color: #ddd;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-secondary-glow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Stats Bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
  background: rgba(12, 18, 32, 0.6);
  backdrop-filter: blur(10px);
  padding: 1.5rem 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Features/Services Grid */
.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  border-radius: 1rem;
  transition: transform var(--transition-speed);
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(15, 22, 41, 0.9);
  border-color: rgba(34, 211, 238, 0.2);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
  text-align: center;
}

footer p {
  color: var(--text-secondary);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* CTA Section */
.cta-box {
  padding: 4rem 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
}

.cta-desc {
  margin: 1.5rem 0 2.5rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.cta-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stat {
  text-align: center;
}

.cta-stat .stat-num {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Form Styles */
.contact-form {
  padding: 2rem;
  border-radius: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

input,
textarea {
  width: 100%;
  background: rgba(7, 11, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.75rem;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.1);
  background: rgba(7, 11, 26, 0.9);
}

.w-100 {
  width: 100%;
  justify-content: center;
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateX(10px);
  background: rgba(34, 211, 238, 0.05);
  /* very subtle glow bg */
  border-color: rgba(34, 211, 238, 0.3);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
}

.info-content h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.info-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Animations Overhaul */
.animate-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav {
    display: none;
    /* simple hide for initial mobile setup */
  }
}