/* ===================== HOME PAGE STYLES ===================== */
.home-container {
    position: relative;
    min-height: 100vh;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    margin: 0;
    padding: 0;
}

/* Mouse Move Effect Overlay */
.mouse-effect-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 30;
    transition: opacity 0.3s;
    opacity: 0;
    will-change: background;
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    margin-top: 0;
}

.hero-content {
    max-width: 1900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Hero Logo */
.logo-container {
    margin-bottom: 0.5rem;
    margin-top: 0;
    padding-top: 0;
}

.hero-logo {
    width: 900px;
    max-width: 95vw;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
}

/* Hero Text */
.hero-text {
    max-width: 42rem;
    margin: 0 auto;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
        line-height: 2rem;
    }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 0.625rem 1.5rem;
    height: 2.5rem;
}

.btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
    .btn {
        height: 2.75rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Solutions Section */
.solutions-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.solutions-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solutions-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff;
}

@media (min-width: 640px) {
    .solutions-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .solutions-title {
        font-size: 3.5rem;
    }
}

.solutions-subtitle {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

/* Projects Container */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Boxes */
.project-box {
    width: 100%;
    min-height: 280px;
    padding: 2rem;
    border-radius: 1rem;
    text-decoration: none;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    cursor: default;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid;
}

.project-box h2,
.project-box .project-description,
.project-box .project-tagline {
    position: relative;
    z-index: 1;
}

.project-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.project-box:hover::after {
    opacity: 0.8;
}

.bulbasaur::after {
    background-image: url('images/deepdive_tile.png');
}

.alakazam::after {
    background-image: url('images/discover_tile_2.png');
}

.arceus-franchise::after {
    background-image: url('images/DejaVu_tile.png');
}

.project-box h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: auto;
}

/* Project Specific Colors */
.bulbasaur {
    border-color: #4CAF50;
}

.alakazam {
    border-color: #FF9800;
}

.arceus-franchise {
    border-color: #ff9a00;
}

.metagross-plus {
    border-color: #ff6b6b;
}

.example-work {
    border-color: #00d4ff;
    cursor: pointer;
}

/* Hover Effects */
.project-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.project-box:hover h2,
.project-box:hover .project-description,
.project-box:hover .project-tagline {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.bulbasaur:hover {
    border-color: #66BB6A;
    box-shadow: 0px 10px 30px rgba(76, 175, 80, 0.3);
}

.alakazam:hover {
    border-color: #FFB74D;
    box-shadow: 0px 10px 30px rgba(255, 152, 0, 0.3);
}

.arceus-franchise:hover {
    border-color: #FFB347;
    box-shadow: 0px 10px 30px rgba(255, 154, 0, 0.3);
}

.metagross-plus:hover {
    border-color: #FF8A80;
    box-shadow: 0px 10px 30px rgba(255, 107, 107, 0.3);
}

.example-work:hover {
    border-color: #40E0D0;
    box-shadow: 0px 10px 30px rgba(0, 212, 255, 0.3);
}

/* CTA Section */
.cta-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3.5rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 100%;
}

@media (min-width: 640px) {
    .cta-description {
        font-size: 1.25rem;
        line-height: 2rem;
    }
}

.btn-apply {
    background-color: #ffffff;
    color: #000000;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
}

.btn-apply:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

/* Join the First Wave section */
.first-wave-section {
    padding: 6rem 2rem 8rem;
}

.first-wave-content {
    gap: 1.75rem;
}

.first-wave-subheading {
    margin-bottom: 0.25rem;
}

.first-wave-form-wrap {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
}

.first-wave-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
}

.first-wave-input,
.first-wave-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.first-wave-input::placeholder,
.first-wave-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.first-wave-input:hover,
.first-wave-textarea:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.first-wave-input:focus,
.first-wave-textarea:focus {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
}

.first-wave-textarea {
    resize: vertical;
    min-height: 5rem;
}

.first-wave-submit {
    margin-top: 0.5rem;
    align-self: center;
}

.first-wave-success {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .first-wave-section {
        padding: 4rem 1.5rem 6rem;
    }
}

/* Footer */
.home-footer {
    position: relative;
    z-index: 10;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
    }

    .hero-logo {
        width: 500px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
    }

    .projects-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solutions-section {
        padding: 4rem 1.5rem;
    }

    .solutions-title {
        font-size: 2rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}
