/* assets/css/style.css */

/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #f5f5f5;
}

/* Layout core */
.page-wrap {
    position: relative;
    min-height: 100vh;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

/* Video background */
#video-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

#video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#video-bg .video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.12), transparent),
                linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.95));
}

/* Topbar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.brand .mini-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
    letter-spacing: .12em;
}

.brand strong {
    font-size: 1rem;
}

.controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Language pills */
.lang-switcher {
    display: flex;
    gap: 0.3rem;
    margin-right: 0.5rem;
}

.lang-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    text-decoration: none;
    opacity: 0.8;
    background: rgba(0,0,0,0.4);
}

.lang-pill.active {
    background: rgba(255,255,255,0.9);
    color: #111827;
    opacity: 1;
}

.lang-pill:hover {
    opacity: 1;
}

/* Theme switcher */
.theme-switcher label {
    font-size: 0.8rem;
    margin-right: 0.35rem;
    opacity: 0.8;
}

.theme-switcher select {
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.5);
    color: inherit;
}

/* Hero */
.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1 0 auto;
}

.hero-content {
    max-width: 680px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    opacity: 0.85;
    margin-bottom: 1.2rem;
}

.hero .description {
    max-width: 560px;
    font-size: 0.98rem;
    opacity: 0.9;
    margin-bottom: 1.8rem;
}

/* USP section */
.usp-section {
    margin-top: 1.2rem;
}

.usp-section ul {
    list-style: none;
    padding-left: 0;
}

.usp-section li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.92;
}

.usp-section li::before {
    content: "•";
    position: absolute;
    left: 0.3rem;
    top: 0;
    color: var(--accent, #32c0ff);
}

/* Countdown section */
.countdown-section {
    margin-top: 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    background: rgba(0,0,0,0.55);
    border: 1px solid var(--accent-soft, rgba(50,192,255,0.25));
    display: inline-block;
}

.countdown-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: 0.85;
    margin-bottom: 0.4rem;
}

.countdown-timer {
    display: flex;
    gap: 0.9rem;
}

.cd-item {
    text-align: center;
    min-width: 52px;
}

.cd-number {
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: 1.1rem;
    font-weight: 600;
}

.cd-text {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
}

.countdown-finished .cd-number {
    opacity: 0.7;
}

/* Hero meta (badge + tags + tagline) */
.hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
}

.hero-meta .badge {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.4);
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
}

.chip {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-soft, rgba(50,192,255,0.25));
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-meta .tagline {
    font-size: 0.8rem;
    opacity: 0.9;
    text-align: right;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary.small,
.btn-secondary.small {
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Footer */
.footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-links a {
    margin-left: 0.8rem;
    text-decoration: none;
    opacity: 0.85;
}

.footer-links a:hover {
    opacity: 1;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 720px;
    width: calc(100% - 2rem);
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.12);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.cookie-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-secondary {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
}

/* ---------- PROFILE ACCENT THEMES ---------- */

.profile-hosting {
    --accent: #32c0ff;
    --accent-soft: rgba(50,192,255,0.2);
}

.profile-ringana {
    --accent: #20c997;
    --accent-soft: rgba(32,201,151,0.25);
}

.profile-cyber {
    --accent: #7f5dff;
    --accent-soft: rgba(127,93,255,0.25);
}

.profile-corporate {
    --accent: #f5a623;
    --accent-soft: rgba(245,166,35,0.25);
}

.profile-comingsoon {
    --accent: #ff4f7b;
    --accent-soft: rgba(255,79,123,0.25);
}

/* Generic accent usage */
.btn-primary {
    background: var(--accent, #32c0ff);
    border-color: var(--accent, #32c0ff);
    color: #000;
}

.btn-primary:hover {
    background: #fff;
    border-color: #fff;
}

.hero h1,
.hero h2 span {
    text-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* ---------- THEME MODES (Day / Dark / Enterprise) ---------- */

.mode-light {
    color: #071018;
}

.mode-light #video-bg .video-overlay {
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(0,0,0,0.4));
}

.mode-light .page-wrap {
    color: #0c0c0c;
}

.mode-light .hero .description {
    opacity: 0.85;
}

.mode-dark {
    color: #f5f5f5;
}

.mode-enterprise {
    color: #eaeaea;
}

.mode-enterprise .btn-primary {
    background: #f5f5f5;
    border-color: #f5f5f5;
    color: #111827;
}

.mode-enterprise .badge {
    border-color: rgba(255,255,255,0.3);
}

/* Responsiveness */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-meta {
        align-items: flex-start;
        text-align: left;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner {
        border-radius: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
}
