/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem 0;
    transition: background-color 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    border-bottom-color: hsl(var(--border));
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-logo .logo-highlight {
    color: hsl(var(--primary));
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}

.navbar-link:hover,
.navbar-link.active {
    color: hsl(var(--foreground));
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-mobile-toggle {
    display: none;
    padding: 0.5rem;
    color: hsl(var(--foreground));
}

.navbar-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 49;
    background: hsl(var(--background));
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    gap: 1.5rem;
}

.navbar-mobile-menu.open {
    display: flex;
}

.navbar-mobile-menu a {
    font-size: 1.125rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    padding: 0.5rem 0;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 300px;
    background: radial-gradient(ellipse, hsl(var(--primary) / 0.15), transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .highlight {
    color: hsl(var(--primary));
}

.hero .hero-sub {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero .hero-note {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
}

.gradient-mesh {
    background:
        radial-gradient(ellipse at 20% 50%, hsl(var(--primary) / 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, hsl(var(--accent) / 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, hsl(var(--primary) / 0.05) 0%, transparent 50%);
}

/* ==================== AUDIT INPUT ==================== */
.audit-input-wrapper {
    display: flex;
    max-width: 36rem;
    margin: 0 auto;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    transition: box-shadow 0.3s, border-color 0.3s;
}

.audit-input-wrapper:focus-within {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 30px hsl(var(--primary) / 0.4), 0 0 80px hsl(var(--primary) / 0.15);
}

.audit-input-wrapper .input {
    flex: 1;
    border: none;
    border-radius: 0;
    background: hsl(var(--card));
    padding: 0.875rem 1rem;
    font-size: 1rem;
}

.audit-input-wrapper .input:focus {
    box-shadow: none;
}

.audit-input-wrapper .btn {
    border-radius: 0;
    white-space: nowrap;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
    padding: 3rem 0;
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--secondary) / 0.3);
}

.social-proof-text {
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.social-proof-text strong {
    color: hsl(var(--foreground));
}

.logo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 6rem;
    height: 2rem;
    background: hsl(var(--muted));
    border-radius: calc(var(--radius) - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

/* ==================== SECTION HEADINGS ==================== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.section-header .highlight {
    color: hsl(var(--primary));
}

.section-header p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==================== PROBLEM SECTION ==================== */
.problem-card {
    padding: 2rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    transition: border-color 0.3s;
}

.problem-card:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.problem-card .icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: hsl(var(--primary));
}

.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* ==================== SOLUTION / PILLAR CARDS ==================== */
.pillar-card {
    position: relative;
    padding: 2rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: 0 0 20px hsl(var(--primary) / 0.05);
}

.pillar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pillar-card .icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
}

.pillar-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pillar-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* ==================== REPORT PREVIEW ==================== */
.report-mockup {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    padding: 2rem;
    max-width: 28rem;
}

.report-mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.report-mockup-domain {
    font-weight: 600;
    font-size: 1rem;
}

.report-mockup-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.report-callouts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.report-callout {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.report-callout-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.report-callout p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

/* ==================== PRICING ==================== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.pricing-toggle span {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

.pricing-toggle span.active {
    color: hsl(var(--foreground));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    align-items: start;
}

.pricing-card {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    padding: 1.5rem;
    position: relative;
}

.pricing-card.featured {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 30px hsl(var(--primary) / 0.15);
}

.pricing-card .popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.pricing-card .price-period {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.pricing-card .features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pricing-card .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.pricing-card .feature-item .check {
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.comparison-table th {
    padding: 0.875rem 1rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid hsl(var(--border));
}

.comparison-table th:first-child {
    width: 30%;
}

.comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid hsl(var(--border));
    text-align: center;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .check-icon { color: #4ade80; }
.comparison-table .x-icon { color: hsl(var(--muted-foreground)); opacity: 0.4; }
.comparison-table .limited { color: hsl(var(--muted-foreground)); font-style: italic; font-size: 0.8125rem; }

.comparison-table .highlight-col {
    background: hsl(var(--primary) / 0.05);
}

/* ==================== USE CASES ==================== */
.use-case-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.use-case-content {
    padding: 2rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

/* ==================== FAQ ==================== */
.faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

/* ==================== FINAL CTA ==================== */
.final-cta {
    text-align: center;
    padding: 5rem 0;
}

.final-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.final-cta h2 .highlight {
    color: hsl(var(--primary));
}

.final-cta p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.final-cta .note {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
}

/* ==================== BLOG ==================== */
.blog-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    padding: 1.5rem;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.blog-card .category {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card .excerpt {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    flex: 1;
}

.blog-card .meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.blog-category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-newsletter {
    text-align: center;
    padding: 3rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    margin-top: 3rem;
}

.blog-newsletter h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-newsletter p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    max-width: 24rem;
    margin: 0 auto;
    gap: 0.5rem;
}

/* ==================== BLOG POST ==================== */
.blog-post-content {
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.blog-post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.blog-post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.blog-post-content p {
    margin-bottom: 1rem;
    color: hsl(var(--muted-foreground));
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    color: hsl(var(--muted-foreground));
}

/* ==================== CONTACT ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    padding: 1.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.contact-info-card a {
    color: hsl(var(--primary));
}

/* ==================== AUTH PAGES ==================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 24rem;
    text-align: center;
}

.auth-card h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-card .auth-sub {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.auth-card form {
    text-align: left;
}

.auth-card .auth-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.auth-card .auth-footer a {
    color: hsl(var(--primary));
    font-weight: 500;
}

.sso-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    background: hsl(var(--card));
    color: hsl(var(--foreground));
}

.sso-btn:hover {
    background: hsl(var(--secondary));
}

.sso-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==================== AGENCY PAGE ==================== */
.agency-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.agency-feature-card {
    padding: 1.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
}

.agency-feature-card .icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.agency-feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.agency-feature-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.agency-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

/* ==================== LEGAL PAGES ==================== */
.legal-content {
    max-width: 48rem;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.legal-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    list-style: disc;
}

.legal-content li {
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ==================== 404 PAGE ==================== */
.not-found-page {
    text-align: center;
    padding: 8rem 2rem;
}

.not-found-code {
    font-size: 6rem;
    font-weight: 900;
    color: hsl(var(--primary));
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.not-found-page h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.not-found-page p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.not-found-suggestions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.not-found-suggestion {
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    text-align: center;
    transition: border-color 0.2s;
}

.not-found-suggestion:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.not-found-suggestion h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.not-found-suggestion p {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0;
}

/* ==================== FOOTER ==================== */
.site-footer {
    border-top: 1px solid hsl(var(--border));
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0.75rem 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}

.footer-social a:hover {
    color: hsl(var(--foreground));
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: hsl(var(--foreground));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--border));
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: hsl(var(--foreground));
}

/* ==================== GLOW EFFECTS ==================== */
.glow-teal {
    box-shadow: 0 0 20px hsl(var(--primary) / 0.3), 0 0 60px hsl(var(--primary) / 0.1);
}

.glow-teal-lg {
    box-shadow: 0 0 30px hsl(var(--primary) / 0.4), 0 0 80px hsl(var(--primary) / 0.15);
}
