:root {
    --bg-dark: #0b0f19;
    --bg-card: #161f38;
    --text-light: #f8fafc;
    --text-gray: #a5b6ce;
    --border-color: #24355a;

    /* Logo Gradient Palette */
    --gradient-noid: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #f43f5e 100%);
    --blue-accent: #3b82f6;
    --pink-accent: #f43f5e;
    --viola-accent: #a855f7;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-light);
    line-height: 1.6;
    background-color: var(--bg-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navbar */
header {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 45px;
    display: block;
}

.btn {
    display: inline-block;
    background: var(--gradient-noid);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 120px 0 90px 0;
    text-align: center;
    background: radial-gradient(circle at top, rgba(168, 85, 247, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    background: var(--gradient-noid);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 21px;
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

/* Layout con tabelle stabili privo di flexbox instabili per compatibilità */
.feature-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 20px;
}

.feature-cell {
    display: table-cell;
    background: var(--bg-card);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    vertical-align: top;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-cell h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-cell p {
    color: var(--text-gray);
    font-size: 15px;
}

/* How it works section */
.how-it-works {
    padding: 90px 0;
    background-color: #070a12;
}

.modes-container {
    margin-top: 40px;
}

.mode-box {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 25px;
    border-left: 6px solid var(--blue-accent);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mode-box.vault {
    border-left-color: var(--viola-accent);
}
.mode-box.attachments {
    border-left-color: var(--pink-accent);
}

.mode-box h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.mode-box p {
    color: #cbd5e1;
}

/* Privacy Callout */
.privacy-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #111827 100%);
    border-top: 1px solid var(--border-color);
}

.privacy-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.privacy-cta p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 19px;
}

.privacy-cta a.policy-link {
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
}

.privacy-cta a.policy-link:hover {
    text-decoration: underline;
}

.small {
    font-size: 90% !important;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    border-top: 1px solid var(--border-color);
    background: #070a12;
}

@media (max-width: 768px) {

    .feature-table,
    .feature-cell {
        display: block;
        width: 100%;
    }

    .feature-cell {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 38px;
    }
}
