:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --accent: #38BDF8;
  --accent-hover: #0EA5E9;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* --- Layout --- */

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

section {
  padding: 100px 0;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Navigation --- */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

nav.scrolled {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
  transform: scale(1.05);
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 400;
  font-size: 0.95rem;
  transition: var(--transition);
  opacity: 0.8;
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn-cta {
  background: var(--accent);
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--accent);
}

.btn-cta:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* --- Hero Section --- */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9)), url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero h1 span {
  background: linear-gradient(to right, #38BDF8, #818CF8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.responsive-h1 {
  font-size: 3.5rem;
}

@media (max-width: 768px) {
  .responsive-h1 {
    font-size: 2.2rem;
  }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* --- Features --- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

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

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

/* --- Audit Mini Tool --- */

.audit-tool {
  background: var(--primary-light);
  padding: 4rem;
  border-radius: 32px;
  margin-top: 4rem;
  text-align: center;
}

.audit-box {
  max-width: 500px;
  margin: 2rem auto;
}

.audit-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.audit-step {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.audit-step:hover {
  border-color: var(--accent);
}

/* --- Footer --- */

footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.5);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Animations --- */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeIn 1s ease-out;
}

@media (max-width: 992px) {
  .grid-2col {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .grid-2col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .hero {
    height: auto;
    padding: 160px 0 100px 0;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .audit-tool {
    padding: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }
}
