/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    pointer-events: none;
    /* Let clicks pass to 3D background if needed, but buttons should re-enable it */
}

.hero-btns,
.cta-button {
    pointer-events: auto;
}


.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--color-cyan);
    color: var(--color-cyan);
}

.cta-button.secondary:hover {
    background: var(--color-cyan);
    color: #0f172a;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.about-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.2));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #1e293b;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.gallery-item .overlay .creator-badge {
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}


.gallery-item .overlay .creator-badge {
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.workflow-section {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 8rem;
    overflow: hidden;
}

.workflow-system {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.workflow-pipeline {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
    border-radius: 4px;
}

.pipeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--color-deep-purple), var(--color-cyan));
    box-shadow: 0 0 15px var(--color-cyan);
    border-radius: 4px;
    transition: height 0.1s linear;
}

.workflow-node-item {
    position: relative;
    width: 50%;
    padding: 0 3rem;
    box-sizing: border-box;
}

.workflow-node-item.left-branch {
    align-self: flex-start;
    text-align: right;
    padding-right: 4rem;
}

.workflow-node-item.right-branch {
    align-self: flex-end;
    text-align: left;
    padding-left: 4rem;
    margin-top: -3rem;
}

.node-point {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(-50%);
}

.left-branch .node-point {
    right: -10px;
}

.right-branch .node-point {
    left: -10px;
}

.workflow-node-item.active .node-point {
    background: var(--color-cyan);
    border-color: #fff;
    transform: translateY(-50%) scale(1.4);
    box-shadow: 0 0 30px var(--color-cyan), 0 0 60px var(--color-cyan);
}

.node-connector {
    position: absolute;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 3.5rem;
    z-index: 1;
    transform: translateY(-50%);
    transition: all 0.6s ease;
}

.workflow-node-item.active .node-connector {
    background: var(--color-cyan);
    height: 2px;
    box-shadow: 0 0 15px var(--color-cyan);
}

.workflow-card {
    position: relative;
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(4px);
    border: 1px dashed rgba(4, 217, 217, 0.3);
    opacity: 0.5;
    transform: scale(0.96);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.workflow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(4, 217, 217, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 217, 217, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.workflow-node-item.active .workflow-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-cyan);
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 40px rgba(4, 217, 217, 0.3), inset 0 0 20px rgba(4, 217, 217, 0.1);
}

.node-number-bg {
    position: absolute;
    top: -1rem;
    right: -1rem;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(4, 217, 217, 0.03);
    font-family: 'Outfit', sans-serif;
    pointer-events: none;
}

.workflow-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, #fff, var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.workflow-card p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #94a3b8;
}

/* Auto Scroll Button */
.auto-scroll-btn {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(4, 217, 217, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 20px rgba(4, 217, 217, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.workflow-active .auto-scroll-btn {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Floating Action Button */
.floating-join-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-cyan);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(4, 217, 217, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-join-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 40px rgba(4, 217, 217, 0.6);
    background: var(--color-cyan);
    color: #0f172a;
}

/* Utilities */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 40px rgba(4, 217, 217, 0.3);
}

/* Contact Form */
.contact-form-section {
    position: relative;
    padding: 100px 0;
    background: radial-gradient(circle at bottom right, rgba(93, 104, 166, 0.1), transparent 40%);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.main-contact-form input,
.main-contact-form textarea {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.main-contact-form input:focus,
.main-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    background: rgba(15, 23, 42, 0.6);
}

/* Workflow Footer CTA */
.workflow-footer-cta {
    margin-top: 6rem;
    text-align: center;
    position: relative;
    z-index: 5;
    animation: fadeInUp 1s ease-out;
}

.experience-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-deep-purple) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px rgba(4, 217, 217, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(4, 217, 217, 0.5);
    filter: brightness(1.1);
}

.cta-subtext {
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: 1rem;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .workflow-pipeline {
        left: 2rem;
        transform: none;
    }

    .workflow-node-item {
        width: 100%;
        padding-left: 4rem;
    }

    .node-point {
        left: 2rem;
        transform: translate(-50%, -50%);
        top: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}