:root {
    --bg-dark: #0f1219;
    /* Deep space blue/black */
    --bg-gradient-start: #1e2532;
    --bg-gradient-end: #0a0b10;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-purple: #c084fc;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(23, 23, 28, 0.6);
    --font-main: 'Inter', system-ui, sans-serif;
    --card-radius: 20px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    height: 100vh;
    overflow: hidden;
    /* Prevent scroll for the single page app feel */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Background Canvas */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/network-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.background-container canvas {
    display: none;
}

/* Main Glass Card */
.main-card {
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    background: rgba(23, 23, 28, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding: 2rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Header */
header {
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    flex: 1;
    align-items: center;
}

/* Left Column */
.info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.text-block h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-block .subtitle {
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 300;
    margin-bottom: 4rem;
}

.features-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: space-between;
}

.feature-item {
    flex: 1;
}

.feature-item h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.downloads-row {
    display: flex;
    gap: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.6rem;
    border-radius: 99px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn i {
    font-size: 1.1rem;
}

.btn-linux {
    border-color: #a855f7;
}

.btn-mac {
    border-color: #f59e0b;
}

/* Orange/Gold tint per mockup style */
.btn-win {
    border-color: #0ea5e9;
}

/* Cyan tint */

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Right Column - Visual */
.visual-column {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.app-window {
    width: 100%;
    aspect-ratio: 16/10;
    background: #1e1e24;
    border-radius: 12px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* inner stroke */
    transform: rotateY(-12deg) rotateX(6deg) scale(0.95);
    transition: transform 0.1s ease-out;
    /* Direct mapping */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.window-header {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.window-header .title {
    margin-left: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.window-content {
    flex: 1;
    display: flex;
    padding: 10px;
    gap: 10px;
}

/* Simulated UI for placeholder */
.ui-sidebar {
    width: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.ui-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.ui-main {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px;
}

.kanban-cols {
    display: flex;
    gap: 10px;
    height: 100%;
}

.col {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    height: 80%;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

footer span a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

footer span a:hover {
    color: #fff;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.socials a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-card {
        height: auto;
        min-height: 90vh;
        padding: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visual-column {
        order: -1;
        /* Image on top on mobile? adjust as needed */
    }

    .features-row {
        flex-wrap: wrap;
    }

    .downloads-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-column {
        text-align: center;
    }

    .app-window {
        transform: none !important;
        /* Disable tilt on mobile */
    }
}

/* Mobile Specific (Phones) */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        /* Allow scrolling */
        height: auto;
        display: block;
        /* Remove flex centering constraint */
    }

    .main-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        border: none;
        margin: 0;
        padding: 1.5rem;
        background: rgba(23, 23, 28, 0.85);
        /* Darker background for readability */
    }

    .text-block h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        text-align: center;
    }

    .text-block .subtitle {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .logo {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .content-grid {
        gap: 2.5rem;
        padding-bottom: 2rem;
    }

    .downloads-row {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .feature-item {
        margin-bottom: 1rem;
        text-align: center;
    }

    .features-row {
        gap: 1rem;
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding-bottom: 2rem;
    }
}

/* Privacy Page */
.privacy-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem;
    /* Custom Scrollbar for Webkit */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.privacy-container::-webkit-scrollbar {
    width: 6px;
}

.privacy-container::-webkit-scrollbar-track {
    background: transparent;
}

.privacy-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.privacy-content {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 4rem;
    font-weight: 300;
}

.privacy-content h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-align: center;
}

.privacy-content .last-updated {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4rem;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section styling */
.privacy-content h2 {
    color: #fff;
    margin-top: 5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.privacy-content h3 {
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.privacy-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.privacy-content ul {
    margin-bottom: 2rem;
    padding-left: 0;
    list-style: none;
}

.privacy-content li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.privacy-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.privacy-content strong {
    color: var(--text-main);
    font-weight: 600;
}

.privacy-content a {
    color: var(--accent-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.privacy-content a:hover {
    color: #fff;
    border-bottom-color: var(--accent-blue);
    text-decoration: none;
}