/* invoiceful.app — moofment.app inspired design */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.47;
  color: #1d1d1f;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}

/* NAV */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 1000;
}
.nav-container {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 32px; width: 32px; border-radius: 8px; }
.nav-logo span { font-size: 16px; font-weight: 600; color: #1d1d1f; }
.lang-switch { font-size: 13px; color: #86868b; text-decoration: none; }
.lang-switch:hover { color: #1d1d1f; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 400; color: #1d1d1f; text-decoration: none; letter-spacing: -0.01em; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.7; }
.nav-links .cta {
  background: #E86C00; color: #fff; padding: 8px 18px; border-radius: 20px; font-weight: 500;
}
.nav-links .cta:hover { background: #C45500; opacity: 1; }
.nav-links .nav-login { background: #f5f5f7; padding: 8px 18px; border-radius: 20px; font-weight: 500; }
.nav-links .nav-login:hover { background: #e8e8ed; opacity: 1; }

/* HERO */
.hero {
  text-align: center; padding: 100px 24px 80px; max-width: 800px; margin: 0 auto;
}
.hero h1 {
  font-size: 56px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 20px;
}
.hero h1 span { color: #E86C00; }
.hero p { font-size: 21px; color: #86868b; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #E86C00; color: #fff; padding: 16px 36px; border-radius: 14px;
  font-size: 17px; font-weight: 500; text-decoration: none;
  transition: all 0.2s; box-shadow: 0 4px 16px rgba(232,108,0,0.3);
}
.hero-cta:hover { background: #C45500; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,108,0,0.4); }
.hero-badge {
  display: block; width: fit-content; margin: 24px auto 0; font-size: 13px; color: #86868b;
  padding: 6px 14px; background: #f5f5f7; border-radius: 20px;
  animation: fadeUp 0.7s ease-out 0.3s both;
}

/* SCREENSHOT */
.screenshot-section { padding: 40px 24px 80px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.screenshot-section img {
  max-width: 1000px; width: 100%; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
}

/* FEATURES */
.features { padding: 80px 24px; max-width: 1100px; margin: 0 auto; border-top: 1px solid #f5f5f7; }
.features h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; text-align: center; margin-bottom: 16px; }
.features > p { text-align: center; color: #86868b; font-size: 19px; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-card { }
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.003em; }
.feature-card p { font-size: 15px; color: #86868b; line-height: 1.6; }

/* PRICING */
.pricing { padding: 80px 24px; background: #f5f5f7; }
.pricing-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.pricing h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.pricing > .pricing-inner > p { color: #86868b; font-size: 19px; margin-bottom: 48px; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
  background: #fff; border-radius: 20px; padding: 40px 32px; text-align: left;
  border: 1px solid rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.pricing-card.featured { border: 2px solid #E86C00; }
.pricing-card .badge {
  display: inline-block; background: #E86C00; color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 10px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.pricing-card .price { font-size: 40px; font-weight: 700; margin-bottom: 4px; }
.pricing-card .price span { font-size: 16px; font-weight: 400; color: #86868b; }
.pricing-card .period { font-size: 14px; color: #86868b; margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 32px; }
.pricing-card ul li { padding: 8px 0; font-size: 15px; color: #1d1d1f; padding-left: 24px; position: relative; }
.pricing-card ul li::before { content: "\2713"; position: absolute; left: 0; color: #E86C00; font-weight: 600; }
.pricing-card .btn {
  display: block; text-align: center; padding: 14px; border-radius: 12px;
  font-size: 15px; font-weight: 500; text-decoration: none; transition: all 0.2s;
}
.pricing-card .btn-primary { background: #E86C00; color: #fff; }
.pricing-card .btn-primary:hover { background: #C45500; }
.pricing-card .btn-secondary { background: #f5f5f7; color: #1d1d1f; }
.pricing-card .btn-secondary:hover { background: #e8e8ed; }

/* CTA */
.cta-section {
  padding: 100px 24px; text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.cta-section h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-section p { font-size: 19px; color: #86868b; margin-bottom: 36px; }

/* FOOTER */
footer { border-top: 1px solid #f5f5f7; padding: 40px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: #86868b; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #1d1d1f; }
.footer-text { font-size: 12px; color: #86868b; }

/* LEGAL */
.legal { max-width: 800px; margin: 0 auto; padding: 60px 24px 80px; }
.legal h1 { font-size: 36px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.legal .updated { font-size: 14px; color: #86868b; margin-bottom: 40px; }
.legal h2 { font-size: 24px; font-weight: 600; margin-top: 40px; margin-bottom: 16px; }
.legal h3 { font-size: 18px; font-weight: 600; margin-top: 24px; margin-bottom: 12px; }
.legal p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.legal ul, .legal ol { margin-left: 24px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; line-height: 1.7; font-size: 16px; }
.legal a { color: #E86C00; text-decoration: none; }
.legal a:hover { opacity: 0.7; }
.legal strong { font-weight: 600; }

/* HAMBURGER */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #1d1d1f; margin: 4px 0; border-radius: 2px; transition: all 0.3s; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero h1 { animation: fadeUp 0.7s ease-out both; }
.hero p { animation: fadeUp 0.7s ease-out 0.1s both; }
.hero .hero-cta { animation: fadeUp 0.7s ease-out 0.2s both; }
.screenshot-section img { animation: fadeUp 0.8s ease-out 0.3s both; }
.feature-card { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.feature-card.visible { opacity: 1; transform: translateY(0); }
.pricing-inner { animation: fadeIn 0.6s ease-out 0.1s both; }
.legal { animation: fadeUp 0.6s ease-out both; }
.faq-category { opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.faq-category.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 18px; }
  .features h2, .pricing h2, .cta-section h2, .steps-section h2, .download h2 { font-size: 28px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; flex-direction: column; }

  .nav-links {
    display: none !important;
    position: fixed; top: 71px; left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column; align-items: stretch;
    padding: 16px 32px 40px;
    z-index: 9999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    display: block; text-align: left;
    padding: 18px 0; font-size: 18px; font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    color: #1d1d1f;
  }
  .nav-links .cta {
    margin-top: 0; border-bottom: none;
    padding: 16px; width: 100%; text-align: center;
    font-size: 16px; border-radius: 12px; color: #fff;
  }
  .nav-links .nav-login {
    margin-top: 10px; border-bottom: none;
    padding: 16px; width: 100%; text-align: center;
    font-size: 16px; border-radius: 12px;
  }
  .nav-links .lang-switch {
    margin-top: 16px; text-align: center;
    font-size: 14px; border-bottom: none; padding: 8px 0;
  }
}

/* ===== DLP OVERRIDES ===== */

/* Subpage content — reuse legal styles for all text pages */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Features/Support pages that use .container */
section { padding: 60px 0; }
section h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.003em; margin-bottom: 20px; color: #1d1d1f; }
section h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; color: #1d1d1f; }
section p { font-size: 16px; line-height: 1.6; color: #1d1d1f; margin-bottom: 14px; }

/* Old nav override */
nav .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1d1d1f; font-weight: 600; }
nav .logo .logo-img { height: 32px; width: 32px; border-radius: 8px; }
nav .nav-menu { display: flex; gap: 24px; list-style: none; align-items: center; }
nav .nav-menu a { font-size: 14px; color: #1d1d1f; text-decoration: none; }
nav .nav-menu a:hover { opacity: 0.7; }
nav .cta-button { background: #E86C00; color: #fff !important; padding: 8px 18px; border-radius: 20px; font-weight: 500; }
nav .account-button { border: 1.5px solid #1d1d1f; padding: 7px 16px; border-radius: 20px; font-weight: 500; background: none; color: #1d1d1f !important; }

/* Old feature cards */
.feature-card, .automatic-feature, .business-feature, .maintenance-item { margin-bottom: 20px; }
.features-showcase, .automatic-grid, .maintenance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 32px; }

/* Old footer override */
footer .footer-content { max-width: 1100px; margin: 0 auto; padding: 40px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer .footer-section { }
footer .footer-section p { font-size: 13px; color: #86868b; }
footer .footer-links ul { list-style: none; }
footer .footer-links li { margin-bottom: 8px; }
footer .footer-links a { font-size: 13px; color: #86868b; text-decoration: none; }
footer .footer-links a:hover { color: #1d1d1f; }
footer .footer-bottom { max-width: 1100px; margin: 20px auto 0; padding: 16px 24px 0; border-top: 1px solid #f5f5f7; }
footer .footer-bottom p { font-size: 11px; color: #aaa; line-height: 1.6; }
.footer-info { max-width: 420px; }
.footer-info p { font-size: 13px; color: #86868b; line-height: 1.6; }

/* Icons in old markup */
.icon-fa, .icon-fa-auto, .icon-fa-small { font-size: 28px; color: #E86C00; margin-bottom: 8px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid #f5f5f7; padding: 16px 0; }
.faq-question { font-weight: 600; cursor: pointer; font-size: 16px; }
.faq-answer { margin-top: 8px; color: #86868b; font-size: 15px; line-height: 1.6; }

/* Hide old animations and decorative elements */
.data-flow, .connection-line, .trip-distance, .trust-bar, .step-connector { display: none; }
.mobile-menu-toggle { display: none; }
.lang-switcher .lang-dropdown { display: none; }
.image-todo { display: none; }

/* Price span fix — don't let inner span shrink */
.price span#businessPrice { font-size: inherit; font-weight: inherit; color: inherit; }

/* Newsletter hide */
#newsletterTrigger { display: none; }

/* Store badges — all same width */
.store-badges .webapp { justify-content: center; }
