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

:root {
  --color-bg: #12121a;
  --color-bg-secondary: #1a1a25;
  --color-text: #f5f5f7;
  --color-text-muted: #a0a0b0;
  --color-primary: #3b82f6;
  --color-secondary: #ef4444;
  --color-border: #2a2a35;
  --color-card: #1f1f2a;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Canvas Background */
#globe-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(ellipse at center, hsl(265, 40%, 15%) 0%, hsl(265, 40%, 8%) 100%);
}

.content-wrapper {
  position: relative;
  z-index: 10;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  padding: 1.5rem 0;
  backdrop-filter: blur(10px);
  background: rgba(18, 18, 26, 0.8);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Updated header layout to group buttons on the right */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Added container for header buttons to keep them together */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-secondary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: white;
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-card);
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ef4444 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
  font-size: 0.875rem;
}

.badge-priority {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.badge-coming-soon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

/* Hero Section */
.hero {
  padding: 8rem 1rem 5rem;
  text-align: center;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 900px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 700px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  width: 100%;
  margin-top: 3rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Section Styles */
section {
  padding: 5rem 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

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

.service-card {
  /* Added explicit background with gradient and better text visibility */
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.3s;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card.disabled {
  opacity: 0.6;
}

.gradient-border {
  position: relative;
  /* Removed conflicting background */
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, #ef4444, #3b82f6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: white;
}

.service-title {
  /* Ensured title is bright white and visible */
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.service-description {
  /* Made description text brighter for better visibility */
  color: #d1d1db;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.tag {
  /* Made tags more visible with better contrast */
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.2);
  font-size: 0.875rem;
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #e0e0e8;
}

.tag-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

/* Info Box */
.info-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Features Section */
.features {
  background: rgba(31, 31, 42, 0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(31, 31, 42, 0.5);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: scale(1.02);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(59, 130, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--color-primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(31, 31, 42, 0.5);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.price-unit {
  color: var(--color-text-muted);
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  stroke: var(--color-primary);
}

.pricing-features li span {
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 4rem 1rem 2rem;
}

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

.footer-brand {
  max-width: 400px;
}

.footer-description {
  color: var(--color-text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

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

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

.footer-heading {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}
.logo {
  position: relative;
  display: inline-block;
  padding: 0 1rem; /* optional, spacing around text */
}

.logo-img {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 120px; /* bigger than text to sit behind */
  height: auto;
  z-index: 0;
  pointer-events: none; /* so it doesn't block clicks on nav/text */
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  /* Ensure buttons stay together on mobile */
  .header-buttons {
    flex-wrap: nowrap;
  }

  .hero {
    padding: 5rem 1rem 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .services-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
