@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Inter:wght@400;500;600;700&family=Playwrite+AU+NSW:wght@100..400&display=swap");

:root {
  --bg-color: #050505;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.08);
  --accent-color: #ff3333;
  --accent-glow: rgba(255, 51, 51, 0.3);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(20px);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-main: "Inter", sans-serif;
  --font-title: "Bree Serif", serif;
  --font-script: "Playwrite AU NSW", cursive;
  --transition-smooth: 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-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Decorations */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(80px);
}

.bg-glow::before {
  top: -200px;
  right: -100px;
  animation: float 20s infinite alternate;
}

.bg-glow::after {
  bottom: -200px;
  left: -100px;
  animation: float 25s infinite alternate-reverse;
}

@keyframes float {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(100px, 50px);
  }
}

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

a:hover {
  text-decoration: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: normal;
}

.script {
  font-family: var(--font-script);
  color: var(--accent-color);
  display: inline-block;
  font-size: 1.1em;
  margin-top: 0.1em;
  transform: rotate(-2deg);
  text-shadow: 0 0 20px var(--accent-glow);
}

/* Glassmorphism Classes */
.glass {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.glass:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

/* Header */
header {
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1001;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(15px);
}

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

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.logo img {
  height: 45px;
  /* Roughly 34pt */
  width: auto;
}

.logo span {
  font-family: var(--font-title);
  font-size: 45px;
  /* Roughly 34pt */
  letter-spacing: -0.5px;
}

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

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

.nav-links a:not(.btn) {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.7;
}

.nav-links a:not(.btn):hover {
  opacity: 1;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 120px 0 80px;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    var(--bg-color) 100%
  );
  will-change: opacity;
}

/* Content that slides over the hero */
.content-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 100vh;
  background: var(--bg-color);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 2rem;
  line-height: 1;
  letter-spacing: -2px;
}

.hero p {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 5px 30px rgba(255, 121, 121, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 5px 40px rgba(255, 121, 121, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid var(--border-subtle);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Features */
.features {
  padding: 5rem 0;
}

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

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  padding: 4rem 3rem;
  text-align: left;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 51, 51, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
  font-size: 2rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: var(--accent-color);
  color: white;
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Footer */
footer {
  padding: 2rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-color);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.footer-top .logo img {
  height: 36px;
}

.footer-top .logo span {
  font-size: 36px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
}

.footer-download {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.download-icon:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.footer-social-meta {
  display: flex;
  gap: 1.2rem;
}

.footer-social-meta a {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-social-meta a:hover {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
