/* Landing Page Specific Styles */

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Floating Dashboard Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    filter: blur(0.5px);
}

.float-card {
    position: absolute;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--light);
    padding: 16px;
    left: var(--x);
    top: var(--y);
    animation: float 12s ease-in-out infinite;
    animation-delay: var(--delay);
    will-change: transform;
}


/* Mini Table */
.mini-table {
    font-family: var(--monospace);
    font-size: 11px;
    min-width: 200px;
}

.table-header {
    font-family: var(--headings);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--light);
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid var(--off-light);
}

/* Pipeline Card */
.pipeline-card {
    min-width: 240px;
}

.pipeline-header {
    font-family: var(--headings);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    color: var(--dark-light);
    margin-bottom: 4px;
}

.pipeline-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--off-dark);
}

.pipeline-metrics {
    display: flex;
    gap: 16px;
    margin: 8px 0;
    font-family: var(--monospace);
}

.pipeline-metrics .metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pipeline-metrics .label {
    font-size: 9px;
    color: var(--dark-light);
    text-transform: uppercase;
}

.pipeline-metrics .value {
    font-size: 12px;
    font-weight: 600;
}

.pipeline-stage {
    margin-top: 8px;
    padding: 4px 8px;
    background: var(--light);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    width: max-content;
}

/* AI Bubble */
.ai-bubble {
    max-width: 260px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ai-icon {
    background: linear-gradient(135deg, var(--dark-grey), var(--light-grey));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

.ai-text {
    font-size: 11px;
    line-height: 1.4;
    color: var(--dark);
}

/* KPI Card */
.kpi-card {
    text-align: center;
    min-width: 140px;
}

.kpi-label {
    font-family: var(--headings);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    color: var(--dark-light);
    margin-bottom: 8px;
}

.kpi-value {
    font-family: var(--monospace);
    font-size: 24px;
    font-weight: 700;
    color: var(--off-dark);
}

.kpi-change {
    font-family: var(--monospace);
    font-size: 11px;
    margin-top: 4px;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    font-family: var(--headings);
    font-size: 48px;
    font-weight: 700;
    color: var(--off-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tagline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 48px;
    font-weight: 400;
}

/* Signup Form */
.signup-form {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.signup-form h2 {
    font-family: var(--headings);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--off-dark);
}

.signup-subtitle {
    font-size: 14px;
    color: var(--dark-light);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
    margin-bottom: .5em;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-family: var(--headings);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--dark);
    margin-left: 1.5em;
}

.form-group input {
    padding: 12px;
    /* border: 1px solid var(--light); */
    /* border-radius: 6px; */
    font-size: 14px;
    font-family: var(--body);
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--dark-grey);
    box-shadow: 0 0 0 3px rgba(67, 118, 177, 0.1);
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: var(--off-dark);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: var(--headings);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background: var(--dark-grey);
}

.submit-button:active {
    transform: translateY(1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .floating-elements {
        opacity: 0.3;
        filter: blur(1px);
        position: fixed;
        height: 100vh;
    }

    .float-card {
        transform: scale(0.8);
    }

    .hero-container {
        min-height: auto;
        display: block;
        padding: 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content > div:first-child {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .tagline {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 0;
    }

    .signup-form {
        background: white;
        padding: 32px 20px calc(32px + 10vh);
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        margin: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .floating-elements {
        opacity: 0.25;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content .tagline {
        font-size: 16px;
    }

    .signup-form {
        padding: 24px 16px calc(24px + 10vh);
    }

    .signup-form h2 {
        font-size: 18px;
    }

    .signup-subtitle {
        font-size: 13px;
    }
}
