/* ScribeFlow Landing Page - Fresh Build
 * Working WITH common.css design system, not against it
 * Reusing proven classes from dashboard where possible
 */

/* =========================================
   LANDING PAGE CONTAINER
   ========================================= */

.landing-page {
    width: 100%;
    min-height: 100vh;
}

/* =========================================
   HERO SECTION (Phase 8.2)
   ========================================= */

.hero-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: var(--text-inverse);
    padding: 6rem 2rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    max-width: 300px;
    height: auto;
    /* Complete logo with transparency - no filter needed */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-inverse);
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* Button styles are inherited from common.css */
/* Just ensure they're visible on gradient background */
.hero-section .btn {
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    min-width: 200px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-section .btn {
        width: 100%;
    }
}

/* =========================================
   STATISTICS BAR (Phase 8.3)
   Using proven .stats-grid and .stat-item from dashboard
   ========================================= */

.stats-section {
    background: var(--surface-primary);
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

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

/* Override common.css to ensure horizontal layout */
.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stats-section .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stats-section .stat-icon {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.stats-section .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-section .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.stats-section .stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.stats-section .stat-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-section {
        padding: 3rem 1.5rem;
    }

    .stats-section .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-section .stat-number {
        font-size: 2rem;
    }

    .stats-section .stat-label {
        font-size: 1rem;
    }
}

/* =========================================
   ENGINES SECTION (Phase 8.4)
   Using proven .action-card from dashboard
   ========================================= */

.engines-section {
    background: var(--background-color);
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.engines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* Using .action-card from dashboard (proven to work!) */
.engine-card {
    position: relative;
}

/* WIP note at bottom of Translation Engine card */
.engine-wip {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(109, 213, 237, 0.1);
    border-left: 3px solid var(--brand-accent);
    border-radius: 4px;
}

.engine-wip p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

.engine-wip strong {
    color: var(--brand-accent);
    font-size: 1.2rem;
}

.engine-icon-lg {
    font-size: 3rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.engine-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.engine-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.engine-features h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 1.5rem 0 1rem 0;
}

.engine-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.engine-features li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
}

.engine-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-secondary);
    font-weight: bold;
}

.engine-features ul.coming-soon li::before {
    content: "→";
    color: var(--brand-accent);
}

.engine-note {
    margin-top: 2rem;
    padding: 1.25rem;
    background: rgba(76, 191, 166, 0.1);
    border-left: 4px solid var(--brand-secondary);
    border-radius: 4px;
}

.engine-note p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .engines-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .engines-section {
        padding: 3rem 1.5rem;
    }

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

    .engine-card h3 {
        font-size: 1.5rem;
    }

    .dev-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

/* =========================================
   FEATURES SECTION (Phase 8.5)
   This section was working in original - preserving structure
   ========================================= */

.features-section {
    background: var(--surface-primary);
    padding: 5rem 2rem;
}

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

.feature-card {
    background: var(--background-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-secondary);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 3rem 1.5rem;
    }

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

/* =========================================
   WORKFLOW SECTION (Phase 8.6)
   ========================================= */

.workflow-section {
    background: var(--background-color);
    padding: 5rem 2rem;
}

.workflow-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-step {
    flex: 1;
    background: var(--surface-primary);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-secondary);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: var(--text-inverse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.step-icon {
    font-size: 3rem;
    color: var(--brand-secondary);
    margin: 1rem 0 1.5rem 0;
}

.workflow-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.workflow-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.workflow-arrow {
    flex-shrink: 0;
    font-size: 2rem;
    color: var(--brand-accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .workflow-container {
        flex-direction: column;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .workflow-section {
        padding: 3rem 1.5rem;
    }

    .workflow-step {
        padding: 2.5rem 1.5rem;
    }

    .workflow-arrow {
        display: none;
    }
}

/* =========================================
   ROADMAP SECTION (Phase 8.7)
   ========================================= */

.roadmap-section {
    background: var(--surface-primary);
    padding: 5rem 2rem;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.roadmap-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-accent);
}

.roadmap-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-icon i {
    font-size: 1.75rem;
    color: var(--text-inverse);
}

.roadmap-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

.roadmap-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.roadmap-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .roadmap-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 600px) {
    .roadmap-section {
        padding: 3rem 1.5rem;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =========================================
   ABOUT SECTION (Phase 8.8)
   ========================================= */

.about-section {
    background: var(--background-color);
    padding: 5rem 2rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.about-stat {
    text-align: center;
    padding: 1.5rem;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.about-stat-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 1.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =========================================
   CONTACT SECTION (Phase 8.8)
   ========================================= */

.contact-section {
    background: var(--surface-primary);
    padding: 5rem 2rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--background-color);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-secondary);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 2.5rem;
    color: var(--text-inverse);
}

.contact-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-card .btn {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1.5rem;
    }

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

    .contact-card {
        padding: 2.5rem 1.5rem;
    }
}

/* =========================================
   LANDING PAGE COMPLETE
   All sections built and tested
   ========================================= */
