/* Main Styles */
@import url('./variables.css');

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Background Style - Premium & Modern */
.dot-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -10;
  pointer-events: none;
}

body::before {
  content: '';
  position: fixed;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 178, 169, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -5;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -5;
  pointer-events: none;
}

/* Typography Overrides */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -1px;
  line-height: 1.1;
}

.logo-self {
  color: #00b2a9 !important;
  font-weight: 900 !important;
}

.logo-stepper {
  color: #111827 !important;
  font-weight: 900 !important;
}

/* Buttons - Premium Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 700; /* Bolder */
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-sizing: border-box; /* Universal fix */
  white-space: nowrap; /* Prevent cutoff */
}

.btn-pill {
  border-radius: 60px;
}

.btn-primary {
  background: linear-gradient(135deg, #00b2a9 0%, #00d2c8 100%);
  color: white;
  box-shadow: 0 12px 24px -6px rgba(0, 178, 169, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -8px rgba(0, 178, 169, 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-large {
  padding: 18px 48px;
  font-size: 16px;
}

.btn-white {
  background: white;
  color: var(--text-dark);
}

.btn-white-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

/* Section Common */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text-dark);
}

/* Removed redundant span coloring to allow specific brand classes */

.section-header p {
  color: var(--text-muted);
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .section-header h2 {
    font-size: clamp(32px, 8vw, 36px);
  }
  .section-header p {
    font-size: 18px;
  }
  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100vh;
  background: #ffffff !important; /* Force white background */
  z-index: 9999; /* Max priority */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 0;
}

.mobile-menu.active {
  transform: translateX(-100%);
}

.menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #f1f5f9;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10000;
}

.mobile-menu nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.mobile-menu li {
  width: 100%;
  text-align: center;
}

.mobile-menu .nav-link {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  text-decoration: none;
}

.mobile-menu .btn {
  margin-top: 20px;
  width: 90%;
  max-width: 320px; /* Increased to avoid long word cutoff */
  padding: 16px 20px; /* Balanced padding */
  box-sizing: border-box;
  white-space: nowrap; /* Prevent word break */
}

/* Helpers */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
