:root {
  font-size: 16px;
  --bg-deep: #1b130c;
  --bg-warm: #f2c36c;
  --bg-soft: #f8e9cf;
  --text-primary: #fdf7ea;
  --text-muted: rgba(253, 247, 234, 0.7);
  --card-bg: rgba(18, 12, 7, 0.85);
  --accent: #f9d98b;
  --accent-strong: #fef4da;
  --outline: rgba(249, 217, 139, 0.4);
}

html {
  background: #000;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(248, 233, 207, 0.35),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(242, 195, 108, 0.25),
      transparent 40%
    ),
    linear-gradient(135deg, #1f0f22, #473148, #b97b3c, #f9d98b);
  background-size: 120% 120%;
  background-position: 0% 0%;
  animation: gradientShift 20s ease infinite;
  color: var(--text-primary);
  padding: 0;
  text-align: center;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

.glow {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.glow-one {
  background: #f9d98b;
  top: 10%;
  left: 10%;
}

.glow-two {
  background: #f7b267;
  top: 50%;
  right: 10%;
}

.glow-three {
  background: #d4a574;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  width: 88px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-eyebrow {
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-strong);
}

.hero-subtitle {
  margin: 0 auto 2.5rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 700px;
}

.btn-hero {
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-strong);
  color: #2c160a;
  box-shadow: 0 12px 40px rgba(249, 217, 139, 0.4);
  border: none;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(249, 217, 139, 0.5);
}

.btn-hero:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

.hero-note {
  display: block;
  margin-top: 1.5rem;
  color: rgba(253, 247, 234, 0.5);
  font-size: 0.9rem;
}

/* Features Container */
.features-container {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  
  /* Center the last feature card when it's alone in a row */
  .feature-section:nth-last-child(2):nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 570px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Feature Section */
.feature-section {
  padding: 0;
}

.feature-content {
  height: 100%;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 20px 40px rgba(5, 1, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  transition: transform 300ms ease, box-shadow 300ms ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(5, 1, 0, 0.5);
}

.feature-image {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(248, 233, 207, 0.1), rgba(242, 195, 108, 0.05));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-label {
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
  padding: 1.5rem 1.75rem 0;
  font-weight: 600;
}

.feature-title {
  margin: 0 0 1rem;
  padding: 0 1.75rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.feature-description {
  margin: 0;
  padding: 0 1.75rem 1.75rem;
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  margin: 5rem 0 2rem;
  padding: 0;
}

@media (min-width: 900px) {
  .cta-section {
    grid-column: 1 / -1;
    margin: 6rem 0 2rem;
  }
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(249, 217, 139, 0.15),
    rgba(242, 195, 108, 0.08)
  );
  border-radius: 32px;
  padding: 4rem 2.5rem;
  box-shadow: 0 40px 80px rgba(5, 1, 0, 0.6);
  border: 1px solid rgba(249, 217, 139, 0.2);
  backdrop-filter: blur(20px);
}

.cta-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--accent-strong);
}

.cta-description {
  margin: 0 0 2.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.btn-cta {
  padding: 1.1rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-strong);
  color: #2c160a;
  box-shadow: 0 12px 40px rgba(249, 217, 139, 0.45);
  border: none;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(249, 217, 139, 0.55);
}

.btn-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

/* Socials */
.socials {
  margin-top: 2.5rem;
  display: inline-flex;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
  transition: background 180ms ease, transform 180ms ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.socials svg {
  width: 22px;
  height: 22px;
}

/* Footer */
.copyright {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(27, 19, 12, 0.7);
  font-size: 0.9rem;
  background: rgba(248, 233, 207, 0.4);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(249, 217, 139, 0.2);
  transform: translateY(100%);
  transition: transform 400ms ease;
}

.copyright.visible {
  transform: translateY(0);
}

.copyright p {
  margin: 0;
  line-height: 1.8;
}

.legal-links {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.legal-links a {
  color: rgba(27, 19, 12, 0.85);
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms ease, text-decoration 150ms ease;
}

.legal-links a:hover {
  color: #1b130c;
  text-decoration: underline;
}

.legal-links .separator {
  margin: 0 0.5rem;
  opacity: 0.5;
  color: rgba(27, 19, 12, 0.5);
}

/* Responsive Design */
@media (max-width: 899px) {
  .features-container {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .hero-logo {
    width: 76px;
  }

  .features-container {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .feature-label {
    padding: 1.5rem 1.5rem 0;
  }

  .feature-title {
    padding: 0 1.5rem;
  }

  .feature-description {
    padding: 0 1.5rem 1.5rem;
  }

  .cta-section {
    margin: 4rem 0 3rem;
  }

  .cta-card {
    padding: 3rem 2rem;
  }

  .btn-hero,
  .btn-cta {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 1rem 2rem;
  }

  .hero-logo {
    width: 68px;
  }

  .features-container {
    gap: 1.25rem;
  }

  .feature-content {
    border-radius: 18px;
  }

  .feature-label {
    padding: 1.25rem 1.25rem 0;
  }

  .feature-title {
    padding: 0 1.25rem;
  }

  .feature-description {
    padding: 0 1.25rem 1.25rem;
  }

  .cta-section {
    margin: 3rem 0 2rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
    border-radius: 28px;
  }
}

