/* greet-shared.css — Greet Premium Design System v2.0 */

/* ─── DESIGN TOKEN OVERRIDES ─── */
:root {
  --ink:         #0C0C0A;
  --ink-2:       #1C1C18;
  --cream:       #F8F5EF;
  --white:       #FFFFFF;
  --muted:       #706C63;
  --border:      #E0DCD3;
  --accent:      #C84D0A;
  --accent-2:    #A33D08;
  --accent-3:    #E8651A;
  --accent-bg:   #FFF2EA;
  --gold:        #B8893C;
  --hero-bg:     #0A0F1A;
  --section-alt: #F0EDE6;
  --navy:        #0A0F1A;
  --green:       #15803D;
  --green-bg:    #F0FDF4;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── ANNOUNCEMENT BAR ─── */
.bar {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.bar a {
  color: var(--accent-3);
  text-decoration: none;
  font-weight: 600;
}
.bar a:hover { text-decoration: underline; }

/* ─── NAV ─── */
.nav-wrap {
  position: sticky !important;
  top: 0; z-index: 200;
  background: rgba(248,245,239,0.97) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px !important;
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo {
  text-decoration: none;
  margin-right: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent) !important;
  border-radius: 9px !important;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 17px;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(200,77,10,0.35);
}
.logo-text {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 22px !important;
  color: var(--ink);
  letter-spacing: 0em;
  font-style: normal !important;
}
.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
}
.nav-item { position: relative; }

.nav-link,
button.nav-link,
a.nav-link {
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted) !important;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.nav-link:hover,
button.nav-link:hover,
a.nav-link:hover { color: var(--ink) !important; background: var(--section-alt); }
.nav-link.active { color: var(--ink) !important; font-weight: 600; }

/* Chevron op dropdown triggers */
.nav-item.has-dropdown > button.nav-link::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  opacity: 0.6;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 300;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-link {
  display: block;
  padding: 10px 14px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  border-radius: 11px;
  transition: background 0.12s;
  font-weight: 500;
}
.nav-dropdown-link:hover { background: var(--section-alt); color: var(--ink); }
.nav-dropdown-link span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 1px;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* ─── BUTTONS ─── */
.btn-primary,
nav a.btn-primary,
.nav-actions a.btn-primary {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(200,77,10,0.3);
}
.btn-primary:hover,
nav a.btn-primary:hover {
  background: var(--accent-2) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,77,10,0.4);
}

.btn-ghost,
nav a.btn-ghost {
  color: var(--ink) !important;
  padding: 10px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: transparent;
}
.btn-ghost:hover,
nav a.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--section-alt);
}

/* Nav CTA (current "Start gratis" link in nav) */
.nav-cta,
nav a.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(200,77,10,0.3);
  white-space: nowrap;
}
.nav-cta:hover,
nav a.nav-cta:hover {
  background: var(--accent-2) !important;
  transform: translateY(-1px);
}

/* Hero CTA buttons */
.hero-cta,
.btn-hero {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(200,77,10,0.35);
}
.hero-cta:hover,
.btn-hero:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,77,10,0.45);
}

/* ─── HERO SECTION ─── */
.hero {
  background: var(--hero-bg) !important;
  color: var(--white);
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-3);
  border: 1px solid rgba(200,77,10,0.4);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 72px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  font-family: 'DM Serif Display', Georgia, serif !important;
  margin-bottom: 24px;
}
.hero em, .hero i { font-style: italic; color: rgba(255,255,255,0.7); }
.hero p, .hero .hero-sub, .hero .subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 580px;
}

/* ─── SECTION STRUCTURE ─── */
.section, [class*="section"] { }
.section-label,
.label-text,
.overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

h2 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(26px, 4vw, 46px) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}
h3 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(20px, 3vw, 30px) !important;
  letter-spacing: -0.015em !important;
}

/* ─── CARDS ─── */
.card,
.feature-card,
[class*="-card"] {
  border-radius: 18px !important;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.feature-card:hover { transform: translateY(-3px); }

/* ─── PRICING ─── */
.plan-card, .pricing-card {
  border-radius: 20px !important;
}
.plan-card.featured,
.plan-card.highlighted {
  border-color: var(--accent) !important;
  box-shadow: 0 8px 40px rgba(200,77,10,0.12);
}

/* ─── BADGES ─── */
.badge, .tag, .pill {
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
}
.badge-new,
.new-badge { background: #EEF2FF; color: #4338CA; }
.badge-beta { background: #F5F3FF; color: #6D28D9; }
.badge-accent { background: var(--accent-bg); color: var(--accent); }

/* ─── CTA SECTIONS ─── */
.cta-wrap, .cta-section, [class*="cta-"] {
  background: var(--hero-bg);
}
.cta-wrap h2, .cta-section h2 { color: #fff; }

/* ─── FOOTER ─── */
.footer-new {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 80px 24px 0;
}
.footer-new-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
@media (max-width: 900px) {
  .footer-new-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer-new-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-new .logo { margin-right: 0; }
.footer-new .logo-mark { background: var(--accent) !important; }
.footer-new .logo-text { color: #fff !important; }
.footer-new-brand p {
  font-size: 14px;
  line-height: 1.75;
  margin: 16px 0 24px;
  max-width: 260px;
  color: rgba(255,255,255,0.5);
}
.footer-new-social {
  display: flex;
  gap: 10px;
}
.footer-new-social a {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.footer-new-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.footer-new-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-new-col a {
  display: block;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.13s;
}
.footer-new-col a:hover { color: #fff; }
.footer-new-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 36px;
}
.footer-new-bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.13s;
}
.footer-new-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ─── ARTICLE PAGES NAV ─── */
.article-nav {
  background: rgba(248,245,239,0.97) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.article-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ─── STAT BLOCKS ─── */
.stat-num, .stat-number, [class*="stat-n"] {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(36px, 5vw, 60px) !important;
  letter-spacing: -0.025em;
  line-height: 1;
}

/* ─── TESTIMONIALS ─── */
.testimonial blockquote,
.testimonial p:first-of-type {
  font-size: 15px;
  line-height: 1.75;
  font-style: italic;
  color: #2A2A26;
}
.stars { color: var(--accent); letter-spacing: 2px; }

/* ─── SCROLLING LOGO MARQUEE ─── */
.marquee-track { animation-timing-function: linear; }

/* ─── FORM ELEMENTS ─── */
input, textarea, select {
  border-radius: 10px !important;
  border: 1.5px solid var(--border) !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(200,77,10,0.12) !important;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 64px !important; }
  .nav-links { display: none; }
  .logo-text { font-size: 20px !important; }
}
@media (max-width: 480px) {
  .nav-actions .btn-ghost { display: none; }
}

/* ─── UTILITY ─── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.check { color: var(--green); font-weight: 700; }
