/* General Styles */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    overflow: visible;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/three-deck-spread.png') no-repeat center/80%;
}

.hero-image {
    max-width: 60%;
    max-height: 300px;
    height: auto;
    margin-bottom: 20px;
    margin-top: -10px;
    display: block;
    overflow: visible;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 8px #00bcd4, 0 0 15px #00bcd4;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
    color: #00bcd4;
}

.subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* Buttons */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    padding: 12px 25px;
    background: rgba(0, 0, 0, 0.934);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid #00bcd4;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5), 0 0 25px rgba(0, 151, 167, 0.3);
    transition: all 0.3s ease;
    z-index: 1;
    max-width: 250px;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cta-buttons .cta-button {
    margin: 10px 0;
}

.cta-button:hover,
.cta-button:focus {
    background: linear-gradient(45deg, rgba(0, 188, 212, 0.2), rgba(0, 151, 167, 0.2));
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.8), 0 0 30px rgba(0, 151, 167, 0.5);
    outline: 2px solid #00bcd4;
    outline-offset: 3px;
}

.cta-button.primary {
    background: rgba(0, 0, 0, 0.934);
    border: 2px solid #0097a7;
    box-shadow: 0 0 15px rgba(0, 151, 167, 0.5), 0 0 25px rgba(0, 151, 167, 0.3);
}

.cta-button.primary:hover,
.cta-button.primary:focus {
    background: linear-gradient(45deg, rgba(0, 151, 167, 0.2), rgba(0, 151, 167, 0.2));
    box-shadow: 0 0 20px rgba(0, 151, 167, 0.8), 0 0 30px rgba(0, 151, 167, 0.5);
    outline: 2px solid #0097a7;
    outline-offset: 3px;
}

.cta-button.secondary {
    background: rgba(0, 0, 0, 0.934);
    border: 2px solid #4dd0e1;
    box-shadow: 0 0 15px rgba(77, 208, 225, 0.5), 0 0 25px rgba(77, 208, 225, 0.3);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
    background: linear-gradient(45deg, rgba(77, 208, 225, 0.2), rgba(77, 208, 225, 0.2));
    box-shadow: 0 0 20px rgba(77, 208, 225, 0.8), 0 0 30px rgba(77, 208, 225, 0.5);
    outline: 2px solid #4dd0e1;
    outline-offset: 3px;
}

/* Sections */
.section {
    padding: 50px 20px;
    text-align: center;
}

.atlas-deck-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 0 5px #008ba3;
    max-width: 800px;
    margin: 0 auto 15px;
}

.app-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    margin: 15px auto;
    color: #fdffff;
}

.app-framework {
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #00bcd4, 0 0 15px #00bcd4;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #00bcd4, 0 0 15px #00bcd4;
}

.section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 15px;
}

.inner-atlas-intro {
    color: #00bcd4;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 15px;
}

.section-image {
    max-width: 90%;
    max-height: 400px;
    height: auto;
    margin: 20px auto;
    display: block;
}

.section-video {
    width: 100%;
    max-width: 800px; /* Matches atlas-landing */
    height: 450px; /* Matches atlas-landing */
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 10px rgba(255, 0, 255, 0.1);
    object-fit: contain; /* No clipping */
}

.section-video:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5), inset 0 0 15px rgba(255, 0, 255, 0.3);
}

.atlas-deck-image {
    max-width: 90%;
    max-height: 450px;
}

.atlas-deck .note {
    margin-top: 25px;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #f4f6f7;
    text-shadow: 0 0 5px #008ba3;
}

.vision-impact .note {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin: 15px auto;
    color: #fdffff;
}

.features {
    list-style: none;
    padding: 0;
    margin: 15px auto;
    max-width: 600px;
}

.features li {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin: 15px auto;
    color: #fdffff;
}

.deck-title {
    color: #00bcd4;
    font-weight: 700;
    font-size: 28px;
}

.features.centered {
    text-align: center;
}

/* Footer */
.footer {
    background-color: #111;
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
}

.footer-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 8px #00bcd4, 0 0 15px #00bcd4;
}

.footer-content a, .footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.footer-content a {
    color: #00bcd4;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.newsletter form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.newsletter input {
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* Artist Signature Button */
.info-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.info-btn img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px #00bcd4);
}

.info-btn:hover img,
.info-btn:focus img {
    filter: drop-shadow(0 0 10px #00bcd4);
}

/* Info Modal */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    visibility: visible;
    opacity: 1;
}

.info-modal-content {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 60, 0.9));
    color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #00bcd4;
    box-shadow: 0 0 20px #00bcd4, 0 0 30px rgba(0, 188, 212, 0.3);
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 2001;
    animation: holographic-shift 10s infinite linear;
}

.info-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 188, 212, 0.1));
    opacity: 0.2;
    z-index: -1;
    animation: holographic-shift 10s infinite linear;
}

.info-modal-content p {
    margin: 15px 0;
    line-height: 1.6;
    font-size: 1.1em;
    text-shadow: 0 0 5px #00bcd4;
}

.info-modal-content a {
    color: #4dd0e1;
    text-decoration: none;
    font-weight: 500;
    text-shadow: 0 0 5px #00bcd4;
}

.info-modal-content a:hover,
.info-modal-content a:focus {
    text-decoration: underline;
    outline: 2px solid #00bcd4;
    outline-offset: 2px;
}

.info-modal-content .close-btn {
    background: rgba(0, 0, 0, 0.934);
    color: #ffffff;
    border: 2px solid #00bcd4;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px #00bcd4;
    transition: all 0.3s ease;
}

.info-modal-content .close-btn:hover,
.info-modal-content .close-btn:focus {
    background: linear-gradient(45deg, rgba(0, 188, 212, 0.2), rgba(0, 151, 167, 0.2));
    box-shadow: 0 0 15px #00bcd4;
    outline: 2px solid #00bcd4;
    outline-offset: 2px;
}

/* Holographic Animation */
@keyframes holographic-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Lock body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 20px;
    }

    .section h2 {
        font-size: 18px;
    }

    .footer-content h3 {
        font-size: 17px;
    }

    .tagline {
        font-size: 15px;
        color: #00bcd4;
    }

    .subtext, .section p, .footer-content a, .footer-content p {
        font-size: 15px;
    }

    .atlas-deck-description {
        font-size: 15px;
        text-shadow: 0 0 5px #008ba3;
        margin: 0 auto 10px;
    }

    .app-intro {
        color: #fff;
        font-size: 15px;
    }

    .app-framework {
        margin-top: 20px;
        margin-bottom: 15px;
        text-shadow: 0 0 8px #00bcd4, 0 0 15px #00bcd4;
        font-size: 15px;
    }

    .inner-atlas-intro {
        color: #00bcd4;
        font-size: 15px;
        margin-top: 5px;
    }

    .vision-impact .note {
        font-size: 14px;
    }

    .atlas-deck .note {
        margin-top: 20px;
        font-size: 18px;
    }

    .deck-title {
        font-size: 16px;
    }

    .section-image, .section-video {
        max-width: 90%;
        max-height: 300px;
    }

    .atlas-deck-image {
        max-width: 95%;
        max-height: 350px;
    }

    .hero-image {
        max-width: 100%;
        max-height: 450px;
        margin-top: -10px;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }

    .cta-buttons .cta-button {
        margin: 10px 0;
    }

    .cta-button, .cta-button.primary, .cta-button.secondary {
        max-width: 160px;
        padding: 8px 15px;
        font-size: 12px;
    }
    .section-video {
        max-width: 90%;
        height: 300px; /* Adjusted for mobile */
    }
    .features li {
        font-size: 14px;
    }

    .info-btn img {
        width: 32px;
        height: 32px;
    }

    .info-modal-content {
        padding: 15px;
        max-width: 80%;
        font-size: 0.9em;
    }

    .info-modal-content p {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .info-modal-content .close-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}