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

:root {
    /* Color Palette - Midnight Ocean Variation */
    --accent-emerald: #34d399;
    --accent-cyan: #38bdf8;
    --accent-blue: #60a5fa;

    --bg-dark: #04070d;
    --bg-card: rgba(13, 19, 33, 0.75);
    --card-border: rgba(255, 255, 255, 0.06);

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --neon-green: #39FF14;
    --neon-blue: #2E62FF;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    --header-height: 80px;
    --container-max: 1280px;
    --radius-lg: 32px;
    --radius-md: 20px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
.atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: pulse 10s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

.orb-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--neon-green), transparent 70%);
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 650px;
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 120px 0;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s var(--transition);
}

.glass:hover {
    border-color: rgba(6, 182, 212, 0.3);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s var(--transition);
}

header.scrolled {
    background: rgba(4, 7, 13, 0.85);
    backdrop-filter: blur(16px);
    height: 70px;
    border-bottom: 1px solid var(--card-border);
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

.logo-slogan {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

#desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

#desktop-nav ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s var(--transition);
}

#desktop-nav ul a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.6rem;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #04070d;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(56, 189, 248, 0.3);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--card-border);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s var(--transition);
}

.hero-content p {
    animation: fadeInUp 0.8s 0.1s var(--transition) both;
}

.hero-btns {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.2s var(--transition) both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    animation: scaleIn 1s var(--transition);
}

.hero-image {
    width: 100%;
    display: block;
    transition: transform 0.5s var(--transition);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3.5rem 2.5rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Partnership Section */
.partnership-card {
    padding: 5rem;
    border-color: rgba(6, 182, 212, 0.2);
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.partnership-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 2.5rem 0;
}

.partnership-list li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-weight: 500;
}

.partnership-quote {
    background: rgba(6, 182, 212, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--card-border);
    font-style: italic;
    color: var(--text-muted);
}

/* CTA Section */
.cta-box {
    text-align: center;
    padding: 6rem 3rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.cta-box h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--card-border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s var(--transition);
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Mobile Nav Drawer */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 1050;
    padding: 100px 2rem 2rem;
    transition: all 0.5s var(--transition);
    border-left: 1px solid var(--card-border);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav ul a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--transition);
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--transition);
}

.modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    transform: scale(0.9);
    transition: transform 0.3s var(--transition);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.modal.active .modal-content {
    transform: scale(1);
}

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

.modal-header h2 {
    font-size: 2rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s var(--transition);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

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

.form-group select {
    cursor: pointer;
}

.form-required {
    color: var(--accent-cyan);
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .partnership-card {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {

    #desktop-nav,
    .nav-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    header.scrolled {
        height: 60px;
    }

    section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .feature-card {
        padding: 2.5rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.2rem;
        margin-top: 1rem;
    }

    .logo-slogan {
        font-size: 0.65rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

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