/* Website Roast — Premium Marketing Design System */

:root {
    --wr-primary: #115e59;
    --wr-primary-dark: #0b3f3d;
    --wr-primary-light: #eaf7f5;
    --wr-primary-glow: rgba(17, 94, 89, 0.16);
    --wr-accent: #c79b3f;
    --wr-accent-2: #ff6f61;
    --wr-dark: #151515;
    --wr-dark-soft: #2b2a28;
    --wr-muted: #64748b;
    --wr-muted-light: #94a3b8;
    --wr-success: #10b981;
    --wr-warning: #f59e0b;
    --wr-danger: #ef4444;
    --wr-surface: #f7f3eb;
    --wr-surface-alt: #efe7da;
    --wr-border: #e3d8c7;
    --wr-radius: 14px;
    --wr-radius-lg: 20px;
    --wr-shadow-sm: 0 12px 30px rgba(21, 21, 21, 0.06);
    --wr-shadow: 0 20px 48px rgba(21, 21, 21, 0.09);
    --wr-shadow-lg: 0 32px 72px rgba(21, 21, 21, 0.13);
    --wr-transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --wr-primary-rgb: 17, 94, 89;

    --wr-section-glow: rgba(17, 94, 89, 0.08);
    --wr-section-glow-2: rgba(199, 155, 63, 0.12);
    --wr-section-bg-light-start: rgba(247, 243, 235, 0.96);
    --wr-section-bg-light-end: #ffffff;
    --wr-section-bg-dark-start: rgba(21, 21, 21, 0.96);
    --wr-section-bg-dark-end: #1d1d1d;
}



/* Premium section overlays */
.hero-pro,
.hero-gradient,
.page-hero,
.cta-section,
.ai-glow-card,
.auth-brand-panel,
.premium-section,
.report-header,
.audit-category-card,
.use-case-card,
.case-study-card,
.sample-report-card {
    position: relative;
    isolation: isolate;
}

.hero-pro::before,
.hero-gradient::before,
.page-hero::before,
.cta-section::before,
.ai-glow-card::before,
.auth-brand-panel::before,
.premium-section::before,
.report-header::before,
.audit-category-card::before,
.use-case-card::before,
.case-study-card::before,
.sample-report-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--wr-section-glow) 0%, transparent 60%),
        linear-gradient(180deg, var(--wr-section-bg-light-start) 0%, var(--wr-section-bg-light-end) 40%);
    pointer-events: none;
    z-index: 0;
}

.hero-gradient::before,
.page-hero::before,
.auth-brand-panel::before,
.ai-glow-card::before {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--wr-section-glow-2) 0%, transparent 60%),
        linear-gradient(180deg, var(--wr-section-bg-dark-start) 0%, var(--wr-section-bg-dark-end) 40%);
}

.hero-pro > .container,
.hero-pro > .row,
.hero-gradient > .container,
.hero-gradient > .container-fluid,
.page-hero > .container,
.page-hero > .row,
.cta-section > *,
.ai-glow-card > *,
.auth-brand-panel > *,
.premium-section > *,
.report-header > *,
.audit-category-card > *,
.use-case-card > *,
.case-study-card > *,
.sample-report-card > * {
    position: relative;
    z-index: 1;
}

/* Premium polish */
body {
    background: var(--wr-surface);
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--wr-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    margin: initial;
}

h1, h2, h3, h4, h5, h6, .section-heading {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.display-hero {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.lead-lg {
    font-size: 1.2rem;
    line-height: 1.7;
}

.text-gradient {
    color: var(--wr-primary);
}

.text-highlight {
    color: var(--wr-primary);
}

/* Buttons */
.btn-primary {
    background: var(--wr-primary);
    border-color: var(--wr-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(17, 94, 89, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--wr-primary-dark);
    border-color: var(--wr-primary-dark);
    color: #fff;
    box-shadow: 0 16px 30px rgba(17, 94, 89, 0.22);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-light-cta {
    background: #fff;
    color: var(--wr-primary);
    font-weight: 600;
    border: none;
    transition: transform var(--wr-transition), box-shadow var(--wr-transition);
}

.btn-light-cta:hover {
    background: #fff;
    color: var(--wr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.btn-outline-glass {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    font-weight: 600;
    transition: all var(--wr-transition);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.text-primary { color: var(--wr-primary) !important; }
.bg-primary-subtle { background: var(--wr-primary-light) !important; }

/* Navbar */
.wr-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--wr-border) !important;
    transition: box-shadow var(--wr-transition);
}

.wr-navbar.scrolled {
    box-shadow: var(--wr-shadow-sm);
    padding: 0;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    color: var(--wr-dark-soft) !important;
    transition: color var(--wr-transition);
    position: relative;
}

.nav-link:hover {
    color: var(--wr-primary) !important;
}

/* Hero — dark CTA sections */
.hero-gradient {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero — premium light homepage hero */
.hero-pro {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 5rem;
    border-bottom: 1px solid var(--wr-border);
}

.hero-pro::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, var(--wr-surface) 0%, #fff 40%);
    pointer-events: none;
}

.hero-pro > .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--wr-primary);
    background: var(--wr-primary-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
}

.hero-pro h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: var(--wr-dark);
    margin-bottom: 1.25rem;
}

.hero-pro .hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--wr-muted);
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-form-card {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 0.5rem;
    box-shadow: var(--wr-shadow);
    max-width: 520px;
}

.hero-form-card .form-control {
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.875rem 1rem;
}

.hero-form-card .form-control:focus {
    box-shadow: none;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--wr-border);
    max-width: 520px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--wr-muted);
}

.hero-trust-item strong {
    color: var(--wr-dark);
    font-weight: 700;
}

.hero-trust-item i {
    color: var(--wr-primary);
    font-size: 1rem;
}

.hero-product-frame {
    position: relative;
    border-radius: var(--wr-radius-lg);
    border: 1px solid var(--wr-border);
    box-shadow: var(--wr-shadow-lg);
    background: #fff;
    overflow: hidden;
}

.hero-product-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wr-primary);
    z-index: 2;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--wr-dark-soft);
    margin-bottom: 0.5rem;
}

.hero-checklist li i {
    color: var(--wr-success);
    flex-shrink: 0;
}

.hero-gradient > .container,
.hero-gradient > .container-fluid {
    position: relative;
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
    transition: background var(--wr-transition);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
}

.audit-form-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--wr-radius);
    padding: 0.5rem;
    backdrop-filter: blur(8px);
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3.5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wr-primary);
    background: var(--wr-primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-label-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--wr-accent);
}

.bg-surface { background: #fff; }
.bg-surface-alt { background: #f1f5f9; }

/* Cards */
.card-premium {
    border: 1px solid var(--wr-border);
    /* border-radius: var(--wr-radius); */
    background: #fff;
    transition: transform var(--wr-transition), box-shadow var(--wr-transition), border-color var(--wr-transition);
}

.card-hover {
    transition: transform var(--wr-transition), box-shadow var(--wr-transition);
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--wr-shadow-lg) !important;
}

.card-premium.card-hover:hover {
    border-color: rgba(199, 155, 63, 0.25);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.feature-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.6rem;
}

.feature-icon-gradient {
    background: var(--wr-primary-light);
    color: var(--wr-primary);
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--wr-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--wr-muted);
    font-weight: 500;
}

/* Client logos */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.logo-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wr-muted-light);
    letter-spacing: -0.02em;
    opacity: 0.7;
    transition: opacity var(--wr-transition);
    white-space: nowrap;
}

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

/* Steps */
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wr-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--wr-primary), var(--wr-border));
    display: none;
}

@media (min-width: 768px) {
    .step-connector { display: block; }
    .step-col:last-child .step-connector { display: none; }
}

@media (min-width: 450px) {
    .wr-navbar.scrolled {
        padding: 0;
    }
}

/* Benefit blocks */
.benefit-block {
    border-left: 3px solid var(--wr-primary);
    padding-left: 1.25rem;
}

.audit-category-card {
    border-radius: var(--wr-radius-lg);
    overflow: hidden;
    border: 1px solid var(--wr-border);
}

.audit-category-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--wr-border);
}

/* Before/After */
.comparison-card {
    border-radius: var(--wr-radius);
    overflow: hidden;
}

.comparison-before {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.comparison-after {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.comparison-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Use cases */
.use-case-card {
    border-radius: var(--wr-radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--wr-border);
    background: #fff;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wr-primary);
    opacity: 0;
    transition: opacity var(--wr-transition);
}

.use-case-card:hover::before {
    opacity: 1;
}

/* Testimonials */
.testimonial-card {
    border-radius: var(--wr-radius);
    border: 1px solid var(--wr-border);
    background: #fff;
    height: 100%;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wr-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Case studies */
.case-study-card {
    border-radius: var(--wr-radius-lg);
    overflow: hidden;
    border: 1px solid var(--wr-border);
}

.case-study-metric {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wr-success);
    letter-spacing: -0.03em;
}

/* Pricing */
.pricing-popular {
    transform: scale(1.03);
    z-index: 1;
    box-shadow: var(--wr-shadow-lg) !important;
}

.pricing-badge {
    background: var(--wr-primary);
}

/* Sample report */
.score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    border: 6px solid;
}

.score-ring-sm {
    width: 80px;
    height: 80px;
    font-size: 1.25rem;
    border-width: 4px;
}

.progress-score {
    height: 8px;
    border-radius: 999px;
}

.sample-report-card {
    border-radius: var(--wr-radius-lg);
    overflow: hidden;
    box-shadow: none;
    border: none;
}

.sample-report-card .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--wr-border);
    padding: 1rem 1.25rem;
}

.score-pill {
    border-radius: 12px;
    padding: 0.75rem;
    background: var(--wr-surface);
    border: 1px solid var(--wr-border);
    transition: transform var(--wr-transition);
}

.score-pill:hover {
    transform: scale(1.03);
}

/* FAQ */
.accordion-premium .accordion-item {
    border: 1px solid var(--wr-border) !important;
    border-radius: var(--wr-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.accordion-premium .accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-premium .accordion-button:not(.collapsed) {
    background: var(--wr-primary-light);
    color: var(--wr-primary-dark);
}

.accordion-premium .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--wr-muted);
    line-height: 1.7;
}

/* CTA sections */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Page heroes (inner pages) */
.page-hero {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.8);
}

/* Legal pages */
.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wr-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--wr-muted);
    line-height: 1.75;
}

.legal-nav {
    position: sticky;
    top: 80px;
}

.legal-nav .nav-link {
    color: var(--wr-muted) !important;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.legal-nav .nav-link:hover,
.legal-nav .nav-link.active {
    color: var(--wr-primary) !important;
    border-left-color: var(--wr-primary);
}

/* Blog */
.blog-card {
    border-radius: var(--wr-radius);
    border: 1px solid var(--wr-border);
    overflow: hidden;
    height: 100%;
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wr-primary);
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--wr-dark-soft);
}

.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Contact */
.contact-info-card {
    border-radius: var(--wr-radius);
    border: 1px solid var(--wr-border);
    padding: 1.5rem;
    height: 100%;
    transition: border-color var(--wr-transition);
}

.contact-info-card:hover {
    border-color: rgba(15, 118, 110, 0.3);
}

/* Footer */
footer {
    background: var(--wr-dark);
    color: var(--wr-muted-light);
}

footer a {
    transition: color var(--wr-transition);
}

footer a:hover {
    color: #fff !important;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(15, 118, 110, 0.5);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Floating animation for hero mockup */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

/* Trust bar */
.trust-bar {
    border-bottom: 1px solid var(--wr-border);
    background: #fff;
}

/* AI section */
.ai-glow-card {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--wr-radius-lg);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ai-glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 767.98px) {
    .section-padding { padding: 3.5rem 0; }
    .pricing-popular { transform: none; }
    .logo-strip { gap: 1.5rem; }
    .logo-item { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .float-animation { animation: none; }
    .card-hover:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   AUTH — Split layout
═══════════════════════════════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--wr-surface);
}

.auth-brand-panel {
    display: none;
    flex: 1;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.auth-brand-panel > * {
    position: relative;
    z-index: 1;
}

.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    max-width: 100%;
}

.auth-form-wrap {
    width: 100%;
    max-width: 420px;
}

.auth-brand-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 3rem;
}

.auth-brand-logo:hover { color: #fff; }

.auth-brand-headline {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.auth-brand-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.auth-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.85rem;
}

.auth-trust-list li i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 2rem;
    box-shadow: var(--wr-shadow);
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.auth-card .auth-subtitle {
    color: var(--wr-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.auth-form .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wr-dark-soft);
    margin-bottom: 0.35rem;
}

.auth-form .form-control {
    border: 1px solid var(--wr-border);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    transition: border-color var(--wr-transition), box-shadow var(--wr-transition);
}

.auth-form .form-control:focus {
    border-color: var(--wr-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-mobile-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-mobile-logo a {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--wr-primary);
    text-decoration: none;
}

@media (min-width: 992px) {
    .auth-brand-panel { display: flex; flex-direction: column; justify-content: center; }
    /* .auth-form-panel { max-width: 520px; flex: 0 0 520px; } */
    .auth-mobile-logo { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════════════════════════════ */
.app-page {
    background: var(--wr-surface);
    min-height: calc(100vh - 72px);
}

.dash-header {
    margin-bottom: 2rem;
}

.dash-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.dash-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--wr-primary-light);
    color: var(--wr-primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.dash-analyze-card {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--wr-shadow-sm);
    border-left: 4px solid var(--wr-primary);
}

.dash-analyze-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dash-stat-card {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 1.25rem;
    height: 100%;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: border-color var(--wr-transition), box-shadow var(--wr-transition);
}

.dash-stat-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--wr-shadow);
    color: inherit;
}

.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--wr-primary-light);
    color: var(--wr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.dash-stat-label {
    font-size: 0.8rem;
    color: var(--wr-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wr-dark);
}

.dash-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wr-dark);
}

.dash-empty-state {
    background: #fff;
    border: 1px dashed var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
}

.dash-empty-state i {
    font-size: 2.5rem;
    color: var(--wr-muted-light);
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   REPORTS
═══════════════════════════════════════════════════════════════ */
.report-header {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--wr-shadow-sm);
}

.report-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.report-score-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    border: 5px solid;
    flex-shrink: 0;
}

.report-score-card {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 1.25rem;
    height: 100%;
    transition: box-shadow var(--wr-transition);
}

.report-score-card:hover {
    box-shadow: var(--wr-shadow);
}

.report-score-card .score-value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.report-panel {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    overflow: hidden;
    height: 100%;
}

.report-panel-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--wr-border);
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--wr-surface);
}

.report-panel-body {
    padding: 0 1.25rem;
}

.report-issue-row {
    padding: 1rem 0;
    border-bottom: 1px solid var(--wr-border);
}

.report-issue-row:last-child {
    border-bottom: none;
}

.report-ai-card {
    background: var(--wr-surface);
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 1.25rem;
    height: 100%;
}

.report-ai-section {
    border-left: 4px solid var(--wr-primary);
}

.report-improvement-card {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    height: 100%;
    overflow: hidden;
}

.report-improvement-card .card-header {
    background: var(--wr-surface);
    border-bottom: 1px solid var(--wr-border);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.25rem;
}

.report-table-wrap {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    overflow: hidden;
}

.report-table-wrap .table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.report-table-wrap .table thead th {
    background: var(--wr-surface);
    border-bottom: 1px solid var(--wr-border);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wr-muted);
    padding: 0.85rem 1rem;
}

.report-table-wrap .table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--wr-border);
}

.report-table-wrap .table tbody tr:last-child td {
    border-bottom: none;
}

.report-card-item {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    height: 100%;
    transition: border-color var(--wr-transition), box-shadow var(--wr-transition);
    overflow: hidden;
}

.report-card-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--wr-shadow);
}

.report-card-item .card-body {
    padding: 1.25rem;
}

.report-card-domain {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--wr-dark);
}

.report-card-scores {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.report-card-score-pill {
    font-size: 0.75rem;
    color: var(--wr-muted);
    background: var(--wr-surface);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.report-history-table {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    overflow: hidden;
    box-shadow: var(--wr-shadow-sm);
}

.audit-form-box-light {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 0.35rem;
    box-shadow: var(--wr-shadow-sm);
}

.audit-form-box-light .form-control {
    border: none;
    background: transparent;
}

.audit-form-box-light .form-control:focus {
    box-shadow: none;
}

/* Premium Enterprise Report */
.premium-section {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--wr-shadow-sm);
}

.premium-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--wr-border);
}

.premium-section-header i {
    font-size: 1.75rem;
}

.premium-section-header h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.premium-accordion .accordion-item {
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius) !important;
    overflow: hidden;
    margin-bottom: 0;
}

.premium-accordion .accordion-button {
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--wr-surface);
    box-shadow: none;
}

.premium-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--wr-primary);
}

.health-score-card {
    padding: 0.75rem;
}

.circular-score {
    position: relative;
    width: 72px;
    height: 72px;
}

.circular-score svg {
    width: 100%;
    height: 100%;
}

.circular-score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.cwv-card {
    background: var(--wr-surface);
    border-radius: var(--wr-radius);
    padding: 1rem 1.25rem;
    height: 100%;
}

.cwv-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wr-muted);
}

.cwv-value {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0.25rem 0;
    letter-spacing: -0.02em;
}

.metric-card {
    background: var(--wr-surface);
    border-radius: var(--wr-radius);
    padding: 0.85rem 1rem;
    height: 100%;
}

.metric-key {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--wr-muted);
    letter-spacing: 0.04em;
}

.metric-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wr-dark);
}

.audit-list-item {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--wr-border);
}

.audit-list-item:last-child {
    border-bottom: none;
}

.seo-detail-card {
    background: var(--wr-surface);
    border-radius: var(--wr-radius);
    padding: 0.85rem 1rem;
    height: 100%;
}

.seo-detail-card .label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--wr-muted);
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.seo-detail-card .value {
    font-size: 0.85rem;
    font-weight: 500;
    word-break: break-word;
}

.premium-table thead th {
    background: var(--wr-surface);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tech-badge {
    background: var(--wr-surface) !important;
    color: var(--wr-dark) !important;
    border: 1px solid var(--wr-border);
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
}

.crawler-stat {
    background: var(--wr-surface);
    border-radius: var(--wr-radius);
    padding: 1rem 0.5rem;
}

.ai-suggestion-card {
    background: var(--wr-surface);
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 1.25rem;
    height: 100%;
    border-left: 3px solid var(--wr-primary);
}

.priority-fix-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--wr-border);
}

.roast-section {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.roast-card {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 1rem 1.25rem;
    height: 100%;
}

.passed-audits-list {
    max-height: 280px;
    overflow-y: auto;
}

.btn-primary {
    background: var(--wr-primary);
    border-color: var(--wr-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(17, 94, 89, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--wr-primary-dark);
    border-color: var(--wr-primary-dark);
    color: #fff;
    box-shadow: 0 16px 30px rgba(17, 94, 89, 0.22);
}

.section-label,
.hero-eyebrow {
    color: var(--wr-primary-dark);
    background: linear-gradient(135deg, rgba(199, 155, 63, 0.18) 0%, rgba(17, 94, 89, 0.08) 100%);
    border: 1px solid rgba(199, 155, 63, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.card-premium.card-hover:hover,
.contact-info-card:hover,
.report-card-item:hover {
    border-color: rgba(199, 155, 63, 0.28);
    box-shadow: 0 16px 40px rgba(17, 94, 89, 0.08);
}

.colorGolden{
    color: #ffd15d;
}

.colorPrimary{
    color: var(--wr-primary) !important;
    font-weight: 600;
}

.btn-outline-primary {
    --bs-btn-color: var(--wr-primary);
    --bs-btn-border-color: rgba(var(--wr-primary-rgb), 0.45);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--wr-primary);
    --bs-btn-hover-border-color: var(--wr-primary);
    --bs-btn-focus-shadow-rgb: var(--wr-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--wr-primary-dark);
    --bs-btn-active-border-color: var(--wr-primary-dark);
}



/* =====================================
   Premium Hero Audit Search Box
===================================== */

.hero-audit-box {
    max-width: 850px;
    margin: 35px auto 0;
}


.audit-input-wrapper {

    display:flex;
    align-items:center;
    gap:12px;

    background:#ffffff;

    padding:10px;

    border-radius:20px;

    border:1px solid rgba(17,94,89,.12);

    box-shadow:
        0 20px 50px rgba(15,23,42,.12);

    transition:.3s ease;
}


.audit-input-wrapper:hover {

    border-color:#115e59;

    box-shadow:
    0 25px 60px rgba(17,94,89,.18);

}



.audit-icon {

    width:52px;
    height:52px;

    border-radius:16px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#eaf7f5;

    color:#115e59;

    font-size:22px;

}



.audit-url-input {

    flex:1;

    border:none !important;

    outline:none !important;

    font-size:16px;

    height:55px;

    color:#0b3f3d;

    background:transparent;

}


.audit-url-input::placeholder {

    color:#94a3b8;

}



.audit-submit-btn {


    height:56px;

    padding:0 28px;

    border-radius:15px;

    border:none;

    background:

    linear-gradient(
        135deg,
        #115e59,
        #0b3f3d
    );


    color:white;

    font-weight:700;

    font-size:15px;

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

    transition:.3s ease;

}



.audit-submit-btn:hover {

    transform:translateY(-2px);

    box-shadow:
    0 12px 30px rgba(17,94,89,.35);

}




/* Trust badges */


.audit-trust-row {

    margin-top:18px;

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}


.audit-trust-row div {

    font-size:13px;

    color:#64748b;

    display:flex;

    align-items:center;

    gap:7px;

    font-weight:500;

}


.audit-trust-row i {

    color:#115e59;

    font-size:15px;

}



/* Mobile */

@media(max-width:768px){

    .audit-input-wrapper{

        flex-direction:column;

        padding:15px;

    }


    .audit-icon{

        display:none;

    }


    .audit-url-input{

        width:100%;

        height:50px;

        padding:25px;

        background:#f8fafc;

        border-radius:12px!important;
        border:1px solid rgba(17,94,89,.12) !important;

    }


    .audit-submit-btn{

        width:100%;

        justify-content:center;

    }


    .audit-trust-row{

        gap:15px;

    }

}