/* ------------------------------------------------------------
   1. VARIABLES & RESET
   ------------------------------------------------------------ */
:root {
    --bg-black: #05070d;
    --space-blue: #0b1c2d;
    --deep-violet: #1a1033;
    --neon-cyan: #00f0ff;
    --neon-violet: #bc13fe;
    --soft-white: #dfe9f3;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(0, 240, 255, 0.2);

    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--soft-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
button {
    font-family: var(--font-header);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------------------------------------
   2. UTILITIES & LAYOUT
   ------------------------------------------------------------ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

/* ------------------------------------------------------------
   3. NAVIGATION
   ------------------------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #fff, var(--neon-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.logo-tagline {
    font-family: var(--font-header);
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    opacity: 0.9;
    margin-top: 4px;
    margin-left: 2px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.nav-links .btn-primary:hover {
    color: var(--bg-black);
    text-shadow: none;
}

@keyframes flowGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-primary {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
    background: linear-gradient(270deg, rgba(0, 240, 255, 0.1), rgba(188, 19, 254, 0.25), rgba(0, 240, 255, 0.1));
    background-size: 200% 200%;
    animation: flowGradient 4s ease infinite;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--neon-cyan);
    color: var(--bg-black);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    animation: none;
}

.mobile-menu-icon {
    display: none;
}

/* ------------------------------------------------------------
   4. HERO SECTION
   ------------------------------------------------------------ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-black) 90%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

button.primary {
    padding: 1rem 2rem;
    background: linear-gradient(270deg, rgba(0, 240, 255, 0.1), rgba(188, 19, 254, 0.3), rgba(0, 240, 255, 0.1));
    background-size: 200% 200%;
    animation: flowGradient 4s ease infinite;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.6);
    background: var(--neon-cyan);
    color: var(--bg-black);
    animation: none;
}

button.secondary {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

button.secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ------------------------------------------------------------
   5. VISION / MANIFESTO
   ------------------------------------------------------------ */
.vision {
    padding: 8rem 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vision h2 {
    font-size: 2.5rem;
    color: var(--neon-violet);
    margin-bottom: 3rem;
}

.manifesto-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.manifesto {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

.highlight {
    color: #fff;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* ------------------------------------------------------------
   6. DIVISIONS (The Core)
   ------------------------------------------------------------ */
.divisions {
    padding: 6rem 0;
    background: radial-gradient(circle at 50% 10%, rgba(11, 28, 45, 0.4), transparent 60%);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.division-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.division-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
    height: 420px;
    display: flex;
    flex-direction: column;
}

.img-container {
    height: 55%;
    overflow: hidden;
}

.division-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-smooth);
}

.division-card:hover img {
    transform: scale(1.1);
}

.division-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.15);
    transform: translateY(-5px);
}

.division-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.division-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.division-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.card-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.card-btn:hover {
    border-color: var(--neon-cyan);
}

/* ------------------------------------------------------------
   7. WHY MONARCH
   ------------------------------------------------------------ */
.why-monarch {
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-monarch h2 {
    margin-bottom: 3rem;
    color: var(--soft-white);
}

.why-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.emphasis {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* ------------------------------------------------------------
   8. FOUNDER
   ------------------------------------------------------------ */
.founder {
    padding: 6rem 0;
    background: linear-gradient(90deg, transparent, rgba(26, 16, 51, 0.3), transparent);
}

.split-founder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.founder-visual {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.silhouette-glow {
    width: 150px;
    height: 150px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 0 60px 20px rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.founder-info {
    max-width: 600px;
}

.founder-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.founder-info blockquote {
    font-size: 1.3rem;
    font-style: italic;
    border-left: 4px solid var(--neon-cyan);
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------------------
   9. CONTACT & FOOTER
   ------------------------------------------------------------ */
.cta {
    padding: 8rem 0 4rem;
    text-align: center;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #aaa;
}

.glow-btn {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

.footer-legal {
    margin-top: 5rem;
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ------------------------------------------------------------
   10. ANIMATIONS & MEDIA QUERIES
   ------------------------------------------------------------ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards var(--ease-smooth);
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s var(--ease-smooth);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .manifesto {
        font-size: 1.2rem;
    }

    .split-founder {
        flex-direction: column;
        text-align: center;
    }

    .mobile-menu-icon {
        display: block;
        color: #fff;
        font-size: 1.5rem;
    }
}

/* ------------------------------------------------------------
   11. MODAL
   ------------------------------------------------------------ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 13, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--space-blue);
    border: 1px solid var(--neon-cyan);
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s var(--ease-smooth);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--soft-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--neon-cyan);
}

.modal-content h2 {
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.width-full {
    width: 100%;
    margin-top: 1rem;
}