/* Alpha2Zulu Aurora Theme - Main Stylesheet */
/* Shared styles for all pages (except fluid effect which is homepage only) */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #fafafa;
    --dark: #151717;
    --gray: #666666;
    --gray-light: #999999;
    --primary: #6C5CE7;
    --primary-light: #8B7FF3;
    --primary-pale: rgba(108, 92, 231, 0.1);
    --success: #10B981;
    --coral: #FF6B6B;
    --cyan: #22D3EE;
    --border: #e0e0e0;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-cta {
    background: var(--primary-light);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

/* Option Cards (Radio/Checkbox) */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.option-card {
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-height: 80px;
}

.option-card label:hover {
    border-color: var(--primary-light);
    background: var(--primary-pale);
}

.option-card input:checked + label {
    border-color: var(--primary);
    background: var(--primary-pale);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
}

.option-card label span {
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
}

.option-card label small {
    font-size: 11px;
    color: var(--gray);
    margin-top: 4px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.checkbox-item {
    position: relative;
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
}

.checkbox-item label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.checkbox-item label:hover {
    border-color: var(--primary-light);
}

.checkbox-item input:checked + label {
    border-color: var(--primary);
    background: var(--primary-pale);
}

.checkbox-item label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.checkbox-item input:checked + label::before {
    background: var(--primary);
    border-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Range Slider */
.range-container {
    margin-top: 10px;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.4);
}

.range-value {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Progress Indicator */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray);
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.progress-step.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.progress-step.completed {
    background: var(--success);
    color: white;
}

/* Footer */
.footer {
    background: #334155;
    color: #fff;
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 10;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__column h3 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
    color: #fff;
}

.footer__column h4 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    margin-bottom: 0.875rem;
    color: #fff;
}

.footer__column p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer__column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__column a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
    text-decoration: none;
}

.footer__column a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
}

.footer__bottom p {
    opacity: 0.7;
    font-size: 0.875rem;
    margin: 0;
}

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

.footer__social a {
    color: #fff;
    opacity: 0.7;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.footer__social a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateY(-2px);
}

.footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer__links a {
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
}

.footer__links a:hover {
    opacity: 1;
}

.footer__links span {
    opacity: 0.5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-logo img {
        height: 60px;
    }

    .nav-links {
        display: none;
    }

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

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

    .progress-step {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

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

    .footer__bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
}
