:root {
  --black: #111827;
  --charcoal: #1F2937;

  --gold: #C8A95B;
  --gold-soft: #E7D3A1;

  --green: #0F7B53;
  --green-soft: #DDF5EA;

  --white: #FFFFFF;
  --surface: #F8FAF7;
  --surface-soft: rgba(248, 250, 247, 0.92);

  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);

  --border: rgba(17, 24, 39, 0.08);

  --shadow-soft: 0 20px 60px rgba(17, 24, 39, 0.08);
  --shadow-hover: 0 32px 90px rgba(17, 24, 39, 0.12);

  --text: #111827;
  --text-muted: rgba(31, 41, 55, 0.68);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(15, 123, 83, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(200, 169, 91, 0.08), transparent 24%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAF7 100%);
  color: var(--text);
}

/* PAGE TRANSITION */

.page-visible {
  opacity: 1;
  transition: opacity 0.45s ease;
}

body:not(.page-visible) {
  opacity: 0;
}

/* HEADER */

.page-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 40;

  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);

  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);

  box-shadow: 0 10px 40px rgba(17, 24, 39, 0.04);

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.page-header.scrolling-down {
  transform: translateY(-110%);
}

/* PROGRESS */

.top-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(17, 24, 39, 0.05);
  z-index: 50;
}

.top-progress-line {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;

  background:
    linear-gradient(
      90deg,
      rgba(15, 123, 83, 0.95),
      rgba(200, 169, 91, 0.92)
    );
}

/* EYEBROWS */

.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  padding: 0.9rem 1.2rem;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  background: rgba(15, 123, 83, 0.08);
  border: 1px solid rgba(15, 123, 83, 0.12);

  color: var(--green);

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* BUTTONS */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  min-height: 56px;
  padding: 0 30px;

  border-radius: 999px;
  border: 1px solid transparent;

  cursor: pointer;
  text-decoration: none;

  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

/* PRIMARY */

.button-primary {
  background: linear-gradient(
    135deg,
    var(--green),
    #159565
  );

  color: var(--white);

  box-shadow:
    0 18px 40px rgba(15, 123, 83, 0.16);
}

.button-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 28px 70px rgba(15, 123, 83, 0.24);
}

.button-primary:active {
  transform: scale(0.985);
}

/* SECONDARY */

.button-secondary {
  background: rgba(255, 255, 255, 0.92);

  border-color: rgba(200, 169, 91, 0.28);

  color: var(--black);

  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  background: rgba(231, 211, 161, 0.16);

  border-color: rgba(200, 169, 91, 0.44);

  transform: translateY(-2px);
}

/* GHOST */

.button-ghost {
  background: transparent;

  border-color: rgba(17, 24, 39, 0.12);

  color: var(--black);
}

.button-ghost:hover {
  background: rgba(15, 123, 83, 0.05);
}

/* BUTTON GLOW */

.button::after {
  content: '';

  position: absolute;
  inset: 0;

  border-radius: inherit;

  opacity: 0;

  transition: opacity 0.35s ease;
}

.button-primary:hover::after {
  opacity: 1;

  box-shadow:
    0 0 45px rgba(15, 123, 83, 0.18);
}

/* HERO */

.hero-copy,
.hero-visual {
  position: relative;
}

.hero-visual {
  min-height: 620px;
}

.hero-visual::before {
  content: '';

  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 28% 32%, rgba(15, 123, 83, 0.12), transparent 22%),
    radial-gradient(circle at 76% 18%, rgba(200, 169, 91, 0.12), transparent 18%);
}

.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;

  border-radius: 32px;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.98),
      rgba(248,250,247,0.98)
    );

  border: 1px solid rgba(17, 24, 39, 0.06);

  box-shadow: var(--shadow-soft);
}

.hero-frame {
  position: absolute;
  inset: 0;

  border-radius: 32px;
  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.65),
    0 28px 80px rgba(17, 24, 39, 0.08);
}

.hero-meta {
  position: absolute;

  left: 1.75rem;
  bottom: 1.75rem;
  z-index: 2;

  display: grid;
  gap: 0.75rem;

  max-width: 320px;
}

.hero-meta .pill {
  font-size: 0.82rem;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.88);

  border: 1px solid rgba(15, 123, 83, 0.12);

  color: var(--green);

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  padding: 0.9rem 1rem;
  border-radius: 999px;

  box-shadow: 0 10px 30px rgba(17,24,39,0.05);
}

/* CARDS */

.feature-card,
.product-card,
.testimonial-card,
.pricing-card {
  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(17, 24, 39, 0.08);

  border-radius: 28px;

  box-shadow: var(--shadow-soft);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.feature-card:hover,
.product-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow-hover);

  border-color: rgba(200, 169, 91, 0.22);

  background: rgba(255,255,255,1);
}

.product-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.8rem;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card img {
  width: 100%;

  border-radius: 26px;

  transition: transform 0.45s ease;
}

/* INPUTS */

.input-field {
  width: 100%;

  padding: 18px 22px;

  border-radius: 18px;

  border: 1px solid rgba(17, 24, 39, 0.12);

  background: rgba(255,255,255,0.95);

  color: var(--text);

  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.input-field::placeholder {
  color: rgba(31, 41, 55, 0.45);
}

.input-field:focus {
  outline: none;

  border-color: rgba(15, 123, 83, 0.4);

  box-shadow:
    0 0 0 8px rgba(15, 123, 83, 0.08);

  background: rgba(255,255,255,1);
}

/* SKELETON */

.skeleton {
  position: relative;
  overflow: hidden;

  background: rgba(17, 24, 39, 0.04);
}

.skeleton::after {
  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.65),
      transparent
    );

  animation: shimmer 1.7s infinite;
}

/* TOAST */

.toast-root {
  position: fixed;

  bottom: 28px;
  right: 28px;

  display: grid;
  gap: 0.85rem;

  z-index: 100;
}

.toast-card {
  display: grid;
  gap: 0.5rem;

  padding: 1rem 1.15rem;
  min-width: 260px;

  border-radius: 22px;

  background: rgba(255,255,255,0.96);

  color: var(--text);

  border: 1px solid rgba(200, 169, 91, 0.12);

  box-shadow:
    0 20px 50px rgba(17,24,39,0.08);
}

.card-title {
  color: var(--black);
  font-weight: 700;
}

/* ICONS */

.nav-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  border-radius: 18px;

  background: rgba(15, 123, 83, 0.08);

  color: var(--green);

  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.feature-card:hover .feature-icon,
.product-card:hover .feature-icon,
.testimonial-card:hover .feature-icon {
  transform: translateY(-3px);

  background: rgba(15, 123, 83, 0.12);
}

/* FLOAT */

.pulse,
.icon-chip {
  animation: floatPulse 4s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* SHIMMER */

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-visual {
    min-height: 520px;
  }
}

@media (max-width: 720px) {

  .hero-visual {
    min-height: 420px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}