/* ============================================================
   CozyVine Marketing Site — Stylesheet
   Color Palette:
     --wine:     #5B2333  (deep burgundy)
     --gold:     #C9A84C  (warm gold)
     --cream:    #FAF7F2  (warm off-white)
     --charcoal: #1A1A1A  (near-black)
     --stone:    #3D3D3D  (dark gray)
     --mist:     #F0ECE3  (light warm gray)
   ============================================================ */

:root {
  --wine: #5B2333;
  --wine-light: #7A3348;
  --wine-dark: #3E1523;
  --gold: #C9A84C;
  --gold-light: #D4BA6A;
  --gold-dark: #A8893A;
  --cream: #FAF7F2;
  --charcoal: #1A1A1A;
  --stone: #3D3D3D;
  --mist: #F0ECE3;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gap: 2rem;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ---- Typography Helpers ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.section-eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.section-title--light { color: var(--white); }

.section-body {
  font-size: 1.125rem;
  color: var(--stone);
  max-width: 640px;
  line-height: 1.7;
}
.section-body--light { color: rgba(255,255,255,0.8); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn--outline {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine);
}
.btn--outline:hover {
  background: var(--wine);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}
.nav--scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.nav__logo-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 600 !important;
}
.nav__cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.5) 0%,
    rgba(26,26,26,0.3) 40%,
    rgba(26,26,26,0.7) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--gap);
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero__proof {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof {
  padding: 3rem 0;
  background: var(--charcoal);
}
.social-proof__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
.social-proof__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.social-proof__logos span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

/* ============================================================
   PROBLEM STATEMENT
   ============================================================ */
.problem {
  padding: 8rem 0;
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.problem__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.problem__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 4rem 0 8rem;
}
.features__header {
  text-align: center;
  margin-bottom: 5rem;
}
.features__header .section-body {
  margin: 0 auto;
}

/* Feature Cards */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.feature-card:last-child { margin-bottom: 0; }
.feature-card--reverse { direction: rtl; }
.feature-card--reverse > * { direction: ltr; }

.feature-card__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  transition: transform var(--transition);
}
.feature-card__image:hover { transform: scale(1.02); }
.feature-card__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--wine), var(--wine-light));
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 0.25rem;
}
.feature-card__subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone);
  margin-bottom: 1.25rem;
}
.feature-card__body {
  font-size: 1rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--stone);
}
.feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}
.ai-section__bg {
  position: absolute;
  inset: 0;
}
.ai-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.ai-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.92) 0%,
    rgba(91,35,51,0.85) 100%
  );
}
.ai-section__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.ai-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.ai-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
}
.ai-card__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.ai-card__icon svg { width: 100%; height: 100%; }
.ai-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.ai-card__body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison {
  padding: 8rem 0;
  background: var(--mist);
}
.comparison .section-eyebrow,
.comparison .section-title {
  text-align: center;
}
.comparison__table-wrap {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.comparison__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}
.comparison__table th,
.comparison__table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--mist);
}
.comparison__table thead th {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison__table thead th.comparison__highlight {
  background: var(--wine);
  color: var(--gold);
}
.comparison__table td.comparison__highlight {
  background: rgba(91,35,51,0.05);
  color: var(--wine);
  font-weight: 600;
}
.comparison__table tbody tr:last-child td { border-bottom: none; }
.comparison__table tbody tr:hover td { background: rgba(201,168,76,0.04); }
.comparison__table tbody tr:hover td.comparison__highlight { background: rgba(91,35,51,0.08); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 8rem 0;
}
.pricing .section-eyebrow,
.pricing .section-title,
.pricing .section-body {
  text-align: center;
}
.pricing .section-body { margin: 0 auto 3rem; }

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

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(201,168,76,0.2);
  transform: scale(1.04);
}
.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 50px rgba(201,168,76,0.3);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1.25rem;
  border-radius: 100px;
}
.pricing-card__header { margin-bottom: 1.5rem; }
.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wine);
}
.pricing-card__target {
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: 0.25rem;
}
.pricing-card__price {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
}
.pricing-card__period {
  font-size: 1rem;
  color: var(--stone);
}
.pricing-card__features {
  flex: 1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-card__features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--stone);
}
.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.pricing-card .btn { width: 100%; }

.pricing__addon {
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.pricing__addon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.pricing__addon-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pricing__addon-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(91,35,51,0.93) 0%,
    rgba(26,26,26,0.93) 100%
  );
}
.cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
}
.cta__form { margin-bottom: 1rem; }
.cta__form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta__input,
.cta__select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  outline: none;
  transition: all var(--transition);
  min-width: 200px;
}
.cta__input::placeholder { color: rgba(255,255,255,0.4); }
.cta__input:focus,
.cta__select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.15);
}
.cta__select { cursor: pointer; }
.cta__select option { color: var(--charcoal); background: var(--white); }
.cta__note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand .nav__logo {
  margin-bottom: 1rem;
}
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer__col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-card { grid-template-columns: 1fr; gap: 2rem; }
  .feature-card--reverse { direction: ltr; }
  .feature-card__image img { height: 300px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .ai-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem var(--gap);
    gap: 1rem;
  }
  .nav__links--open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__cta { text-align: center; }

  .problem__grid { grid-template-columns: 1fr; }
  .problem__image img { height: 280px; }

  .hero__title { font-size: clamp(2rem, 8vw, 3.5rem); }

  .comparison__table { font-size: 0.8rem; }
  .comparison__table th,
  .comparison__table td { padding: 0.75rem 0.75rem; }

  .cta__form-row { flex-direction: column; align-items: stretch; }
  .cta__input, .cta__select { min-width: auto; }

  .pricing__addon-inner { flex-direction: column; text-align: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .social-proof__logos { gap: 1.5rem; }
  .social-proof__logos span { font-size: 0.85rem; }
}
