/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  background: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Variables */
:root {
  --nav-height: 70px;
  --emerald: #10b981;
}

/* Hero */
.hero {
  min-height: 100vh;
  /* Solid dark gradient background instead of image + overlay */
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(20, 20, 20, 0.92) 50%,
    rgba(30, 30, 30, 0.88) 100%
  );
  /* Optional subtle radial accent to give depth without an image */
  background: radial-gradient(
      circle at 30% 20%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 40%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.98) 0%,
      rgba(15, 15, 15, 0.95) 100%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 2rem); /* Prevents overlap with fixed nav */
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(1.1rem, 4.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span:first-child {
  color: white;
}

.logo span:last-child {
  color: var(--emerald);
}

.contact-btn {
  padding: 0.55rem 1.3rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 500;
  font-size: clamp(0.9rem, 3vw, 0.95rem);
  transition: all 0.3s ease;
  white-space: nowrap;          /* Prevent text wrapping to two lines */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;               /* Don't let it shrink too much */
  min-width: 110px;             /* Minimum width to fit "Contact Us" comfortably */
}

.contact-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* Main content */
.hero-content {
  max-width: 1100px;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 0.94;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.subtitle {
  font-size: clamp(1.15rem, 4vw, 1.7rem);
  color: #a1a1aa;
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto 2.2rem;
  line-height: 1.45;
  padding: 0 0.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: white;
  color: #111;
  padding: 1rem 2.4rem;
  border-radius: 9999px;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 20px 40px rgba(16,185,129,0.25);
  border: none;
  cursor: pointer;
  white-space: nowrap;  /* Also prevent wrapping on CTA if needed */
}

.cta:hover {
  background: var(--emerald);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 30px 60px rgba(16,185,129,0.4);
}

.features {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: #a1a1aa;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  max-width: 360px;
}

/* Footer */
footer {
  background: #0a0a0a;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #a1a1aa;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--emerald);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .hero {
    padding: 1.2rem 1rem;
    padding-top: calc(var(--nav-height) + 1.2rem);
    min-height: 85vh;
  }

  .contact-btn {
    padding: 0.5rem 1rem;          /* Slightly smaller padding on mobile */
    font-size: 0.9rem;             /* Tighter font size if still tight */
    min-width: 100px;              /* Ensure enough room without forcing full-width */
  }

  h1 {
    line-height: 0.92;
    letter-spacing: -1.2px;
  }

  .subtitle {
    line-height: 1.4;
    padding: 0 1rem;
  }

  .cta {
    padding: 0.9rem 2.2rem;
  }

  .features {
    gap: 1.6rem;
  }

  .nav-container {
    padding: 0 1.2rem;
  }
}

@media (max-width: 480px) {
  .contact-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    min-width: 90px;  /* Very small screens – still fits "Contact Us" */
  }

  h1 {
    font-size: clamp(2.2rem, 8.5vw, 4rem);
  }

  .subtitle {
    font-size: clamp(1.05rem, 3.8vw, 1.4rem);
  }
}
