/* ============================================================
   LANDING.CSS - Marketing Page Styles (Redesigned 2025-11-17)
   ============================================================ */

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

header {
    background: var(--bg-card);
    padding: 1rem 0;
    border-bottom: 2px solid var(--purple-primary);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

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

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.btn-signin {
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s;
}

.btn-signin:hover {
    transform: translateY(-2px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credits-display {
    background: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.hero-new {
    text-align: center;
    padding: 6rem 0 4rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-base) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Demo Animation Box */
.demo-animation {
    max-width: 840px;
    margin: 0 auto 3rem;
}

.demo-box {
    background: var(--bg-card);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.demo-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.demo-user-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.demo-user-text {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: visible;
}

.demo-user-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.1em;
    font-size: 2em;
    color: var(--purple-primary);
    font-family: Georgia, serif;
    line-height: 1;
}

.demo-user-text::after {
    content: '"';
    position: absolute;
    right: 0;
    top: -0.1em;
    font-size: 2em;
    color: var(--purple-primary);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Typing Animation */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid var(--purple-primary);
    white-space: nowrap;
    animation:
        typing 2.4s steps(40) 0.20s 1 normal both,
        blink 1.5s step-end infinite,
        hideCursor 0.1s 2.6s both;
}

/* Hide ending quote during typing animation, show after completion */
.typing-animation::after {
    opacity: 0;
    animation: fadeInQuote 0.3s 2.6s both;
}

@keyframes fadeInQuote {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes hideCursor {
    to {
        border-right-color: transparent;
    }
}

.typing-animation-slow {
    overflow: hidden;
    border-right: 2px solid var(--purple-primary);
    white-space: nowrap;
    animation: typing 4s steps(50) 0.5s 1 normal both, blink 1.5s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: var(--purple-primary);
    }
    51%, 100% {
        border-color: transparent;
    }
}

/* Thinking Dots Animation */
.demo-thinking {
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
    animation: thinkingAppearDisappear 3.25s 2.0s both;
    overflow: hidden;
}

@keyframes thinkingAppearDisappear {
    0% {
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        transform: translateY(-10px);
    }
    5% {
        opacity: 1;
        max-height: 100px;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
        max-height: 100px;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thinking-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.thinking-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--purple-primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

.dot:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Agent Container Box */
.demo-agent-container {
    background: var(--bg-dark);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.5s 3.5s both;
}

.demo-agent-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.agent-icon {
    font-size: 1.5rem;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.demo-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.demo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid transparent;
    min-width: 100px;
    transition: all 0.3s;
}

.demo-step.compiled {
    border-color: hsl(258, 90%, 66%);
}

.demo-step.ai-checkpoint {
    border-color: hsl(330, 80%, 65%);
    background: rgba(236, 72, 153, 0.05);
}

.demo-step-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-step-icon img {
    width: 24px;
    height: 24px;
}

.demo-step-icon.ai-icon {
    font-size: 1.8rem;
}

.demo-icon {
    font-size: 2rem;
}

.demo-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

.demo-arrow {
    font-size: 1.5rem;
    color: var(--purple-primary);
}

.demo-footer {
    /* background: rgba(139, 92, 246, 0.1); */
    /* padding: 1.5rem; */
    border-radius: 8px;
    animation: fadeIn 0.5s 4.0s both;
}

.agent-ready {
    color: var(--purple-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.btn-run-demo {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-run-demo:hover {
    transform: translateY(-2px);
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */

.problem-section {
    padding: 4rem 0;
    background: var(--bg-card);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.problem-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problem-list {
    max-width: 850px;
    margin: 0 auto 2rem;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.problem-item span:not(.problem-icon) {
    font-weight: 500;
}

.problem-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-top: 0;
}

.problem-tagline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tagline-part {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-left: 3px solid var(--purple-primary);
    font-style: italic;
}

.solution-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(249, 115, 22, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    margin: 1rem auto 0 auto;
}

.problem-section .container {
    text-align: center;
}

.solution-highlight strong {
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-text {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-top: 2rem;
}

.text-purple {
    color: var(--purple-primary);
}

/* ============================================================
   EXAMPLES SECTION (NEW)
   ============================================================ */

.examples-new {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.example-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.example-card:hover {
    border-color: var(--purple-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.example-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

/* Example Chat Styles */
.example-chat {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    border-left: 3px solid var(--purple-primary);
}

.chat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.chat-text {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.chat-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.1em;
    font-size: 2em;
    color: var(--purple-primary);
    font-family: Georgia, serif;
    line-height: 1;
}

.chat-text::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -0.3em;
    font-size: 2em;
    color: var(--purple-primary);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Example Agent Container (like demo-agent-container) */
.example-agent-container {
    background: var(--bg-dark);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.example-agent-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.example-agent-header .agent-icon {
    font-size: 1.2rem;
}

.example-agent-header .agent-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--purple-primary);
}

.example-workflow-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.workflow-step-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    /* background: var(--bg-card); */
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    width: 100%;
    max-width: 220px;
}

.step-icon {
    font-size: 1.5rem;
}

.step-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.workflow-arrow-mini {
    font-size: 1.5rem;
    color: var(--purple-primary);
}

.example-savings {
    font-size: 1rem;
    color: var(--text-secondary);
}

.example-savings strong {
    color: var(--orange-primary);
    font-size: 1.1rem;
}

.btn-example {
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-example:hover {
    transform: translateY(-2px);
}

/* ============================================================
   HOW IT WORKS SECTION (NEW)
   ============================================================ */

.how-it-works-new {
    padding: 4rem 0;
    background: var(--bg-card);
}

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

.step-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--purple-primary);
    transform: translateY(-5px);
}

.step-number {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.2rem;
    color: var(--purple-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-visual {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Step 1 visual (chat icon) */
.step-icon-visual {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.step-visual-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Step 2 visual (mini workflow) */
.step-mini-workflow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mini-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid transparent;
    min-width: 70px;
}

.mini-step.building {
    border-color: hsl(258, 90%, 66%);
}

.mini-step.testing {
    border-color: hsl(27, 94%, 54%);
}

.mini-step.ready {
    border-color: hsl(142, 71%, 45%);
}

.mini-icon {
    font-size: 1.5rem;
}

.mini-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mini-arrow {
    font-size: 1.2rem;
    color: var(--purple-primary);
}

/* Step 3 visual (schedule options) */
.schedule-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.schedule-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.2s;
}

.schedule-option:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
}

.schedule-icon {
    font-size: 1.3rem;
}

/* How It Works Tagline */
.how-it-works-tagline {
    margin-top: 3rem;
    text-align: center;
}

.tagline-highlight {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(249, 115, 22, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.tagline-fast {
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.tagline-arrow {
    color: var(--orange-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.tagline-forever {
    color: var(--text-primary);
}

/* ============================================================
   COMPARISON SECTION
   ============================================================ */

.comparison-section {
    padding: 4rem 0;
    background: var(--bg-card);
}

.comparison-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    line-height: 2.6;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: rgba(139, 92, 246, 0.1);
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--text-secondary);
    text-align: center;
}

.comparison-cell:first-child {
    justify-content: flex-start;
    color: var(--text-primary);
    font-weight: 500;
}

.comparison-cell.highlighted {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-primary);
    font-weight: 600;
}

/* Comparison Tagline */
.comparison-tagline {
    margin-top: 3rem;
    text-align: center;
}

.tagline-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(249, 115, 22, 0.05));
    border-left: 4px solid var(--purple-primary);
    border-radius: 12px;
    font-size: 1.15rem;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1rem;
}

.quote-icon {
    color: var(--purple-primary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.5;
}

.use-case-callout {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: var(--text-secondary);
    background: rgba(139, 92, 246, 0.05);
    border-radius: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.use-case-callout strong {
    color: var(--purple-primary);
    font-weight: 600;
}

.quote-text {
    color: var(--text-secondary);
}

.quote-highlight {
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-style: normal;
}

/* ============================================================
   INTEGRATIONS SECTION
   ============================================================ */

.integrations-section {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.integrations-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.highlight-text {
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    opacity: 0.5;
}

.integrations-grid-landing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.integration-card-landing {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
}

.integration-card-landing:hover {
    border-color: var(--purple-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.2);
}

/* Integration Icon Container */
.integration-icon-landing {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-icon-landing img,
.integration-icon-landing svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.integration-info-landing {
    flex-grow: 1;
}

.integration-info-landing h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.integration-info-landing p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ============================================================
   PRICING SECTION (NEW)
   ============================================================ */

/* Pricing styles moved to pricing.css */

.pricing {
    padding: 6rem 0;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */

.final-cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(249, 115, 22, 0.1));
    text-align: center;
}

.cta-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

footer {
    background: var(--bg-card);
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 2px solid var(--purple-primary);
}

/* ============================================================
   RESPONSIVE - LANDING PAGE
   ============================================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Disable typing animation on mobile - allow text wrapping */
    .typing-animation,
    .typing-animation-slow {
        white-space: normal;
        overflow: visible;
        border-right: none;
        animation: none;
    }

    /* Position ending quote at bottom-right on mobile (no typing animation) */
    .demo-user-text::after {
        top: auto;
        bottom: -0.3em;
    }

    /* Speed up animations on mobile (no typing delay) */
    .demo-thinking {
        animation: thinkingAppearDisappear 4.2s 0.8s both;
    }

    .demo-agent-container {
        animation: fadeIn 0.4s 2.5s both;
    }

    .demo-footer {
        animation: fadeIn 0.4s 2.5s both;
    }

    /* Two-row header layout on mobile */
    header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
    }

    .logo {
        font-size: 1.2rem;
        flex: 0 0 auto;
        max-width: 60%;
        z-index: 1;
    }

    .nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        position: relative;
    }

    .nav a:not(.btn-signin) {
        /* Features and Pricing links */
    }

    .btn-signin {
        position: absolute;
        top: -2.9rem;
        right: 0;
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        white-space: nowrap;
    }

    /* Final CTA section */
    .final-cta {
        padding: 2rem 0;
    }

    .cta-headline {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

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

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

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

    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        font-size: 0.85rem;
    }

    .comparison-cell {
        padding: 0.25rem;
    }

    .integrations-grid-landing {
        grid-template-columns: 1fr;
    }

    .pricing {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-headline {
        font-size: 1.8rem;
    }

    .demo-workflow {
        flex-direction: column;
        gap: 0.5rem;
    }

    .demo-arrow {
        transform: rotate(90deg);
    }
}
