/* Freehand 1.0 - Technical Minimalist Design System */

/* ==========================================================================
   RESET & SYSTEM VARIABLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #080808;            /* Rich solid off-black background */
    --text-primary: #f5f5f7;        /* Clean high-contrast off-white */
    --text-muted: #86868b;          /* Sleek restrained gray */
    --card-bg: #121212;             /* Flat dark surface */
    --card-border: #222222;         /* Thin dark border */
    --card-border-hover: #333333;   /* Highlight border */
    --accent-color: #ffffff;        /* Monochrome premium focus */
    --accent-red: #ff453a;          /* Clean system red */
    --accent-green: #30d158;        /* Clean system green */
    --transition-fast: all 0.15s ease-out;
    --border-radius-lg: 0px;        /* Sharp borders for rugged human look */
    --border-radius-md: 0px;
    --border-radius-sm: 0px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, monospace;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-color);
}



/* ==========================================================================
   CONTAINERS & INTENTIONAL TYPOGRAPHY
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
}

.small-container {
    max-width: 720px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: #ffffff;
    text-transform: none;
}

h1 {
    font-size: 3rem;           /* 48px */
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 2rem;           /* 32px */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.25rem;        /* 20px */
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1rem;           /* 16px */
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.font-gray {
    color: var(--text-muted);
}

.font-mono {
    font-family: var(--font-mono);
}

.highlight {
    color: #ffffff;
}

/* ==========================================================================
   BUTTONS & INPUT MODULES (SHARP, MONOCHROME)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: none;
    letter-spacing: -0.01em;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #ffffff;
    color: #0b0f19;
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    background-color: #f3f4f6;
    color: #0b0f19;
    border-color: #f3f4f6;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--card-border-hover);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-card {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.btn-card:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.btn-full {
    width: 100%;
}

.btn-group-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

/* Form Styles */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 580px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
    font-family: var(--font-sans);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

textarea {
    resize: vertical;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper::after {
    content: "▼";
    font-size: 0.65rem;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 70px;
}

.btn-toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-toggle-pass:hover {
    color: #ffffff;
    border-color: #8e8e93;
}

.mono-input {
    font-family: var(--font-mono) !important;
    font-size: 0.85rem !important;
}

.form-input-help {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-feedback {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    display: none;
    margin-top: 12px;
    text-align: left;
}

.form-feedback.success {
    display: block;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    background: transparent;
}

.form-feedback.error {
    display: block;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    background: transparent;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none !important;
    color: var(--text-primary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--accent-color);
}

/* ==========================================================================
   FIXED NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-fast);
}

.header-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-signature {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active-link {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 99;
    }

    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.open .bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .mobile-menu-btn.open .bar:nth-child(2) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .header-cta-wrapper {
        display: none;
    }
}

/* ==========================================================================
   VIEW CONTAINER & STRUCTURE
   ========================================================================== */
.view-container {
    min-height: 100vh;
    padding-top: 64px;
}

.view {
    display: none;
}

.view.active-view {
    display: block;
}

/* ==========================================================================
   HERO PRESENTATION BLOCK
   ========================================================================== */
.hero-section {
    padding: 120px 0;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-headline {
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-subheadline {
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.hero-form-wrapper {
    width: 100%;
    max-width: 620px;
    margin-bottom: 80px;
}

.waitlist-form .input-group {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 4px;
    border-radius: var(--border-radius-md);
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
    background-color: transparent !important;
    border: none !important;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    border-radius: 0;
    width: 100%;
    color: var(--text-primary);
}

.waitlist-form input[type="text"] {
    border-left: 1px solid var(--card-border) !important;
}

.waitlist-form input:focus {
    box-shadow: none !important;
}

.waitlist-form .btn {
    border-radius: var(--border-radius-sm);
}

@media (max-width: 680px) {
    .waitlist-form .input-group {
        display: flex;
        flex-direction: column;
        background-color: transparent;
        border: none;
        padding: 0;
        gap: 12px;
    }
    
    .waitlist-form input[type="email"],
    .waitlist-form input[type="text"] {
        background-color: var(--card-bg) !important;
        border: 1px solid var(--card-border) !important;
        border-radius: var(--border-radius-md) !important;
        padding: 14px 16px !important;
    }
    
    .waitlist-form input[type="text"] {
        border-left: none !important;
    }
    
    .waitlist-form .btn {
        width: 100%;
    }
}

.micro-copy {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 14px;
}

.micro-copy .counter {
    color: var(--text-primary);
}

/* 16:10 Technical Schematic Card */
.hero-placeholder-card {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 10;
    border-radius: var(--border-radius-lg);
    background-color: #09090a;
    border: 1px solid var(--card-border);
    padding: 24px;
    overflow: hidden;
    position: relative;
}

.card-interior {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.placeholder-text-content {
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.device-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: normal;
}

.device-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: normal;
}

/* Schematic Vector Drawings */
.device-silhouette {
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.75;
}

/* Clean, dry industrial wireframe styling */
.schematic-svg {
    width: 90%;
    height: 90%;
    stroke: #3a3a3c;
    stroke-width: 1;
    fill: none;
}

.schematic-highlight {
    stroke: #8e8e93;
}

/* ==========================================================================
   SPECIFICATIONS SECTION (CLEAN SYSTEM LAYOUTS)
   ========================================================================== */
.specs-section {
    padding: 120px 0;
    border-bottom: 1px solid var(--card-border);
}

.section-header-block {
    text-align: left;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 24px;
}

.section-title {
    margin-bottom: 8px;
}

.section-title-sm {
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Minimalist Specs Table Layout */
.specs-table-wrapper {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 60px;
    border: 1px solid var(--card-border);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
    background-color: var(--card-bg);
}

.specs-table th {
    border-bottom: 1px solid var(--card-border);
    padding: 16px 24px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.specs-table td {
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px;
    vertical-align: middle;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.specs-table tr.featured-row {
    background-color: rgba(255, 255, 255, 0.02);
}

.specs-table tr.featured-row td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-pill {
    background-color: var(--text-primary);
    color: var(--bg-color);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
}

.text-right {
    text-align: right;
}

/* Clean Vertical Features List */
.features-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--card-border);
}

.feature-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    padding: 40px 0;
    border-bottom: 1px solid var(--card-border);
    gap: 40px;
}

.feature-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-item {
        grid-template-columns: 1fr;
        padding: 30px 0;
        gap: 16px;
    }
}

/* ==========================================================================
   ROADMAP TIMELINE SECTION
   ========================================================================== */
.roadmap-section {
    padding: 120px 0;
    border-bottom: 1px solid var(--card-border);
}

.timeline-container {
    max-width: 720px;
    margin: 48px auto 0 auto;
    position: relative;
    padding-left: 28px;
}

/* Clean, non-glowing timeline line */
.timeline-container::before {
    content: "";
    position: absolute;
    left: 4.5px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background-color: var(--card-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-badge-indicator {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.glowing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.empty-dot {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border: 1px solid var(--card-border);
    border-radius: 50%;
}

.timeline-content {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: var(--transition-fast);
}

.timeline-item.active .timeline-content {
    border-color: #444448;
}

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

.milestone-number {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.status-pill {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
}

.active-pill {
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.upcoming-pill {
    border: 1px solid var(--card-border);
    color: var(--text-muted);
}

.milestone-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.milestone-desc {
    font-size: 0.92rem;
}

/* ==========================================================================
   FOLLOW THE R&D SECTION (CLEAN TEXT-BASED GRID)
   ========================================================================== */
.follow-section {
    padding: 120px 0;
    background: transparent;
}

/* Minimalist Staggered Social List */
.social-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--card-border);
    margin-top: 40px;
}

.social-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--card-border);
    gap: 32px;
}

.social-row-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-grow: 1;
}

.social-row-icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.social-row-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.social-row-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.social-row-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.5;
}

.social-row-right {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.social-row-stat {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .social-row-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 0;
    }
    
    .social-row-left {
        align-items: flex-start;
    }
    
    .social-row-right {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
}

/* ==========================================================================
   SUBPAGE VIEWPORTS
   ========================================================================== */
.subpage-section {
    padding: 120px 0;
}

.subpage-header {
    margin-bottom: 48px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 24px;
}

.subpage-tag {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    display: inline-block;
    margin-bottom: 8px;
}

.subpage-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.subpage-description {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 600px;
}

.form-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 32px;
}

.form-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.form-card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.form-card-header .form-card-title {
    margin-bottom: 0;
}

.support-sla-badge {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--card-border);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    font-weight: 600;
}

.margin-top-lg {
    margin-top: 48px;
}

/* ==========================================================================
   COMMUNITY DISCUSSIONS FEED
   ========================================================================== */
.feed-section {
    margin-top: 48px;
    text-align: left;
}

.feed-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 8px;
}

.feed-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-placeholder {
    padding: 24px;
    background-color: transparent;
    border: 1px dashed var(--card-border);
    border-radius: var(--border-radius-md);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.8rem;
}

.community-post-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
}

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

.post-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar-stub {
    width: 24px;
    height: 24px;
    background-color: #222225;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.7rem;
}

.post-username {
    font-size: 0.9rem;
    font-weight: 600;
}

.post-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
}

.post-tag {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 2px;
}

.post-message {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #e5e5e7;
}

/* ==========================================================================
   SUPPORT ACCORDIONS (FAQ)
   ========================================================================== */
.faq-container {
    text-align: left;
}

.faq-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    margin-bottom: 8px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-card:hover {
    border-color: var(--card-border-hover);
}

.faq-header {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
    color: var(--text-muted);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.85s cubic-bezier(0.19, 1, 0.22, 1), padding 0.85s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 0 20px;
}

.faq-card.open .faq-body {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq-card.open .faq-icon {
    transform: rotate(45deg);
    color: #ffffff;
}

.faq-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   ADMIN PORTAL VIEW
   ========================================================================== */
.admin-tag {
    color: var(--accent-red) !important;
    border: 1px solid rgba(255, 69, 58, 0.2);
    background-color: transparent;
    padding: 2px 6px;
    border-radius: 2px;
}

.admin-grid-top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 992px) {
    .admin-grid-top {
        grid-template-columns: 1fr;
    }
}

.admin-stats-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-section-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 8px;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-box {
    background-color: #000000;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 14px 10px;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.stat-lbl {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-muted);
}

.status-connected {
    color: var(--accent-green);
}

.status-connected.offline {
    color: var(--accent-red);
}

.logs-console-card {
    background-color: #000000;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    flex-grow: 1;
}

.console-header {
    background-color: #09090a;
    border-bottom: 1px solid var(--card-border);
    padding: 8px 12px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.console-pulse {
    width: 5px;
    height: 5px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.console-body {
    padding: 12px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    max-height: 120px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.console-row {
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--text-muted);
}

.admin-data-section {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 20px;
    gap: 12px;
}

.tab-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: normal;
    position: relative;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: #ffffff;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.table-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

.admin-table th {
    border-bottom: 1px solid var(--card-border);
    padding: 10px 12px;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.admin-table td {
    border-bottom: 1px solid #141416;
    padding: 12px;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.btn-table-action {
    background-color: transparent;
    color: var(--accent-red);
    border: 1px solid var(--card-border);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-table-action:hover {
    background-color: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
}

/* ==========================================================================
   CORPORATE FOOTER
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--card-border);
    background-color: #000000;
    padding: 60px 0 40px 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
    text-align: left;
}

.brand-motto {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.links-title {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.footer-links-group a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.85rem;
}

.footer-links-group a:hover {
    color: #ffffff;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: var(--card-border);
    margin-bottom: 24px;
}

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

.copyright-text {
    font-size: 0.78rem;
    text-align: left;
}

.social-channels {
    display: flex;
    gap: 20px;
}

.social-channels a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    transition: var(--transition-fast);
}

.social-channels a:hover {
    color: #ffffff;
}

/* ==========================================================================
   SCROLL TRIGGERS & ANIMATIONS (DISABLED TRANSFORMS FOR STABILITY)
   ========================================================================== */
.animate-on-scroll {
    opacity: 1; /* Fully visible immediately to prevent AI stutter vibes */
}
