/* ===========================
   CSS Variables & Reset
=========================== */
:root {
  --green-dark: #0d2818;
  --green-mid: #1a4a2e;
  --green-light: #2d6a4f;
  --green-bright: #52b788;
  --green-glow: #74c69d;
  --gold: #d4a853;
  --gold-light: #f0c96e;
  --cream: #fdf6e8;
  --white: #ffffff;
  --text-muted: #a8b5a0;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(116, 198, 157, 0.2);
  --card-hover-border: rgba(212, 168, 83, 0.5);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--green-dark);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===========================
   LOCK SCREEN
=========================== */
.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(82, 183, 136, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 168, 83, 0.1) 0%, transparent 50%),
    rgba(8, 18, 10, 0.97);
  backdrop-filter: blur(20px);
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.lock-screen.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.lock-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(116, 198, 157, 0.25);
  border-radius: 28px;
  padding: 52px 44px 44px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: fadeInUp 0.6s ease both;
}

.lock-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--green-bright));
  opacity: 0.7;
}

.lock-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  animation: pulse 2.5s ease-in-out infinite;
}

.lock-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.lock-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 32px;
}

.lock-input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.lock-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(116, 198, 157, 0.3);
  border-radius: 12px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.lock-input::placeholder { color: rgba(168,181,160,0.5); }

.lock-input:focus {
  border-color: rgba(212, 168, 83, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.lock-input.error {
  border-color: rgba(220, 80, 80, 0.7);
  animation: shake 0.4s ease;
}

.lock-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a0e00;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.lock-btn:hover { opacity: 0.88; transform: scale(1.03); }
.lock-btn:active { transform: scale(0.98); }

.lock-error {
  font-size: 0.82rem;
  color: #f08080;
  min-height: 20px;
  margin-bottom: 24px;
  transition: opacity 0.3s;
}

.lock-hint {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: rgba(116, 198, 157, 0.5);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(82, 183, 136, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(212, 168, 83, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0a1f12 0%, #0d2818 40%, #0c2014 70%, #111a0e 100%);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.badge {
  display: inline-block;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s ease 0.1s both;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--green-bright);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  animation: fadeIn 1s ease 0.6s both;
  transition: color 0.3s;
}

.scroll-indicator:hover { color: var(--gold-light); }

.arrow-bounce {
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

.hero-decoration { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.leaf {
  position: absolute;
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

.leaf-1 { top: 15%; left: 8%; animation-delay: 0s; font-size: 3rem; }
.leaf-2 { top: 65%; right: 10%; animation-delay: -3s; font-size: 2rem; }
.leaf-3 { bottom: 20%; left: 15%; animation-delay: -5s; font-size: 2.8rem; }

/* ===========================
   CONTENT SECTION
=========================== */
.content-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.block-header { margin-bottom: 24px; }

.block-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.main-tag {
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.35);
  color: var(--gold-light);
}

.bonus-tag {
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.3);
  color: var(--green-bright);
}

.block-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 6px;
}

/* ===========================
   MAIN PRODUCT CARD
=========================== */
.card-main {
  display: block;
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(212, 168, 83, 0.3);
  background: linear-gradient(135deg,
    rgba(212, 168, 83, 0.08) 0%,
    rgba(82, 183, 136, 0.06) 50%,
    rgba(13, 40, 24, 0.9) 100%
  );
  backdrop-filter: blur(12px);
  padding: 40px 40px 36px;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--green-bright));
  opacity: 0.7;
}

.card-main:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 83, 0.6);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(212, 168, 83, 0.08);
}

.card-main:hover .card-glow { opacity: 1; }
.card-main:hover .cta-arrow { transform: translateX(6px); }
.card-main:hover .card-icon { transform: scale(1.15) rotate(-5deg); }

.card-main-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.main-icon-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-icon-wrap .card-icon { font-size: 2.2rem; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

.card-main .card-body { flex: 1; min-width: 200px; }

.card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.25;
}

.card-main .card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

.main-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a0e00;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 26px;
  border-radius: 12px;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.3s;
  text-decoration: none;
}

.card-main:hover .main-cta { opacity: 0.9; transform: scale(1.03); }

.main-cta .cta-arrow { transition: transform 0.3s ease; font-size: 1rem; color: #1a0e00; }

/* ===========================
   BONUS CARDS GRID
=========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ===========================
   BONUS CARD
=========================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  animation: fadeInUp 0.7s ease both;
}

.card:nth-child(1) { animation-delay: 0.15s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(3) { animation-delay: 0.35s; }
.card:nth-child(4) { animation-delay: 0.45s; }

.card:hover {
  transform: translateY(-8px);
  border-color: var(--card-hover-border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}

.card:hover .card-glow { opacity: 1; }
.card:hover .cta-arrow { transform: translateX(6px); }
.card:hover .card-icon { transform: scale(1.15) rotate(-5deg); }

.card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 160px;
  background: radial-gradient(ellipse at 50% 0%, rgba(82, 183, 136, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-main .card-glow {
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
}

.card-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(82, 183, 136, 0.08);
  position: absolute;
  top: 12px; right: 18px;
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s ease;
}

.card:hover .card-number { color: rgba(212, 168, 83, 0.12); }

.card-icon-wrap {
  width: 58px;
  height: 58px;
  background: rgba(82, 183, 136, 0.1);
  border: 1px solid rgba(82, 183, 136, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.card:hover .card-icon-wrap {
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.3);
}

.card-icon {
  font-size: 1.6rem;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-body { flex: 1; margin-bottom: 20px; }

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(82, 183, 136, 0.1);
  border: 1px solid rgba(82, 183, 136, 0.2);
  color: var(--green-bright);
  padding: 3px 10px;
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.card:hover .tag {
  background: rgba(212, 168, 83, 0.1);
  border-color: rgba(212, 168, 83, 0.25);
  color: var(--gold-light);
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-bright);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.card:hover .card-cta { color: var(--gold-light); }

.cta-arrow { font-size: 1rem; transition: transform 0.3s ease; }

/* ===========================
   FOOTER
=========================== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--green-bright);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-20px) rotate(5deg); }
  66%       { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX(5px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* ===========================
   RESPONSIVE — MOBILE
=========================== */
@media (max-width: 680px) {
  /* Hero */
  .hero { padding: 60px 20px 50px; min-height: 100svh; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .badge { font-size: 0.72rem; padding: 7px 16px; }

  /* Main card */
  .card-main { padding: 24px 20px; }
  .card-main-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .main-icon-wrap { width: 64px; height: 64px; }
  .main-icon-wrap .card-icon { font-size: 1.8rem; }
  .main-title { font-size: 1.3rem; }
  .main-cta { width: 100%; justify-content: center; padding: 16px 24px; font-size: 0.95rem; }

  /* Bonus cards */
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 24px 20px 20px; }
  .card-title { font-size: 1rem; }

  /* Content section */
  .content-section { padding: 48px 16px 72px; gap: 48px; }

  /* Block tags */
  .block-tag { font-size: 0.72rem; }

  /* Lock screen */
  .lock-box { padding: 36px 20px 28px; border-radius: 20px; }
  .lock-title { font-size: 1.5rem; }
  .lock-subtitle { font-size: 0.85rem; }
  .lock-input-wrap { flex-direction: column; gap: 12px; }
  .lock-btn { width: 100%; padding: 15px; font-size: 1rem; border-radius: 12px; }
  .lock-input { padding: 15px 16px; font-size: 1rem; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.9rem; }
  .main-title { font-size: 1.2rem; }
}
