/* ==========================================================================
   Minute Book Cloud — Marketing Site Design System
   Consistent with app-premium.css tokens for brand cohesion.
   ========================================================================== */

/* --- Design tokens --- */
:root {
  --navy-dark:      #1b2a4a;
  --navy-mid:       #2b4470;
  --navy-light:     #3a5a8a;
  --topbar:         #314078;
  --accent-blue:    #63A3FE;
  --accent-green:   #4aba7a;
  --accent-amber:   #e8a838;
  --accent-purple:  #8b6cf6;
  --accent-teal:    #38b2ac;
  --surface:        #ffffff;
  --app-bg:         #f3f5f9;
  --text:           #1e2a3a;
  --text-secondary: #5a6b7f;
  --muted:          #7a8da5;
  --border:         #dce3ed;
  --border-light:   #eaeff5;
  --shadow-sm:      0 1px 4px rgba(0,0,0,.06);
  --shadow-md:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:      0 8px 30px rgba(0,0,0,.12);
  --radius-md:      0.625rem;
  --radius-lg:      0.75rem;
  --radius-xl:      1rem;
}

/* --- Base --- */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--app-bg);
}

/* --- Navbar --- */
.site-nav {
  background: #081c5b;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.site-nav--landing {
  background: #333137;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.site-nav .navbar-brand img { height: 40px; padding-bottom: 3px; }
.site-nav .nav-link {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem .85rem;
  transition: color .15s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #fff;
}
.site-nav .nav-link.active {
  color: #fff;
  font-weight: 600;
}
.site-nav .navbar-toggler {
  border-color: rgba(255,255,255,.25);
}
.site-nav .navbar-toggler-icon {
  filter: invert(1);
}
.site-nav .btn-lang {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 500;
  padding: .35rem .75rem;
  border-radius: var(--radius-md);
}
.site-nav .btn-lang:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.site-nav .btn-cta-login {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  font-size: .875rem;
  font-weight: 500;
}
.site-nav .btn-cta-login:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.site-nav .btn-cta-register {
  background: rgba(255,255,255,.95);
  color: var(--navy-dark);
  border: none;
  font-size: .875rem;
  font-weight: 600;
}
.site-nav .btn-cta-register:hover {
  background: #fff;
  color: var(--navy-dark);
  box-shadow: 0 2px 8px rgba(255,255,255,.25);
}

/* --- Hero sections --- */
.site-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.site-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(99,163,254,.08) 0%, transparent 70%);
  pointer-events: none;
}
.site-hero--image {
  background-image:
    linear-gradient(135deg, rgba(13,53,115,.94), rgba(46,29,103,.8)),
    url('/assets/hero-main.jpg');
  background-size: cover;
  background-position: center;
}
.site-hero--pricing {
  background-image:
    linear-gradient(135deg, rgba(18,30,77,.94), rgba(32,44,153,.8)),
    url('/assets/hero-office.jpg');
  background-size: cover;
  background-position: center;
}
.site-hero--contact {
  background-image:
    linear-gradient(135deg, rgba(18,30,77,.94), rgba(32,44,153,.8)),
    url('/assets/hero-contact.jpg');
  background-size: cover;
  background-position: center;
}
.site-hero--partners {
  background-image:
    linear-gradient(135deg, rgba(18,30,77,.94), rgba(32,44,153,.8)),
    url('/assets/hero-landing.jpg');
  background-size: cover;
  background-position: center;
}
.site-hero--landing {
  background-image:
    linear-gradient(135deg, rgba(60,16,96,.94), rgba(3,70,92,.8)),
    url('/assets/hero-landing.jpg');
  background-size: cover;
  background-position: center;
}
.site-hero__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
}
.site-hero__title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.site-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 0;
}
.site-hero__trust {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.site-hero__trust i { margin-right: .5rem; }

/* Floating feature card in hero */
.site-hero__card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.site-hero__card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

/* --- Section layout --- */
.site-section {
  padding: 5rem 0;
}
.site-section--alt {
  background: var(--surface);
}
.site-section__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-blue);
  margin-bottom: .5rem;
}
.site-section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.site-section__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 680px;
}

/* --- Feature cards (benefits) --- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.feature-card__icon--blue    { background: rgba(99,163,254,.12); color: #3b82f6; }
.feature-card__icon--green   { background: rgba(74,186,122,.12); color: #22a85a; }
.feature-card__icon--amber   { background: rgba(232,168,56,.12); color: #c78520; }
.feature-card__icon--purple  { background: rgba(139,108,246,.12); color: #7c5ce0; }
.feature-card__icon--teal    { background: rgba(56,178,172,.12); color: #2b9a95; }
.feature-card__icon--slate   { background: rgba(132,148,171,.12); color: #64748b; }
.feature-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.feature-card__text {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Step cards --- */
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.step-card__number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.step-card__text {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Compliance info card --- */
.info-card {
  background: var(--app-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}
.info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99,163,254,.12);
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- CTA banner --- */
.cta-section {
  background: linear-gradient(135deg, #352168 0%, #2f4d82 60%, #6c3a8a 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(99,163,254,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.cta-section__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 0;
}

/* --- Plan cards (pricing) --- */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  position: relative;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.plan-card--featured {
  border-color: var(--accent-blue);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(99,163,254,.15);
}
.plan-card__badge {
  display: inline-block;
  background: rgba(99,163,254,.1);
  color: var(--accent-blue);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.plan-card__audience {
  background: var(--app-bg);
  border-radius: var(--radius-lg);
  padding: .65rem .85rem;
  margin: -.5rem -.5rem 1rem -.5rem;
}
.plan-card__audience-text {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 0;
}
.plan-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}
.plan-card__partner {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: .25rem;
}
.plan-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: .25rem;
}
.plan-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.plan-card__billing {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .75rem;
}
.plan-card__desc {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.plan-card__features li {
  font-size: .85rem;
  color: var(--text-secondary);
  padding: .3rem 0;
}
.plan-card__features li i {
  color: var(--accent-green);
  margin-right: .5rem;
}
.plan-card__footer {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .75rem;
}

/* Pricing diff strip (hero) */
.pricing-diff {
  max-width: 980px;
  margin: 0 auto;
  padding: .85rem 1.25rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.pricing-diff-item {
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.pricing-diff-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  color: var(--navy-mid);
  flex: 0 0 34px;
  font-size: .9rem;
}

/* Pricing comparison table */
.pricing-compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.pricing-compare__label {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .5rem;
}
.pricing-compare .table {
  margin-bottom: 0;
}
.pricing-compare .table th,
.pricing-compare .table td {
  padding: .4rem .6rem;
  font-size: .85rem;
  vertical-align: middle;
  border-color: var(--border-light);
}
.pricing-compare .table thead th {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom-color: var(--border);
}
/* Mobile comparison cards */
.pricing-compare-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .75rem 1rem;
  background: var(--surface);
}
.pricing-compare-card h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.pricing-compare-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .85rem;
}
.pricing-compare-row + .pricing-compare-row { margin-top: .4rem; }

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.billing-toggle .badge {
  font-size: .7rem;
  font-weight: 600;
}

/* --- Contact form card --- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-card__info {
  background: var(--app-bg);
  padding: 2rem;
}
.contact-card__form {
  padding: 2rem;
}

/* --- Footer --- */
.site-footer {
  background: #12163c;
  padding: 2.5rem 0;
}
.site-footer__brand {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}
.site-footer a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .85rem;
  transition: color .15s;
}
.site-footer a:hover {
  color: rgba(255,255,255,.9);
}
.site-footer__copy {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* --- Utilities --- */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 500;
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
}

/* Form overrides */
.form-control, .form-select {
  border-color: var(--border);
  border-radius: var(--radius-md);
  padding: .55rem .85rem;
  font-size: .95rem;
  color: var(--text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 .2rem rgba(99,163,254,.18);
}
.form-label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: .3rem;
}

/* Button overrides */
.btn {
  font-weight: 500;
  border-radius: var(--radius-md);
}
.btn-primary {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 1px 3px rgba(99,163,254,.25);
}
.btn-primary:hover {
  background-color: #4d90f0;
  border-color: #4d90f0;
  box-shadow: 0 2px 8px rgba(99,163,254,.35);
}
.btn-outline-primary {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}
.btn-outline-primary:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .site-hero__title { font-size: 2rem; }
  .site-section { padding: 3.5rem 0; }
  .site-section__title { font-size: 1.6rem; }
  .cta-section { padding: 3rem 0; }
  .cta-section__title { font-size: 1.4rem; }

  /* Keep language menu visible in collapsed mobile nav */
  .site-nav .dropdown-menu-end,
  .site-nav--landing .dropdown-menu-end {
    right: auto;
    left: 0;
    --bs-position: start;
    max-width: calc(100vw - 2rem);
  }
}
@media (max-width: 767.98px) {
  .site-hero__title { font-size: 1.65rem; }
  .site-section__title { font-size: 1.35rem; }
  .plan-card__price { font-size: 2rem; }
  .feature-card { padding: 1.25rem; }
}

.site-footer__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.site-footer__action-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

.site-footer__action-link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__action-link--primary {
  font-weight: 600;
}

.site-footer__utility {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
}

.site-footer__utility-link {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 2px 0;
}

.site-footer__utility-link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__utility-link--primary {
  color: rgba(255,255,255,.92);
  font-weight: 600;
}

.site-footer__sep {
  color: rgba(255,255,255,.35);
}

.site-footer__social-link {
  color: #9aa4b2;
  transition: color 0.2s ease, transform 0.15s ease;
}

.site-footer__social-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}