/* =============================================
   BRIGHT RISE AI — STYLES
   Dark modern theme: navy + gold + electric blue
   ============================================= */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #080E1A;
  --bg-2:         #0D1526;
  --surface:      #111D30;
  --border:       #1C2D45;
  --gold:         #F0A500;
  --gold-dim:     rgba(240, 165, 0, 0.12);
  --blue:         #3B8BFF;
  --blue-dim:     rgba(59, 139, 255, 0.1);
  --text:         #EEF2FF;
  --text-muted:   #6B82A8;
  --text-dim:     #8A9BBF;
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   220ms ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #F0A500 0%, #3B8BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.925rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: #080E1A;
}
.btn--primary:hover {
  background: #FFB41A;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240, 165, 0, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(8, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav__wordmark span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  padding: 0.55rem 1.25rem;
  border-radius: 7px;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background var(--transition), color var(--transition) !important;
}
.nav__cta:hover {
  background: var(--gold) !important;
  color: #080E1A !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-menu nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  transition: color var(--transition);
}
.mobile-menu nav a:hover { color: var(--gold); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--gold {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: pulse-gold 6s ease-in-out infinite alternate;
}
.hero__glow--blue {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59, 139, 255, 0.15) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation: pulse-blue 7s ease-in-out infinite alternate;
}

@keyframes pulse-gold {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.12); }
}
@keyframes pulse-blue {
  from { opacity: 0.6; transform: scale(1.05); }
  to   { opacity: 1;   transform: scale(0.92); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 10rem 6rem;
  max-width: 760px;
}

.hero__headline {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

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

.stat { display: flex; flex-direction: column; gap: 0.2rem; }

.stat__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat__plus, .stat__pct {
  font-size: 1.2rem;
  color: var(--gold);
}
.stat__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* --- SERVICES --- */
.services {
  padding-block: 7rem;
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(240, 165, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-card p { color: var(--text-dim); font-size: 0.925rem; line-height: 1.7; }

/* --- WHY US --- */
.why {
  padding-block: 7rem;
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why__left h2 { margin-bottom: 1.25rem; }
.why__left p { color: var(--text-dim); font-size: 1.025rem; }

.why__list { display: flex; flex-direction: column; gap: 1.75rem; }

.why__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why__check { flex-shrink: 0; margin-top: 2px; }
.why__item strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.why__item p { color: var(--text-dim); font-size: 0.9rem; }

/* --- CONTACT --- */
.contact {
  padding-block: 7rem;
  background: var(--bg-2);
}

.contact__inner {
  position: relative;
  text-align: center;
}

.contact__glow {
  position: absolute;
  width: 600px; height: 400px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(240, 165, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.contact__content h2 { margin-bottom: 1.25rem; }
.contact__content p { color: var(--text-dim); margin-bottom: 2rem; }
.contact__note {
  margin-top: 1rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0 !important;
}

/* --- FOOTER --- */
.footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__logo { opacity: 0.75; transition: opacity var(--transition); }
.footer__logo:hover { opacity: 1; }

.footer__copy {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--text); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.25rem; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { padding-block: 8rem 4rem; }
  .hero__headline { font-size: clamp(2.25rem, 8vw, 3.25rem); }
  .hero__lede { font-size: 1rem; }

  .services { padding-block: 5rem; }
  .services__grid { grid-template-columns: 1fr; }

  .why { padding-block: 5rem; }
  .why__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact { padding-block: 5rem; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__stats { gap: 1.25rem; }
  .stat__divider { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
