/*
Theme Name: CollectorSpeak
Theme URI: https://collectorspeak.com
Author: CollectorSpeak
Author URI: https://collectorspeak.com
Description: AI-powered cataloging for serious collectors — marketing landing page theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: collectorspeak
Tags: one-page, custom-colors, landing-page
*/

/* ==========================================================================
   CollectorSpeak Marketing Website
   Brand palette:
     Collector Brown  #7A2E1E  (primary)
     Forest Green     #1F4F3A  (secondary / text)
     Vintage Cream    #F2E7D8  (background)
     Antique Gold     #C7A15B  (accent)
   Typography: Playfair Display (headings), Inter (body)
   ========================================================================== */

/* ---- Custom properties ---- */
:root {
  --brown:         #7A2E1E;
  --brown-light:   #F0CABB;
  --brown-dark:    #3A0E05;
  --green:         #1F4F3A;
  --green-light:   #B8D5C8;
  --green-dark:    #0A2A1D;
  --cream:         #F2E7D8;
  --cream-light:   #FBF5EC;
  --cream-dark:    #EBD9C5;
  --gold:          #C7A15B;
  --gold-light:    #F0DEB8;
  --gold-dark:     #5A4218;
  --surface:       #FBF5EC;
  --text-primary:  #1F4F3A;
  --text-secondary:#5D4E42;
  --outline:       #D5C9BC;
  --white:         #FFFFFF;
  --error:         #B3261E;

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

  --radius-sm:  8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  --shadow-sm:  0 1px  3px rgba(31,79,58,.06), 0 1px  2px rgba(31,79,58,.04);
  --shadow-md:  0 4px  6px rgba(31,79,58,.07), 0 2px  4px rgba(31,79,58,.04);
  --shadow-lg:  0 10px 25px rgba(31,79,58,.08), 0 4px 10px rgba(31,79,58,.04);
  --shadow-xl:  0 20px 40px rgba(31,79,58,.10), 0 8px 16px rgba(31,79,58,.05);

  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---- Section headers ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav--scrolled {
  background: rgba(251,245,236,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-img {
  height: 48px;
  width: auto;
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
}
.nav__links a:hover { color: var(--brown); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--brown);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--brown-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--outline {
  border-color: var(--brown);
  color: var(--brown);
  background: transparent;
}
.btn--outline:hover {
  background: var(--brown);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--brown);
}
.btn--white:hover {
  background: var(--cream);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--outline-white {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  background: transparent;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn--nav {
  background: var(--brown);
  color: var(--white) !important;
  padding: 8px 20px;
  font-size: .85rem;
  border-radius: var(--radius-sm);
}
.btn--nav:hover {
  background: var(--brown-dark);
}
.btn--lg { padding: 14px 32px; font-size: 1rem; }

/* ===== HERO ===== */
.hero {
  padding: calc(var(--nav-height) + 64px) 0 80px;
  background: linear-gradient(175deg, var(--cream-light) 0%, var(--cream) 40%, var(--cream-dark) 100%);
  overflow: hidden;
}
.hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}
.hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green);
  margin-bottom: 20px;
}
.hero__title--accent {
  color: var(--brown);
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.hero__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s;
}
.hero__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.hero__card--1 { transform: translateX(0); }
.hero__card--2 { transform: translateX(24px); }
.hero__card--3 { transform: translateX(48px); }
.hero__card:hover { transform: translateY(-2px) !important; }
.hero__card-illus {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.hero__card-label {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 4px;
}
.hero__card-desc {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== PROBLEMS ===== */
.problems {
  padding: 100px 0;
  background: var(--white);
}
.problems__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.problem-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--cream-light);
  border: 1px solid var(--outline);
  transition: transform .3s, box-shadow .3s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.problem-card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-light);
  color: var(--brown);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.problem-card__icon svg { width: 24px; height: 24px; }
.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--green);
}
.problem-card p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--cream-light);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--outline);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card--large {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}
.feature-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 99px;
}
.feature-card__illus {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--green);
}
.feature-card p {
  font-size: .93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--green);
  color: var(--cream);
}
.how-it-works .section-eyebrow { color: var(--gold-light); }
.how-it-works .section-title  { color: var(--cream); }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 150px;
  padding: 0 12px;
}
.step__number {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(199,161,91,.3);
}
.step__content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--cream);
}
.step__content p {
  font-size: .9rem;
  color: var(--green-light);
  line-height: 1.6;
}
.step__connector {
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: .4;
  margin-top: 28px;
  flex-shrink: 0;
}

/* ===== EXPORT HIGHLIGHT ===== */
.export-highlight {
  padding: 100px 0;
  background: var(--white);
}
.export-highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.export-highlight__content .section-title { text-align: left; }
.export-highlight__content .section-eyebrow { text-align: left; }
.export-highlight__content > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.export-highlight__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.export-highlight__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-primary);
}
.export-highlight__list svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--green);
}

.export-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--outline);
}
.export-visual__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--cream-dark);
}
.export-visual__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.export-visual__dot--red    { background: #E5534B; }
.export-visual__dot--yellow { background: #C7A15B; }
.export-visual__dot--green  { background: #2E7D32; }
.export-visual__filename {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 8px;
}
.export-visual__body { background: var(--white); }
.export-visual__row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr .8fr .8fr;
  gap: 1px;
  border-bottom: 1px solid var(--outline);
}
.export-visual__row span {
  padding: 10px 12px;
  font-size: .8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.export-visual__row--header {
  background: var(--cream);
}
.export-visual__row--header span {
  font-weight: 700;
  color: var(--green);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.export-visual__row--fade span {
  color: var(--outline);
  text-align: center;
}

/* ===== USE CASES ===== */
.use-cases {
  padding: 100px 0;
  background: var(--cream-light);
}
.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.use-case-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--outline);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.use-case-card__illus {
  width: 120px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.use-case-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}
.use-case-card p {
  font-size: .93rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--cream);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.testimonial-card {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
}
.testimonial-card p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--green);
  margin-bottom: 24px;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: .9rem;
  display: block;
  color: var(--text-primary);
}
.testimonial-card footer span {
  font-size: .8rem;
  color: var(--text-secondary);
}

/* ===== WHY US ===== */
.technology {
  padding: 100px 0;
  background: var(--white);
}
.tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.tech-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--cream-light);
  border: 1px solid var(--outline);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tech-card__illus {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}
.tech-card p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
}
.cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
}
.cta p {
  font-size: 1.1rem;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 0;
  background: var(--green-dark);
  color: var(--green-light);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__brand .nav__logo-text { color: var(--cream); }
.footer__brand p {
  margin-top: 16px;
  font-size: .9rem;
  line-height: 1.65;
  max-width: 360px;
  color: var(--green-light);
}
.footer__links {
  display: flex;
  gap: 64px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: .9rem;
  color: var(--green-light);
  transition: color .2s;
}
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom {
  padding: 24px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: .8rem;
  color: rgba(184,213,200,.5);
}

/* ===== ANIMATIONS ===== */
.animate-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.hero__card.animate-in.hero__card--1 { transition-delay: 0s; }
.hero__card.animate-in.hero__card--2 { transition-delay: .12s; }
.hero__card.animate-in.hero__card--3 { transition-delay: .24s; }

.feature-card.animate-in:nth-child(1) { transition-delay: 0s; }
.feature-card.animate-in:nth-child(2) { transition-delay: .08s; }
.feature-card.animate-in:nth-child(3) { transition-delay: .16s; }
.feature-card.animate-in:nth-child(4) { transition-delay: .24s; }
.feature-card.animate-in:nth-child(5) { transition-delay: .32s; }
.feature-card.animate-in:nth-child(6) { transition-delay: .4s; }
.feature-card.animate-in:nth-child(7) { transition-delay: .48s; }
.feature-card.animate-in:nth-child(8) { transition-delay: .56s; }

.step.animate-in:nth-of-type(1) { transition-delay: 0s; }
.step.animate-in:nth-of-type(2) { transition-delay: .1s; }
.step.animate-in:nth-of-type(3) { transition-delay: .2s; }
.step.animate-in:nth-of-type(4) { transition-delay: .3s; }
.step.animate-in:nth-of-type(5) { transition-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero__logo { margin: 0 auto 24px; max-width: 340px; }
  .hero__subtitle { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__card--2,
  .hero__card--3 { transform: translateX(0); }
  .hero__visual { max-width: 480px; margin: 0 auto; }

  .export-highlight__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .export-highlight__content .section-title,
  .export-highlight__content .section-eyebrow { text-align: center; }
  .export-highlight__content > p { text-align: center; }
  .export-highlight__list { align-items: center; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__brand p { max-width: 100%; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--cream-light);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    pointer-events: none;
  }
  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__toggle { display: flex; }

  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step { min-width: 0; max-width: 320px; }
  .step__connector {
    width: 2px;
    height: 32px;
    margin: 0;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__links { gap: 40px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .export-visual__row { grid-template-columns: repeat(5, 1fr); }
  .export-visual__row span { padding: 8px 6px; font-size: .7rem; }
}
