/* --- Variables & Reset --- */
:root {
  --color-pink: #f2b9c5;
  --color-teal: #d1eef0;
  --color-bg-start: #2b1055; /* Deep Purple */
  --color-bg-mid: #7597de; /* Soft Blue/Purple transition */
  --color-bg-end: #ff4e50; /* Vibrant Orange */

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

  --font-main:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  /* The Live Wallpaper Background */
  background: linear-gradient(
    -45deg,
    var(--color-bg-start),
    #4a1c5c,
    var(--color-bg-end),
    #1a0b2e
  );
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

/* --- Animations --- */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(20, 10, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-teal);
}

.logo-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px var(--color-pink));
}

.main-nav {
  display: none; /* Hidden on mobile, visible on desktop */
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-pink);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-pink), #ff9eb5);
  color: #4a0e2a;
  box-shadow: 0 4px 15px rgba(242, 185, 197, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 185, 197, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-teal);
  color: var(--color-teal);
}

.btn-outline:hover {
  background: var(--color-teal);
  color: #2b1055;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--color-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(209, 238, 240, 0.3);
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--color-pink);
  opacity: 0.8;
  letter-spacing: 1px;
}

/* --- Features Section (Glassmorphism Cards) --- */
.features-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-teal);
}

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--color-pink);
}

/* Subtle glow effect on hover using pseudo-element */
.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(242, 185, 197, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 0 10px var(--color-teal));
}

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

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(242, 185, 197, 0.2);
  color: var(--color-pink);
  border-radius: 20px;
  border: 1px solid var(--color-pink);
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* --- Download Section --- */
.download-section {
  padding: 80px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  margin: 40px 0;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.download-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.download-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Footer --- */
.site-footer {
  background: rgba(20, 10, 40, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0;
  margin-top: 4rem;
}

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

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand h3 {
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.footer-legal p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}
