/* 
    BM Advertisers - Premium Dark Theme
    Inspired by Lumiere Framer Template
*/

:root {
  --bg-color: #081112; /* Darker, richer base */
  --text-color: #ffffff;
  --text-muted: #64748b;
  --accent-color: #2286a9;
  --accent-glow: rgba(34, 134, 169, 0.15);
  --accent-light: #64bee3;
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(
      circle at 0% 0%,
      rgba(34, 134, 169, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(100, 190, 227, 0.03) 0%,
      transparent 40%
    );
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* Navbar */
/* Navigation */
/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding: 2rem 5%;
  background: rgba(13, 27, 30, 0);
  transition:
    width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease,
    border-radius 0.6s ease,
    border-color 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0); /* Always present, but invisible */
  border-radius: 0;
  will-change: width, max-width, top, padding;
}

nav.scrolled {
  top: 1.5rem;
  width: 90%;
  max-width: 1200px;
  padding: 1rem 2rem;
  background: rgba(13, 27, 30, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.1); /* Only change the color */
  border-radius: 100px;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%; /* Let the nav control the width */
  margin: 0;
  padding: 0;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.nav-links a:hover {
  color: white;
}

/* Hero Section */
.hero {
  height: calc(100vh - 1rem);
  margin: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #000;
  border-radius: 20px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 1;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(to bottom, #fff, #999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Hero Bottom Bar */
.hero-bottom {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 4;
}

.hero-features {
  display: flex;
  gap: 4rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mouse {
  width: 22px;
  height: 35px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 2px;
  height: 6px;
  background: white;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}
.hero-testimonial {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 16px;
  max-width: 350px;
}

.hero-testimonial .stars {
  color: #ffd700;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.hero-testimonial p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-style: normal;
  color: white;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #444;
}

.user-meta h4 {
  font-size: 0.85rem;
  margin: 0;
}

.user-meta p {
  font-size: 0.7rem;
  margin: 0;
  color: var(--text-muted);
}

.btn-primary {
  padding: 1.2rem 2.5rem;
  background: white;
  color: black;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border: none;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

.btn-secondary {
  padding: 1.2rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

/* Section Styling */
section:not(.hero) {
  padding: 10rem 0;
  background: var(--bg-color);
}

.section-canvas {
  background: rgba(255, 255, 255, 0.01);
  margin: 0 0.5rem;
  border-radius: 20px;
}

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

.section-tag {
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  display: block;
}

.section-header h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Feature Cards */
.card {
  padding: 3rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.04);
}

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

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

.card p {
  color: var(--text-muted);
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  padding: 2rem;
  border-left: 1px solid var(--card-border);
}

.step-num {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

/* Testimonials */
.testimonial-card {
  padding: 2rem;
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial-author {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-style: normal;
}

.author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-border);
}

.author-info h4 {
  font-size: 1rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  padding: 10rem 0 5rem;
  background: #000;
  margin: 0.5rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 8rem;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  display: block;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  max-width: 350px;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  color: white;
}

.footer-links ul li {
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

/* Animations */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }
}
