:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #3b82f6;
    --primary-glow: #60a5fa;
    --secondary: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --card-bg: rgba(30, 41, 59, 0.5);
    --card-border: rgba(148, 163, 184, 0.1);
    --nav-height: 80px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.cta-button {
    background: var(--accent-gradient);
    padding: 10px 24px;
    border-radius: 9999px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero h1 span {
    display: block;
    margin-top: 8px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Sections General */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    display: block;
    color: var(--text-main);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.badge-active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.badge-coming {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Feature Spotlight (pCloud) */
.feature-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    background: var(--bg-darker);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 16px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary-glow);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Personas / Use Cases */
.personas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.persona-card {
    text-align: center;
    padding: 30px;
}

.persona-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 60px 20px;
    margin-top: 60px;
    background: var(--bg-darker);
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.2s;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Pages / Articles */
.page-content {
    padding-top: calc(var(--nav-height) + 60px);
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 60px;
    backdrop-filter: blur(10px);
}

.article-card h1 {
    margin-bottom: 24px;
    font-size: 2.5rem;
}

.article-card h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-glow);
}

.article-card p,
.article-card li {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.article-card ul {
    padding-left: 24px;
    margin-bottom: 24px;
}

.article-card a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
}

.article-card a:hover {
    color: var(--primary-glow);
    border-bottom-style: solid;
}

/* Language Switcher */
.lang-switch-container {
    margin-left: 20px;
}

.lang-switch {
    background: var(--bg-darker);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 99px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-switch:hover {
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-container,
    .personas {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Simplification for initial static version */
    }
}