/* ================================================
   IBO Player — Global Design System
   Dark Theme | Red Accent | Inter Font
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── Color Variables ── */
:root {
    --red: #cc0000;
    --red-hover: #ff1a1a;
    --red-dark: #990000;
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-dark: #111111;
    --panel: #1a1a1a;
    --border: rgba(255,255,255,0.08);
    --white: #ffffff;
    --gray: #999999;
    --light-gray: #cccccc;
    --input-bg: rgba(255,255,255,0.04);
    --input-border: rgba(255,255,255,0.25);
    --input-border-focus: #cc0000;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-red { color: var(--red); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }
.fw-300 { font-weight: 300; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.nav-logo .logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    display: none;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

/* Nav Brand (right) */
.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ibodev-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.ibodev-logo span {
    font-weight: 400;
    color: var(--gray);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ══════════════════════════════════════════════
   HERO — HOME
══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    padding-top: 64px;
    position: relative;
    display: flex;
    align-items: center;
    background: #0a0a0a;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 70% 50%, rgba(180,0,0,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(180,0,0,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    background: rgba(204,0,0,0.12);
    border: 1px solid rgba(204,0,0,0.3);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--red);
}

.hero p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 13px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204,0,0,0.35);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.92rem;
}

.btn-full {
    width: 100%;
}

/* ── Hero visual ── */
.hero-visual {
    position: absolute;
    right: -6%;
    top: 50%;
    transform: translateY(-50%);
    width: 52%;
    opacity: 0.9;
    z-index: 1;
}

.hero-tv {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
}

.hero-tv img { width: 100%; }

.hero-tv-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    max-width: 560px;
    line-height: 1.7;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 12px;
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

/* ── Section Dark ── */
.bg-dark-section {
    background: #0d0d0d;
}

.bg-darker-section {
    background: #0a0a0a;
}

/* ══════════════════════════════════════════════
   DEVICE BRAND LOGOS ROW
══════════════════════════════════════════════ */
.brands-section {
    padding: 32px 0;
    background: #111111;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brands-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.brand-item:hover { color: rgba(255,255,255,0.7); }

.brand-item svg {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.brand-item:hover svg { opacity: 0.8; }

/* ══════════════════════════════════════════════
   FEATURE GRID
══════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.feature-card:hover {
    border-color: rgba(204,0,0,0.3);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(204,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--red);
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════
   STREAMING SECTION / SCREENSHOTS
══════════════════════════════════════════════ */
.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.screen-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screen-card .screen-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #222222 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--gray);
    font-size: 0.82rem;
}

.screen-card .play-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════
   PARTNER APPS
══════════════════════════════════════════════ */
.partners-section {
    background: #111111;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 36px;
}

.partner-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1c1c1c;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-gray);
    transition: border-color 0.2s, background 0.2s;
}

.partner-chip:hover {
    border-color: rgba(204,0,0,0.3);
    background: #222;
}

.partner-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ══════════════════════════════════════════════
   SPLIT FEATURE SECTIONS
══════════════════════════════════════════════ */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse > * {
    direction: ltr;
}

.split-content .badge-red {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--red);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.split-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: 16px;
    line-height: 1.25;
}

.split-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.75;
}

.split-image {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-list {
    margin-top: 40px;
    max-width: 760px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s;
    gap: 20px;
}

.faq-question:hover {
    color: var(--red);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.faq-item.open .faq-icon {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, #1a0000 0%, #0d0d0d 50%, #1a0000 100%);
    border-top: 1px solid rgba(204,0,0,0.2);
    border-bottom: 1px solid rgba(204,0,0,0.2);
    text-align: center;
    padding: 88px 0;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
    background: #080808;
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-contact a:hover { color: var(--white); }

.footer-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-divider-v {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 1rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray);
}

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

.footer-links a {
    font-size: 0.82rem;
    color: var(--gray);
    transition: color 0.2s;
}

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

.footer-links span {
    color: var(--border);
}

/* ══════════════════════════════════════════════
   ACTIVATE / FORM PAGES (Split Layout)
══════════════════════════════════════════════ */
.page-hero {
    padding-top: 64px;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-banner {
    background: #0d0d0d;
    padding: 52px 0 40px;
    border-bottom: 1px solid var(--border);
}

.hero-banner h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.hero-banner p {
    color: var(--gray);
    font-size: 0.97rem;
}

.split-form-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 480px 1fr;
    min-height: 580px;
}

.form-panel {
    background: #0f0f0f;
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-logos {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.form-logo-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1c1c1c;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
}

.form-logo-icon svg {
    width: 18px;
    height: 18px;
}

.form-panel h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.3;
}

/* Form inputs — underline style */
.form-group {
    width: 100%;
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.97rem;
    font-family: 'Inter', sans-serif;
    padding: 10px 0;
    outline: none;
    transition: border-color 0.25s;
}

.form-input::placeholder {
    color: rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.form-input:focus {
    border-bottom-color: var(--red);
}

/* Captcha */
.captcha-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-block;
    margin-bottom: 4px;
}

.captcha-box img {
    border-radius: 4px;
    height: 50px;
}

.captcha-refresh {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    display: inline-block;
    margin-top: 4px;
    transition: color 0.2s;
}

.captcha-refresh:hover { color: var(--white); }

.form-error {
    font-size: 0.82rem;
    color: #ff6b6b;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(255,60,60,0.08);
    border: 1px solid rgba(255,60,60,0.2);
    border-radius: 8px;
}

.form-success {
    font-size: 0.82rem;
    color: #6bffb8;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(60,255,150,0.06);
    border: 1px solid rgba(60,255,150,0.2);
    border-radius: 8px;
}

/* Photo panel on form pages */
.photo-panel {
    position: relative;
    overflow: hidden;
}

.photo-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) brightness(0.6);
}

.photo-panel .photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,10,10,0.5) 0%, transparent 40%);
}

/* ══════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════ */
.dashboard-header {
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-mac {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mac-badge {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 100px;
}

.status-badge.active { background: rgba(40,200,100,0.15); color: #4ade80; border: 1px solid rgba(40,200,100,0.3); }
.status-badge.trial { background: rgba(250,200,0,0.12); color: #fbbf24; border: 1px solid rgba(250,200,0,0.3); }
.status-badge.expired { background: rgba(200,40,40,0.12); color: #f87171; border: 1px solid rgba(200,40,40,0.3); }
.status-badge.banned { background: rgba(100,100,100,0.12); color: #9ca3af; border: 1px solid rgba(100,100,100,0.3); }

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.playlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s, transform 0.2s;
}

.playlist-card:hover {
    border-color: rgba(204,0,0,0.3);
    transform: translateY(-3px);
}

.playlist-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--red);
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.playlist-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.playlist-detail {
    font-size: 0.8rem;
    color: var(--gray);
    word-break: break-all;
    line-height: 1.5;
}

.playlist-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.btn-delete {
    font-size: 0.78rem;
    font-weight: 600;
    color: #f87171;
    background: rgba(200,40,40,0.08);
    border: 1px solid rgba(200,40,40,0.2);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-delete:hover {
    background: rgba(200,40,40,0.2);
    border-color: rgba(200,40,40,0.5);
}

.btn-edit {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.btn-edit:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.add-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--bg-card);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 16px;
    color: var(--gray);
}

.empty-state svg {
    margin: 0 auto 16px;
    opacity: 0.3;
}

/* ══════════════════════════════════════════════
   DOWNLOADS PAGE
══════════════════════════════════════════════ */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.download-card:hover {
    border-color: rgba(204,0,0,0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.download-card .device-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.download-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.download-card p {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════
   CONTACT / SUPPORT
══════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.contact-info-card:hover {
    border-color: rgba(204,0,0,0.3);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(204,0,0,0.1);
    border: 1px solid rgba(204,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-card p, .contact-info-card a {
    font-size: 0.85rem;
    color: var(--gray);
    transition: color 0.2s;
}

.contact-info-card a:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   LEGAL / TUTORIALS
══════════════════════════════════════════════ */
.content-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 80px 24px;
}

.content-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 8px;
}

.content-page .lead {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 48px;
    line-height: 1.7;
}

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

.content-block h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.content-block p {
    font-size: 0.93rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.content-block ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--gray);
    font-size: 0.93rem;
    line-height: 1.8;
}

/* Tutorial steps */
.tutorial-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; }
    .split-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .split-section.reverse { direction: ltr; }
    .screens-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .split-form-layout {
        grid-template-columns: 1fr;
    }
    .photo-panel { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(16px);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .nav-toggle { display: flex; }
    .screens-grid { grid-template-columns: 1fr; }
    .brands-row { gap: 20px; }
    .form-panel { padding: 32px 24px; }
    .footer-main { flex-direction: column; text-align: center; }
    .footer-logos { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Scroll top ── */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(204,0,0,0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--red-hover);
    transform: translateY(-3px);
}
