/* OWLiver BI Landing Page - Cyberpunk Styles */
/* Adapted from Streamlit TestLab */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Fira+Code:wght@300;400;500;700&family=Share+Tech+Mono&display=swap');

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #00d4aa;
    --secondary-color: #8a2be2;
    --accent-color: #20b2aa;
    --background: #1e1e1e;
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --card-bg: rgba(40, 40, 40, 0.85);
    --border-glow: rgba(0, 212, 170, 0.15);
}

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Share Tech Mono', monospace;
    background-color: var(--background);
    background-image: 
        linear-gradient(120deg, rgba(0, 212, 170, 0.03) 0%, rgba(138, 43, 226, 0.03) 100%),
        url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%2300d4aa' stroke-width='1' stroke-opacity='0.05' d='M400 100 L500 300 L400 500 L300 300 Z M400 500 L500 700 L400 750 L300 700 Z M600 400 L400 350 L200 400 L400 450 Z' /%3E%3Cpath fill='none' stroke='%238a2be2' stroke-width='1' stroke-opacity='0.03' d='M450 250 L550 350 L450 450 L350 350 Z' /%3E%3Cpath fill='none' stroke='%2320b2aa' stroke-width='1' stroke-opacity='0.03' d='M350 150 L250 350 L350 550 L450 350 Z' /%3E%3C/svg%3E");
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* CRT Effect */
body::before {
    content: " ";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.015),
        rgba(0, 0, 0, 0.015) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 1000;
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', 'Fira Code', 'Share Tech Mono', monospace;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--border-glow);
}

h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Share Tech Mono', monospace;
    font-weight: 400;
}

/* ==================== Container ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== Sections ==================== */
section {
    padding: 5rem 0;
    position: relative;
}

.section-headline {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro,
.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ==================== Hero Section ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.hero-headline {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-visual {
    margin-top: 3rem;
}

/* ==================== Buttons ==================== */
.cta-button {
    background: linear-gradient(135deg, #3D5245 0%, #2A3B31 100%);
    color: #E0E0E0;
    border: 1px solid #4A5D52;
    border-radius: 4px;
    padding: 1rem 2.5rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Share Tech Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(61, 82, 69, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #4A5D52 0%, #3D5245 100%);
    border-color: #5A6D62;
    color: #F0F0F0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 82, 69, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* ==================== Problem Section ==================== */
.problem-section {
    background: rgba(0, 0, 0, 0.3);
}

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

.pain-point {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1);
}

.pain-point:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.2);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ==================== Scenarios Section ==================== */
.scenarios-section {
    background: rgba(138, 43, 226, 0.02);
}

.scenario-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.scenario-block.reverse {
    direction: rtl;
}

.scenario-block.reverse > * {
    direction: ltr;
}

.scenario-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.scenario-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.scenario-steps {
    list-style: none;
    padding: 0;
}

.scenario-steps li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-left: 2px solid var(--border-glow);
    margin-bottom: 0.5rem;
}

.scenario-steps li::before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0.5rem;
    font-weight: bold;
}

/* ==================== How It Works Section ==================== */
.how-it-works-section {
    background: rgba(0, 0, 0, 0.3);
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 4px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

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

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

/* ==================== CTA Section ==================== */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), rgba(138, 43, 226, 0.05));
    text-align: center;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#emailInput {
    flex: 1;
    background-color: rgba(60, 60, 60, 0.5);
    color: var(--text-primary);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 2px;
    padding: 1rem 1.5rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Share Tech Mono', monospace;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#emailInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.1);
}

#emailInput::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 1rem;
    display: none;
    font-family: 'JetBrains Mono', 'Fira Code', 'Share Tech Mono', monospace;
    font-weight: 400;
}

.form-message.success {
    display: block;
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.form-message.error {
    display: block;
    background: transparent;
    border: none;
    color: #ff453a;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ==================== Placeholder Visuals ==================== */
.placeholder-visual {
    background: var(--card-bg);
    border: 2px dashed var(--border-glow);
    border-radius: 4px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.placeholder-text {
    color: var(--text-secondary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== Footer ==================== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-glow);
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--primary-color);
    font-weight: 500;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .scenario-block {
        grid-template-columns: 1fr;
    }

    .scenario-block.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-headline {
        font-size: 2rem;
    }

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

    h2 {
        font-size: 1.75rem;
    }

    .pain-points {
        grid-template-columns: 1fr;
    }

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

    .form-group {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}

/* ==================== Animations ==================== */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

.blink {
    animation: blink 1s step-end infinite;
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 212, 170, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 212, 170, 0.5);
}

