/* ═══════════════════════════════════════════
   რბილი AvEji — Main Stylesheet
   Colors: White / Purple / Gold
═══════════════════════════════════════════ */

:root {
  --purple:       #5B2D8E;
  --purple-light: #7B3DB5;
  --purple-dark:  #3D1A66;
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --gold-dark:    #A07830;
  --white:        #FFFFFF;
  --off-white:    #FAF9F7;
  --text-dark:    #1A1A2E;
  --text-mid:     #4A4060;
  --text-light:   #8A7FA0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(91,45,142,0.1); }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--purple-dark); letter-spacing: 1px;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover { color: var(--purple); }
.nav-phone {
  color: var(--purple) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(91,45,142,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s !important;
}
.nav-phone:hover {
  background: var(--purple) !important;
  color: white !important;
  border-color: var(--purple);
}
.nav-cta {
  background: var(--purple) !important;
  color: white !important;
  padding: 10px 24px; border-radius: 2px;
}
.nav-cta:hover { background: var(--purple-dark) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--purple-dark); transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 65px; left: 0; right: 0;
  background: white; padding: 24px 48px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  flex-direction: column; gap: 20px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: var(--text-mid);
  font-size: 0.9rem; font-weight: 500;
  padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding-top: 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, #F5F0FA 0%, #EDE4F5 100%);
  z-index: 0;
}
.hero-text {
  padding: 80px 48px 80px 80px;
  position: relative; z-index: 1;
  animation: fadeInLeft 0.9s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-dark);
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}
.hero-badge::before { content: '✦'; }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--purple-dark); margin-bottom: 20px;
}
.hero-title .accent { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: 0.95rem; color: var(--text-mid);
  line-height: 1.8; max-width: 420px;
  margin-bottom: 40px; font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: relative; z-index: 1;
  padding: 60px 60px 60px 30px;
  display: flex; justify-content: center;
  animation: fadeInRight 0.9s ease both;
}
.hero-img-wrap { position: relative; width: 100%; max-width: 560px; }
.hero-img-wrap img {
  width: 100%; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(91,45,142,0.2);
}
.hero-img-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--purple-dark);
  color: white; padding: 20px 28px; border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.hero-img-badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold-light); display: block;
}
.hero-img-badge .label {
  font-size: 0.7rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--purple); color: white; text-decoration: none;
  padding: 14px 32px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; border-radius: 2px;
  transition: all 0.3s; box-shadow: 0 8px 30px rgba(91,45,142,0.3);
  cursor: pointer; border: none; font-family: 'Montserrat', sans-serif;
}
.btn-primary:hover {
  background: var(--purple-dark); transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(91,45,142,0.4);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--gold); color: var(--gold-dark);
  text-decoration: none; padding: 14px 32px;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; border-radius: 2px;
  transition: all 0.3s;
}
.btn-secondary:hover { background: var(--gold); color: white; }

/* ── GOLD DIVIDER ── */
.gold-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

/* ── STATS ── */
.stats {
  background: var(--purple-dark); padding: 48px 80px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--gold-light); display: block;
}
.stat-label {
  font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; padding: 80px 48px 48px; }
.section-tag {
  display: inline-block; font-size: 0.7rem;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 12px; position: relative;
}
.section-tag::before, .section-tag::after { content: '—'; margin: 0 10px; color: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--purple-dark); font-weight: 700; line-height: 1.2;
}
.section-subtitle {
  font-size: 0.9rem; color: var(--text-light);
  max-width: 500px; margin: 16px auto 0;
  line-height: 1.8; font-weight: 300;
}

/* ── PRODUCTS ── */
.products { background: var(--off-white); padding-bottom: 80px; }
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 0 80px;
}
.product-card {
  background: white; border-radius: 4px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.4s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(91,45,142,0.15); }
.product-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.6s; }
.product-card:hover img { transform: scale(1.04); }
.product-info { padding: 24px; }
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--purple-dark); font-weight: 600; margin-bottom: 8px;
}
.product-desc { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.product-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12); color: var(--gold-dark);
  font-size: 0.7rem; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 20px; font-weight: 500;
}

/* ── HOW IT WORKS ── */
.how-it-works { padding: 0 80px 80px; background: var(--off-white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step {
  text-align: center; padding: 32px 20px;
  background: white; border-radius: 4px;
  border-bottom: 3px solid var(--gold); transition: all 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(201,168,76,0.15); }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700;
  color: rgba(201,168,76,0.3); display: block; line-height: 1; margin-bottom: 16px;
}
.step-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.step-title { font-size: 0.9rem; font-weight: 600; color: var(--purple-dark); margin-bottom: 8px; }
.step-desc { font-size: 0.8rem; color: var(--text-light); line-height: 1.7; }

/* ── INSTALLMENT ── */
.installment {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, #7B3DB5 100%);
  padding: 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; overflow: hidden;
}
.installment::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(201,168,76,0.1); pointer-events: none;
}
.installment::after {
  content: ''; position: absolute; bottom: -150px; left: 200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.installment-text { position: relative; z-index: 1; }
.installment-text .section-tag { color: var(--gold-light); }
.installment-text .section-tag::before,
.installment-text .section-tag::after { color: var(--gold-light); }
.installment-text .section-title { color: white; text-align: left; }
.installment-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.75);
  line-height: 1.9; margin: 20px 0 32px; font-weight: 300;
}
.installment-features { position: relative; z-index: 1; }
.inst-feature {
  display: flex; align-items: flex-start; gap: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px; padding: 24px; margin-bottom: 16px; transition: all 0.3s;
}
.inst-feature:hover { background: rgba(255,255,255,0.12); border-color: rgba(201,168,76,0.5); }
.inst-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.inst-title { font-size: 0.9rem; font-weight: 600; color: var(--gold-light); margin-bottom: 4px; }
.inst-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ── FACEBOOK CTA ── */
.fb-section { padding: 80px; background: var(--white); text-align: center; }
.fb-card {
  max-width: 640px; margin: 0 auto; background: white;
  border: 1px solid rgba(91,45,142,0.1); border-radius: 8px;
  padding: 56px 48px; box-shadow: 0 20px 80px rgba(91,45,142,0.08);
  position: relative; overflow: hidden;
}
.fb-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--purple), var(--gold));
}
.fb-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #1877F2; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 2rem; color: white; font-weight: 800;
  box-shadow: 0 8px 30px rgba(24,119,242,0.3);
}
.fb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--purple-dark); font-weight: 700; margin-bottom: 12px;
}
.fb-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; margin-bottom: 32px; font-weight: 300; }
.fb-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1877F2; color: white; text-decoration: none;
  padding: 16px 40px; border-radius: 4px; font-weight: 600; font-size: 0.9rem;
  transition: all 0.3s; box-shadow: 0 8px 30px rgba(24,119,242,0.3);
}
.fb-btn:hover { background: #166FE5; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(24,119,242,0.4); }

/* ── FOOTER ── */
footer {
  background: var(--text-dark); padding: 48px 80px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700; color: white; text-decoration: none;
}
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero::before { width: 100%; height: 50%; top: 50%; }
  .hero-text { padding: 48px 24px 24px; }
  .hero-image { padding: 24px; }
  .stats { padding: 32px 24px; gap: 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
  .steps { grid-template-columns: 1fr 1fr; padding: 0; }
  .installment { grid-template-columns: 1fr; padding: 48px 24px; gap: 40px; }
  .fb-section { padding: 48px 24px; }
  .fb-card { padding: 40px 24px; }
  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
  .section-header { padding: 48px 24px 32px; }
  .how-it-works { padding: 0 24px 48px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .stats { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ── PRODUCT PRICE & BUTTONS ── */
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 16px;
}
.product-btns {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.btn-buy {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: white;
  text-decoration: none; padding: 10px 20px;
  border-radius: 2px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.5px; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(91,45,142,0.25);
}
.btn-buy:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn-installment {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--gold);
  background: transparent; color: var(--gold-dark);
  padding: 10px 20px; border-radius: 2px;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-installment:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-1px);
}

/* ── FOOTER REDESIGN ── */
footer {
  background: var(--text-dark);
  padding: 0;
  flex-direction: column;
  display: block;
}
.footer-top {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 36px 80px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap; gap: 20px;
}
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 80px;
  flex-wrap: wrap; gap: 12px;
  background: rgba(0,0,0,0.2);
}
.footer-bottom span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal {
  display: flex; align-items: center; gap: 12px;
}
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--gold); }
.footer-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
}
/* terms-notice under buy buttons */
.terms-notice {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 10px;
}
.terms-notice a {
  color: var(--purple);
  text-decoration: underline;
}
@media (max-width: 900px) {
  .footer-top { padding: 28px 24px; }
  .footer-bottom { padding: 14px 24px; flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}
