/* ===========================================
   BYOP Marketing Site
   Shares design tokens with the AuthorProof site
   =========================================== */
@font-face {
    font-family: 'Geist';
    src: url('../fonts/a369fcf5.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/5aa7d48f.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Primary brand colors - Proctorio (matches author-proof-site) */
    --color-primary: #1B8B3D;
    --color-primary-light: #7EC953;
    --color-primary-dark: #14692E;

    /* Accent color - Proctorio green for CTAs */
    --color-accent: #1B8B3D;
    --color-accent-light: #25A54A;

    /* Neutrals */
    --color-white: #ffffff;
    --color-gray-50: #f7fafc;
    --color-gray-100: #edf2f7;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e0;
    --color-gray-600: #4a5568;
    --color-gray-700: #2d3748;
    --color-gray-900: #1a202c;

    /* Ivory */
    --color-ivory-50:#FAF9F5;
    --color-ivory-100:#F5F4EF;
    --color-ivory-200:#F0EEE8;
    --color-ivory-300:#E6E4DC;

    /* Typography */
    --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    background: var(--color-ivory-50);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    color: var(--color-gray-700);
    line-height: 1.2;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px);
}

.btn-large { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* Header (shared with author-proof-site) */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 100;
}

.nav {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 0.5rem; }
.proctorio-logo { height: 30px; width: auto; }

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-accent);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-cta:hover { background: var(--color-accent); color: var(--color-white); }

section { padding: var(--section-padding); }

/* Hero */
.hero {
    padding: 9rem 1.5rem 5rem;
    background: linear-gradient(135deg, var(--color-ivory-50) 0%, var(--color-white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-text { text-align: left; }

.hero-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--color-primary); }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 520px;
    margin: 0 0 2rem;
    font-weight: 400;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 40px rgba(15, 23, 42, 0.16)) drop-shadow(0 8px 12px rgba(15, 23, 42, 0.08));
}

@media (max-width: 968px) {
    .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-text { text-align: center; order: 2; }
    .hero-image { order: 1; }
}

/* Section headings */
section h2 { text-align: center; }
.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Origin strip (compact footnote, sits above footer-content) - scrolling ticker */
.footer-origin {
    overflow: hidden;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-700);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.footer-origin-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    font-size: 0.8125rem;
    color: var(--color-gray-200);
    opacity: 0.7;
    animation: footer-origin-scroll 20s linear infinite;
}
.footer-origin-track span { display: inline-flex; align-items: center; margin-right: 3rem; }
/* Bigger gap at the loop seam (end of each duplicated set) so it doesn't read as one continuous line */
.footer-origin-track span:nth-child(3),
.footer-origin-track span:nth-child(6) { margin-right: 7rem; }
.footer-origin-track strong { color: var(--color-primary-light); margin-right: 0.35rem; }

@keyframes footer-origin-scroll {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .footer-origin-track { animation: none; }
}

/* Pillar cards (what BYOP delivers) */
.pillars { background: var(--color-ivory-200); }
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 800px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2.25rem;
    border: 1px solid var(--color-gray-200);
}

.pillar-label {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.pillar-card p:not(.pillar-label) { color: var(--color-gray-600); font-size: 0.9375rem; }

/* Quote */
.quote-section { background: var(--color-ivory-50); text-align: center; }
.quote-section blockquote {
    font-size: 2rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    color: var(--color-gray-900);
}
.quote-section blockquote span { color: var(--color-primary); }

/* Differentiators (feature-icon pattern shared with author-proof-site) */
.differentiators {
    background: var(--color-gray-700);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
}
.differentiators h2 { color: var(--color-ivory-50); }
.differentiators .section-intro { color: var(--color-ivory-200); }
.diff-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}
@media (max-width: 800px) { .diff-grid-3 { grid-template-columns: 1fr; } }
.diff-item { text-align: center; }
.diff-item h3 { color: var(--color-ivory-50); }
.diff-icon {
    width: 56px; height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--color-primary-light);
}
.diff-icon svg { width: 26px; height: 26px; }
.diff-item p { color: var(--color-ivory-200); font-size: 0.9375rem; }

/* Screenshot frames (shared pattern with author-proof-site) */
.screenshot-frame {
    background: var(--color-gray-100);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.screenshot-frame-dots {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--color-gray-200);
}
.screenshot-frame-dots span { width: 10px; height: 10px; border-radius: 50%; }
.screenshot-frame-dots span:nth-child(1) { background: #fc5c65; }
.screenshot-frame-dots span:nth-child(2) { background: #fed330; }
.screenshot-frame-dots span:nth-child(3) { background: #26de81; }
.screenshot-img { width: 100%; height: auto; display: block; }

.diagram-frame { width: fit-content; margin: 0 auto; }
.diagram-frame .screenshot-img { width: auto; height: 600px; max-width: 100%; max-height: 600px; }

.diagram-frame-wrap { position: relative; width: fit-content; margin: 0 auto; }
.diagram-frame-wrap .diagram-frame { margin: 0; }
.diagram-popout-menu {
    position: absolute;
    top: 60px;
    left: 512px;
    width: 149px;
    height: auto;
    pointer-events: none;
}

/* Dashboard showcase (real screenshot money-shot) */
.dashboard-showcase { background: var(--color-ivory-50); }
.dashboard-showcase-frame { max-width: 980px; margin: 0 auto; }
.dashboard-caption {
    text-align: center;
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    margin-top: 1.25rem;
}

/* How-it-works steps (shared pattern with author-proof-site) */
.how-steps { display: flex; flex-direction: column; gap: 4rem; margin-top: 1rem; }
.how-step { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.how-step.reverse { grid-template-columns: 1.2fr 1fr; }
.how-step.reverse .how-step-text { order: 2; }
.how-step.reverse .how-step-image { order: 1; }
.how-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.how-step-text h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.how-step-text p { color: var(--color-gray-600); font-size: 1rem; line-height: 1.7; }
@media (max-width: 800px) {
    .how-step, .how-step.reverse { grid-template-columns: 1fr; }
    .how-step.reverse .how-step-text, .how-step.reverse .how-step-image { order: unset; }
}

/* Scroll-in reveal, one step at a time (progressive enhancement, gated on .js + IntersectionObserver) */
html.js .how-step-text,
html.js .how-step-image {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .how-step-text { transform: translateX(-32px); }
html.js .how-step-image { transform: translateX(32px); transition-delay: 0.15s; }
html.js .how-step.reverse .how-step-text { transform: translateX(32px); }
html.js .how-step.reverse .how-step-image { transform: translateX(-32px); }
html.js .how-step.is-visible .how-step-text,
html.js .how-step.is-visible .how-step-image {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html.js .how-step-text,
    html.js .how-step-image {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Student feature callout */
.student-feature { background: var(--color-primary-dark); color: var(--color-white); }
.student-feature .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
@media (max-width: 800px) { .student-feature .container { grid-template-columns: 1fr; } }
.student-feature h2 { color: var(--color-white); text-align: left; margin-bottom: 1.5rem; }
.student-feature p { opacity: 0.85; margin-bottom: 1.25rem; font-size: 1.0625rem; }

.student-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.student-visual .screenshot-frame { max-width: 340px; margin: 0 auto; }

.feature-box {
    background: rgba(156, 210, 172, 0.181);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
}
.feature-box .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.feature-box .text { font-size: 1.0625rem; font-weight: 500; }

/* Audiences */
.audiences { background: var(--color-ivory-300); }
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}
@media (max-width: 700px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 12px;
    padding: 2.5rem;
}
.audience-card .pain {
    color: var(--color-gray-600);
    font-style: italic;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-gray-200);
}
.audience-card .solution { font-weight: 500; color: var(--color-gray-900); }

/* Statement */
.statement-section {
    background: var(--color-ivory-300);
    text-align: center;
    padding: 0rem 1.5rem 4.5rem;
}
.statement-section .container {
    max-width: var(--container-max-width);
    background: var(--color-ivory-50);
    border-radius: 24px;
    padding: 3rem 2.5rem;
}
.statement-section .statement {
    font-size: 1.625rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-gray-900);
    margin-bottom: 1.25rem;
}
.statement-section .statement-accent {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* CTA */
.cta-section { background: var(--color-gray-600); text-align: center; }
.cta-section h2 { color: var(--color-ivory-50)}
.cta-section p {
    color: var(--color-ivory-200);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

/* Footer (shared with author-proof-site) */
.footer {
    padding: 3rem 1.5rem 2rem;
    background: var(--color-gray-900);
    color: var(--color-gray-200);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-700);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.875rem; opacity: 0.7; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--color-gray-200); text-decoration: none; font-size: 0.875rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--color-white); }
.copyright { font-size: 0.8125rem; opacity: 0.6; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero { padding: 8rem 1.5rem 3rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .footer-content { flex-direction: column; align-items: center; text-align: center; }
}

