/* 8gentics Shared Styles */

body {
    background-color: #020617;
    color: #f8fafc;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-card-accent-red {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-card-accent-cyan {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Custom Gradients */
.text-gradient {
    background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Buttons */
.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
    color: #020617;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

.cta-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-secondary:hover {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.05);
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    min-height: 44px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #f8fafc;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.label-required {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label-required::after {
    content: ' *';
    color: #ef4444;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th {
    padding-bottom: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table th:first-child {
    color: #94a3b8;
}

.comparison-table th:nth-child(2) {
    color: #fca5a5;
}

.comparison-table th:nth-child(3) {
    color: #22d3ee;
}

.comparison-table td {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Progress Indicator */
#funnel-progress {
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    z-index: 40;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

#funnel-progress .container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
}

#funnel-progress .step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

#funnel-progress .step.active {
    opacity: 1;
}

#funnel-progress .step-number {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #334155;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

#funnel-progress .step.active .step-number {
    background: #22d3ee;
    color: #020617;
}

/* Timeline (for Page 2) */
.timeline-container {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #22d3ee 0%, #a78bfa 100%);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.week-badge {
    position: absolute;
    left: 0;
    width: 4rem;
    height: 4rem;
    background: #0f172a;
    border: 2px solid #22d3ee;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22d3ee;
    font-weight: 700;
    font-size: 1.25rem;
}

.timeline-item:nth-child(2) .week-badge {
    border-color: #6366f1;
    color: #6366f1;
}

.timeline-item:nth-child(3) .week-badge {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.timeline-item:nth-child(4) .week-badge {
    border-color: #a78bfa;
    color: #a78bfa;
}

.timeline-item .glass-card {
    padding: 1.5rem;
    border-radius: 1rem;
}

.timeline-item .glass-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.timeline-item .glass-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #cbd5e1;
}

.timeline-item .glass-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.timeline-item .glass-card ul li.output {
    color: #22d3ee;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* Checklist (for Page 2) */
.checklist-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.checklist-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.checklist-item input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    background: #1e293b;
    border: 1px solid #475569;
    accent-color: #22d3ee;
    cursor: pointer;
}

.checklist-item label {
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s;
}

.checklist-item:hover label {
    color: #f8fafc;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    #funnel-progress .step span {
        display: none;
    }

    #funnel-progress .step {
        opacity: 1;
    }

    .timeline-item {
        padding-left: 4rem;
    }

    .week-badge {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .cta-primary,
    .cta-secondary {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Typography Adjustments */
h1 {
    font-size: 2.25rem;
    line-height: 1.1;
}

h2 {
    font-size: 1.875rem;
    line-height: 1.2;
}

body {
    font-size: 1rem;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    body {
        font-size: 1.125rem;
    }
}

/* Section Spacing */
section {
    padding: 3rem 1rem;
}

@media (min-width: 1024px) {
    section {
        padding: 5rem 1rem;
    }
}

/* Touch Targets (Mobile) */
button,
.cta-primary,
.cta-secondary {
    min-height: 44px;
}
