/* =========================
RESET
========================= */

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

/* =========================
ROOT (BRAND SYSTEM)
========================= */

:root {
  --bg-dark: #05070d;
  --bg-light: #0b0f1a;

  --primary: #7c3aed;   /* purple */
  --secondary: #06b6d4; /* cyan */

  --text-main: #ffffff;
  --text-muted: rgba(255,255,255,0.7);

  --gradient: linear-gradient(90deg, #7c3aed, #06b6d4);
}

/* =========================
BODY
========================= */

body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, var(--bg-light), var(--bg-dark));
  color: var(--text-main);
  line-height: 1.6;
}

/* =========================
CONTAINER
========================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
TEXT
========================= */

h1, h2, h3 {
  font-weight: 700;
}

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

/* =========================
LINKS
========================= */

a {
  text-decoration: none;
  color: var(--text-main);
  transition: 0.3s;
}

a:hover {
  color: var(--primary);
}

/* =========================
BUTTON BASE
========================= */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 0 15px var(--primary);
}

/* SECONDARY BUTTON */
.btn-secondary {
  border: 1px solid #444;
  color: white;
}

/* =========================
SECTION SPACING
========================= */

.section {
  padding: 80px 0;
}

/* =========================
NAVBAR (FULL SYSTEM)
========================= */

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* LEFT */
.nav-logo {
  height: 50px;
  width: auto;
}

/* RIGHT */
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* LINKS */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-right: 22px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

/* CTA BUTTON */
.nav-btn {
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s;
}

.nav-btn:hover {
  box-shadow: 0 0 18px var(--primary);
  transform: translateY(-1px);
}

.nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(5,7,13,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  position: sticky;
}

/* glowing divider */
.nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(124,58,237,0.8),
    rgba(6,182,212,0.8),
    transparent
  );
}

/* =========================
HAMBURGER
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
}

/* =========================
MOBILE
========================= */

@media (max-width: 900px) {

  .nav-right {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: #05070d;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;

    /* hidden by default */
    display: none;
  }

  .nav-right.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    margin: 10px 0;
    font-size: 16px;
  }

  .nav-btn {
    margin-top: 15px;
  }

  .hamburger {
    display: flex;
  }
}

/* =========================
FOOTER CLEAN FIX
========================= */

.footer {
  position: relative;
  background: rgba(5,7,13,0.95);
  backdrop-filter: blur(10px);
  margin-top: 80px;
}

/* glow line */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(124,58,237,0.8),
    rgba(6,182,212,0.8),
    transparent
  );
}

/* LAYOUT */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0;
  gap: 40px;
  flex-wrap: wrap;
}

/* LEFT */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* default desktop */
  gap: 8px;
}

.footer-logo {
  height: 80px; /* mobile */
  width: auto;
}

/* DESKTOP ONLY */
@media (min-width: 900px) {
  .footer-logo {
    height: 110px;
  }
}

.footer-tag,
.footer-business {
  max-width: 220px;
}

/* LINKS */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 400px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.footer-links a:hover {
  color: #7c3aed;
}

/* CTA */
.footer-right {
  display: flex;
  align-items: center;
}

.footer-btn {
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.footer-btn:hover {
  box-shadow: 0 0 18px rgba(124,58,237,0.6);
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* MOBILE */
@media (max-width: 900px) {

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-right {
    margin-top: 15px;
  }
}