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

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

:root {
    --primary: #39FF14;
    --primary-dark: #2ACC10;
    --primary-light: #50FF30;
    --dark-bg: #0A0E1A;
    --darker-bg: #050810;
    --card-bg: rgba(20, 25, 40, 0.7);
    --border-color: rgba(57, 255, 20, 0.12);
    --text-primary: #FFFFFF;
    --text-secondary: #A8B3CF;
    --text-muted: #6B7489;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(57, 255, 20, 0.25);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

/* Background Elements */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(57, 255, 20, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(57, 255, 20, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    animation: gridFloat 30s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.glow-orb {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.glow-orb-1 {
    top: -250px;
    left: -250px;
    animation: float1 20s ease-in-out infinite;
}

.glow-orb-2 {
    bottom: -250px;
    right: -250px;
    animation: float2 25s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(100px, 100px) scale(1.2); opacity: 0.8; }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-80px, -80px) scale(1.15); opacity: 0.7; }
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

section {
    padding: 7rem 0;
    position: relative;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 9rem 2rem 7rem;
}

.hero-content {
    max-width: 950px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.75rem;
    line-height: 1.15;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.75;
    font-weight: 400;
}

/* Section Styles */
.section-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 850px;
    margin: 0 auto 4.5rem;
    line-height: 1.8;
}

/* Roadmap Section */
.roadmap-section {
    background: linear-gradient(180deg, transparent, rgba(57, 255, 20, 0.02), transparent);
}

.roadmap-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    opacity: 0.3;
}

.roadmap-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-marker {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-secondary);
    z-index: 2;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-item.completed .roadmap-marker {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.35);
}

.roadmap-item.active .roadmap-marker {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.roadmap-content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    flex: 1;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-item:hover .roadmap-content {
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 16px 50px rgba(57, 255, 20, 0.15);
    transform: translateX(10px);
}

.roadmap-phase {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.roadmap-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.roadmap-content ul {
    list-style: none;
    padding: 0;
}

.roadmap-content ul li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(57, 255, 20, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.roadmap-content ul li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.roadmap-content ul li:last-child {
    border-bottom: none;
}

/* Ecosystem Diagram Section */
.diagram-section {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.03), rgba(57, 255, 20, 0.01));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ecosystem-diagram {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 4rem 0;
}

.diagram-center {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.center-node {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.15), rgba(57, 255, 20, 0.05));
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(57, 255, 20, 0.3), inset 0 0 40px rgba(57, 255, 20, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.center-node i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.center-node h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.center-node p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.diagram-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.eco-node {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.eco-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.eco-node:hover::before {
    opacity: 1;
}

.eco-node:hover {
    transform: translateY(-8px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 20px 60px rgba(57, 255, 20, 0.15);
}

.node-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.15), rgba(57, 255, 20, 0.05));
    border: 2px solid rgba(57, 255, 20, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all 0.35s;
}

.eco-node:hover .node-icon {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.25), rgba(57, 255, 20, 0.1));
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.3);
}

.eco-node h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.eco-node p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Captains Section */
.captains-section {
    padding: 7rem 0;
}

.captains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.captain-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.captain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.captain-card:hover::before {
    opacity: 1;
}

.captain-card:hover {
    transform: translateY(-10px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 20px 60px rgba(57, 255, 20, 0.15);
    background: rgba(20, 25, 40, 0.85);
}

.captain-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(57, 255, 20, 0.05));
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.3);
    transition: all 0.4s;
}

.captain-card:hover .captain-avatar {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(57, 255, 20, 0.5);
}

.captain-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.captain-role {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.captain-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.captain-socials {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.35s;
}

.social-link:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.4);
}

/* Projects Section */
.projects-section {
    background: linear-gradient(180deg, rgba(57, 255, 20, 0.02), transparent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 20px 60px rgba(57, 255, 20, 0.15);
    background: rgba(20, 25, 40, 0.85);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.15), rgba(57, 255, 20, 0.05));
    border: 2px solid rgba(57, 255, 20, 0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.35s;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(57, 255, 20, 0.3);
}

.project-status {
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.active {
    background: rgba(57, 255, 20, 0.15);
    color: var(--primary);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.project-status.development {
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.project-status.planning {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.project-team {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-team i {
    color: var(--primary);
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.project-link:hover {
    gap: 0.75rem;
}

/* Footer */
footer {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    text-align: center;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #000;
    font-weight: 800;
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 60px rgba(57, 255, 20, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    section {
        padding: 5rem 0;
    }

    .hero {
        min-height: 60vh;
        padding: 7rem 1.5rem 5rem;
    }

    .section-title {
        margin-bottom: 1.25rem;
    }

    .section-subtitle {
        margin-bottom: 3.5rem;
    }

    .roadmap-timeline::before {
        left: 30px;
    }

    .roadmap-marker {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.5rem;
    }

    .diagram-center {
        margin-bottom: 4rem;
    }

    .center-node {
        width: 160px;
        height: 160px;
    }

    .center-node i {
        font-size: 3rem;
    }

    .captains-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 6rem 1.25rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .roadmap-timeline::before {
        display: none;
    }

    .roadmap-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .roadmap-content {
        padding: 1.75rem 2rem;
    }

    .diagram-nodes,
    .captains-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .roadmap-content,
    .project-card,
    .captain-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Project Submission Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.project-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    z-index: 2;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 60px rgba(57, 255, 20, 0.15);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 14, 26, 0.6);
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h2::before {
    content: '📝';
    font-size: 1.5rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary);
    color: #000;
    transform: rotate(90deg);
    box-shadow: 0 6px 24px rgba(57, 255, 20, 0.3);
}

.modal-body {
    padding: 2.5rem;
    max-height: calc(90vh - 180px);
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(57, 255, 20, 0.05);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group label::after {
    content: ' *';
    color: var(--primary);
}

.form-group label.optional::after {
    content: ' (optional)';
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8125rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.1);
    background: rgba(10, 14, 26, 0.95);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2339FF14' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(57, 255, 20, 0.25);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #000;
    font-weight: 800;
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.35);
    min-width: 200px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 60px rgba(57, 255, 20, 0.5);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeIn 0.5s ease;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .project-modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.375rem;
    }

    .modal-body {
        padding: 1.5rem;
        max-height: calc(95vh - 160px);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}
