/* Base44-inspired styles for Peppermint */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1f9d55;
    --primary-green-dark: #14763f;
    --accent-mint: #c8f7da;
    --accent-mint-2: #e7fbf0;
    --dark-bg: #0f172a;
    --light-bg: #f5f7fb;
    --cream-bg: #f7f7f2;
    --text-dark: #0f172a;
    --text-gray: #5b6b7f;
    --text-light: #94a3b8;
    --white: #ffffff;
    --gradient-start: #f1fff7;
    --gradient-mid: #eef4ff;
    --gradient-end: #fbf5e8;
    --card-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    --card-shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
    --border-soft: rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
}

.section-kicker {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.5);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Principles Section */
.principles-section {
    padding: 90px 24px;
    background: var(--white);
}

.principles-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.principle-inline {
    background: var(--white);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-soft);
    position: relative;
}

.principle-inline p {
    color: var(--text-gray);
}

.principle-inline::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-green);
    margin-bottom: 12px;
}

/* Context Section */
.context-section {
    padding: 90px 24px;
    background: var(--cream-bg);
}

.context-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.context-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-soft);
    position: relative;
}

.context-card.highlight {
    border: 1px solid rgba(31, 157, 85, 0.35);
    box-shadow: 0 18px 36px rgba(31, 157, 85, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f2fff7 100%);
}

.corner-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.5);
    font-weight: 600;
}

.corner-label-right {
    left: auto;
    right: 1rem;
}

.context-card h3 {
    margin-top: 1.75rem;
}

.llm-frame {
    margin-top: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 14px;
    background: #ffffff;
    display: grid;
    gap: 10px;
}

.llm-bubble {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    max-width: 100%;
    overflow: hidden;
}

.llm-bubble.user {
    background: #0f172a;
    color: #ffffff;
}

.llm-bubble.system {
    background: #f1f5f9;
    color: var(--text-gray);
    font-style: italic;
}

.type-line {
    display: block;
    clip-path: inset(0 100% 0 0);
}

.type-line.line-1 {
    animation: typeLine1 10s steps(44, end) infinite;
}

.type-line.line-2 {
    animation: typeLine2 10s steps(44, end) infinite;
}

.processing {
    animation: pulse 1.4s ease-in-out infinite;
}

.llm-input {
    background: #f8fafc;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.llm-input.empty {
    min-height: 34px;
    color: transparent;
}

.browser-mock {
    margin-top: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    animation: float 6s ease-in-out infinite;
}

.browser-bar {
    background: #f1f5f9;
    padding: 10px 12px;
    display: flex;
    gap: 6px;
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.browser-content {
    position: relative;
}

.browser-image {
    height: 180px;
    background-image: url("assets/eiffel.jpg");
    background-size: cover;
    background-position: center;
}

.browser-notification {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 10px;
    max-width: 260px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(31, 157, 85, 0.25);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    font-size: 0.85rem;
}

.browser-notification p {
    margin: 4px 0 0 0;
    color: var(--text-gray);
}

@keyframes reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes typeLine1 {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    15% {
        clip-path: inset(0 0 0 0);
    }
    90% {
        clip-path: inset(0 0 0 0);
    }
    91% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 100% 0 0);
    }
}

@keyframes typeLine2 {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    25% {
        clip-path: inset(0 100% 0 0);
    }
    40% {
        clip-path: inset(0 0 0 0);
    }
    90% {
        clip-path: inset(0 0 0 0);
    }
    91% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 100% 0 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes scan {
    0%, 100% {
        opacity: 0.15;
        transform: translateY(-4%);
    }
    50% {
        opacity: 0.35;
        transform: translateY(4%);
    }
}

.context-stack {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0 1.25rem;
}

.context-chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    font-size: 0.9rem;
    color: var(--text-gray);
    width: fit-content;
}

.context-note {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Integrations */
.integrations-section {
    padding: 90px 24px 40px;
    background: var(--white);
}

/* Section Banding */
.band-cream {
    position: relative;
    background: #f3f1e6;
    --band-color: #f3f1e6;
}

.band-blue {
    position: relative;
    background: #edf3ff;
    --band-color: #edf3ff;
}

.features-section.band-cream,
.faq-section.band-cream {
    background: #f3f1e6;
}

.chat-section.band-blue,
.pricing-section.band-blue {
    background: #edf3ff;
}

.band-cream::before,
.band-blue::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -60px;
    height: 80px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--band-color) 100%);
    opacity: 0.25;
}

.band-cream::after,
.band-blue::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -60px;
    height: 80px;
    pointer-events: none;
    background: linear-gradient(180deg, var(--band-color) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.25;
}


.integrations-marquee {
    overflow: hidden;
    padding: 16px 0 40px;
    position: relative;
    --marquee-duration: 28s;
}

.marquee-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    width: max-content;
    animation: marquee var(--marquee-duration) linear infinite;
}

.marquee-group {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-shrink: 0;
}

.integrations-marquee img {
    width: 72px;
    height: 72px;
    padding: 12px;
    border-radius: 20px;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
}

/* About Page */
.about-hero {
    padding: 140px 24px 90px;
    background: linear-gradient(140deg, #f4fff9 0%, #f3f7ff 55%, #fff4e6 100%);
    text-align: center;
}

.about-highlights {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.about-highlight-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: left;
}

.about-highlight-card span {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.about-highlight-card h3 {
    margin-bottom: 0.6rem;
}

.about-highlight-card p {
    color: var(--text-gray);
}

.about-section {
    padding: 90px 24px;
    background: var(--white);
}

.about-section.alt {
    background: var(--cream-bg);
}

.about-thesis {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.about-thesis-item {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.about-thesis-number {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.about-thesis-item p {
    color: var(--text-gray);
}

.about-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.about-lede {
    text-align: left;
    margin: 1rem 0 1.5rem;
}

.about-body {
    color: var(--text-gray);
    font-size: 1rem;
}

.about-build-list {
    display: grid;
    gap: 1rem;
}

.about-build-item {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--card-shadow);
}

.about-build-item h3 {
    margin-bottom: 0.35rem;
}

.about-build-item p {
    color: var(--text-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.value-card p {
    color: var(--text-gray);
}

.about-callout {
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(31, 157, 85, 0.22);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-cta {
    background: var(--accent-mint);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--accent-mint-2);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        var(--gradient-start) 0%,
        var(--gradient-mid) 50%,
        var(--gradient-end) 100%
    );
    opacity: 0.7;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-gray);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 2.25rem;
}

.hero-points span {
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.hero-points span:not(:last-child)::after {
    content: "•";
    margin-left: 0.75rem;
    color: rgba(15, 23, 42, 0.25);
}

.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--text-dark);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button .arrow {
    transition: transform 0.2s;
}

.cta-button:hover .arrow {
    transform: translateX(4px);
}

/* Hero Demo */
.hero-demo {
    margin-top: 3rem;
}

.demo-window {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--card-shadow-lg);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(31, 157, 85, 0.2);
}

.window-header {
    background: #f1f5f9;
    padding: 12px 16px;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
}

.demo-content {
    padding: 24px;
}

.demo-notification {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-mint-2) 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(31, 157, 85, 0.25);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-mint);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    border: 1px solid rgba(31, 157, 85, 0.2);
}

.notification-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.notification-content {
    text-align: left;
}

.notification-content strong {
    display: block;
    margin-bottom: 4px;
}

.notification-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.pep-icon {
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 6px;
}

.pep-icon-small {
    width: 18px;
    height: 18px;
    display: block;
    border-radius: 5px;
}

.reply-link {
    color: var(--primary-green);
    font-weight: 500;
    font-size: 0.9rem;
}

.demo-mini-row {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.demo-mini {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.demo-mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-green);
    margin-top: 6px;
}

/* Features Section */
.features-section {
    padding: 100px 24px;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lg);
}

.feature-image {
    height: 280px;
    background: linear-gradient(135deg, var(--accent-mint-2) 0%, #ffffff 100%);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.feature-notifications {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.feature-notifications.stacked {
    position: relative;
    height: 100%;
    padding-top: 20px;
}

.mini-notification {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    font-size: 0.85rem;
    border: 1px solid var(--border-soft);
}

.mini-notification.offset-1 {
    position: absolute;
    top: 80px;
    left: 20px;
    right: -20px;
}

.mini-notification.offset-2 {
    position: absolute;
    top: 140px;
    left: 40px;
    right: -40px;
}

.notif-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.mini-notification strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.8rem;
}

.mini-notification p {
    color: var(--text-gray);
    font-size: 0.75rem;
    margin: 0;
}

.cross-app-demo {
    width: 100%;
    height: 100%;
    position: relative;
}

.app-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.app-tabs .tab {
    padding: 6px 12px;
    background: var(--white);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.app-tabs .tab.active {
    background: var(--text-dark);
    color: var(--white);
}

.mini-notification.floating {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    transform: translateY(-50%);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-gray);
}

/* How It Works Section */
.how-section {
    padding: 100px 24px;
    background: var(--light-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--border-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lg);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-mint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.step-visual {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    padding: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 210px;
}

.step-visual-body {
    display: grid;
    gap: 0.75rem;
    flex: 1;
    align-content: start;
}

.onboard-flow {
    display: grid;
    gap: 12px;
}

.onboard-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
}

.onboard-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    display: grid;
    place-items: center;
    box-shadow: var(--card-shadow);
}

.onboard-icon img {
    width: 18px;
    height: 18px;
}

.onboard-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-dark);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.onboard-text {
    display: grid;
    gap: 2px;
}

.onboard-text span {
    font-weight: 600;
    font-size: 0.95rem;
}

.onboard-text small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.onboard-arrow {
    height: 12px;
    border-left: 2px dashed rgba(15, 23, 42, 0.15);
    margin-left: 24px;
}

.learning-screen {
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.screen-bar {
    background: #f1f5f9;
    padding: 8px 10px;
    display: flex;
    gap: 6px;
}

.screen-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}

.screen-content {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.screen-app {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.screen-app img {
    width: 20px;
    height: 20px;
    padding: 4px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--border-soft);
}

.learning-pulse {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(31, 157, 85, 0.2), transparent 55%);
    animation: scan 3s ease-in-out infinite;
    pointer-events: none;
}

.pep-alert {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(31, 157, 85, 0.25);
    padding: 12px 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.pep-alert-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.pep-alert strong {
    display: block;
    margin-bottom: 4px;
}

.pep-alert p {
    margin: 0;
    color: var(--text-gray);
}

.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 6px 12px;
    width: fit-content;
}

.learn-badge .learn-word {
    display: inline-flex;
    gap: 2px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.learn-badge .learn-word span {
    display: inline-block;
    animation: learnPulse 2s ease-in-out infinite;
}

.learn-badge .learn-word span:nth-child(1) { animation-delay: 0s; }
.learn-badge .learn-word span:nth-child(2) { animation-delay: 0.1s; }
.learn-badge .learn-word span:nth-child(3) { animation-delay: 0.2s; }
.learn-badge .learn-word span:nth-child(4) { animation-delay: 0.3s; }
.learn-badge .learn-word span:nth-child(5) { animation-delay: 0.4s; }

.app-icon-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.app-icon-row img {
    width: 20px;
    height: 20px;
    padding: 6px;
    border-radius: 8px;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
}

.learning-loop {
    display: grid;
    gap: 6px;
}

.learning-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-mint-2);
    border: 1px solid rgba(31, 157, 85, 0.2);
    color: var(--text-gray);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    width: fit-content;
    animation: pulseIn 2.4s ease-in-out infinite;
}

.learning-pill:nth-child(2) { animation-delay: 0.6s; }
.learning-pill:nth-child(3) { animation-delay: 1.2s; }

.step-card p {
    color: var(--text-gray);
}

/* What If Section */
.whatif-section {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}

.whatif-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #e0f2fe 0%,
        #ecfdf5 25%,
        #fef3c7 50%,
        #fed7aa 75%,
        #fecaca 100%
    );
    opacity: 0.5;
    z-index: -1;
}

.whatif-section h2 {
    max-width: 800px;
    margin: 0 auto 1rem;
}

.whatif-section .section-subtitle {
    max-width: 900px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.principle-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.principle-card::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-green);
    margin-bottom: 12px;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lg);
}

.principle-card p {
    color: var(--text-gray);
}

/* Chat Feature Section */
.chat-section {
    padding: 100px 24px;
    background: transparent;
}

.chat-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chat-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.chat-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.check-icon {
    color: var(--primary-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.chat-demo {
    display: flex;
    justify-content: center;
}

.chat-window {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid var(--border-soft);
}

.chat-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--accent-mint-2) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-soft);
}

.chat-window-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-window-dots {
    display: flex;
    gap: 6px;
}

.chat-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.chat-window-dots span:first-child {
    background: #fca5a5;
}

.chat-window-dots span:nth-child(2) {
    background: #fcd34d;
}

.chat-window-dots span:last-child {
    background: #86efac;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 350px;
    overflow-y: auto;
    background: #fafafa;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message p {
    margin: 0;
}

.chat-message.user {
    background: var(--text-dark);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-message.assistant {
    background: var(--white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    background: #f8fafc;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary-green);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.chat-send:hover {
    background: #16a34a;
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .chat-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .chat-text h2 {
        text-align: center;
    }

    .chat-text .section-subtitle {
        text-align: center !important;
    }

    .chat-features {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Use Cases Section */
.usecases-section {
    padding: 100px 24px;
    background: var(--cream-bg);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.usecase-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lg);
}

.usecase-card p {
    color: var(--text-gray);
}

.usecase-card::before {
    display: none;
}

.usecase-builders::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='180' viewBox='0 0 240 180'><path d='M60 132 L94 98 L152 98 L174 76 L194 76 L184 92 L206 92 L170 130 Z' fill='none' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='6' stroke-linejoin='round'/><path d='M84 128 L116 96' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='6' stroke-linecap='round'/><circle cx='182' cy='68' r='6' fill='%231f9d55' fill-opacity='0.5'/><path d='M40 150 L210 150' stroke='%231f9d55' stroke-opacity='0.3' stroke-width='5' stroke-linecap='round'/></svg>");
}

.usecase-creatives::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='180' viewBox='0 0 240 180'><rect x='36' y='40' width='120' height='90' rx='14' fill='none' stroke='%231f9d55' stroke-opacity='0.35' stroke-width='5'/><path d='M64 112 L92 84 L124 116' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/><circle cx='128' cy='78' r='7' fill='%231f9d55' fill-opacity='0.45'/><path d='M150 46 L210 106' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='6' stroke-linecap='round'/><path d='M206 102 L222 118' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='6' stroke-linecap='round'/><circle cx='214' cy='122' r='10' fill='none' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='4'/></svg>");
}

.usecase-sales::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='180' viewBox='0 0 240 180'><path d='M58 96 L92 66 L126 96 L152 76 L184 96' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/><rect x='60' y='104' width='120' height='26' rx='13' fill='none' stroke='%231f9d55' stroke-opacity='0.35' stroke-width='5'/><path d='M72 116 L92 116' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='5' stroke-linecap='round'/><path d='M150 116 L168 116' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='5' stroke-linecap='round'/></svg>");
}

.usecase-knowledge::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='180' viewBox='0 0 240 180'><rect x='46' y='44' width='110' height='80' rx='12' fill='none' stroke='%231f9d55' stroke-opacity='0.35' stroke-width='5'/><rect x='60' y='62' width='82' height='10' rx='5' fill='%231f9d55' fill-opacity='0.35'/><rect x='60' y='80' width='60' height='8' rx='4' fill='%231f9d55' fill-opacity='0.3'/><circle cx='182' cy='94' r='16' fill='none' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='4'/><path d='M194 106 L210 122' stroke='%231f9d55' stroke-opacity='0.45' stroke-width='4' stroke-linecap='round'/></svg>");
}

/* Privacy Section */
.privacy-section {
    padding: 100px 24px;
    background: var(--dark-bg);
    color: var(--white);
}

.privacy-section h2 {
    color: var(--white);
}

.privacy-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.privacy-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.privacy-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.privacy-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* FAQ Section */
.faq-section {
    padding: 100px 24px;
    background: transparent;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    color: var(--text-dark);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 24px;
    background: transparent;
}

.pricing-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--light-bg);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow-lg);
    text-align: center;
    border: 1px solid var(--border-soft);
}

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

.price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
}

.price-term {
    color: var(--text-gray);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.pricing-features li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
}

.pricing-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.pricing-note {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 24px;
    text-align: center;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #f3f8ff 0%,
        #e7fff2 45%,
        #fff2db 100%
    );
    opacity: 0.8;
    z-index: -1;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.cta-actions .cta-button {
    background: var(--text-dark);
}

.tally-embed {
    margin: 2.5rem auto 1.5rem;
    max-width: 720px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--card-shadow-lg);
    padding: 1rem;
}

.tally-embed iframe {
    border: none;
    width: 100%;
    min-height: 920px;
}

/* Footer */
.footer {
    padding: 60px 24px 30px;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
}

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

.footer-brand p {
    color: var(--text-gray);
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-page {
    padding: 120px 24px 80px;
    background: var(--white);
}

.legal-card {
    margin-top: 2rem;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.legal-card h2 {
    text-align: left;
    margin: 2rem 0 0.75rem;
    font-size: 1.5rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.legal-card ul {
    margin: 0 0 1rem 1.25rem;
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .about-hero {
        padding: 120px 20px 70px;
    }

    .about-lede {
        text-align: left;
    }

    .principles-row,
    .proactive-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cta-actions {
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero {
        padding: 110px 20px 70px;
    }

    .hero-points {
        gap: 0.5rem;
    }

    .demo-window {
        max-width: 100%;
    }

    .demo-mini {
        font-size: 0.8rem;
    }

    .proactive-visuals {
        grid-template-columns: 1fr;
    }

    .typewriter,
    .typewriter.answer {
        animation: none;
        border-right: none;
        width: auto;
    }

    .integrations-marquee {
        padding: 8px 0 28px;
    }

    .integrations-marquee img {
        width: 44px;
        height: 44px;
        padding: 8px;
        border-radius: 12px;
    }

    .marquee-track {
        gap: 16px;
        animation-duration: 28s;
    }

    .feature-image {
        height: 220px;
    }

    .step-visual {
        padding: 12px;
    }

    .app-icon-row img {
        width: 18px;
        height: 18px;
        padding: 5px;
    }

    .usecase-card {
        padding: 1.5rem;
    }

    .usecase-card p {
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulseIn {
    0% { opacity: 0.3; transform: translateY(4px); }
    40% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0.3; transform: translateY(-2px); }
}

@keyframes learnPulse {
    0% { opacity: 0.3; transform: translateY(2px); }
    40% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0.3; transform: translateY(-1px); }
}


@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--marquee-distance, 50%)));
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-points span {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-points span:nth-child(1) { animation-delay: 0.15s; }
.hero-points span:nth-child(2) { animation-delay: 0.25s; }
.hero-points span:nth-child(3) { animation-delay: 0.35s; }

.demo-notification {
    animation: float 4s ease-in-out infinite;
}

.feature-card,
.step-card,
.principle-card,
.usecase-card,
.privacy-card,
.principle-inline,
.proactive-card,
.pricing-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility and reduced motion */
:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .marquee-track {
        animation: none !important;
        transform: none !important;
    }
}
