/* =================================
   PROFESSIONAL DARK THEME - REFINED
   ================================= */

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

:root {
  --color-gray-50: #f3f8f2;
  --color-gray-100: #edf3ec;
  --color-gray-200: #dce6da;
  --color-gray-300: #c8d7c4;
  --color-gray-400: #95ad90;
  --color-gray-500: #5f7a5b;
  --color-gray-600: #36433a;
  --color-gray-700: #253227;
  --color-gray-800: #18231a;
  --color-gray-900: #111811;

  --color-primary-500: #3b5937;
  --color-primary-600: #355033;
  --color-primary-700: #2d442a;

  --color-accent-gradient: linear-gradient(135deg, #3b5937 0%, #2d442a 100%);
  --color-accent-soft-bg: rgba(59, 89, 55, 0.1);
  
  --max-width: 1100px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-gray-900);
  color: var(--color-gray-300);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  perspective: 1000px;
  transform-style: preserve-3d;
  overflow-x: hidden; /* Prevent horizontal scroll from huge logo */
}

/* Huge Background Logo */
.background-logo {
  --bg-scroll-y: 0px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate3d(-50%, var(--bg-scroll-y), 0);
  width: 120vw;
  height: 120vw;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  filter: brightness(0) invert(1) grayscale(0.7);
  transform-style: preserve-3d;
  will-change: transform;
}

h1, h2, h3 {
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Header */
header {
  padding: 2rem 0;
  background: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

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

nav a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  transition: var(--transition);
  text-decoration: none;
}

nav a:hover {
  color: #fff;
}

nav a.cta-link {
  background: var(--color-primary-500);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  margin-left: 1rem;
}

nav a.cta-link:hover {
  background: var(--color-primary-600);
  transform: translateY(-1px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gray-500);
}

.breadcrumb a {
  color: var(--color-gray-500);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-separator {
  color: var(--color-gray-600);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-gray-300);
}

/* Hero Section */
.hero {
  padding: 14rem 0 8rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 2rem;
  letter-spacing: -0.05em;
}

.hero p {
  font-size: 1.5rem;
  color: var(--color-gray-400);
  line-height: 1.4;
  font-weight: 400;
  max-width: 860px;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Features */
section {
  padding: 10rem 0;
  will-change: transform;
  transform: translateZ(0);
}

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

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-400);
  max-width: 700px;
  margin: 0 auto;
}

.product-section {
  background: rgba(59, 89, 55, 0.03);
  border-top: 1px solid rgba(59, 89, 55, 0.1);
  border-bottom: 1px solid rgba(59, 89, 55, 0.1);
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.product-card {
  --mouse-parallax-x: 0px;
  --mouse-parallax-y: 0px;
  --lift-y: 0px;
  --lift-z: 0px;
  display: block;
  padding: 3rem;
  background: rgba(59, 89, 55, 0.05);
  border: 1px solid rgba(59, 89, 55, 0.15);
  border-radius: 4px;
  transform: translate3d(var(--mouse-parallax-x), calc(var(--lift-y) + var(--mouse-parallax-y)), var(--lift-z));
  transform-style: preserve-3d;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  will-change: transform;
}

.product-card:hover {
  background: rgba(59, 89, 55, 0.08);
  border-color: rgba(59, 89, 55, 0.3);
  --lift-y: -2px;
  --lift-z: 20px;
}

.product-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.product-tagline {
  font-size: 1.1rem;
  color: var(--color-gray-300);
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-card p {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

.product-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--color-primary-500);
  font-weight: 500;
  font-size: 0.95rem;
}

.product-card:hover .product-link {
  color: var(--color-gray-300);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 1.1rem;
  color: var(--color-gray-500);
}

.card-line {
  width: 40px;
  height: 2px;
  background: var(--color-primary-500);
  margin-bottom: 1.5rem;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about-intro {
  font-size: 1.5rem;
  color: var(--color-gray-300);
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.4;
}

.about-content p {
  font-size: 1.15rem;
  color: var(--color-gray-400);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-content {
  text-align: center;
  margin-top: 3rem;
}

.contact-email {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-email a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 2px solid var(--color-primary-500);
  padding-bottom: 0.2rem;
}

.contact-email a:hover {
  color: var(--color-gray-300);
  border-bottom-color: var(--color-gray-300);
}

/* Footer */
footer {
  padding: 8rem 0 4rem;
  background: rgba(10, 15, 10, 0.5);
  backdrop-filter: blur(10px);
}

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

.footer-links a {
  color: var(--color-gray-500);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.copyright-bar {
  border-top: 1px solid var(--color-gray-800);
  padding-top: 3rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  color: var(--color-gray-600);
  text-align: center;
}

/* =================================
   LEGAL PAGES
   ================================= */

.legal-page main {
  padding-top: 8rem;
}

.legal-hero {
  padding: 4rem 0 2rem;
}

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-gray-500);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.legal-intro {
  font-size: 1.2rem;
  color: var(--color-gray-400);
  line-height: 1.8;
  max-width: 760px;
}

.legal-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(59, 89, 55, 0.18);
  border-radius: 999px;
  background: rgba(59, 89, 55, 0.06);
  color: var(--color-gray-400);
  font-size: 0.92rem;
}

.legal-section {
  padding: 2rem 0 8rem;
}

.legal-card {
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid rgba(59, 89, 55, 0.14);
  background: rgba(59, 89, 55, 0.05);
}

.legal-prose h2 {
  font-size: 1.7rem;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--color-gray-400);
}

.legal-prose p + p {
  margin-top: 1rem;
}

.legal-prose ul {
  margin: 1rem 0 1.5rem 1.4rem;
}

.legal-prose li + li {
  margin-top: 0.7rem;
}

.legal-prose a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.legal-prose a:hover {
  border-bottom-color: #fff;
}

.legal-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-primary-500);
  background: rgba(59, 89, 55, 0.08);
  color: var(--color-gray-300);
}

.morph-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.morph-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: morph 20s ease-in-out infinite;
  will-change: transform, border-radius;
}

.morph-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary-500) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation-duration: 25s;
}

.morph-blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary-700) 0%, transparent 70%);
  bottom: -15%;
  left: -15%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.morph-blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-primary-600) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-duration: 35s;
  animation-delay: -10s;
}

@keyframes morph {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }
  25% {
    transform: translate(50px, -30px) scale(1.1) rotate(90deg);
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  }
  50% {
    transform: translate(-30px, 50px) scale(0.9) rotate(180deg);
    border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
  }
  75% {
    transform: translate(40px, 40px) scale(1.05) rotate(270deg);
    border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
  }
}

.card {
  --mouse-parallax-x: 0px;
  --mouse-parallax-y: 0px;
  --lift-y: 0px;
  --lift-z: 0px;
  background: rgba(59, 89, 55, 0.05);
  border: 1px solid rgba(59, 89, 55, 0.1);
  border-radius: 8px;
  padding: 2rem;
  transform: translate3d(var(--mouse-parallax-x), calc(var(--lift-y) + var(--mouse-parallax-y)), var(--lift-z));
  transform-style: preserve-3d;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.product-card {
  background: rgba(59, 89, 55, 0.05);
}

.card:hover, .product-card:hover {
  --lift-y: -2px;
  --lift-z: 20px;
  background: rgba(59, 89, 55, 0.08);
  border-color: rgba(59, 89, 55, 0.2);
}

/* =================================
   PRICING PAGE
   ================================= */

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 4rem;
  background: rgba(59, 89, 55, 0.05);
  padding: 0.5rem;
  border-radius: 8px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.billing-tab {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-gray-400);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.billing-tab:hover {
  color: var(--color-gray-300);
}

.billing-tab.active {
  background: var(--color-primary-500);
  color: #fff;
}

.save-badge {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-weight: 700;
}

.billing-tab.active .save-badge {
  background: rgba(255, 255, 255, 0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  --mouse-parallax-x: 0px;
  --mouse-parallax-y: 0px;
  --lift-y: 0px;
  --lift-z: 0px;
  background: rgba(59, 89, 55, 0.05);
  border: 1px solid rgba(59, 89, 55, 0.1);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  position: relative;
  transform: translate3d(var(--mouse-parallax-x), calc(var(--lift-y) + var(--mouse-parallax-y)), var(--lift-z));
  transform-style: preserve-3d;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.pricing-card:hover {
  background: rgba(59, 89, 55, 0.08);
  border-color: rgba(59, 89, 55, 0.2);
  --lift-y: -4px;
  --lift-z: 20px;
}

.pricing-card-featured {
  border: 2px solid var(--color-primary-500);
  background: rgba(59, 89, 55, 0.08);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary-500);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pricing-amount {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-currency {
  font-size: 2rem;
  color: #fff;
  font-weight: 600;
}

.price-value {
  font-size: 4rem;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.price-period {
  font-size: 1.1rem;
  color: var(--color-gray-400);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.pricing-description {
  font-size: 1rem;
  color: var(--color-gray-400);
  line-height: 1.6;
  margin-bottom: 2rem;
  min-height: 3rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.feature-check {
  color: var(--color-primary-500);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.4;
}

.feature-text {
  color: var(--color-gray-300);
  font-size: 0.95rem;
  line-height: 1.4;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--color-primary-500);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.pricing-cta:hover {
  background: var(--color-primary-600);
  transform: translateY(-2px);
}

.pricing-cta-featured {
  background: #fff;
  color: var(--color-primary-500);
  border: 2px solid #fff;
}

.pricing-cta-featured:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.pricing-footnote {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-gray-500);
  text-align: center;
  font-style: italic;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.faq-item h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.faq-item p {
  font-size: 1rem;
  color: var(--color-gray-400);
  line-height: 1.7;
}

.faq-item a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-item a:hover {
  border-bottom-color: #fff;
}

/* CTA Section */
.cta-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--color-gray-400);
  margin-bottom: 2.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--color-primary-500);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.cta-button-compact {
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
}

.cta-button:hover {
  background: var(--color-primary-600);
  transform: translateY(-2px);
}

.section-cta {
  margin-top: 4rem;
  text-align: center;
}

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

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

  nav {
    display: none;
  }

  .morph-blob {
    display: none;
  }

  .legal-page main {
    padding-top: 6rem;
  }

  .legal-hero {
    padding: 3rem 0 1.5rem;
  }

  .legal-card {
    padding: 2rem 1.5rem;
  }

  .legal-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcrumb {
    gap: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}
