/* ==========================================================================
   Код на парите - Жизнен код с Петя Радкова
   Styles: Modern Luxury Aesthetic (Deep Plum, Warm Gold, Ivory, Crisp White)
   ========================================================================== */

:root {
  --color-hero-dark: #1b1125;
  --color-hero-deep: #251433;
  --color-hero-light: #3d1f50;

  --color-gold-light: #dfb572;
  --color-gold: #b98b46;
  --color-gold-dark: #91682c;
  --color-gold-gradient: linear-gradient(135deg, #cb9f54 0%, #ab7d38 50%, #906326 100%);
  --color-gold-gradient-hover: linear-gradient(135deg, #d8ac60 0%, #b88a44 50%, #9d6e2e 100%);

  --color-bg-ivory: #faf7f2;
  --color-bg-cream: #f4ede3;
  --color-bg-card: #ffffff;

  --color-text-dark: #2c252f;
  --color-text-muted: #5e5762;
  --color-text-light: #ffffff;
  --color-text-gold: #b68945;

  --color-border-beige: #e7decb;
  --color-border-subtle: rgba(182, 137, 69, 0.2);

  --color-badge-purple: #532344;
  --color-badge-purple-deep: #3f1633;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive, sans-serif;

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px rgba(40, 20, 50, 0.08);
  --shadow-float: 0 20px 45px rgba(25, 12, 35, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* Base & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-ivory);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}

.btn-gold {
  background: var(--color-gold-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(182, 137, 69, 0.35);
}

.btn-gold:hover {
  background: var(--color-gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(182, 137, 69, 0.45);
  color: #ffffff;
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 15px 34px;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  border-radius: 8px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #f0eae1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lotus-icon {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2b2030;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: #7b7080;
  font-weight: 500;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #4b4450;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header {
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #332b38;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid #efe8dd;
  padding-bottom: 12px;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 2rem;
  color: #665b6e;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: #3a3240;
}

.mobile-drawer-cta {
  margin-top: auto;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  background-color: var(--color-hero-dark);
  background: radial-gradient(circle at 50% 20%, #361a46 0%, #20112c 55%, #130a1c 100%);
  color: #ffffff;
  padding: 60px 0 70px;
  overflow: hidden;
}

.hero-cosmic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stars-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 140px 170px, #ffd899, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 280px 90px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 450px 220px, #fadc96, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 700px 80px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 950px 190px, #ffde9c, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 1100px 120px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 400px 300px;
  opacity: 0.45;
}

.hero-golden-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38px;
  background-image: url('../images/golden_ribbon.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero-golden-wave {
    display: none;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.05fr;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
}

/* Left Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 14px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #ffe0a3 0%, #d8a85a 45%, #b27f32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 20px rgba(216, 168, 90, 0.2);
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.4;
  color: #e5d8ea;
  margin-bottom: 22px;
  font-weight: 400;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(182, 137, 69, 0.15);
  border: 1px solid rgba(206, 163, 93, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.badge-icon {
  color: #d6ab62;
  display: flex;
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: #f7e6c4;
}

.hero-description {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #d0c2d6;
  margin-bottom: 28px;
  max-width: 420px;
}

.hero-handwritten {
  font-family: var(--font-script);
  font-size: 2.2rem;
  line-height: 1.1;
  color: #f4d393;
  transform: rotate(-3deg);
  margin-top: 5px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* Center Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-astrology-wheel {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(208, 165, 96, 0.25);
  box-shadow: inset 0 0 40px rgba(182, 137, 69, 0.1), 0 0 50px rgba(182, 137, 69, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: slowSpin 120s linear infinite;
  pointer-events: none;
}

.hero-astrology-wheel::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(220, 180, 115, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes slowSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-portrait-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(182, 137, 69, 0.2);
  border: 2px solid rgba(208, 165, 96, 0.35);
  max-width: 320px;
}

.hero-portrait-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-portrait-wrapper:hover .hero-portrait-img {
  transform: scale(1.02);
}

.hero-portrait-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 60%, rgba(26, 16, 37, 0.6) 100%);
  pointer-events: none;
}

/* Right: Form Card */
.hero-form-wrapper {
  position: relative;
  z-index: 3;
}

.register-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-float);
  border: 1px solid #f0e6d6;
  position: relative;
  color: var(--color-text-dark);
}

.register-card-header {
  text-align: center;
  margin-bottom: 22px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.25;
  color: #291b30;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #796f80;
  font-weight: 400;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fbf9f6;
  border: 1px solid #e1d6c3;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.input-wrapper:focus-within {
  border-color: var(--color-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(182, 137, 69, 0.15);
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #9f91a5;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  color: #2e2633;
  background: transparent;
  border: none;
  outline: none;
}

.phone-wrapper {
  padding-left: 0;
}

.phone-flag-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 12px;
  border-right: 1px solid #e3d8c8;
  height: 48px;
  background-color: #f7f3ec;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  color: #655b6c;
}

.phone-icon-svg {
  color: #8c7d95;
}

.bg-flag {
  font-size: 1.1rem;
}

.country-code {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b4152;
}

.phone-wrapper input {
  padding-left: 12px;
}

.field-error {
  font-size: 0.78rem;
  color: #d32f2f;
  margin-top: 4px;
  padding-left: 6px;
  display: none;
}

.field-error.active {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  margin-top: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.lock-icon {
  color: #ab8646;
  display: flex;
}

.form-security p {
  font-size: 0.74rem;
  color: #6c6372;
  line-height: 1.35;
  text-align: center;
}

.form-pointer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.hand-arrow {
  width: 24px;
  height: 24px;
}

.pointer-text {
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: #8f672f;
  transform: rotate(-2deg);
}

/* ==================== THREE HIGHLIGHTS BAR ==================== */
.features-bar {
  background-color: #f6f1e8;
  border-bottom: 1px solid #ebdcc8;
  padding: 24px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dfcbb3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.feature-icon-circle svg {
  width: 24px;
  height: 24px;
}

.feature-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #3b3240;
  line-height: 1.35;
}

/* ==================== COMMON SECTION HEADINGS ==================== */
.section {
  padding: 85px 0;
}

.section-heading {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #271a2e;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #5d5364;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

.section-subtitle strong {
  color: #271a2e;
  font-weight: 600;
}

/* ==================== SECTION: КАКВО ЩЕ НАПРАВИШ НА ПРАКТИКА? ==================== */
.practical-section {
  background-color: #ffffff;
}

.practical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.practical-card {
  background: #fbf9f6;
  border: 1px solid #ebdcc8;
  border-radius: var(--radius-md);
  padding: 40px 28px 34px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.practical-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(182, 137, 69, 0.1);
  border-color: #d6be9f;
}

.card-number-badge {
  position: absolute;
  top: -18px;
  width: 36px;
  height: 36px;
  background: #f4e8d8;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #7b5825;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.card-icon-wrap {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.practical-icon {
  width: 100%;
  height: 100%;
}

.card-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #271a2e;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.25;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #5c5262;
}

/* ==================== SECTION: И ТУК СТАВА ИНТЕРЕСНО... ==================== */
.interesting-section {
  background-color: #faf6f0;
  border-top: 1px solid #eee4d5;
}

.interesting-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 50px;
}

.interesting-photo-box {
  position: relative;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(40, 20, 50, 0.14);
  border: 1px solid #dfd1be;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 10, 28, 0.55) 0%, rgba(20, 10, 28, 0.15) 45%, transparent 100%);
  pointer-events: none;
}

.armchair-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-frame:hover .armchair-img {
  transform: scale(1.02);
}

.armchair-quote-overlay {
  position: absolute;
  top: 10%;
  left: 6%;
  max-width: 54%;
  z-index: 2;
  pointer-events: none;
}

.armchair-script-quote {
  font-family: var(--font-script);
  font-size: 2.1rem;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 15px rgba(0, 0, 0, 0.6);
  transform: rotate(-3deg);
  margin-bottom: 8px;
}

.armchair-script-author {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: #ffd895;
  display: block;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  transform: rotate(-1.5deg);
  margin-left: 12px;
}

.interesting-content {
  display: flex;
  flex-direction: column;
}

.interesting-intro {
  font-size: 1.05rem;
  color: #4a4050;
  line-height: 1.5;
  margin-bottom: 24px;
}

.interesting-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-badge {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #f1e2cc;
  border: 1px solid #d4b584;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-badge svg {
  width: 13px;
  height: 13px;
}

.item-text {
  font-size: 0.98rem;
  font-weight: 500;
  color: #312837;
  line-height: 1.45;
}

.interesting-conclusion {
  background: #ffffff;
  border-left: 3px solid var(--color-gold);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.interesting-conclusion p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #524758;
}

.interesting-conclusion strong {
  color: #271a2e;
}

/* ==================== BANNER: ЕЛА С ЕДНО НЕЩО ==================== */
.banner-section {
  padding: 40px 0 60px;
  background-color: #faf6f0;
}

.ribbon-card {
  background: #fdfbf7;
  border: 1px solid #e1d3c0;
  border-radius: var(--radius-md);
  padding: 30px 36px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ribbon-col {
  display: flex;
  align-items: center;
}

.ribbon-left {
  gap: 18px;
  flex: 1.3;
}

.calendar-stamp-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
}

.ribbon-heading {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: #271a2e;
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.ribbon-sub {
  font-size: 0.88rem;
  color: #6a5e70;
}

.ribbon-divider {
  width: 1px;
  height: 60px;
  background: #e2d4c0;
}

.ribbon-mid {
  flex: 1;
  justify-content: center;
}

.script-trio {
  font-family: var(--font-script);
  font-size: 1.85rem;
  line-height: 1.15;
  color: #936b2f;
  text-align: center;
}

.ribbon-right {
  flex: 0.9;
  justify-content: flex-end;
}

.free-brush-badge {
  background: radial-gradient(ellipse at 50% 50%, #5d204a 0%, #3e1232 100%);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 48px 14px 44px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(62, 18, 50, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: rotate(-2deg);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.free-brush-badge:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 12px 30px rgba(62, 18, 50, 0.5);
}

.free-line-1 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  opacity: 0.95;
  font-weight: 500;
}

.free-line-2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
  background-color: #ffffff;
}

.faq-container {
  max-width: 820px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fbf9f6;
  border: 1px solid #e7decb;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--color-gold);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(182, 137, 69, 0.08);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #271a2e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--color-gold);
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #5d5364;
}

/* ==================== BOTTOM CTA SECTION ==================== */
.bottom-cta-section {
  position: relative;
  background-color: #1a1024;
  padding: 90px 0;
  overflow: hidden;
  color: #ffffff;
}

.cta-backdrop-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/sunrise_banner-1376.webp');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.85;
}

.cta-backdrop-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 11, 28, 0.88) 0%, rgba(20, 11, 28, 0.65) 45%, rgba(20, 11, 28, 0.35) 100%);
}

.cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-left {
  flex: 1.2;
}

.cta-main-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  color: #ffffff;
}

.cta-btn {
  display: inline-flex;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(203, 159, 84, 0.4);
}

.arrow-symbol {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.cta-btn:hover .arrow-symbol {
  transform: translateX(4px);
}

.cta-right {
  flex: 0.8;
  text-align: right;
}

.cta-values-list {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: #f7e6c5;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #ebdcc8;
  padding: 36px 0 20px;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-values {
  display: flex;
  align-items: center;
  gap: 28px;
}

.f-val-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #554a5c;
  font-weight: 500;
}

.f-icon {
  display: flex;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid #f4ede3;
  padding-top: 18px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #8c8192;
}

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 9, 26, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #887d90;
}

.modal-check-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(47, 133, 90, 0.3);
}

.modal-check-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #271a2e;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: #5c5262;
  line-height: 1.55;
  margin-bottom: 18px;
}

.modal-instruction {
  background: #fbf7ee;
  border: 1px dashed #dec399;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #6b522a;
  text-align: left;
  margin-bottom: 24px;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .hero-form-wrapper {
    grid-column: 1 / 3;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .interesting-container {
    grid-template-columns: 1fr;
  }

  .interesting-photo-box {
    max-width: 440px;
    margin: 0 auto;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-left {
    text-align: center;
  }

  .cta-right {
    text-align: center;
  }

  .cta-values-list {
    text-align: center;
  }
}

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

  .btn-header {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: auto;
    margin: 20px 0;
  }

  .hero-portrait-wrapper {
    max-width: 250px;
  }

  .hero-form-wrapper {
    grid-column: 1;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .practical-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .practical-card {
    padding: 34px 22px 28px;
  }

  .ribbon-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 20px;
  }

  .ribbon-left {
    flex-direction: column;
  }

  .ribbon-divider {
    width: 60px;
    height: 1px;
  }

  .ribbon-right {
    justify-content: center;
  }

  .cta-main-title {
    font-size: 2rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-values {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==================== ANIMATIONS ==================== */
/* Scroll reveal — uses the individual `translate`/`scale` properties so it
   never clashes with existing `transform` hover effects. */
.reveal {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-up    { translate: 0 40px; }
.reveal-left  { translate: -60px 0; }
.reveal-right { translate: 60px 0; }
.reveal-zoom  { scale: 0.9; }

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* Hero: floating portrait and breathing glow */
.hero-portrait-wrapper {
  animation: floatY 6s ease-in-out infinite;
}

.hero-astrology-wheel::before {
  animation: glowPulse 5s ease-in-out infinite;
}

.stars-overlay {
  animation: starsTwinkle 4s ease-in-out infinite alternate;
}

/* Feature icons bob gently, staggered */
.feature-icon-circle {
  animation: floatY 4s ease-in-out infinite;
}
.feature-item:nth-child(2) .feature-icon-circle { animation-delay: 0.6s; }
.feature-item:nth-child(3) .feature-icon-circle { animation-delay: 1.2s; }

/* Practical cards: number badge pops in after the card appears */
.practical-card.is-visible .card-number-badge {
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--reveal-delay, 0s) + 0.35s);
}

.practical-card:hover .practical-icon {
  animation: wiggle 0.6s ease-in-out;
}

/* "Безплатно" badge breathes */
.free-brush-badge {
  animation: badgeBreath 3s ease-in-out infinite;
}

/* CTA buttons: soft pulsing glow + sweeping shine */
.btn-submit,
.cta-btn {
  position: relative;
  overflow: hidden;
  animation: btnPulse 2.6s ease-in-out infinite;
}

.btn-submit::after,
.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-150%) skewX(-20deg);
  animation: btnShine 4s ease-in-out infinite;
  pointer-events: none;
}

/* Bottom CTA: slow Ken Burns on the backdrop */
.cta-backdrop-image {
  animation: kenBurns 24s ease-in-out infinite alternate;
}

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@keyframes starsTwinkle {
  from { opacity: 0.3; }
  to   { opacity: 0.6; }
}

@keyframes popIn {
  0%   { scale: 0; }
  100% { scale: 1; }
}

@keyframes wiggle {
  0%, 100% { rotate: 0deg; }
  25%      { rotate: -8deg; }
  75%      { rotate: 8deg; }
}

@keyframes badgeBreath {
  0%, 100% { scale: 1; }
  50%      { scale: 1.05; }
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(182, 137, 69, 0.35); }
  50%      { box-shadow: 0 4px 28px rgba(208, 165, 96, 0.7); }
}

@keyframes btnShine {
  0%, 60% { transform: translateX(-150%) skewX(-20deg); }
  100%    { transform: translateX(300%) skewX(-20deg); }
}

@keyframes kenBurns {
  from { scale: 1; }
  to   { scale: 1.12; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: none;
    scale: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
  }
}

/* ==================== ANIMATIONS: ROUND 2 ==================== */
/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #b27f32, #ffe0a3, #d8a85a);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 1100;
  pointer-events: none;
}

/* Header gets a stronger shadow once the page is scrolled */
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(39, 26, 46, 0.12);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

/* "ПАРИТЕ" gold shimmer */
.gold-gradient-text {
  background: linear-gradient(110deg, #b27f32 0%, #d8a85a 25%, #fff3d6 45%, #d8a85a 60%, #b27f32 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: goldShimmer 5s linear infinite;
}

/* Handwritten lines write themselves in */
.hero-handwritten span {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  animation: writeIn 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  animation-delay: 1s;
}
.hero-handwritten span:last-of-type { animation-delay: 1.8s; }

/* Rising golden particles in the hero */
.hero-particle {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe7b3 0%, rgba(216, 168, 90, 0.8) 40%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  animation: particleRise linear infinite;
}

/* Parallax targets move smoothly */
.hero-portrait-wrapper,
.stars-overlay {
  transition: transform 0.4s ease-out;
}

/* Gold underline draws under section titles */
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #d8a85a, transparent);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.section-title.text-left::after {
  margin-left: 0;
  background: linear-gradient(90deg, #d8a85a, transparent);
}
.is-visible .section-title::after,
.section-title.is-visible::after {
  width: 90px;
}

/* Check badges spin in with their list item */
.list-item .check-badge {
  scale: 0;
  rotate: -180deg;
  transition: scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), rotate 0.5s ease;
  transition-delay: calc(var(--reveal-delay, 0s) + 0.3s);
}
.list-item.is-visible .check-badge {
  scale: 1;
  rotate: 0deg;
}

/* CTA values appear line by line */
.cta-values-list span {
  display: inline-block;
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.7s ease, translate 0.7s ease;
}
.cta-right.is-visible .cta-values-list span { opacity: 1; translate: 0 0; }
.cta-right.is-visible .cta-values-list span:nth-of-type(1) { transition-delay: 0.4s; }
.cta-right.is-visible .cta-values-list span:nth-of-type(2) { transition-delay: 0.8s; }
.cta-right.is-visible .cta-values-list span:nth-of-type(3) { transition-delay: 1.2s; }

/* Feature icons spin on hover */
.feature-item:hover .feature-icon-circle svg {
  animation: spinOnce 0.8s ease;
}

/* 3D tilt cards follow the cursor quickly */
.practical-card.tilting,
.ribbon-card.tilting {
  transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

/* Click ripple on buttons */
.btn {
  position: relative;
  overflow: hidden;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.7s ease-out forwards;
  pointer-events: none;
}

@keyframes goldShimmer {
  from { background-position: 100% 0; }
  to   { background-position: -150% 0; }
}

@keyframes writeIn {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes particleRise {
  0%   { opacity: 0; translate: 0 0; }
  15%  { opacity: 0.9; }
  85%  { opacity: 0.6; }
  100% { opacity: 0; translate: var(--drift, 20px) -520px; }
}

@keyframes spinOnce {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-handwritten span,
  .list-item .check-badge,
  .cta-values-list span {
    clip-path: none;
    opacity: 1;
    scale: 1;
    rotate: 0deg;
    translate: none;
  }
  .section-title::after { width: 90px; }
  .hero-particle { display: none; }
}

/* Oversize the star layer so parallax never exposes its edges */
.stars-overlay {
  top: -40px;
  left: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
}

/* ==================== MOBILE PERFORMANCE ==================== */
.hero-portrait-img,
.armchair-img {
  height: auto;
}

@media (max-width: 768px) {
  .cta-backdrop-image {
    background-image: url('../images/sunrise_banner-800.webp');
  }

  /* Only fade up on mobile — sideways slides cause horizontal jank */
  .reveal-left,
  .reveal-right {
    translate: 0 30px;
  }
  .reveal-up {
    translate: 0 24px;
  }
  .reveal {
    transition-duration: 0.6s;
  }

  /* Phones: no endless animations — only one-time scroll reveals
     plus a gentle breath on the main buttons */
  .hero-portrait-wrapper,
  .hero-astrology-wheel,
  .hero-astrology-wheel::before,
  .stars-overlay,
  .feature-icon-circle,
  .free-brush-badge,
  .btn-submit::after,
  .cta-btn::after,
  .cta-backdrop-image,
  .gold-gradient-text {
    animation: none;
  }
  .btn-submit,
  .cta-btn {
    animation: btnBreath 3s ease-in-out infinite;
  }

  /* Handwritten lines: simple fade instead of a clip-path wipe */
  .hero-handwritten span {
    clip-path: none;
    opacity: 0;
    animation: fadeInSoft 0.8s ease forwards;
    animation-delay: 0.5s;
  }
  .hero-handwritten span:last-of-type { animation-delay: 0.8s; }

  .register-card {
    padding: 28px 20px;
  }

  .site-header.scrolled {
    backdrop-filter: none;
    background-color: #ffffff;
  }

  .hero-handwritten {
    filter: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

  /* Section titles: smaller, tighter, balanced line breaks */
  .section-title {
    font-size: clamp(1.65rem, 7.4vw, 2.1rem);
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-wrap: balance;
  }

  .cta-main-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    text-wrap: balance;
  }

  /* Handwritten note under the form: compact, wraps safely if space is short */
  .form-pointer-note {
    gap: 6px;
    margin-top: 12px;
  }
  .hand-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .pointer-text {
    min-width: 0;
    font-size: 1.25rem;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
  }

  /* Keep the submit button on a single line */
  .btn-submit {
    white-space: nowrap;
    font-size: clamp(0.8rem, 3.9vw, 1rem);
    letter-spacing: 0.02em;
    padding: 14px 10px;
  }
}

@keyframes floatYSoft {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

@keyframes btnBreath {
  0%, 100% { scale: 1; }
  50%      { scale: 1.025; }
}

@keyframes fadeInSoft {
  to { opacity: 1; }
}
