/* Base reset-ish stuff */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at top, #1b1b3a 0, #050515 45%, #000000 100%);
    color: #f5f5ff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Page wrapper */
.apc-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HERO SECTION */
.apc-hero {
    position: relative;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at top, #3b1d82 0, #050515 50%, #000000 100%);
}

.apc-hero::before,
.apc-hero::after {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        linear-gradient(120deg, rgba(0, 198, 255, 0.14), transparent),
        linear-gradient(-130deg, rgba(255, 46, 209, 0.2), transparent);
    opacity: 0.7;
    filter: blur(40px);
    mix-blend-mode: screen;
}

.apc-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
}

.apc-hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.apc-tagline {
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    margin-bottom: 0.75rem;

    background: linear-gradient(90deg, #00eaff, #ff36d6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow:
        0 0 6px rgba(0, 198, 255, 0.8),
        0 0 14px rgba(255, 46, 209, 0.8),
        0 0 22px rgba(255, 46, 209, 0.6);

    animation: apcTaglinePulse 2.8s ease-in-out infinite;
}

.apc-title {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(3rem, 7vw, 4.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #fff;

    text-shadow:
        0 0 5px #fff,
        0 0 12px #0ff,
        0 0 24px #0ff,
        0 0 40px #f0f,
        0 0 70px #f0f;

    animation: apcFlicker 3.2s infinite;
}


.apc-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 1.75rem;
    opacity: 0.92;
}


/* stack badges + button vertically */
.apc-hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* badges no longer need row layout */
.apc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(120deg, #ff2ed1, #ffc800);
    color: #120013;
    box-shadow: 0 0 12px rgba(255, 46, 209, 0.9);
}

.apc-badge-outline {
    background: transparent;
    color: #ffb0ff;
    border: 1px solid rgba(255, 46, 209, 0.8);
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.8);
}

.apc-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #00c6ff, #ff2ed1);
    color: #050515;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow:
        0 0 16px rgba(0, 198, 255, 0.9),
        0 0 35px rgba(255, 46, 209, 0.75);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.apc-cta-button:hover {
    text-decoration: none;
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 0 22px rgba(0, 198, 255, 1),
        0 0 40px rgba(255, 46, 209, 0.9);
}

/* SECTION WRAPPERS */
.apc-section {
    padding: 3.25rem 1.5rem;
}

.apc-section-alt {
    background: radial-gradient(circle at center, rgba(22, 18, 60, 0.95), #050515 70%);
}

.apc-section-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center; /* optional if you want the whole section centred */
}


.apc-section-title {
    font-size: 1.7rem;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.96;
}

.apc-section-subtitle {
    margin: 0 0 1.8rem;
    font-size: 0.98rem;
    opacity: 0.78;
}

.apc-philosophy {
    padding: 3rem 1.5rem;
    text-align: center; /* NEW */
}


.apc-philosophy-text {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 auto 1.4rem;
    opacity: 0.92;
    max-width: 700px;
}


.apc-philosophy strong {
    color: #ff9bff;
    text-shadow: 0 0 12px rgba(255, 46, 209, 0.6);
}

.apc-philosophy em {
    color: #a6eaff;
    text-shadow: 0 0 8px rgba(0, 198, 255, 0.5);
}


/* STATUS BAR */
.apc-status {
    padding: 1.5rem 1.5rem 0.5rem;
}

.apc-status-text {
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 198, 255, 0.45);
    background: radial-gradient(circle at left, rgba(0, 198, 255, 0.18), transparent 60%);
    font-size: 0.92rem;
}

.apc-highlight {
    color: #ffb3ff;
    font-weight: 600;
}

.apc-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
}

/* 2×2 layout on tablet/desktop */
@media (min-width: 768px) {
    .apc-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.apc-card {
    position: relative;
    border-radius: 18px;
    padding: 1.1rem 1rem 1.2rem;
    background: radial-gradient(circle at top left, rgba(0, 198, 255, 0.25), rgba(5, 5, 21, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.7),
        0 0 16px rgba(0, 198, 255, 0.25);
    backdrop-filter: blur(16px);
}

.apc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.apc-pill,
.apc-time-pill {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.apc-pill {
    background: rgba(255, 46, 209, 0.2);
    border: 1px solid rgba(255, 46, 209, 0.7);
}

.apc-time-pill {
    background: rgba(0, 198, 255, 0.18);
    border: 1px solid rgba(0, 198, 255, 0.7);
}

.apc-card-title {
    font-size: 1.05rem;
    margin: 0 0 0.3rem;
}

.apc-card-text {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 0.7rem;
    opacity: 0.9;
}

.apc-card-link {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.85;
}

.apc-card-link:hover {
    opacity: 1;
}

/* CREW RULES */
.apc-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.9rem;
}

.apc-rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.4), rgba(22, 18, 60, 0.9));
}

.apc-rule-number {
    font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.15rem;
}

.apc-rule-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CONTACT */
.apc-contact {
    padding-bottom: 3.5rem;
}

.apc-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
}

@media (min-width: 720px) {
    .apc-contact-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

.apc-contact-card {
    border-radius: 16px;
    border: 1px solid rgba(0, 198, 255, 0.3);
    padding: 1rem 1.1rem;
    background: radial-gradient(circle at top left, rgba(0, 198, 255, 0.25), rgba(5, 5, 21, 0.9));
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.75);
}

.apc-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.apc-cta-secondary {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 198, 255, 0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: rgba(0, 0, 0, 0.4);
}

.apc-cta-secondary:hover {
    background: rgba(0, 198, 255, 0.1);
    text-decoration: none;
}

.apc-quick-links {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
}

.apc-quick-links li + li {
    margin-top: 0.3rem;
}

.apc-quick-links a {
    opacity: 0.85;
}

.apc-quick-links a:hover {
    opacity: 1;
}

/* FOOTER */
.apc-footer {
    margin-top: auto;
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
    font-size: 0.78rem;
    opacity: 0.7;
}

@keyframes apcFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
    }
    20%, 55% {
        opacity: 0.6;
    }
    23% {
        opacity: 0.4;
    }
}

@keyframes apcTaglinePulse {
    0%, 100% {
        opacity: 1;
        text-shadow:
            0 0 6px rgba(0, 198, 255, 0.8),
            0 0 14px rgba(255, 46, 209, 0.8),
            0 0 22px rgba(255, 46, 209, 0.6);
    }
    50% {
        opacity: 0.65;
        text-shadow:
            0 0 3px rgba(0, 198, 255, 0.5),
            0 0 8px rgba(255, 46, 209, 0.5);
    }
}
