/* Additions on top of the designer's styles.css — keep styles.css untouched so it can be re-synced */

html { scroll-behavior: smooth; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--secondary);
  padding: 4px;
}

header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 10px 20px 20px;
  }

  nav.is-open { display: flex; flex-direction: column; }
  nav.is-open a { margin: 0; padding: 12px 0; border-bottom: 1px solid #eef1f6; }
  nav.is-open a:after { display: none; }

  .feature-grid, .grid-2 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .hero .btn-light, .hero .btn-outline { display: inline-block; margin-bottom: 10px; }
}

@media (max-width: 500px) {
  .grid-2 { grid-template-columns: 1fr; }
  .header-inner img { width: 160px; }
}

/* Hero heading */
.hero-eyebrow { display: inline-block; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px !important; font-size: 15px !important; }
.hero h1 { font-size: 55px; margin-bottom: 12px; }
.hero h2.hero-subtitle { font-size: 25px; font-weight: 600 !important; color: var(--secondary); margin-bottom: 20px; animation: fadeUp 1.1s ease; }

/* Built for the book trade */
.why-section { padding: 90px 0; background: #f5f7fb; }
.why-section h2 { font-size: 34px; }
.why-lead { color: #6b7489; }
.why-card { height: 100%; padding: 28px; background: #fff; border: 1px solid #e7ebf3; border-radius: 14px; transition: .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06); }
.why-card h5 { margin: 16px 0 8px; }
.why-card p { margin: 0; color: #4a5468; }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; font-size: 22px; color: #fff; background: linear-gradient(335deg, #2fbeb5 0%, #334da1 60%); }

@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .hero h2.hero-subtitle { font-size: 18px; }
}

/* Request demo popup */
.demo-modal { border: 0; border-radius: 18px; padding: 10px 8px; }
.demo-modal .modal-title { font-size: 26px; }
.demo-modal-lead { color: #6b7489; }
.demo-modal .form-control { border-radius: 10px; border-color: #e7ebf3; padding: 10px 14px; }
.demo-modal .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 190, 181, .15); }
.captcha-code { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 44px; padding: 0 12px; border-radius: 10px; background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 6px, #e3e8f2 6px, #e3e8f2 12px); font-family: "DM Mono", monospace; font-size: 22px; font-weight: 700; letter-spacing: 6px; color: var(--secondary); user-select: none; }
.captcha-refresh { height: 44px; border-radius: 10px; border-color: #e7ebf3; }
.demo-submit { background: linear-gradient(335deg, #2fbeb5 0%, #334da1 60%); color: #fff; border: 0; border-radius: 10px; padding: 12px; font-weight: 600; }
.demo-submit:hover, .demo-submit:focus { color: #fff; box-shadow: 0 10px 24px rgba(51, 77, 161, .3); }
.demo-submit:disabled { color: #fff; opacity: .75; }

/* Footer */
.footer { color: #fff; }
.footer a, .footer a:hover { color: #fff; }

/* Footer company details */
.footer-company { font-style: normal; line-height: 1.6; }
.footer-company i { color: #fff; }
.footer .footer-company a.d-inline { margin: 0; }

/* Inner page heading */
.page-hero { padding: 22px 0 22px; color: #fff; background: linear-gradient(335deg, rgba(47, 190, 181, 1) 0%, rgba(51, 77, 161, 1) 36%); }
.page-hero h1 { font-size: 36px; letter-spacing: -.5px; margin-bottom: 6px; animation: fadeUp 1s ease; }
.page-hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #a2c7ff; margin-bottom: 4px; }
.page-hero-sub { max-width: 720px; margin: 0 auto; font-size: 16px; opacity: .9; }

/* Contact page */
.contact-channels { padding: 70px 0 30px; }
.channel-card { display: block; height: 100%; padding: 28px; text-align: center; color: inherit; text-decoration: none; background: #fff; border: 1px solid #e7ebf3; border-radius: 14px; transition: .3s; }
.channel-card:hover { color: inherit; transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06); border-color: var(--primary); }
.channel-card h5 { margin: 16px 0 6px; }
.channel-card p { margin: 0; color: #4a5468; word-break: break-word; }

.contact-main { padding: 30px 0 90px; }
.contact-form-card, .contact-info-card { height: 100%; padding: 36px; background: #fff; border: 1px solid #e7ebf3; border-radius: 18px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04); }
.contact-form-card h2, .contact-info-card h2 { font-size: 28px; margin-bottom: 6px; }
.contact-form-lead { color: #6b7489; margin-bottom: 24px; }
.contact-form-card .form-control { border-radius: 10px; border-color: #e7ebf3; padding: 10px 14px; }
.contact-form-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 190, 181, .15); }
.contact-details { list-style: none; padding: 0; margin: 20px 0 24px; }
.contact-details li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef1f6; }
.contact-details li:last-child { border-bottom: 0; }
.contact-details a { color: var(--secondary); text-decoration: none; }
.contact-detail-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(51, 77, 161, .1); color: var(--secondary); font-size: 18px; }
.contact-detail-label { margin: 0; font-size: 13px; color: #6b7489; }
.contact-map { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #e7ebf3; }
.contact-map-link { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--secondary); font-size: 13px; font-weight: 500; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.contact-map iframe { display: block; width: 100%; height: 260px; border: 0; }

/* Legal pages */
.legal-page { padding: 70px 0 90px; }
.legal-content { font-size: 17px; line-height: 1.75; color: #2b3445; }
.legal-content h2 { font-size: 24px; margin: 40px 0 12px; color: var(--secondary); }
.legal-content h3 { font-size: 18px; margin: 20px 0 8px; }
.legal-content ul { padding-left: 22px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--secondary); }
.legal-address { font-style: normal; padding: 20px 24px; background: #f5f7fb; border-radius: 12px; }

@media (max-width: 900px) {
  .page-hero { padding: 28px 0 26px; }
  .page-hero h1 { font-size: 30px; }
  .contact-form-card, .contact-info-card { padding: 24px; }
}

/* Request Demo buttons: solid green instead of the template gradient */
.cta-btn, .cta-btn::before { background: #2fbeb5; }
.cta-btn { color: #fff; }
.cta-btn:hover { color: #fff; background: #27a79f; box-shadow: 0 10px 25px rgba(47, 190, 181, 0.4); }
.cta-btn::before { opacity: 0.35; }

/* Key features: white cards with the icon on the left */
.key-feature-card { display: flex; align-items: flex-start; gap: 20px; width: 100%; margin-bottom: 8px; padding: 26px 28px; background: #fff; border: 1px solid #e7ebf3; border-radius: 16px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06); transition: .3s; }
.key-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1); }
.key-feature-icon { flex: none; font-size: 48px; line-height: 1; color: #000; }
.key-feature-title { margin: 0 0 6px; font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--dark); }
.key-feature-card p { color: #4a5468; }

@media (max-width: 500px) {
  .key-feature-card { flex-direction: column; gap: 14px; padding: 22px; }
}
