/* Blue Vet — Marketing Site Styles */

:root {
  --teal: #0d9da4;
  --teal-dark: #0a8089;
  --teal-deep: #0a6e74;
  --teal-bright: #1ab3bb;
  --teal-light: #e6f7f8;
  --teal-mid: #b2e8ea;
  --green: #3a7d44;
  --green-light: #e8f5e9;
  --bg: #f0f7f8;
  --surface: #ffffff;
  --text: #1a2e30;
  --text-sec: #5f8082;
  --text-muted: #8ba5a8;
  --border: #d4ebec;
  --danger: #e53e3e;
  --warning: #d97706;
  --shadow-sm: 0 2px 8px rgba(10, 110, 116, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 110, 116, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 110, 116, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --gradient-hero: linear-gradient(135deg, #0a6e74 0%, #0d9da4 40%, #1ab3bb 70%, #0a7c82 100%);
  --gradient-soft: linear-gradient(180deg, #e6f7f8 0%, #ffffff 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { color: var(--text-sec); }

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

.container-sm { max-width: 800px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-hero);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-sec);
  font-weight: 500;
  font-size: .95rem;
}

.nav-links a:hover { color: var(--teal); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text-sec);
}

.btn-ghost:hover { color: var(--teal); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  background: var(--gradient-soft);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(26, 179, 187, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 1.2rem;
  margin-bottom: 32px;
  color: var(--text-sec);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  font-size: .9rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gradient-hero);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-visual-placeholder {
  padding: 40px;
  text-align: center;
  opacity: .85;
}

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; }

.bg-soft { background: var(--gradient-soft); }
.bg-teal-light { background: var(--teal-light); }

/* ===== FEATURE GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all .3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: .95rem; }

/* ===== STATS STRIP ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 48px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 1000px;
  margin: -60px auto 0;
  position: relative;
  z-index: 5;
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-sec);
  font-size: .9rem;
  margin-top: 4px;
}

/* ===== PRICING ===== */
.pricing-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  color: white;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sec);
}

.pricing-desc { margin: 16px 0 32px; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 32px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-features li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--text);
  font-size: .95rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .75rem;
}

.pricing-cta { width: 100%; }

.pricing-note {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background .2s;
}

.faq-question:hover { background: var(--teal-light); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--teal); transition: transform .3s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all .3s;
  color: var(--text-sec);
}

.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 500px;
}

/* ===== CTA SECTION ===== */
.cta-block {
  background: var(--gradient-hero);
  color: white;
  padding: 72px 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-block h2 { color: white; margin-bottom: 16px; }
.cta-block p { color: rgba(255, 255, 255, .9); margin-bottom: 32px; font-size: 1.1rem; }

.cta-block .btn-primary {
  background: white;
  color: var(--teal-dark);
}

.cta-block .btn-primary:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: #0a2629;
  color: #a8c5c8;
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(168, 197, 200, 0.15);
}

.footer-brand p { margin-top: 16px; color: #7a9ea1; font-size: .9rem; max-width: 320px; }

.footer-col h4 {
  color: white;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a8c5c8; font-size: .95rem; }
.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .88rem;
  color: #7a9ea1;
}

/* ===== LEGAL PAGE ===== */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-page h1 { margin-bottom: 8px; }
.legal-page .updated { color: var(--text-muted); margin-bottom: 40px; font-size: .9rem; }
.legal-page h2 { margin: 40px 0 12px; font-size: 1.5rem; }
.legal-page h3 { margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--text); line-height: 1.8; margin-bottom: 12px; }
.legal-page ul, .legal-page ol { padding-left: 24px; margin-bottom: 16px; }

/* ===== AUTH (LOGIN/SIGNUP) ===== */
.auth-wrap {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--gradient-soft);
}

.auth-card {
  background: var(--surface);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
}

.auth-card h1 { text-align: center; font-size: 1.75rem; margin-bottom: 8px; }
.auth-card .auth-sub { text-align: center; margin-bottom: 32px; color: var(--text-sec); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .9rem;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 157, 164, .15);
}

.form-error {
  background: #fff5f5;
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 16px;
  display: none;
}

.form-error.show { display: block; }

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: .9rem;
  color: var(--text-sec);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }
}

@media (max-width: 560px) {
  section { padding: 60px 20px; }
  .hero { padding: 60px 20px 80px; }
  .pricing-card { padding: 40px 24px; }
  .cta-block { padding: 56px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
