:root {
    /* Theme: Black Background, White Text */
    --bg-color: #000000;
    --text-color: #ffffff;
    --link-color: #ffffff;
    --accent-color: #bbbbbb;
    --neon-blue: rgb(92, 175, 254);
}

body,
html {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Space Mono", monospace;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Global Link Styles --- */
a {
    color: var(--link-color);
    transition: color 0.3s ease;
}

main a {
    color: var(--link-color) !important;
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.brand {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 900;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover State */
nav a:hover {
    opacity: 1;
    color: #e0f0ff;
    text-shadow:
        0 0 10px rgba(92, 175, 254, 0.8),
        0 0 20px rgba(92, 175, 254, 0.4);
    text-decoration: none;
}

/* Active State */
nav a.active {
    opacity: 1;
    color: var(--neon-blue);
    text-shadow:
        0 0 15px rgba(92, 175, 254, 0.8),
        0 0 30px rgba(92, 175, 254, 0.4);
    text-decoration: none;
}

.legal-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.legal-links nav {
    gap: 30px;
    font-size: 12px;
}

/* --- Main Layouts --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.centered-page {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content-page {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 40px;
}

/* --- Typography --- */
h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin: 0 0 20px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-color);
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
}

.hero-text {
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
}

/* --- Lists (Arrow Styling) --- */
ul {
    list-style: none;
    /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 20px;
}

li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    /* Space for the arrow */
    text-align: left;
}

/* The Arrow Element */
li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    /* UPDATED: Changed from neon-blue to White */
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* --- Footer --- */
footer {
    padding: 20px 40px;
    font-size: 12px;
    color: var(--accent-color);
    display: flex;
    justify-content: space-between;
    border-top: none;
    margin-top: auto;
}

footer a {
    color: var(--accent-color) !important;
    text-decoration: none;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    nav {
        gap: 20px;
        font-size: 12px;
    }
}

/* --- Product Page Specifics --- */
.app-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-badges img {
    height: 48px;
}

.screenshot-container {
    background: #ffecb3;
    border-radius: 30px;
    padding: 0;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.screenshot {
    width: 100%;
    max-width: 380px;
    border-radius: 28px;
    display: block;
}

/* --- Screenshot Carousel --- */
.carousel {
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.carousel-inner {
    display: flex;
    align-items: center;
    justify-content: center; /* Added to keep the carousel centered */
    width: 100%;             /* Added to span the full width of the text container */
    gap: 16px;
}

.carousel-track {
    width: 50%;              /* Changed from 200px to 50% to be half the text width */
    flex-shrink: 0;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.08);
}

.carousel-slide.active {
    display: block;
}

.carousel-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
    padding: 0;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.15s;
}

.carousel-dot.active {
    background: #fff;
}

/* --- Blogs Page --- */
.articles-hero {
    max-width: 620px;
    margin: 0 auto 48px;
}

.articles-subtitle {
    font-size: 1rem;
    color: #aaaaaa;
    line-height: 1.6;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    text-align: left;
}

.article-card {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    border-color: rgba(92, 175, 254, 0.45);
}

.article-card-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--neon-blue);
    padding: 16px 16px 0;
}

.article-card-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 12px;
}

.article-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.45;
    margin: 14px 16px 8px;
}

.article-card-excerpt {
    font-size: 0.78rem;
    color: #777777;
    line-height: 1.55;
    margin: 0 16px 14px;
    flex: 1;
}

.article-card-meta {
    display: flex;
    gap: 16px;
    padding: 10px 16px;
    font-size: 11px;
    color: #555555;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

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

/* --- Material Symbols --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 14px;
    vertical-align: middle;
    line-height: 1;
}

/* --- Blog Article --- */
.article-page {
    max-width: 720px;
    text-align: left;
    padding-top: 40px;
    align-items: flex-start;
}

.article-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    text-transform: none;
    letter-spacing: -0.01em;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.article-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-byline-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.article-byline-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.article-byline-role {
    font-size: 0.75rem;
    color: #666;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
    flex-wrap: wrap;
    width: 100%;
}

.article-meta-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.article-meta-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.article-meta-label {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.article-tag {
    font-size: 11px;
    padding: 4px 10px;
    border: 1px solid rgba(92, 175, 254, 0.35);
    border-radius: 20px;
    color: var(--neon-blue);
    white-space: nowrap;
}

.article-hero {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
    display: block;
}

.article-hero-caption {
    font-size: 12px;
    color: #555;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}

.article-body h2 {
    font-size: 1.15rem;
    margin-top: 36px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.article-body p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.8;
}

.article-body ul {
    margin-bottom: 20px;
}

.article-body li {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.7;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin: 24px 0;
}

.comparison-table th {
    text-align: left;
    padding: 10px 14px;
    background: #111;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.07em;
}

.comparison-table td {
    padding: 10px 14px;
    color: #bbb;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    line-height: 1.5;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.article-cta {
    margin-top: 40px;
    padding: 28px 24px;
    border: 1.5px solid rgb(92, 175, 254);
    border-radius: 12px;
    background: rgba(92, 175, 254, 0.1);
    text-align: center;
    box-shadow:
        0 0 20px 3px rgba(92, 175, 254, 0.6),
        inset 0 0 6px 0 rgb(4, 14, 24);
}

.article-cta p {
    margin-bottom: 16px;
    color: #ccc;
}

.article-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.article-back {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-back:hover {
    color: var(--neon-blue);
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
    }

    .article-meta-right {
        align-items: flex-start;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }
}

/* --- Beta Page Specifics --- */
.container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.container ul {
    display: inline-block;
    text-align: left;
    width: auto;
}

.back-link {
    margin-top: 30px;
    font-weight: 700;
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.back-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(92, 175, 254, 0.4);
}