/* ReviewOps Marketing CSS
 * Clean, minimal, premium B2B operations style
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --bg: #0b1020;
    --bg-gradient: linear-gradient(135deg, #0b1020 0%, #131a2e 50%, #0d1526 100%);
    --panel: rgba(255, 255, 255, 0.06);
    --panel-2: rgba(255, 255, 255, 0.09);
    --panel-hover: rgba(255, 255, 255, 0.12);
    --text: #e9eefc;
    --muted: rgba(233, 238, 252, 0.72);
    --line: rgba(233, 238, 252, 0.16);
    --brand: #7c5cff;
    --brand-2: #24d6c0;
    --ok: #2ee59d;
    --warn: #ffcc66;
    --danger: #ff6b6b;

    /* Typography */
    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(124, 92, 255, 0.15);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    background-image: var(--bg-gradient);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--muted);
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-2);
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 16, 32, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--text);
}

.nav-logo-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: var(--space-sm);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 4rem;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(11, 16, 32, 0.98);
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-mobile-toggle {
        display: block;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full); /* pill shape for all CTAs */
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary,
.btn-outline,
.btn-secondary {
    border-radius: var(--radius-full); /* pill - ensure all variants get it */
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, #5a3fd4 100%);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(124, 92, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(124, 92, 255, 0.35);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-outline:hover {
    background: var(--panel);
    border-color: var(--brand);
    color: var(--text);
}

.btn-secondary {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    background: var(--panel-2);
    color: var(--text);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.2s ease;
}

.card:hover {
    background: var(--panel-hover);
    box-shadow: var(--shadow-glow);
}

.card-highlight {
    border-color: var(--brand);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding-top: calc(4rem + var(--space-4xl));
    padding-bottom: var(--space-4xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content h1 {
    margin-bottom: var(--space-lg);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

@media (max-width: 968px) {
    .hero-content p {
        max-width: 100%;
    }
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .hero-cta {
        justify-content: center;
    }
}

/* Hero Visual - Fake Digest Card */
.hero-visual {
    position: relative;
}

.digest-preview {
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.digest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--line);
}

.digest-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.digest-date {
    font-size: 0.8rem;
    color: var(--muted);
}

.digest-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--line);
}

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

.digest-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.digest-icon.danger {
    background: rgba(255, 107, 107, 0.2);
    color: var(--danger);
}

.digest-icon.warn {
    background: rgba(255, 204, 102, 0.2);
    color: var(--warn);
}

.digest-icon.ok {
    background: rgba(46, 229, 157, 0.2);
    color: var(--ok);
}

.digest-content {
    flex: 1;
}

.digest-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.digest-meta {
    font-size: 0.8rem;
    color: var(--muted);
}

.digest-trend {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.digest-trend.up {
    background: rgba(255, 107, 107, 0.2);
    color: var(--danger);
}

.digest-trend.down {
    background: rgba(46, 229, 157, 0.2);
    color: var(--ok);
}

/* ========================================
   SOCIAL PROOF
   ======================================== */
.social-proof {
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.social-proof-inner {
    text-align: center;
    padding: var(--space-xl) 0;
}

.social-proof p {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.venue-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.venue-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--muted);
}

.venue-chip svg {
    width: 1rem;
    height: 1rem;
}

/* ========================================
   PROBLEM / SOLUTION
   ======================================== */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 768px) {
    .problem-solution {
        grid-template-columns: 1fr;
    }
}

.problem-side h3,
.solution-side h3 {
    margin-bottom: var(--space-lg);
}

.problem-list {
    list-style: none;
}

.problem-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--muted);
}

.problem-list li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

.solution-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.solution-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.solution-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
}

.solution-card-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step {
    text-align: center;
    padding: var(--space-xl);
}

.step-number {
    width: 3rem;
    height: 3rem;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.step h4 {
    margin-bottom: var(--space-sm);
}

.step p {
    font-size: 0.9rem;
}

/* ========================================
   SAMPLE REPORT
   ======================================== */
.sample-report {
    max-width: 700px;
    margin: 0 auto;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sample-report-header {
    background: linear-gradient(135deg, var(--brand) 0%, #5a3fd4 100%);
    padding: var(--space-lg) var(--space-xl);
    color: white;
}

.sample-report-header h4 {
    color: white;
    margin-bottom: var(--space-xs);
}

.sample-report-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.sample-report-body {
    padding: var(--space-xl);
}

.report-issue {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--line);
}

.report-issue:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.report-issue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.report-issue-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.report-issue-title span {
    font-weight: 600;
    color: var(--text);
}

.report-issue-count {
    font-size: 0.85rem;
    color: var(--muted);
}

.report-quotes {
    margin-bottom: var(--space-md);
}

.report-quote {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}

.report-quote::before {
    content: """;
    position: absolute;
    left: 0;
    color: var(--brand);
    font-size: 1.5rem;
    line-height: 1;
}

.report-action {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(46, 229, 157, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.report-action-icon {
    color: var(--ok);
    flex-shrink: 0;
}

.report-action p {
    color: var(--text);
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.pricing-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--brand);
    box-shadow: var(--shadow-glow);
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    margin: var(--space-lg) 0;
    text-align: left;
}

.pricing-features li {
    padding: var(--space-sm) 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.pricing-single {
    display: flex;
    justify-content: center;
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand), var(--ok));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: var(--space-md);
}

.pricing-subtext {
    margin-top: var(--space-md);
    font-size: 0.85rem;
    color: var(--muted);
}

.pricing-disclaimer {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--panel);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

/* ========================================
   AUDIT FORM
   ======================================== */
.audit-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.audit-form {
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-success {
    padding: var(--space-lg);
    background: rgba(46, 229, 157, 0.1);
    border: 1px solid var(--ok);
    border-radius: var(--radius-lg);
    text-align: center;
}

.form-success h4 {
    color: var(--ok);
    margin-bottom: var(--space-sm);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--panel);
    border-top: 1px solid var(--line);
    padding: var(--space-2xl) 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-note {
    font-size: 0.8rem;
    color: var(--muted);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

