/* ============================================================
   Campanion — Modern School Library Theme
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --parchment: #F5EFE0;
    --cream: #FBF7EF;
    --ink: #1C1917;
    --mahogany: #2D1B12;
    --walnut: #5C3D2E;
    --amber: #C4822A;
    --amber-light: #E8A84B;
    --sage: #4A6741;
    --sage-light: #6B8F68;
    --dusty-rose: #B5736A;
    --gold: #D4A843;
    --muted: #8C7B6E;
    --border: #D9CEBC;

    --shadow-sm: 0 1px 3px rgba(28,25,23,0.08);
    --shadow-md: 0 4px 16px rgba(28,25,23,0.12);
    --shadow-lg: 0 16px 48px rgba(28,25,23,0.18);
    --shadow-warm: 0 8px 32px rgba(196,130,42,0.2);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', Georgia, serif;
    --font-ui: 'DM Sans', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--parchment);
    color: var(--ink);
    line-height: 1.7;
    font-size: 17px;
    font-weight: 400;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(196,130,42,0.25);
    color: var(--ink);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--parchment);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

/* --- Noise Texture Overlay --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
}

h1 {
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

h1 em, h2 em {
    font-style: italic;
    color: var(--walnut);
}

/* Eyebrow Labels */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber);
    margin-bottom: 16px;
}

.eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--amber);
}

.eyebrow--light {
    color: var(--amber-light);
}

.eyebrow-line--light {
    background: var(--amber-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: var(--mahogany);
    border-bottom: 3px solid var(--amber);
    box-shadow: 0 2px 20px rgba(28,25,23,0.4);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.nav-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-text {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.01em;
    display: inline-block;
    background: linear-gradient(90deg, var(--cream) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ink-reveal 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s forwards;
}

@keyframes ink-reveal {
    to { background-position: 0% 0; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(251,247,239,0.7);
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width 0.25s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: var(--amber);
    color: var(--mahogany);
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
}

.nav-cta:hover {
    background: var(--amber-light);
    box-shadow: var(--shadow-warm);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.25s ease;
}

.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 9px; }
.nav-hamburger span:nth-child(3) { top: 18px; }

.nav-hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 24px;
    background: var(--mahogany);
    border-bottom: 2px solid var(--amber);
}

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

.mobile-link {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(251,247,239,0.8);
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: var(--cream);
}

.mobile-cta {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 500;
    background: var(--amber);
    color: var(--mahogany);
    padding: 12px 32px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    position: relative;
    background: var(--parchment);
    padding-top: 68px; /* nav height */
    overflow: hidden;
}

.hero-lamplight {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 70%;
    background: radial-gradient(ellipse at 80% 20%, rgba(196,130,42,0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 96px 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-text h1 {
    margin-bottom: 24px;
}

.rotating-text-wrapper {
    display: inline-flex;
    align-items: baseline;
    overflow: hidden;
    padding-bottom: 0.1em;
    vertical-align: baseline;
    transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rotating-text {
    white-space: nowrap;
    transition: opacity 0.4s ease;
}

.hero-body {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-buttons .btn {
    white-space: nowrap;
}

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

.hero-demo-video {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    pointer-events: none;
}

.hero-demo-video video {
    display: block;
    width: 115%;
    margin-left: -7.5%;
    height: auto;
    object-fit: cover;
}

/* Floating UI Cards */
.floating-card {
    position: absolute;
    background: var(--cream);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 5;
}

.floating-card-1 {
    top: 20px;
    right: -20px;
    animation: float-bob 4s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 60px;
    left: -10px;
    background: var(--mahogany);
    border-color: rgba(255,255,255,0.08);
    animation: float-bob 4s ease-in-out 1.5s infinite;
}

@keyframes float-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fc-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 36px;
    margin-bottom: 10px;
}

.fc-bar {
    width: 14px;
    height: var(--bar-h, 50%);
    background: var(--sage);
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
}

.fc-bar:nth-child(2) { background: var(--amber); }
.fc-bar:nth-child(4) { background: var(--sage); opacity: 0.9; }

.fc-text {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--walnut);
    white-space: nowrap;
}

.fc-text strong {
    color: var(--ink);
}

.fc-up {
    color: var(--sage);
    font-size: 10px;
}

.fc-check {
    font-size: 20px;
    color: var(--sage-light);
    margin-bottom: 6px;
}

.fc-text-dark {
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(251,247,239,0.7);
    white-space: nowrap;
}

.fc-text-dark strong {
    color: var(--cream);
}

/* ============================================================
   WOOD SHELF DIVIDER
   ============================================================ */

.wood-shelf-divider {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, #A0714F 0%, var(--walnut) 50%, #2A1608 100%);
    box-shadow: 0 4px 16px rgba(28,25,23,0.25);
    position: relative;
    z-index: 2;
}

.wood-shelf-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features {
    background: var(--cream);
    position: relative;
}

.features-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .eyebrow {
    justify-content: center;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-sub {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   DEMO VIDEO SECTION
   ============================================================ */

.demo-video {
    background: var(--cream);
    padding: 80px 24px 80px;
}

.demo-inner {
    max-width: 900px;
    margin: 0 auto;
}

.demo-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--mahogany);
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--walnut);
}

.demo-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--parchment);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px 28px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--amber);
    border-radius: 0 0 4px 4px;
    transition: width 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--amber);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    width: 32px;
}

.feature-card h3 {
    margin: 16px 0 10px;
}

.coming-soon-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--amber);
    background: rgba(196,155,65,0.12);
    border: 1px solid rgba(196,155,65,0.3);
    border-radius: 20px;
    padding: 2px 10px;
    vertical-align: middle;
    margin-left: 6px;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

/* Feature Icon Containers */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon--sage {
    background: rgba(74,103,65,0.12);
    color: var(--sage);
}

.feature-icon--amber {
    background: rgba(196,130,42,0.12);
    color: var(--amber);
}

.feature-icon--rose {
    background: rgba(181,115,106,0.12);
    color: var(--dusty-rose);
}

.feature-icon--walnut {
    background: rgba(92,61,46,0.12);
    color: var(--walnut);
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */

.how-it-works {
    background: var(--parchment);
    position: relative;
}

.hiw-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 80px;
}

.hiw-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
}

.hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hiw-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0;
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 2px solid var(--walnut);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--walnut);
    transition: all 0.2s ease;
    cursor: default;
}

.step-number:hover,
.hiw-step:hover .step-number {
    background: var(--walnut);
    color: var(--cream);
}

.step-content h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-content p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}

.step-rule {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 0;
}

/* How It Works Screenshot in Chalkboard Frame */
.hiw-screenshot {
    background: #2A3B2A;
    border: 8px solid #4A3828;
    border-radius: 12px;
    box-shadow: inset 0 4px 24px rgba(0,0,0,0.4), var(--shadow-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hiw-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hiw-screenshot-caption {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.testimonials {
    background: var(--mahogany);
    position: relative;
    overflow: hidden;
}

.testimonials-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 80px;
    position: relative;
}

.testimonial-quote-bg {
    position: absolute;
    top: 40px;
    left: 60px;
    font-size: 180px;
    color: var(--amber);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.section-header--dark h2 {
    color: var(--cream);
}

.section-header--dark h2 em {
    color: rgba(251,247,239,0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(196,130,42,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-warm);
}

.testimonial-stars {
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 3px;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(251,247,239,0.8);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--cream);
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--cream);
}

.testimonial-role {
    display: block;
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(251,247,239,0.4);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing {
    background: var(--parchment);
    position: relative;
}

.pricing-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--amber);
}

/* Featured card */
.pricing-card--featured {
    border-color: var(--amber);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--amber);
}

.pricing-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amber), var(--amber-light), var(--amber));
    border-radius: 8px 8px 0 0;
}

.pricing-card--featured:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--amber);
}

.pricing-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--sage);
    color: var(--cream);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.pricing-card-top {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.pricing-icon--sage {
    background: rgba(74,103,65,0.12);
    color: var(--sage);
}

.pricing-icon--amber {
    background: rgba(196,130,42,0.12);
    color: var(--amber);
}

.pricing-icon--walnut {
    background: rgba(92,61,46,0.12);
    color: var(--walnut);
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.pricing-dollar {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--muted);
    align-self: flex-start;
    margin-top: 6px;
}

.pricing-number {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-number--custom {
    font-size: 40px;
    color: var(--amber);
}

.pricing-period {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    color: var(--muted);
}

.pricing-note {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 220px;
    margin: 4px auto 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    line-height: 1.4;
}

.pricing-check {
    color: var(--sage);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Buttons muted at rest, light up on card hover */
.pricing-card .pricing-btn.btn-sage,
.pricing-card .pricing-btn.btn-amber,
.pricing-card .pricing-btn.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1.5px solid var(--border);
    box-shadow: none;
    transition: all 0.25s ease;
}

.pricing-card:hover .pricing-btn.btn-sage {
    background: var(--sage);
    color: var(--cream);
    border-color: var(--sage);
    box-shadow: 0 8px 24px rgba(74,103,65,0.3);
}

.pricing-card:hover .pricing-btn.btn-amber {
    background: var(--amber);
    color: var(--mahogany);
    border-color: var(--amber);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(196,130,42,0.2);
}

.pricing-card:hover .pricing-btn.btn-ghost {
    background: var(--walnut);
    color: var(--cream);
    border-color: var(--walnut);
    box-shadow: 0 8px 24px rgba(92,61,46,0.25);
}

/* Pricing responsive */
@media (max-width: 1023px) {
    .pricing-inner {
        padding: 72px 48px;
    }
}

@media (max-width: 767px) {
    .pricing-inner {
        padding: 64px 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 479px) {
    .pricing-inner {
        padding: 48px 16px;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-number {
        font-size: 44px;
    }
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
    background: var(--cream);
    position: relative;
    text-align: center;
    padding: 96px 24px;
}

.cta-vertical-line {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 40px;
    background: var(--border);
}

.cta-vertical-line--top {
    top: 0;
}

.cta-vertical-line--bottom {
    bottom: 0;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-inner .eyebrow {
    justify-content: center;
}

.cta-inner h2 {
    margin-bottom: 16px;
}

.cta-body {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
}

.btn-sage {
    background: var(--sage);
    color: var(--cream);
    padding: 16px 36px;
}

.btn-sage:hover {
    background: var(--sage-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74,103,65,0.3);
}

.btn-amber {
    background: var(--amber);
    color: var(--mahogany);
    padding: 16px 40px;
    font-weight: 600;
}

.btn-amber:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,130,42,0.2);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--walnut);
    padding: 16px 36px;
}

.btn-ghost:hover {
    border-color: var(--walnut);
    background: rgba(92,61,46,0.05);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--mahogany);
    border-top: 3px solid var(--amber);
    padding: 32px 24px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 56px;
}

.footer-copy {
    font-family: var(--font-ui);
    font-size: 13px;
    color: rgba(251,247,239,0.4);
}

.footer-email {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--amber-light);
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.footer-email:hover {
    text-decoration: underline;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Page Load — Fade Up */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-fade-up {
    animation: fadeUp 0.7s ease-out both;
}

.anim-delay {
    animation-delay: 0.2s;
}

/* ============================================================
   RESPONSIVE — Tablet (below 1024px)
   ============================================================ */

@media (max-width: 1023px) {
    .nav-inner {
        padding: 0 48px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 72px 48px;
        gap: 48px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-text .eyebrow {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: 2;
    }

    .features-inner {
        padding: 72px 48px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hiw-inner {
        padding: 72px 48px;
    }

    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .testimonials-inner {
        padding: 72px 48px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        padding: 0 24px;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (below 768px)
   ============================================================ */

@media (max-width: 767px) {
    /* Nav */
    .nav-inner {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: block;
    }

    /* Hero */
    .hero-inner {
        padding: 64px 24px;
    }

    h1 {
        font-size: clamp(36px, 8vw, 48px);
    }

    .hero-body {
        font-size: 16px;
    }

    .hero-buttons {
        display: none;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 8px;
    }

    /* Hide floating cards on mobile */
    .floating-card {
        display: none;
    }

    /* Demo Video */
    .demo-video {
        padding: 64px 24px;
    }

    .demo-frame {
        margin-top: 28px;
    }

    /* Features */
    .features-inner {
        padding: 64px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* How It Works */
    .hiw-inner {
        padding: 64px 24px;
    }

    /* Testimonials */
    .testimonials-inner {
        padding: 64px 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-quote-bg {
        font-size: 100px;
        top: 20px;
        left: 20px;
    }

    /* CTA */
    .cta-banner {
        padding: 64px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0;
    }

    .hero-demo-video {
        max-width: 100%;
    }
}

/* ============================================================
   RESPONSIVE — Small Mobile (below 480px)
   ============================================================ */

@media (max-width: 479px) {
    .hero-inner {
        padding: 48px 16px;
    }

    .features-inner,
    .hiw-inner,
    .testimonials-inner {
        padding: 48px 16px;
    }

    .chalkboard {
        padding: 24px 20px;
        border-width: 6px;
    }

    .feature-card {
        padding: 28px 20px;
    }
}

/* ============================================================
   WHY WE MEET SECTION
   ============================================================ */

.why-meet {
    background: var(--parchment);
    position: relative;
}

.why-meet-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 80px;
}

.why-meet-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.why-meet-body {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

/* ============================================================
   EMAIL CAPTURE MODAL
   ============================================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28,25,23,0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--cream);
    border-radius: 12px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(16px);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--ink);
}

.modal-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-body {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-input {
    font-family: var(--font-ui);
    font-size: 15px;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    background: var(--parchment);
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}

.modal-input:focus {
    border-color: var(--sage);
}

.modal-input::placeholder {
    color: var(--muted);
}

.modal-submit {
    width: 100%;
}

.modal-disclaimer {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
}

.modal-success {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--sage);
    text-align: center;
    padding: 16px 0;
    font-weight: 500;
}

/* ============================================================
   TRIAL MODAL (two-column)
   ============================================================ */

.trial-modal-card {
    max-width: 780px;
    width: 92%;
    padding: 0;
    overflow: hidden;
}

.trial-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.trial-modal-info {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trial-modal-info h3 {
    font-size: 24px;
}

.trial-modal-info h3 em {
    font-style: italic;
    color: var(--sage);
}

.trial-modal-highlight {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--sage);
    background: rgba(74, 103, 65, 0.08);
    border: 1px solid rgba(74, 103, 65, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.trial-modal-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.trial-modal-perks li {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--ink);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.trial-check {
    color: var(--sage);
    font-weight: 700;
    flex-shrink: 0;
}

.trial-modal-upgrade {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.5;
}

.trial-modal-form-wrap {
    padding: 40px 36px;
    background: var(--parchment);
    border-left: 1px solid var(--border);
}

.trial-modal-form-wrap h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}

.trial-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trial-modal-form label {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
}

.tm-req {
    color: var(--dusty-rose);
}

.trial-modal-form input,
.trial-modal-form select {
    font-family: var(--font-ui);
    font-size: 15px;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}

.trial-modal-form input:focus,
.trial-modal-form select:focus {
    border-color: var(--sage);
}

.trial-modal-form input::placeholder {
    color: var(--muted);
}

.trial-modal-form select {
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C7B6E' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.trial-modal-submit {
    width: 100%;
    margin-top: 4px;
}

.trial-modal-response {
    font-family: var(--font-ui);
    font-size: 14px;
    text-align: center;
    margin-top: 4px;
}

.trial-modal-response.success {
    color: var(--sage);
    font-weight: 500;
}

.trial-modal-response.error {
    color: var(--dusty-rose);
}

@media (max-width: 767px) {
    .trial-modal-card {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .trial-modal-grid {
        grid-template-columns: 1fr;
    }

    .trial-modal-form-wrap {
        order: 1;
        padding: 28px 20px;
        border-left: none;
    }

    .trial-modal-info {
        order: 2;
        padding: 20px 20px 24px;
        border-top: 1px solid var(--border);
    }

    .trial-modal-info h3 {
        font-size: 20px;
    }

    .trial-modal-info .modal-body {
        font-size: 13px;
        margin-bottom: 14px;
    }
}

/* ============================================================
   STICKY MOBILE BOTTOM BAR
   ============================================================ */

.mobile-sticky-bar {
    display: none;
}

@media (max-width: 767px) {
    .mobile-sticky-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--mahogany);
        padding: 12px 16px;
        z-index: 999;
        box-shadow: 0 -4px 16px rgba(28,25,23,0.3);
        border-top: 2px solid var(--amber);
    }

    .mobile-sticky-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    /* Add bottom padding to body so content isn't hidden behind sticky bar */
    body {
        padding-bottom: 72px;
    }
}

/* ============================================================
   NEW SECTIONS — Responsive
   ============================================================ */

@media (max-width: 1023px) {
    .why-meet-inner {
        padding: 72px 48px;
    }
}

@media (max-width: 767px) {
    .why-meet-inner {
        padding: 64px 24px;
    }

    .modal-card {
        padding: 36px 24px;
    }
}

@media (max-width: 479px) {
    .why-meet-inner {
        padding: 48px 16px;
    }
}
