@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(80, 235, 151, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(80, 235, 151, 0.2);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
    color: #50EB97;
    text-shadow: 0 0 10px #50EB97;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 101;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.subtitle {
    font-size: 1.4rem;
    color: #d8d8d8;
    margin-bottom: 2.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    max-width: 820px;
    margin: 0 auto 1.75rem auto;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(80, 235, 151, 0.35);
}

.hero-title .accent {
    background: linear-gradient(45deg, #50EB97, #FD9F5B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-button {
    background: linear-gradient(45deg, #50EB97, #FD9F5B);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(80, 235, 151, 0.5);
}

.scroll-cue {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    margin: 3.5rem auto 0 auto;
    color: #50EB97;
    font-size: 1.5rem;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(80, 235, 151, 0.7);
    opacity: 0.85;
    animation: scroll-cue-bounce 2.4s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.scroll-cue:hover {
    opacity: 1;
}

@keyframes scroll-cue-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(10px); }
}

.content-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: #50EB97;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(80, 235, 151, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.section-lede {
    font-size: 1.1rem;
    color: #cfcfcf;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

/* Series Cards (reused for Services on homepage) */
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.series-card {
    background: rgba(80, 235, 151, 0.05);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 25px;
    border: 2px solid rgba(80, 235, 151, 0.3);
    box-shadow: 0 0 30px rgba(80, 235, 151, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 50px rgba(80, 235, 151, 0.4);
}

.series-number {
    display: inline-block;
    background: linear-gradient(45deg, #50EB97, #FD9F5B);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.series-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.series-card p {
    color: #e8e8e8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #FD9F5B;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.resources-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(80, 235, 151, 0.2);
}

.resources-list a {
    color: #50EB97;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.resources-list a:hover {
    color: #FD9F5B;
    text-shadow: 0 0 8px #FD9F5B;
}

/* Approach grid (homepage) */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.approach-card {
    background: rgba(253, 159, 91, 0.05);
    border: 1px solid rgba(253, 159, 91, 0.3);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(253, 159, 91, 0.25);
}

.approach-card h4 {
    font-family: 'Montserrat', sans-serif;
    color: #FD9F5B;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(253, 159, 91, 0.5);
}

.approach-card p {
    color: #e8e8e8;
    line-height: 1.65;
    font-size: 0.97rem;
}

/* Resources Section */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(80, 235, 151, 0.3);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.filter-tab:hover {
    background: rgba(80, 235, 151, 0.2);
    color: #50EB97;
}

.filter-tab.active {
    background: linear-gradient(45deg, #50EB97, #FD9F5B);
    color: #000;
    border-color: #50EB97;
    box-shadow: 0 0 20px rgba(80, 235, 151, 0.5);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: rgba(253, 159, 91, 0.05);
    border: 1px solid rgba(253, 159, 91, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(253, 159, 91, 0.2);
}

.resource-type {
    background: #FD9F5B;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.resource-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.resource-card p {
    color: #e8e8e8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.resource-link {
    color: #50EB97;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Prompt Modal */
.prompt-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.prompt-modal-content {
    background-color: #000;
    border: 2px solid #50EB97;
    box-shadow: 0 0 30px #50EB97;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
}

.prompt-modal h3 {
    font-family: 'Montserrat', sans-serif;
    color: #50EB97;
    margin-bottom: 1rem;
}

.prompt-text {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(80, 235, 151, 0.3);
    color: #e8e8e8;
}

.prompt-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.copy-btn, .close-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
}

.copy-btn {
    background: linear-gradient(45deg, #50EB97, #FD9F5B);
    color: #000;
    border: none;
}

.close-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.visual-element {
    background: linear-gradient(135deg, rgba(80, 235, 151, 0.05), rgba(253, 159, 91, 0.05));
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    border: 2px solid rgba(253, 159, 91, 0.2);
    box-shadow: 0 0 40px rgba(253, 159, 91, 0.1);
}

.about-copy {
    font-size: 1.05rem;
    color: #e8e8e8;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 640px;
    text-align: left;
    padding: 0 1rem;
}

.about-copy p {
    margin-bottom: 1.25rem;
}

.about-copy .highlight {
    color: #50EB97;
    text-shadow: 0 0 10px rgba(80, 235, 151, 0.6);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(80, 235, 151, 0.2);
}

.footer .footer-cta {
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    color: #cfcfcf;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #50EB97;
    text-shadow: 0 0 10px #50EB97;
    transform: scale(1.1);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FD9F5B;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.8;
    box-shadow: 0 0 15px #FD9F5B;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

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

/* Smaller hero variant for content.html */
.intro-section.compact {
    height: auto !important;
    min-height: 55vh;
    padding: 6rem 2rem 4rem 2rem;
}

.intro-section.compact .intro-content img {
    max-width: 360px !important;
}

.intro-section.compact .hero-title {
    font-size: 2.6rem;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .scroll-cue {
        margin-top: 2.5rem;
    }
}
