/* ========================================================= */
/* CSS Variables (Lavender Theme)                            */
/* ========================================================= */

:root {
  --bg-page: #f6f6fb;
  --bg-surface: #ffffff;

  --text-main: #2f2f45;
  --text-muted: #5b5a75;
  --text-soft: #7a7a96;

  --lavender: #A99CFF;
  --lavender-accent: #8C7BFF;
  --lavender-soft: #efecff;
  --lavender-deep: #6b5aff;
  --lavender-hover: #988BF2;

  --accent-gold: #f8c15c;

  --border-subtle: #e1def7;
  --shadow-card: 0 18px 40px rgba(23, 15, 73, 0.08);

  --radius-card: 18px;
  --radius-pill: 999px;

  --nav-height: 70px;
}

/* ============================================================
   1. Global Reset
   ============================================================ */

/* 1.1 Margin / padding resets */
/* 1.2 Box-sizing rules */
/* 1.3 Body font + background (Lavender Premium Theme) */

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* So anchor targets aren't hidden behind sticky header */
[id] {
    scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* ========================================================= */
/* Site Header / Navigation                                  */
/* ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(246, 246, 251, 0.9);
    border-bottom: 1px solid rgba(214, 210, 246, 0.8);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 28px;
    display: block;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.brand-wordmark {
    font-weight: 600;
    font-size: 1.02rem;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.92rem;
}

.primary-nav a {
    text-decoration: none;
    color: var(--text-soft);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--lavender-accent), var(--accent-gold));
    transition: width 0.22s ease;
}

.primary-nav a:hover {
    color: var(--lavender-deep);
}

.primary-nav a:hover::after {
    width: 100%;
}

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

/* ========================================================= */
/* Header Buttons (btn, btn-outline)                         */
/* ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--lavender-deep);
    border-color: var(--lavender-accent);
}

.btn-outline:hover {
    background: var(--lavender-soft);
    transform: translateY(-2px) scale(1.02);
}

/* ========================================================= */
/* Site Footer                                               */
/* ========================================================= */

.site-footer {
    border-top: 1px solid rgba(214, 210, 246, 0.8);
    padding: 14px 20px 18px;
    background: rgba(246, 246, 251, 0.98);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-soft);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-nav a {
    color: var(--text-soft);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--lavender-deep);
}

/* ========================================================= */
/* Webapp Content Wrapper                                    */
/* ========================================================= */

.webapp-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 20px 24px;
    min-height: auto;
}

/* ========================================================= */
/* How It Works Section (Step Cards - matches main website)  */
/* ========================================================= */

.section-how-it-works {
    background: #f2f2ff;
    padding: 48px 20px 56px;
    margin-top: 28px;
}

.step-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step-card {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 18px 18px 20px;
    box-shadow: 0 18px 40px rgba(23, 15, 73, 0.08);
    border: 1px solid #ecebff;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lavender-soft);
    color: var(--lavender-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
}

.step-card h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-main);
}

.step-card p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.step-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.step-card ul li {
    margin-bottom: 4px;
}

.step-card ul li:last-child {
    margin-bottom: 0;
}

.step-card ul li strong {
    color: var(--text-main);
}

/* Zero-decision workflow note */
.auto-note {
    color: var(--lavender-deep);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 6px;
    opacity: 0.85;
}

/* Pricing section spacing */
section#pricing {
    margin-top: 48px;
}

/* Footer logo link */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.footer-logo-img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-text {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-soft);
    transition: color 0.2s ease;
}

.footer-logo:hover .footer-logo-text {
    color: var(--lavender-deep);
}

/* ========================================================= */
/* Header/Footer Responsive                                  */
/* ========================================================= */

@media (max-width: 900px) {
    .nav-inner {
        gap: 12px;
    }

    .primary-nav {
        display: none;
    }

    .nav-cta {
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .nav-cta {
        gap: 6px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================= */
/* 2. Typography Styles      */
/* ========================= */

/* ========================================= */
/*  CENTER TITLE + LOGO (PREMIUM SAAS LOOK)  */
/* ========================================= */

.title-with-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 8px;
}

/* Circle icon */
.title-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    opacity: 0.98;
}

.title-logo:hover {
    opacity: 1;
}

/* Mobile */
@media (max-width: 600px) {
    .title-with-logo {
        gap: 10px;
        margin-top: 16px;
    }

    .title-logo {
        width: 34px;
        height: 34px;
    }
}

/* Keep header centered */
.header {
    text-align: center;
    margin-top: 0;
}



/* 2.1 Headings + Paragraphs */
h1, h2, h3, h4 {
    color: #22213a;
    line-height: 1.25;
    font-weight: 700;
}
/* Hero Title Override (Premium SaaS Style) */
h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

p {
    font-size: 0.95rem;
    color: #3b3954;
    margin-bottom: 10px;
}

/* 2.2 Subtitles */
.app-subtitle {
    font-size: 1.05rem;
    color: #4b4a68;
    margin-top: 6px;
}

/* 2.3 Mission Statement */
.mission {
    font-size: 0.95rem;
    color: #514f6c;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* 2.4 Privacy Banner - matches main website lavender theme */
.privacy-banner {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--lavender-accent);
    font-weight: 500;
    text-align: center;
}

/* Slightly stronger H3 inside dropzone */
.dropzone-title {
    font-size: 1.08rem !important;
    font-weight: 600 !important;
}

/* ========================= */
/* 3. Layout Containers      */
/* ========================= */

/* 3.1 Page Wrapper */
.page {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 18px 70px;
}

/* 3.2 Main Content Area */
.main {
    width: 100%;
    margin-top: 20px;
}

/* ========================= */
/* 4. Header Styling         */
/* ========================= */

/* 4.1 Header Container */
.header {
    text-align: center;
    margin-bottom: 48px;
}

/* 4.2 App Title */
.app-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: #22213a;
    text-align: center;
    width: 100%;
    display: block;
}

/* 4.3 Subtitle */
.app-subtitle {
    margin-top: 6px;
    font-size: 1rem;
    color: #3b3954;
}

/* 4.4 Mission Statement */
.mission {
    margin-top: 10px;
    font-size: 0.92rem;
    color: #514f6c;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 4.5 Privacy Banner - see section 2.4 for main definition */

/* Premium Lavender divider under header */
.header::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin: 28px auto 0;
    background: linear-gradient(to right, #b59bff, #8c7bff, #b59bff);
    border-radius: 3px;
    opacity: 0.6;
}

/* ========================= */
/* 5. Cards (Base Style)     */
/* ========================= */

/* 5.1 Card Base */
.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 26px;
    box-shadow:
        rgba(60, 64, 67, 0.04) 0px 1px 3px,
        rgba(60, 64, 67, 0.08) 0px 4px 8px;
    transition: transform 0.22s ease, box-shadow 0.25s ease;
}

/* 5.2 Premium Elevation */
.card:hover {
    transform: translateY(-3px);
    box-shadow:
        rgba(60, 64, 67, 0.08) 0px 6px 12px,
        rgba(60, 64, 67, 0.12) 0px 12px 24px;
}

/* 5.3 Shared Card Spacing Adjustments */
.upload-card,
.info-card {
    padding: 32px;
}

/* ========================= */
/* 6. Upload Card & Dropzone */
/* ========================= */

/* 6.1 Upload Card Container */
.upload-card {
    padding-top: 34px;
    padding-bottom: 34px;
}

/* 6.2 Dropzone */
.dropzone {
    border: 2px dashed #d9d3f8;
    border-radius: 18px;
    padding: 26px 18px !important;  /* KEEP THIS */
    background: #faf9ff;
    transition: 0.25s ease;
    cursor: pointer;
    min-height: 180px !important;   /* THIS actually shrinks the height */
}

/* 6.3 Dropzone Inner Alignment */
.dropzone-inner {
    text-align: center;
    padding: 16px 0 !important;
}


/* 6.4 Dropzone Hover Effect */
.dropzone-hover {
    border-color: #b6a4ff;
    background: #f4f2ff;
}

/* 6.5 Dropzone Title */
.dropzone-title {
    font-size: 1.22rem;
    font-weight: 600;
    color: #2f2f45;
}

/* 6.6 Dropzone Subtitle */
.dropzone-subtitle {
    margin: 4px 0 12px;
    font-size: 0.95rem;
    color: #666680;
}

/* 6.7 Dropzone Meta Text */
.dropzone-meta {
    font-size: 0.82rem;
    color: #7d7d93;
    margin-top: 10px;
}

/* 6.8 Dropzone Icon */
.dropzone-icon {
    font-size: 2.4rem;
    color: #8c7bff;
    margin-bottom: 10px;
}


/* =============================== */
/* 7.1 Premium Primary Button      */
/* =============================== */

.btn-primary {
    background: linear-gradient(90deg, #b77cff, #8c7bff);
    color: #ffffff;
    border: none;
    padding: 14px 26px;
    border-radius: 12px;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;
    transition: 0.25s ease;

    /* Shadow — half the strength of the card, but slightly softer blur */
    box-shadow: 
        rgba(60, 64, 67, 0.10) 0px 4px 10px,
        rgba(60, 64, 67, 0.14) 0px 8px 18px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);

    /* Slightly stronger on hover, but still not cartoonish */
    box-shadow: 
        rgba(60, 64, 67, 0.14) 0px 6px 12px,
        rgba(60, 64, 67, 0.18) 0px 12px 24px;
}

.btn-primary:disabled {
    background: #ccc9e9;
    cursor: not-allowed;
    box-shadow: none;
}


/* 7.2 Submit Button (Start Processing) */
.btn-primary {
    background: linear-gradient(90deg, #b77cff, #8c7bff);
    color: #ffffff;
    border: none;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: rgba(120, 90, 255, 0.25) 0px 4px 10px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: rgba(120, 90, 255, 0.35) 0px 6px 14px;
}

/* 7.3 Processing Button (Process Another ZIP) */
.btn-secondary {
    background: #ffffff;
    color: #7a60ff;
    border: 1px solid #e0d6ff;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-secondary:hover {
    background: #f4f0ff;
}

/* 7.4 Inline small processing button */
#fileInfo .submit-btn {
    background: #7a6cff;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: rgba(120, 90, 255, 0.25) 0px 4px 10px;
}

/* 7.4a Duplicate ZIP note */
.duplicate-zip-note {
    font-size: 0.88rem;
    color: #4b4868;
    margin-top: 4px;
    opacity: 0.85;
}

#fileInfo .submit-btn:hover:not(:disabled) {
    background: #6b5aff;
    transform: translateY(-1px);
    box-shadow: rgba(120, 90, 255, 0.35) 0px 6px 14px;
}

#fileInfo .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* 7.4 Hover, Disabled, Active */
.submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: rgba(120, 90, 255, 0.35) 0px 6px 14px;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* ========================= */
/* 8. Advanced Settings      */
/* ========================= */

/* 8.1 Wrapper spacing */
.advanced-wrapper {
    margin-top: 22px;
}

/* 8.2 Premium toggle button */
.advanced-toggle {
    font-size: 0.95rem;
    color: #7a60ff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.advanced-toggle:hover {
    opacity: 0.7;
    transform: translateY(-1px);
}

/* 8.3 Gear icon */
.gear-icon {
    font-size: 1rem;
    opacity: 0.9;
}

/* 8.4 Collapsible panel */
.advanced-panel {
    margin-top: 14px;
    padding: 18px;
    background: #f4f0ff;
    border-radius: 14px;
    border: 1px solid #e0d6ff;
    display: none;
}

/* 8.5 Visible state */
.advanced-panel-open {
    display: block;
}

/* 8.6 Checkbox row */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.checkbox-row input[type="checkbox"] {
    margin-top: 2px;
}

/* ========================= */
/* 9. Info Cards             */
/* ========================= */

/* 9.1 Base info-card style */
.info-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow:
        rgba(60, 64, 67, 0.04) 0px 1px 3px,
        rgba(60, 64, 67, 0.08) 0px 4px 8px;
    margin-bottom: 26px;
}

.info-card h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #22213a;
}

/* 9.2 Ordered list (“How it works”) */
.how-list {
    padding-left: 18px;
    font-size: 0.92rem;
    color: #44445c;
}

.how-list li {
    margin-bottom: 10px;
}

/* 9.3 Privacy card text */
.privacy-card p {
    margin-bottom: 10px;
    color: #3d3d55;
    font-size: 0.92rem;
}

/* 9.4 FAQ card (Q&A blocks) */
.faq-card p {
    margin-bottom: 12px;
    font-size: 0.93rem;
    color: #3f3f59;
}

.faq-card strong {
    color: #2f2f45;
    font-weight: 600;
}

/* 9.5 Why It Matters card */
.why-card {
    margin-top: 10px;
}

.why-title {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.why-lead {
    font-size: 0.95rem;
    color: #514f6c;
    margin-bottom: 14px;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.why-col {
    flex: 1 1 260px;
}

.why-subheading {
    font-size: 0.98rem;
    margin-bottom: 6px;
    color: #22213a;
}

.why-list {
    padding-left: 18px;
    font-size: 0.9rem;
    color: #44445c;
}

.why-list li {
    margin-bottom: 6px;
}

/* Stack columns on small screens */
@media (max-width: 540px) {
    .why-grid {
        flex-direction: column;
    }
}

/* Slightly reduce upload card padding for a more premium density */
.upload-card {
    padding: 26px 32px !important;  /* was larger before */
}
/* Subtle grey lighter tone for less visual competition */
.dropzone-meta {
    color: #b4b4c3 !important; /* lighter, softer grey */
}


/* ========================================================= */
/* Section Layout                                            */
/* ========================================================= */

.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-title-center {
  text-align: center;
}

.section-tagline {
  margin: 0 0 48px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tagline-center {
  text-align: center;
}

/* ========================================================= */
/* Pricing Section                                           */
/* ========================================================= */

.section-pricing {
  background: var(--bg-page);
  /* Break out of webapp-content constraint to match main website (1120px) */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
}

.pricing-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--lavender);
}

.plan-name {
  text-align: center;
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.plan-price {
  text-align: center;
  font-size: 1.6rem;
  margin: 0;
  font-weight: 700;
}

.plan-period {
  text-align: center;
  margin: 2px 0 12px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.plan-features {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  flex-grow: 1;
}

.plan-features li+li {
  margin-top: 4px;
}

/* ========================================================= */
/* Yearly Card (with "Best value" badge)                     */
/* ========================================================= */

.pricing-card--yearly {
  background: #FFF8E6;
}

.pricing-card--yearly .plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  right: auto;
  background: var(--lavender);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.pricing-card--yearly .plan-badge:hover {
  background: var(--lavender-hover);
  box-shadow: 0 0 0 3px rgba(140, 123, 255, 0.3);
}

.pricing-card--yearly .btn-outline {
  background: var(--lavender);
  color: #ffffff;
  border: 1px solid var(--lavender-accent);
  box-shadow: 0 8px 20px rgba(140, 123, 255, 0.3);
}

.pricing-card--yearly .btn-outline:hover {
  background: var(--lavender-hover);
  color: #ffffff;
  border-color: var(--lavender-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(140, 123, 255, 0.4);
}

/* ========================================================= */
/* Lifetime Card (with ripple effect)                        */
/* ========================================================= */

.pricing-card--lifetime {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  z-index: 1;
  border-color: rgba(183, 124, 255, 0.3);
}

.pricing-card--lifetime > *:not(.ripple-background) {
  position: relative;
  z-index: 5;
}

.ripple-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ripple-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  border: 1px solid transparent;
}

.ring-1 {
  width: 65%;
  height: 60%;
  border-color: rgba(248, 193, 92, 0.5);
  box-shadow: 
    0 8px 24px rgba(248, 193, 92, 0.5),
    inset 0 2px 16px rgba(255, 255, 255, 0.8);
}

.ring-2 {
  width: 80%;
  height: 75%;
  border-color: rgba(183, 124, 255, 0.35);
  box-shadow: 
    0 12px 32px rgba(183, 124, 255, 0.3),
    inset 0 2px 16px rgba(255, 255, 255, 0.6);
}

.ring-3 {
  width: 95%;
  height: 90%;
  border-color: rgba(248, 193, 92, 0.3);
  box-shadow: 
    0 16px 40px rgba(248, 193, 92, 0.2),
    inset 0 2px 24px rgba(255, 255, 255, 0.5);
}

.ring-4 {
  width: 110%;
  height: 105%;
  border-color: rgba(183, 124, 255, 0.2);
  box-shadow: 
    0 20px 48px rgba(183, 124, 255, 0.15),
    inset 0 2px 30px rgba(255, 255, 255, 0.4);
}

.pricing-card--lifetime .btn-disabled {
  background: #f8f8fc;
  color: var(--text-main);
  border: 1px solid var(--lavender);
  opacity: 0.6;
  font-weight: 600;
  box-shadow: none;
}

.lifetime-note {
  margin-top: 12px;
  margin-bottom: 2px;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  font-style: italic;
  position: relative;
  z-index: 5;
}

/* ========================================================= */
/* Pricing Footnotes                                         */
/* ========================================================= */

.pricing-footnote {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--text-soft);
  text-align: center;
}

.section-pricing .hero-footnote {
  text-align: center;
}

.hero-footnote {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ========================================================= */
/* Pricing Responsive                                        */
/* ========================================================= */

@media (max-width: 900px) {
  .section {
    padding: 60px 20px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 46px 16px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-tagline {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card--yearly {
    margin-top: 12px;
  }
}


/* ========================= */
/* Comparison Section        */
/* ========================= */

.comparison-section {
    margin-top: 90px;
}

/* Entire card container */
.comparison-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    padding-bottom: 1px; /* <<< Adds breathing room and prevents collapse */
    max-width: 1150px;
    margin: 0 auto 50px;  /* <<< Adds visible separation from next card */
    box-shadow:
        0 4px 12px rgba(120, 110, 255, 0.06),
        0 10px 28px rgba(120, 110, 255, 0.04);
    transition: box-shadow .35s ease, transform .35s ease;
}


/* Neon hover */
.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 22px rgba(120, 110, 255, 0.25),
        0 10px 32px rgba(120, 110, 255, 0.18);
}

/* Titles */
.comparison-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #22213a;
    margin-bottom: 6px;
}

.comparison-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #5b5772;
    max-width: 720px;
    margin: 0 auto 28px;
}

/* TABLE */
.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
}

.comparison-table thead {
    background: #f5f2ff;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(150, 140, 255, 0.18);
    text-align: left;
    white-space: nowrap;
}

/* Sticky first column */
.comparison-table th:first-child,
.comparison-table td:first-child {
    position: sticky;
    left: 0;
    background: #faf8ff;
    z-index: 2;
}

/* Feature labels */
.feature-label {
    font-weight: 600;
    color: #22213a;
    white-space: normal;
}

.feature-hint {
    display: block;
    font-size: 0.82rem;
    color: #7a7693;
    margin-top: 2px;
}

/* Highlight PDR column */
.comparison-table th.is-pdr {
    background: #f0fffb;
    color: #176b4b;
    font-weight: 800;
}
.comparison-table td.is-pdr {
    background: #f8fffd;
}

/* Score */
.score-value {
    font-weight: 600;
    margin-bottom: 4px;
    display: inline-block;
}

.score-bar {
    width: 120px;
    height: 6px;
    border-radius: 999px;
    background: #efedf9;
    overflow: hidden;
}

.score-bar span {
    height: 100%;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, #7b5cff, #ffae4e);
}

/* ANALYSIS */
.comparison-analysis {
    margin-top: 32px;
    padding-top: 10px;
    border-top: 1px solid rgba(150, 140, 255, 0.25);
}

.comparison-analysis h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22213a;
    margin-bottom: 12px;
}

.comparison-analysis p,
.comparison-analysis ul {
    text-align: left;
    font-size: 0.94rem;
    color: #2f2f41;
    margin-bottom: 14px;
    line-height: 1.55;
}

.comparison-analysis ul li {
    margin-bottom: 6px;
}

.analysis-conclusion {
    margin-top: 12px;
    font-weight: 500;
}




/* ========================= */
/* 10. Tooltip Styling       */
/* ========================= */

/* 10.1 Label wrapper */
.tooltip-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: help;
    color: #2f2f45;
    font-weight: 500;
}

/* 10.2 Tooltip icon */
.tooltip-icon {
    cursor: help;
    color: #6b6a89;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 10.3 Tooltip panel */
.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;

    background: #1f1f2e;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.4;

    transition: opacity 0.25s ease;
    z-index: 1000;
}

/* Tooltip arrow */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1f1f2e transparent transparent transparent;
}

/* Show on hover */
.tooltip-label:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* ============================= */
/* 11. Animations / Transitions  */
/* ============================= */

/* 11.1 Fade animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.35s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 11.2 Hover-lift (generic UI elevation) */
.hover-lift {
    transition: transform 0.22s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow:
        rgba(60, 64, 67, 0.08) 0px 6px 12px,
        rgba(60, 64, 67, 0.12) 0px 12px 24px;
}

/* 11.3 Collapsible panel transitions */
.collapsible {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    max-height: 0;
}

.collapsible.open {
    opacity: 1;
    max-height: 400px; /* more than enough for content */
}

/* =============================== */
/* 12. HERO ROTATOR – Premium styling  */
/* =============================== */

/* Softer, premium static mission line */
.hero-static-label {
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.65;
    margin-top: 6px;
    letter-spacing: 0.2px;
    text-align: center;
}

.hero-rotator {
    text-align: center;
    margin-bottom: 16px;
}

.hero-phrase {
    font-size: 0.97rem;
    font-style: italic;
    color: #5b5a75;
    opacity: 0;
    transition: opacity 0.55s ease;
    min-height: 22px; /* prevents jump */
}

.hero-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    gap: 10px;
}

.hero-btn {
    background: #efecff;
    border: none;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 1.15rem;
    cursor: pointer;
    color: #5d4fff;
    transition: background 0.2s;
}

.hero-btn:hover {
    background: #e1ddff;
}

.hero-dots {
    display: flex;
    gap: 4px;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9c5e4;
    transition: background 0.25s;
}

.hero-dot.active {
    background: #6c63ff;
}

/* ========================= */
/* 12.5 Duplicate summary / modal */
/* ========================= */

.duplicate-summary-card {
    background: #f7f5ff;
}

.duplicate-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.duplicate-summary-title {
    font-size: 1.02rem;
    margin-bottom: 2px;
}

.duplicate-summary-count {
    font-size: 0.9rem;
    color: #4b4868;
}

.duplicate-details {
    margin-top: 10px;
}

.duplicate-list {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    background: #221f3a;
    color: #e6e5ff;
    padding: 10px 12px;
    border-radius: 10px;
    max-height: 220px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.duplicate-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.duplicate-rules-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #5a5875;
}

/* Link-style buttons used in summary + modal */
.link-button {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b5aff;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.link-button.small {
    font-size: 0.8rem;
}

/* ========================= */
/* 12.6 Modal styling        */
/* ========================= */

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 13, 35, 0.55);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    max-width: 720px;
    width: 94%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(80, 70, 160, 0.08);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px 8px;
    border-bottom: 1px solid #ecebff;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #7a72b8;
}

.duplicate-modal-list {
    padding: 12px 16px 16px;
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
    background: #1d1b32;
    color: #e9e7ff;
    border-radius: 0 0 16px 16px;
    max-height: 60vh;
    overflow-y: auto;
    white-space: pre-wrap;
}

/* =============================== */
/* 13. Responsive Adjustments       */
/* =============================== */

/* 13.1 Mobile breakpoint rules */
@media (max-width: 540px) {

    .page {
        padding: 22px 14px 55px;
    }

    .card {
        padding: 22px;
    }

    .dropzone {
        padding: 32px 16px;
    }

    .dropzone-title {
        font-size: 1.1rem;
    }

    .btn-primary,
    .submit-btn {
        width: 100%;
        max-width: none;
    }

    .how-list {
        padding-left: 14px;
    }

    .app-title {
        font-size: 2rem;
    }

    .app-subtitle {
        font-size: 0.95rem;
    }
}

/* 13.2 Tablet breakpoint rules */
@media (max-width: 820px) {

    .page {
        padding: 28px 18px 60px;
    }

    .card {
        padding: 26px;
    }

    .dropzone {
        padding: 38px 20px;
    }

    .dropzone-title {
        font-size: 1.18rem;
    }

    .submit-btn {
        width: 70%;
    }

    .app-title {
        font-size: 2.3rem;
    }

    /* Rotating sub-headlines */
    .rotator-wrapper {
        margin-top: 10px;
        position: relative;
        text-align: center;
    }

    .rotating-sub {
        font-weight: 500;
        font-size: 1.05rem;
        color: #4c4b63;
        min-height: 24px;
        transition: opacity 0.8s ease;
        opacity: 1;
    }

    /* Smooth fading for rotating sub-headlines */
    .rotating-sub {
        opacity: 1;
        transition: opacity 0.6s ease-in-out;
    }

    /* Forward / Back buttons */
    .rotator-controls {
        margin-top: 8px;
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .rot-btn {
        background: #f0eeff;
        border: none;
        padding: 6px 10px;
        font-size: 1.1rem;
        border-radius: 8px;
        cursor: pointer;
        color: #524ea3;
        transition: background 0.25s ease;
    }

    .rot-btn:hover {
        background: #e2dfff;
    }
    
}
