/* public.css — public-facing page styles */

body {
    display: flex;
    flex-direction: column;
    font-family: var(--font-family-sans-serif);
    font-weight: 400;
    background: radial-gradient(50% 100% at 90% 90%, var(--primary-2) 30%, var(--primary) 100%),
                linear-gradient(127.43deg, var(--primary-2) 10%, var(--primary) 100%);
    background-blend-mode: screen;
    background-attachment: fixed;
}

p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-color);
}

a {
    color: var(--highlight);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover,
a:focus {
    color: var(--secondary);
}

h1, h2, h3 {
    color: var(--white);
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }

h1, h2, h3, p {
    line-height: 1.4;
    margin: 0.625rem;
}

ul, ol, li {
    line-height: 1.65;
}


form h1, form h2, form h3 {
    color: var(--highlight);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(30, 27, 75, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.header-wrap {
    display: flex;
    max-width: var(--breakpoint-xl);
}

main {}

content {
    color: var(--text-color);
}

sidebar {}

footer {
    color: var(--nav-color);
    background-color: var(--bg-footer);
}
.footer-wrap {
    max-width: var(--breakpoint-xl);
}
footer h1, footer h2, footer h3, footer h4 {
    color: var(--secondary);
}
footer a {
    color: var(--secondary);
    font-weight: 400;
}
footer a:hover {
    color: var(--highlight);
}
.footer-grid {
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 0;
}
.footer-column {
    flex: 1 1 200px;
}
.footer-bottom {
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.875rem;
    opacity: 0.7;
}
.footer-foot {
    background-color: var(--bg-footer-foot);
}
.footer-info {
    color: var(--secondary);
}


/* ---------------------------------------------------
    REGISTER FORM
----------------------------------------------------- */

#register-form {
    background: var(--white);
    border-radius: var(--radius-lg);
}

#register-top-panel {
    border-radius: var(--radius-lg);
    background: var(--white);
}

#register-referrer {
    border: 1px solid var(--highlight);
    border-radius: var(--radius-lg);
}
#register-referrer p {
    color: var(--highlight);
}

#register-form .input, .select {
    width: 275px;
    height: 44px;
    padding: 0 0.75rem;
    border: 1.5px solid #d1d5db;
    border-radius: var(--radius-md);
    background: var(--white);
    font-family: var(--font-family-sans-serif);
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-color);
    margin: 0 0 5px 0;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}
#register-form .input:focus, .select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.subheading {
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0.75rem auto;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-color-dark);
}

#register a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--link);
}

#register-button {
    width: 275px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--success);
    border: none;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: var(--font-family-sans-serif);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}
#register-button:hover {
    filter: brightness(1.05);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}


/* ---------------------------------------------------
    CUSTOM UTILITY OVERRIDES
----------------------------------------------------- */

.w-max-1200 { max-width: 1200px; }
.w-max-1140 { max-width: 1140px; }
.fb-972  { flex: 1; flex-basis: 972px; }
.fb-1140 { flex: 1; flex-basis: 1140px; }
.fb-1200 { flex: 1; flex-basis: 1200px; }


/* ---------------------------------------------------
    MEDIA QUERIES
----------------------------------------------------- */

@media (max-width: 576px) {
    header { width: 100vw; }
}

@media (min-width: 576px) {
    header { width: 100vw; }
}

@media only screen and (max-width: 768px) {
    #hidenav {
        display: none;
        width: 100vw;
        clear: both;
    }
    .navbar-toggler {
        float: right;
        display: flex;
    }
    .footer-column {
        border-bottom: 1px solid var(--highlight);
    }
    .footer-column:last-child {
        border-bottom: none;
    }
}

@media only screen and (min-width: 768px) {
    .navbar-toggler  { display: none; }
    .navbar-nav      { display: flex; flex-direction: row; align-items: center; gap: 0.25rem; }
    nav ul li        { display: inline-block; border-bottom: none; }
    .footer-column   { border-bottom: none; }
}

@media (min-width: 992px) {
    .header-wrap {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ---------------------------------------------------
    LANDING PAGE — SHARED
----------------------------------------------------- */

.container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 2.5rem;
}

/* utility helpers used in landing content */
.text-center { text-align: center; }
.mb-6 { margin-bottom: 3rem; }
.mt-6 { margin-top: 3rem; }
.py-8 { padding-top: 4rem; padding-bottom: 4rem; }


/* ---------------------------------------------------
    HERO
----------------------------------------------------- */

.hero {
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.hero-buttons {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ---------------------------------------------------
    FEATURES
----------------------------------------------------- */

.features {
    padding: 6rem 0;
    background: var(--white);
}

.features .section-title { color: var(--text-color-dark); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}


/* ---------------------------------------------------
    SOCIAL PROOF / TESTIMONIALS
----------------------------------------------------- */

.social-proof {
    padding: 6rem 0;
    background: var(--bg-color-distinct);
}

.social-proof .section-title { color: var(--text-color-dark); }

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    gap: 1.25rem;
}

.testimonial-content {
    font-style: italic;
    color: var(--text-color);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin: 0;
}

.testimonial-author {
    align-items: center;
    gap: 0.875rem;
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gradient);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-info span {
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 0.9375rem;
}

.author-company {
    font-weight: 400 !important;
    color: var(--text-color-light) !important;
    font-size: 0.8125rem !important;
}


/* ---------------------------------------------------
    PRICING
----------------------------------------------------- */

.pricing {
    padding: 6rem 0;
    background: var(--white);
}

.pricing .section-title { color: var(--text-color-dark); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    background: var(--bg-gradient);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.04);
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 1rem;
}

.pricing-card.popular .pricing-title { color: var(--white); }

.pricing-price {
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.pricing-card.popular .pricing-price { color: var(--white); }

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color-light);
    align-self: flex-end;
    margin-bottom: 0.4rem;
}

.pricing-card.popular .pricing-period { color: rgba(255, 255, 255, 0.75); }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-feature {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9375rem;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-feature::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
}

.pricing-card.popular .pricing-feature {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.popular .pricing-feature::before { color: var(--yellow-light); }

.pricing-card.popular .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.pricing-card.popular .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}


/* ---------------------------------------------------
    CTA
----------------------------------------------------- */

.cta {
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.cta .btn { margin: 0.375rem; }


/* ---------------------------------------------------
    HOW IT WORKS
----------------------------------------------------- */

.how-it-works {
    padding: 6rem 0;
    background: var(--bg-color-distinct);
}

.how-it-works .section-title { color: var(--text-color-dark); }
.how-it-works .text-center { color: var(--text-color-light); }

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}


/* ---------------------------------------------------
    COMPARISON TABLE
----------------------------------------------------- */

.comparison {
    padding: 6rem 0;
    background: var(--white);
}

.comparison .section-title { color: var(--text-color-dark); }
.comparison .text-center { color: var(--text-color-light); }

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 860px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--bg-gradient);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-align: left;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.comparison-table td {
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.comparison-table tr:nth-child(even) td { background: var(--bg-color); }
.comparison-table tr:last-child td { border-bottom: none; }

.check {
    color: var(--success);
    font-weight: 700;
}

.total-row {
    font-weight: 700;
    background: var(--bg-color-distinct) !important;
    color: var(--text-color-dark) !important;
}


/* ---------------------------------------------------
    FAQ
----------------------------------------------------- */

.faq {
    padding: 6rem 0;
    background: var(--bg-color-distinct);
}

.faq .section-title { color: var(--text-color-dark); }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}


/* ---------------------------------------------------
    NAV ENHANCEMENTS (PUBLIC)
----------------------------------------------------- */

.btn-ghost-nav {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.btn-ghost-nav:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav {
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-sep {
    flex: 1;
}

@media (max-width: 768px) {
    #pub-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 15, 60, 0.97);
        backdrop-filter: blur(12px);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    #pub-nav.nav-open { display: flex; }
    #pub-nav .nav-sep { display: none; }
    #pub-nav li { width: 100%; }
    #pub-nav li a { display: block; padding: 0.6rem 0; }
}


/* ---------------------------------------------------
    HERO ENHANCEMENTS
----------------------------------------------------- */

.hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.btn-hero {
    padding: 0.875rem 2rem !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
}

.hero-reassurance {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
    margin-bottom: 0;
}


/* ---------------------------------------------------
    STATS BAR
----------------------------------------------------- */

.stats-bar {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 0;
}

.stats-grid {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    align-items: center;
    padding: 0.5rem 2.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}


/* ---------------------------------------------------
    SECTION SHARED HELPERS
----------------------------------------------------- */

.section-label {
    display: block;
    color: var(--highlight);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.625rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color-light);
    font-size: 1.0625rem;
    max-width: 640px;
    margin: -1.75rem auto 2.75rem;
    line-height: 1.65;
}


/* ---------------------------------------------------
    PAIN POINTS SECTION
----------------------------------------------------- */

.pain-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.18);
    text-align: center;
}

.pain-title-main {
    color: var(--white) !important;
}

.pain-subtitle {
    color: rgba(255, 255, 255, 0.65) !important;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    text-align: left;
    margin-top: 1rem;
}

.pain-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: background var(--transition-base), transform var(--transition-base);
}

.pain-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.pain-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.pain-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.625rem;
}

.pain-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}


/* ---------------------------------------------------
    SOLUTION BRIDGE
----------------------------------------------------- */

.solution-bridge {
    padding: 6rem 0;
    background: var(--white);
}

.solution-bridge .section-label { color: var(--primary); }

.solution-bridge-content {
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.solution-bridge-text {
    flex: 1 1 380px;
}

.solution-bridge-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-color-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.solution-bridge-text p {
    color: var(--text-color-light);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.solution-bridge-text .btn { margin-top: 1rem; }

.solution-bridge-visual {
    flex: 1 1 340px;
}

.tools-replaced {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.tools-replaced-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.old-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.old-tool {
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-color);
    gap: 0.25rem;
}

.old-tool span {
    color: var(--danger);
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.old-tools-total {
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-color-light);
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 0.875rem;
}

.old-tools-total strong {
    color: var(--danger);
    font-size: 1rem;
}

.vs-arrow {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.875rem 0;
    letter-spacing: 0.03em;
}

.new-platform {
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
}

.new-platform-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.new-platform-price {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--yellow-light);
    line-height: 1.25;
    margin: 0.25rem 0;
}

.new-platform-tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
}


/* ---------------------------------------------------
    FEATURE LIST (inside feature cards)
----------------------------------------------------- */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--text-color-light);
    padding: 0.2rem 0;
}

.feature-list li::before {
    content: '→ ';
    color: var(--primary);
    font-weight: 700;
}


/* ---------------------------------------------------
    TESTIMONIAL STARS
----------------------------------------------------- */

.testimonial-stars {
    color: var(--warning);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.875rem;
    display: block;
}


/* ---------------------------------------------------
    PRICING ENHANCEMENTS
----------------------------------------------------- */

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    min-height: 2.75rem;
}

.pricing-card.popular .pricing-desc { color: rgba(255, 255, 255, 0.72); }

.popular-badge {
    display: inline-block;
    background: var(--warning);
    color: #7c2d12;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.875rem;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--text-color-light);
    font-size: 0.875rem;
}


/* ---------------------------------------------------
    FINAL CTA
----------------------------------------------------- */

.final-cta {
    padding: 8rem 0;
    text-align: center;
}

.final-cta-content {
    max-width: 740px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.125rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}


/* ---------------------------------------------------
    LANDING PAGE — MOBILE ADJUSTMENTS
----------------------------------------------------- */

@media (max-width: 768px) {
    .hero { padding: 5rem 0 4rem; }
    .pain-section, .solution-bridge, .features, .social-proof,
    .pricing, .cta, .how-it-works, .comparison, .faq,
    .final-cta { padding: 4rem 0; }
    .section-title { font-size: 1.6rem; }
    .pricing-card.popular { transform: none; }
    .steps-container { grid-template-columns: 1fr; }
    .step { gap: 1rem; }
    .stats-grid { gap: 0.5rem; }
    .stat-item { padding: 0.5rem 1.25rem; }
    .stat-divider { height: 30px; }
    .solution-bridge-content { flex-direction: column; gap: 2.5rem; }
    .old-tools-grid { grid-template-columns: 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .final-cta { padding: 5rem 0; }
}


/* ---------------------------------------------------
    LOGIN PAGE
----------------------------------------------------- */

.login-body {
    background: #f0ebff;
}

.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
    padding: 3rem 1rem;
    background: linear-gradient(150deg, #ede9fe 0%, #e0e7ff 100%);
}

.login-container {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2.25rem;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 1.875rem;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.375rem;
}

.login-header p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* ── Form groups ── */

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.375rem;
}

.form-control {
    width: 100%;
    height: 44px;
    background: var(--white);
    border: 1.5px solid #d1d5db;
    border-radius: var(--radius-md);
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
    font-family: var(--font-family-sans-serif);
    color: var(--text-color);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* ── Password with show/hide toggle ── */

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field .form-control {
    padding-right: 4.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-family-sans-serif);
    letter-spacing: 0.02em;
    line-height: 1;
}

.password-toggle:hover { color: var(--primary-2); }

.error-message {
    display: none;
    font-size: 0.8125rem;
    color: var(--danger);
    margin-top: 0.3rem;
}

/* ── Remember me ── */

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.remember-me label {
    font-size: 0.875rem;
    color: var(--text-color-light);
    cursor: pointer;
    margin: 0;
}

/* ── Sign in button — full width gradient ── */

.login-container #btn_login {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0.25rem 0;
    background: var(--bg-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.login-container #btn_login:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ── Login footer — links & social ── */

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.login-footer p {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin: 0.5rem 0;
}

.login-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.login-footer a:hover { text-decoration: underline; }

/* ── "Or" divider ── */

.divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: var(--text-color-light);
    font-size: 0.8125rem;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* ── Social OAuth buttons ── */

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    height: 44px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-family-sans-serif);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-sizing: border-box;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.social-btn.google {
    background: #fff;
    border: 1.5px solid #d1d5db;
    color: #374151;
}

.social-btn.google:hover {
    background: #f3f4f6;
    box-shadow: var(--shadow-sm);
}

.social-btn.apple {
    background: #000;
    border: 1.5px solid #000;
    color: #fff;
}

.social-btn.apple:hover {
    background: #1a1a1a;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-md);
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    .login-main { padding: 2rem 1rem; }
}


/* ---------------------------------------------------
    REGISTER PAGE
----------------------------------------------------- */

.register-body {
    background: #f0ebff;
}

.register-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 72vh;
    padding: 3rem 1rem;
    background: linear-gradient(150deg, #ede9fe 0%, #e0e7ff 100%);
}

.register-container {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2.25rem;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.register-container form { margin: 0; }

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-header h1 {
    font-size: 1.875rem;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.375rem;
}

.register-header p {
    color: var(--text-color-light);
    font-size: 0.9375rem;
    margin: 0;
}

.register-referrer {
    background: var(--bg-color-distinct);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: var(--primary);
    text-align: center;
}

/* ── Two-column field grid ── */

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid var(--bg-color-distinct);
}

.register-section .section-heading:first-child { margin-top: 0; }

select.form-control {
    height: 44px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

/* ── Terms & Submit ── */

.register-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.register-footer .terms-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 520px;
    width: 100%;
    margin: 0;
}

.register-footer .terms-box label {
    margin: 0;
    font-weight: 500;
    color: #78350f;
    cursor: pointer;
}

.register-footer .terms-box input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--primary);
    flex-shrink: 0;
    cursor: pointer;
}

.register-btn {
    min-width: 220px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--bg-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.register-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.register-help {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin: 0;
}

.register-help a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.register-help a:hover { text-decoration: underline; }

@media (max-width: 620px) {
    .register-grid { grid-template-columns: 1fr; }
    .register-container {
        padding: 2rem 1.25rem;
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    .register-main { padding: 1.5rem 0.75rem; }
}
