/* ============================================================
   RightDesk Reports — Global Stylesheet
   ============================================================ */

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

:root {
  --navy:       #17365C;
  --navy-mid:   #2B5C9E;
  --silver:     #A8BDD0;
  --off-white:  #F5F7FA;
  --white:      #FFFFFF;
  --dark:       #1A1A2E;
  --grey:       #6B7280;
  --light-grey: #E5E9EF;
  --green:      #16A34A;
  --red:        #DC2626;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(20px, 2.5vw, 30px); font-weight: 700; line-height: 1.25; }
h3 { font-size: 18px; font-weight: 700; }
p  { font-size: 15px; line-height: 1.75; color: var(--grey); }
a  { color: var(--navy-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(23,54,92,0.97);
  backdrop-filter: blur(10px);
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img {
  height: 144px; width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  color: var(--silver); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: white; text-decoration: none; }
.nav-cta {
  background: white; color: var(--navy);
  border: none; padding: 10px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; text-decoration: none; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; margin: 5px 0; border-radius: 2px;
  transition: 0.3s;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--navy); color: white;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-2px); text-decoration: none; }
.btn-secondary {
  background: transparent; color: var(--navy);
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; border: 2px solid var(--navy); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--off-white); text-decoration: none; }
.btn-white {
  background: white; color: var(--navy);
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-white:hover { opacity: 0.88; transform: translateY(-2px); text-decoration: none; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 24px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--navy-mid); margin-bottom: 12px;
  display: block;
}
.section-title { color: var(--navy); margin-bottom: 16px; }
.section-sub {
  font-size: 16px; color: var(--grey);
  max-width: 560px; line-height: 1.7; margin-bottom: 48px;
}

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--light-grey);
  border-radius: 16px; padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23,54,92,0.1);
  border-color: var(--silver);
}
.card-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.card-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-desc  { font-size: 14px; color: var(--grey); line-height: 1.6; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy); color: var(--silver);
  padding: 48px 24px; text-align: center;
}
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 160px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links {
  display: flex; justify-content: center; gap: 24px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.footer-links a { color: var(--silver); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12px; opacity: 0.55; }

/* ── ARTICLE / KNOWLEDGE CENTER ── */
.article-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #1e4a7c 100%);
  padding: 120px 24px 60px;
  text-align: center;
}
.article-hero h1 { color: white; margin-bottom: 16px; }
.article-hero p  { color: var(--silver); font-size: 17px; max-width: 640px; margin: 0 auto; }
.article-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 20px; flex-wrap: wrap;
}
.article-meta span { font-size: 12px; color: var(--silver); }
.article-meta .tag {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 4px 12px;
  font-size: 11px; font-weight: 600; color: white; letter-spacing: 0.5px;
}
.article-body {
  max-width: 760px; margin: 0 auto; padding: 60px 24px 80px;
}
.article-body h2 {
  color: var(--navy); font-size: 22px; margin: 40px 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--light-grey);
}
.article-body h3 { color: var(--navy); font-size: 17px; margin: 24px 0 10px; }
.article-body p  { margin-bottom: 16px; font-size: 15px; color: #374151; line-height: 1.8; }
.article-body ul, .article-body ol {
  padding-left: 22px; margin-bottom: 20px;
}
.article-body li { font-size: 15px; color: #374151; line-height: 1.8; margin-bottom: 6px; }
.article-body strong { color: var(--dark); }
.article-body a { color: var(--navy-mid); font-weight: 500; }

.disclaimer-box {
  background: var(--off-white); border-left: 4px solid var(--silver);
  border-radius: 0 10px 10px 0; padding: 18px 20px; margin: 32px 0;
}
.disclaimer-box p { font-size: 13px; color: var(--grey); margin: 0; line-height: 1.6; }

.cta-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 16px; padding: 36px 32px; text-align: center; margin: 48px 0;
}
.cta-box h3 { color: white; font-size: 22px; margin-bottom: 10px; }
.cta-box p  { color: var(--silver); margin-bottom: 24px; font-size: 15px; }

.breadcrumb {
  font-size: 13px; color: var(--grey); margin-bottom: 8px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--grey); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { color: var(--light-grey); }

.related-articles { background: var(--off-white); padding: 60px 24px; }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 900px; margin: 32px auto 0;
}
.related-card {
  background: white; border: 1px solid var(--light-grey);
  border-radius: 12px; padding: 22px; text-decoration: none;
  display: block; transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(23,54,92,0.1); text-decoration: none; }
.related-card-label { font-size: 10px; font-weight: 700; color: var(--navy-mid); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.related-card-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.related-card-arrow { font-size: 13px; color: var(--navy-mid); font-weight: 600; }

/* ── KNOWLEDGE CENTER GRID ── */
.kc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.kc-card {
  background: white; border: 1px solid var(--light-grey);
  border-radius: 16px; padding: 28px; text-decoration: none; display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.kc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23,54,92,0.1);
  border-color: var(--silver); text-decoration: none;
}
.kc-card-category {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--navy-mid); margin-bottom: 10px;
}
.kc-card-title {
  font-size: 17px; font-weight: 700; color: var(--navy);
  line-height: 1.35; margin-bottom: 10px;
}
.kc-card-desc  { font-size: 13px; color: var(--grey); line-height: 1.6; margin-bottom: 16px; }
.kc-card-arrow { font-size: 13px; color: var(--navy-mid); font-weight: 600; }
.kc-card-icon  { font-size: 28px; margin-bottom: 14px; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--off-white); border-bottom: 1px solid var(--light-grey); padding: 30px 24px;
}
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.stat-item { text-align: center; }
.stat-number { font-size: 28px; font-weight: 800; color: var(--navy); display: block; }
.stat-label  { font-size: 12px; color: var(--grey); font-weight: 500; }

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1000px; margin: 0 auto 32px;
}
.pricing-card {
  background: var(--white); border: 1.5px solid var(--light-grey);
  border-radius: 20px; padding: 30px 26px; position: relative;
}
.pricing-card.featured { border-color: var(--navy); border-width: 2px; box-shadow: 0 8px 32px rgba(23,54,92,0.13); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: white; font-size: 10px; font-weight: 700;
  padding: 4px 14px; border-radius: 100px; letter-spacing: 0.5px; white-space: nowrap;
}
.pricing-plan    { font-size: 13px; font-weight: 700; color: var(--grey); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.pricing-tagline { font-size: 12px; color: var(--silver); margin-bottom: 16px; }
.pricing-price   { font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1; }
.pricing-price sup { font-size: 18px; vertical-align: super; }
.pricing-price span { font-size: 18px; }
.pricing-period  { font-size: 12px; color: var(--grey); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  font-size: 13px; color: var(--dark); padding: 7px 0;
  border-bottom: 1px solid var(--light-grey);
  display: flex; align-items: flex-start; gap: 9px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.dim { color: var(--grey); }
.check { color: var(--green); font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.cross { color: var(--light-grey); font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.pricing-btn {
  width: 100%; padding: 13px; border-radius: 10px; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; text-decoration: none; display: block; text-align: center;
  transition: opacity 0.2s, transform 0.2s; font-family: 'Inter', sans-serif;
}
.pricing-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.pricing-btn.primary { background: var(--navy); color: white; }
.pricing-btn.outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

.kit-card {
  max-width: 1000px; margin: 0 auto;
  background: var(--off-white); border: 1.5px solid var(--light-grey);
  border-radius: 16px; padding: 22px 28px;
  display: flex; align-items: center; gap: 20px;
}
.kit-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--light-grey);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.kit-info { flex: 1; }
.kit-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.kit-desc  { font-size: 13px; color: var(--grey); line-height: 1.5; }
.kit-price { text-align: right; flex-shrink: 0; }
.kit-amount { font-size: 22px; font-weight: 800; color: var(--navy); }
.kit-once   { font-size: 11px; color: var(--grey); }

/* ── STORY ── */
.story-bg { background: linear-gradient(135deg, var(--navy) 0%, #1e4a7c 100%); }
.story-inner { max-width: 720px; margin: 0 auto; }
.story-quote {
  font-size: 19px; font-style: italic; color: var(--silver);
  line-height: 1.7; margin-bottom: 28px;
  border-left: 3px solid var(--silver); padding-left: 24px;
}
.story-body { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.8; }

/* ── FORM ── */
.form-section { background: var(--off-white); }
.form-wrapper {
  max-width: 600px; margin: 0 auto;
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--light-grey); padding: 40px;
  box-shadow: 0 4px 24px rgba(23,54,92,0.07);
}
.form-title { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-sub   { font-size: 14px; color: var(--grey); margin-bottom: 28px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--light-grey); border-radius: 10px;
  font-size: 14px; font-family: 'Inter', sans-serif; color: var(--dark);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23,54,92,0.08);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 15px; background: var(--navy); color: white;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  margin-top: 8px; font-family: 'Inter', sans-serif;
}
.form-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--grey); text-align: center; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 32px; }
.form-success-icon  { font-size: 48px; margin-bottom: 16px; }
.form-success-title { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.form-success-text  { font-size: 15px; color: var(--grey); line-height: 1.6; }

/* ── HERO (homepage) ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, #1e4a7c 55%, #0f2a47 100%);
  display: flex; align-items: center;
  padding: 110px 32px 70px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43,92,158,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 800px; margin: 0 auto; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: var(--silver);
  letter-spacing: 0.5px; margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: #4ADE80;
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.6; transform:scale(1.3); }
}
.hero-logo { margin-bottom: 28px; }
.hero-logo img { height: 280px; width: auto; filter: brightness(0) invert(1); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #A8BDD0, #ffffff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 17px; color: var(--silver); line-height: 1.7; margin-bottom: 36px; max-width: 560px; }
.hero-sub strong { color: white; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-secondary {
  background: transparent; color: white; padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.35); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); text-decoration: none; }

/* ── HOW IT WORKS ── */
.how-bg { background: var(--off-white); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { position: relative; padding-left: 56px; }
.step-number {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  background: var(--navy); color: white; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; padding-top: 6px; }
.step-desc  { font-size: 14px; color: var(--grey); line-height: 1.6; }

/* ── APP STORE BUTTONS ── */
.store-buttons {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-top: 28px;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 10px;
  text-decoration: none; transition: opacity 0.2s, transform 0.2s;
  min-width: 160px;
}
.store-btn:hover { opacity: 0.88; transform: translateY(-2px); text-decoration: none; }
.store-btn-google {
  background: #000; color: white;
  border: 1.5px solid #333;
}
.store-btn-apple {
  background: #F0F0F0; color: #333;
  border: 1.5px solid #D0D0D0;
  cursor: default; opacity: 0.75;
}
.store-btn-apple:hover { opacity: 0.75; transform: none; }
.store-btn-icon { font-size: 22px; flex-shrink: 0; }
.store-btn-icon img { height: 22px; width: auto; }
.store-btn-text { display: flex; flex-direction: column; }
.store-btn-label { font-size: 10px; font-weight: 400; letter-spacing: 0.3px; opacity: 0.75; line-height: 1.2; }
.store-btn-name  { font-size: 15px; font-weight: 700; line-height: 1.3; }

/* Form store buttons (on white bg) */
.store-buttons-form { margin-top: 24px; }
.store-buttons-form .store-btn-google { background: #1a1a1a; }
.store-buttons-form .store-btn-apple  { background: #f5f5f5; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .kit-card { flex-direction: column; text-align: center; }
  .kit-price { text-align: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 20px 32px 28px; gap: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-hamburger { display: block; }
  .nav-cta { display: none; }
  .nav-cta-mobile {
    display: block; background: white; color: var(--navy);
    padding: 12px 20px; border-radius: 8px; font-size: 13px; font-weight: 700;
    text-align: center; text-decoration: none; margin-top: 4px;
  }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 28px 20px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-hero-secondary { justify-content: center; }
  .hero-logo img { height: 160px; }
  .nav-logo img  { height: 80px; }
  .store-buttons { justify-content: center; }
  .store-btn { min-width: 140px; }
  .store-btn-name { font-size: 13px; }
}
