/* =========================================================
   Elevate Streaming — SPA Stylesheet (index.html)
   Views (home / contact / privacy) are toggled by script.js
   ========================================================= */

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

html, body {
    width: 100%;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
}

a { color: inherit; }

/* ---- Brand accent color (used for hover states + CTA button) ---- */
:root {
    --accent-blue: #2098BB;
    --accent-blue-dark: #187A96;
    --header-height: 76px;
}

/* =========================================================
   NAVIGATION (shared across all pages)
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-blue);
}

.nav-links a.active-link {
    opacity: 1;
    color: var(--accent-blue);
}

.nav-cta {
    background: var(--accent-blue);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-1px);
}

/* Hamburger (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile nav ---- */
@media (max-width: 860px) {
    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(0, 0, 0, 0.97);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.active {
        max-height: 480px;
    }

    .nav-links a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        opacity: 1;
    }
}

/* =========================================================
   SPA VIEW ROUTING (home / contact / privacy)
   ========================================================= */
.view {
    display: none;
}

.view.active {
    display: block;
}

/* =========================================================
   HERO (home view)
   ========================================================= */
.hero {
    width: 100%;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: calc(var(--header-height) + 40px) 24px 60px;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 32px;
}

.eyebrow {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
    border-color: #ffffff;
    transform: translateY(-1px);
}

/* Intro strip beneath hero */
.intro-strip {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.intro-strip p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* =========================================================
   FEATURE ROWS (image + text, alternating)
   ========================================================= */
.feature-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    align-items: center;
    gap: 56px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-media {
    flex: 1 1 46%;
    min-height: 340px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    border: 1px solid #3a3a3a;
}

.feature-text {
    flex: 1 1 54%;
}

.feature-text h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.3;
    color: var(--accent-blue);
}

.feature-text p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-blue);
}

@media (max-width: 860px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
    }
    .feature-media {
        width: 100%;
        min-height: 240px;
    }
}

/* =========================================================
   PLATFORM GRID
   ========================================================= */
.platform-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.platform-intro {
    display: flex;
    align-items: center;
    gap: 56px;
    text-align: left;
    margin-bottom: 48px;
}

.platform-media {
    flex: 1 1 42%;
    min-height: 300px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    border: 1px solid #3a3a3a;
}

.platform-header {
    flex: 1 1 58%;
}

.platform-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 16px 0 18px;
    color: var(--accent-blue);
}

.platform-header p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}

@media (max-width: 860px) {
    .platform-intro {
        flex-direction: column;
        text-align: center;
    }
    .platform-media {
        width: 100%;
        min-height: 220px;
    }
    .platform-header p {
        margin: 0 auto;
    }
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.platform-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.platform-chip:hover {
    border-color: var(--accent-blue);
    background: rgba(32, 152, 187, 0.1);
}

.platform-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* =========================================================
   WHY US
   ========================================================= */
.why-us {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.why-us h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--accent-blue);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    text-align: left;
}

.why-item {
    position: relative;
    padding: 20px 20px 20px 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    line-height: 1.5;
}

.why-item::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 20px;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
    background-size: cover;
    background-position: center;
    padding: 100px 24px;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    height: 28px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* =========================================================
   UTILITY VIEWS (contact, privacy)
   ========================================================= */
.page-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 60px) 24px 100px;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
    line-height: 1.6;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-blue);
}

.content-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ---- Contact page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
}

@media (max-width: 700px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
}

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

.submit-btn {
    background: var(--accent-blue);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-1px);
}

.contact-info h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.contact-info-item strong {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
}

/* Netlify honeypot field: hidden from sighted users, still present in the DOM for bots to fill in */
.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-success {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.form-success h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--accent-blue);
}

.form-success p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}
