/* assets/css/zenith.css */

/* ============== Root & Global ============== */
:root {
    --zn-bg-main: #05040b;
    --zn-bg-panel: #111320;
    --zn-bg-panel-soft: rgba(14, 18, 34, 0.9);
    --zn-accent-gold: #f3d57c;
    --zn-accent-gold-soft: rgba(243, 213, 124, 0.18);
    --zn-accent-sky: #83b9ff;
    --zn-accent-coral: #ff6e83;
    --zn-text-main: #f8f7ff;
    --zn-text-muted: #a4a6c2;
    --zn-border-soft: rgba(255, 255, 255, 0.12);
    --zn-radius-lg: 20px;
    --zn-radius-md: 14px;
    --zn-shadow-soft: 0 0 25px rgba(0, 0, 0, 0.6);
    --zn-shadow-glow: 0 0 28px rgba(243, 213, 124, 0.35);
}

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

body.zn-body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--zn-text-main);
    background:
        radial-gradient(circle at top, #2b2140 0, transparent 40%),
        radial-gradient(circle at bottom, #11151f 0, #05040b 60%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============== Layout ============== */
.zn-main {
    flex: 1 0 auto;
    max-width: 1100px;
    margin: 2rem auto 2.5rem;
    padding: 0 1.1rem;
}

.zn-main-narrow {
    max-width: 800px;
}

/* ============== Header ============== */
.zn-header {
    border-bottom: 1px solid rgba(243, 213, 124, 0.25);
    background: linear-gradient(
        to bottom,
        rgba(10, 6, 26, 0.9),
        rgba(10, 6, 26, 0.75)
    );
    backdrop-filter: blur(22px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.zn-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.7rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.zn-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--zn-text-main);
}

.zn-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffffff 0, #f3d57c 35%, #12121c 80%);
    box-shadow: var(--zn-shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zn-brand-logo img {
    width: 28px;
    height: auto;
    display: block;
}

.zn-brand-text {
    display: flex;
    flex-direction: column;
}

.zn-brand-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.zn-brand-tagline {
    font-size: 0.7rem;
    color: var(--zn-text-muted);
}

.zn-nav {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.zn-nav a {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 213, 124, 0.3);
    color: var(--zn-text-main);
    text-decoration: none;
    background: linear-gradient(
        135deg,
        rgba(243, 213, 124, 0.14),
        rgba(131, 185, 255, 0.09)
    );
}

.zn-nav a:hover {
    border-color: var(--zn-accent-sky);
    box-shadow: 0 0 18px rgba(131, 185, 255, 0.4);
}

/* ============== Cards & Typography ============== */
.zn-card {
    background: radial-gradient(circle at top, #1e2236 0, #101221 55%);
    border-radius: var(--zn-radius-lg);
    padding: 1.8rem 1.6rem;
    border: 1px solid var(--zn-border-soft);
    box-shadow: var(--zn-shadow-soft);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.4rem;
}

.zn-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(243, 213, 124, 0.14), transparent 55%);
    opacity: 0.65;
    pointer-events: none;
}

.zn-card-inner {
    position: relative;
    z-index: 1;
}

.zn-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
}

@media (max-width: 880px) {
    .zn-hero {
        grid-template-columns: 1fr;
    }
}

h1 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.6rem;
}

h2 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
    color: var(--zn-accent-gold);
}

.zn-subtitle {
    font-size: 0.9rem;
    color: var(--zn-text-muted);
    margin-bottom: 1.2rem;
}

.zn-section-title-small {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--zn-text-muted);
    margin-bottom: 0.45rem;
}

/* ============== Buttons ============== */

.zn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: linear-gradient(135deg, var(--zn-accent-gold), var(--zn-accent-sky));
    color: #050409;
    box-shadow: 0 0 22px rgba(243, 213, 124, 0.55);
    text-decoration: none;
}

.zn-btn:hover {
    transform: translateY(-1px);
}

.zn-btn-secondary {
    background: transparent;
    color: var(--zn-accent-sky);
    border: 1px solid rgba(131, 185, 255, 0.7);
    box-shadow: none;
}

/* ============== Feature Grid ============== */

.zn-feature-grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.8rem;
}

@media (min-width: 820px) {
    .zn-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.zn-feature-card {
    background: rgba(10, 12, 24, 0.96);
    border-radius: var(--zn-radius-md);
    border: 1px solid var(--zn-border-soft);
    padding: 0.9rem 0.95rem;
    font-size: 0.85rem;
}

.zn-feature-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.25rem;
    color: var(--zn-accent-gold);
}

.zn-feature-meta {
    font-size: 0.75rem;
    color: var(--zn-text-muted);
    margin-bottom: 0.3rem;
}

/* ============== Forms ============== */

.zn-form {
    margin-top: 0.8rem;
}

.zn-form-row {
    margin-bottom: 0.9rem;
}

.zn-form-row label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.zn-form-row input[type="text"],
.zn-form-row input[type="email"],
.zn-form-row textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(8, 10, 22, 0.95);
    color: var(--zn-text-main);
    font-size: 0.85rem;
}

.zn-form-row textarea {
    border-radius: 14px;
    min-height: 120px;
    resize: vertical;
}

.zn-form-row input:focus,
.zn-form-row textarea:focus {
    outline: none;
    border-color: var(--zn-accent-gold);
    box-shadow: 0 0 18px rgba(243, 213, 124, 0.5);
}

/* Alerts */

.zn-alert {
    font-size: 0.82rem;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.9rem;
    border: 1px solid transparent;
}

.zn-alert-success {
    background: rgba(144, 238, 144, 0.06);
    border-color: rgba(144, 238, 144, 0.55);
    color: #d2ffd2;
}

.zn-alert-error {
    background: rgba(255, 120, 120, 0.07);
    border-color: rgba(255, 120, 120, 0.6);
    color: #ffd2d2;
}

/* ============== Log Table ============== */

.zn-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.zn-log-table th,
.zn-log-table td {
    padding: 0.45rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: top;
}

.zn-log-table th {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--zn-text-muted);
}

/* ============== Footer ============== */

.zn-footer {
    border-top: 1px solid rgba(243, 213, 124, 0.25);
    background: rgba(7, 6, 17, 0.95);
    padding: 0.8rem 1.1rem;
    margin-top: auto;
}

.zn-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--zn-text-muted);
}

.zn-footer-meta {
    opacity: 0.85;
}
