/* ============================================================
   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 6rem 0;
    background: var(--bg-secondary);  /* Light grey background */
}

.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 - Ultra Minimal */
.demo-animation {
    max-width: 900px;
    margin: 4rem auto 4rem;
}

.demo-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    position: relative;
}

/* Remove gradient background */
.demo-box::before {
    display: none;
}

.demo-header {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.demo-user-label {
    display: none;
}

.demo-user-text {
    display: block;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
    font-weight: 400;
    line-height: 1.8;
    position: relative;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    overflow: visible;
}

/* Restore purple quote marks - minimalist style */
.demo-user-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.15em;
    font-size: 2.5em;
    color: var(--purple-primary);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.7;
}

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

/* 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 - Ultra Clean */
.demo-thinking {
    display: none;
    padding: 1.5rem 0;
    background: transparent;
    border-radius: 0;
    animation: thinkingAppearDisappear 2.5s 1.5s 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 - Ultra Minimal */
.demo-agent-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 4rem;
    animation: fadeIn 0.5s 3.5s both;
}

.demo-agent-header {
    display: none;
}

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

.demo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    min-width: 90px;
    transition: all 0.3s;
}

.demo-step.compiled {
}

.demo-step.ai-checkpoint {
}

.demo-step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 14px;
    transition: all 0.3s;
}

.demo-step:hover .demo-step-icon {
    transform: scale(1.08);
}

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

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

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

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

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

.demo-footer {
    border-radius: 0;
    animation: fadeIn 0.5s 4.0s both;
    text-align: center;
    margin-top: 0;
}

.agent-ready {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.btn-run-demo {
    display: none;
}

.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 var(--purple-border);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--purple-shadow-strong);
}

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

.problem-section {
    padding: 4rem 0;
    background: var(--bg-primary);  /* White section */
}

.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, var(--purple-bg-light), var(--orange-bg-light));
    border: 2px solid var(--purple-border);
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--purple-border-light);
    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 (VERTICAL TIMELINE WITH FLOW ANIMATION)
   ============================================================ */

.examples-new {
    padding: 4rem 0;
    background: var(--bg-secondary);  /* Grey section */
}

.examples-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Timeline vertical line */
.examples-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--purple-border), var(--orange-border));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

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

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--purple-border);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    /* background: var(--bg-card); */
    padding: 2rem;
    padding-bottom: 1rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s;
    max-width: 900px;
}

.timeline-content:hover {
    box-shadow: 0 4px 20px var(--purple-shadow);
}

.timeline-prompt {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
}

.timeline-workflow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quote-mark {
    font-size: 2.5em;
    color: var(--purple-primary);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: 0;
}

.timeline-workflow {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
    flex: 1;
}

.timeline-step {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Scale animation on hover - faster and simpler */
.timeline-content:hover .timeline-step[data-step="1"] {
    animation: stepScale 4s ease-in-out infinite;
    animation-delay: 0s;
}

.timeline-content:hover .timeline-step[data-step="2"] {
    animation: stepScale 4s ease-in-out infinite;
    animation-delay: 1s;
}

.timeline-content:hover .timeline-step[data-step="3"] {
    animation: stepScale 4s ease-in-out infinite;
    animation-delay: 2s;
}

.timeline-content:hover .timeline-step[data-step="4"] {
    animation: stepScale 4s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes stepScale {
    0%, 100% {
        transform: scale(1);
    }
    12.5% {
        transform: scale(1.15);
    }
    25% {
        transform: scale(1);
    }
}

.timeline-step:hover {
    transform: scale(1.1);
}

.timeline-step-icon {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1;
}

.timeline-arrow {
    width: 28px;
    height: 16px;
    color: var(--purple-primary);
    opacity: 1;
}

/* Status text container - centered below workflow */
.timeline-status-container {
    position: relative;
    width: 100%;
    min-height: 0rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-status {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: var(--purple-primary);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

/* Show step labels on animation - only one visible at a time */
.timeline-content:hover .timeline-status[data-status="1"] {
    animation: showStatus 4s ease-in-out infinite;
    animation-delay: 0s;
}

.timeline-content:hover .timeline-status[data-status="2"] {
    animation: showStatus 4s ease-in-out infinite;
    animation-delay: 1s;
}

.timeline-content:hover .timeline-status[data-status="3"] {
    animation: showStatus 4s ease-in-out infinite;
    animation-delay: 2s;
}

.timeline-content:hover .timeline-status[data-status="4"] {
    animation: showStatus 4s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes showStatus {
    0%, 100% {
        opacity: 0;
    }
    12.5%, 25% {
        opacity: 1;
    }
    37.5% {
        opacity: 0;
    }
}

.timeline-savings {
    display: none;
    justify-content: flex-end;
    font-size: 0.9rem;
    color: var(--orange-primary);
    font-weight: 600;
}

.timeline-savings-badge {
    background: var(--orange-bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--orange-border);
    display: inline-block;
}

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

.how-it-works-new {
    padding: 4rem 0;
    background: var(--bg-primary);  /* White section */
}

.steps-list {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.step-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
    align-items: start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

.user-quote {
    color: var(--purple-primary);
    font-weight: 600;
    font-style: italic;
}

/* 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, var(--purple-bg-light), var(--orange-bg-light));
    border: 2px solid var(--purple-border);
    border-radius: 50px;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--purple-border-light);
}

.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-primary);  /* White section */
}

.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);  /* White table */
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem;
    border-bottom: 1px solid var(--purple-border-light);
    line-height: 2.6;
}

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

.comparison-header {
    background: var(--purple-bg-light);
    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: var(--purple-bg-medium);
    color: var(--purple-primary);
    font-weight: 600;
}

.check-icon,
.cross-icon,
.warning-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.comparison-cell svg {
    margin: 0 auto;
}

.comparison-cell svg path {
    stroke: var(--text-primary);
}

.comparison-cell svg circle {
    fill: hsl(120, 45%, 65%);
}

/* FulgurAI column gets white checkmarks on green background */
.comparison-cell.highlighted svg path {
    stroke: white;
}

/* 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, var(--purple-bg-subtle), var(--orange-bg-light));
    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: var(--purple-bg-subtle);
    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-secondary);  /* Grey section */
}

.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-card);  /* White cards */
    border-radius: 12px;
    border: 2px solid var(--border-subtle);
    transition: all 0.3s;
}

.integration-card-landing:hover {
    border-color: var(--purple-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--purple-border-light);
}

/* 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;
}

/* ============================================================
   TEMPLATES SECTION
   ============================================================ */

.templates-section {
    padding: 5rem 0;
    background: var(--bg-secondary);  /* Grey section */
}

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

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

.template-card-landing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-card);  /* White cards */
    border-radius: 12px;
    border: 2px solid var(--border-subtle);
    transition: all 0.3s;
    cursor: pointer;
}

.template-card-landing:hover {
    border-color: var(--purple-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--purple-border-light);
}

.template-icon-landing {
    font-size: 3rem;
    line-height: 1;
}

.template-card-landing h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.template-card-landing p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

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

/* Pricing styles moved to pricing.css */

.pricing {
    padding: 5rem 0;
}

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

.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--purple-bg-light), var(--orange-bg-light));
    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;
    }

    /* Timeline mobile adjustments */
    .examples-timeline::before {
        left: 22px;
    }

    .timeline-item {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .timeline-number {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .timeline-content {
        padding: 1.5rem 1rem;
    }

    .timeline-prompt {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .quote-mark {
        font-size: 2em;
    }

    .timeline-workflow-container {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-workflow {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .timeline-step {
        width: 48px;
        height: 48px;
    }

    .timeline-step-icon {
        width: 40px;
        height: 40px;
    }

    .timeline-arrow {
        width: 28px;
        height: 16px;
    }

    /* Hide AI steps on mobile to fit in one line */
    .timeline-step.ai-step,
    .timeline-step.ai-step + .timeline-arrow {
        display: none;
    }

    /* Auto-play animations on mobile (no hover required) */
    .timeline-step[data-step="1"] {
        animation: stepScale 4s ease-in-out infinite;
        animation-delay: 0s;
    }

    .timeline-step[data-step="2"] {
        animation: stepScale 4s ease-in-out infinite;
        animation-delay: 1s;
    }

    .timeline-step[data-step="3"] {
        animation: stepScale 4s ease-in-out infinite;
        animation-delay: 2s;
    }

    .timeline-step[data-step="4"] {
        animation: stepScale 4s ease-in-out infinite;
        animation-delay: 3s;
    }

    .timeline-status[data-status="1"] {
        animation: showStatus 4s ease-in-out infinite;
        animation-delay: 0s;
    }

    .timeline-status[data-status="2"] {
        animation: showStatus 4s ease-in-out infinite;
        animation-delay: 1s;
    }

    .timeline-status[data-status="3"] {
        animation: showStatus 4s ease-in-out infinite;
        animation-delay: 2s;
    }

    .timeline-status[data-status="4"] {
        animation: showStatus 4s ease-in-out infinite;
        animation-delay: 3s;
    }

    /* Move status below workflow on mobile */
    .timeline-status-container {
        width: 100%;
        justify-content: center;
    }

    .timeline-status {
        font-size: 0.85rem;
        text-align: center;
    }

    .timeline-savings {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }

    .timeline-savings-badge {
        padding: 0.4rem 0.8rem;
    }

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

    .step-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .step-header {
        margin-bottom: 0.5rem;
    }

    .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);
    }
}
