:root {
    --primary-color: #0f172a;
    --accent-color: #0ea5e9;
    --accent-dark: #0284c7;
    --text-color: #0f172a;
    --muted-color: #64748b;
    --bg-color: #ffffff;
    --secondary-bg: #f8fafc;
    --border-color: #e2e8f0;
    --footer-bg: #f8fafc;
    --footer-text: #0f172a;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    margin: 0;
    padding: 0;
}

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

header {
    background: rgba(255, 255, 255, 0.92);
    padding: 16px 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(18px);
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ffffff;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: 40px;
    margin-right: 12px;
    border-radius: 10px;
    background: #ffffff;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

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

nav a:hover {
    color: var(--accent-dark);
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at 82% 22%, oklch(94% 0.05 196 / 0.85), transparent 22rem),
        linear-gradient(135deg, oklch(98% 0.01 245) 0%, oklch(95% 0.02 229) 58%, oklch(93% 0.04 198) 100%);
    padding: 110px 20px 84px;
    text-align: left;
    color: var(--text-color);
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(300px, 1.06fr);
    gap: clamp(34px, 6vw, 80px);
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.hero-logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    background: #ffffff;
    padding: 10px;
    box-shadow: var(--shadow-md);
    margin: 0 0 26px;
    display: block;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-dark);
    font-weight: 800;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 7vw, 6.8rem);
    line-height: 0.92;
    margin: 0 0 24px;
    color: var(--text-color);
    letter-spacing: 0;
}

.hero p {
    font-size: clamp(1.08rem, 1rem + 0.55vw, 1.35rem);
    color: var(--muted-color);
    max-width: 560px;
    margin: 0 0 30px;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-bg);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.cta-button:hover {
    background: #eef2f7;
    transform: translateY(-2px);
}

.hero-panel {
    border: 1px solid oklch(92% 0.02 220 / 0.3);
    border-radius: 10px;
    padding: clamp(18px, 3vw, 30px);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.mail-window {
    display: grid;
    gap: 14px;
    transform: rotate(1.5deg);
}

.mail-row {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 10px;
    background: oklch(98% 0.012 220);
    color: var(--text-color);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.22);
}

.mail-row span {
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.mail-row small {
    color: var(--muted-color);
}

.mail-row.trusted span {
    background: oklch(92% 0.12 148);
}

.mail-row.warning span {
    background: oklch(89% 0.14 58);
}

.mail-row.task span {
    background: oklch(90% 0.11 230);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--accent-dark);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.security-highlight {
    background: #f1f5f9;
    padding: 80px 0;
}

.security-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.security-text {
    flex: 1;
}

.security-image {
    flex: 1;
    background:
        linear-gradient(135deg, oklch(98% 0.01 220), oklch(92% 0.08 198));
    min-height: 300px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.trust-card {
    padding: 20px;
    border-radius: 10px;
    background: oklch(99% 0.012 220);
    border: 1px solid var(--border-color);
}

.trust-card span {
    display: block;
    color: var(--muted-color);
    font-size: 0.82rem;
    font-weight: 800;
}

.trust-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1.25rem;
}

.trust-arrow {
    font-size: 2rem;
    color: var(--accent-dark);
    font-weight: 900;
}

.trust-result {
    grid-column: 1 / -1;
    color: var(--muted-color);
    text-align: center;
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
}

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

/* Privacy & Support Pages */
.page-header {
    background: var(--secondary-bg);
    padding: 100px 0 40px;
    margin-bottom: 40px;
}

.content-section {
    max-width: 800px;
    margin: 0 auto 60px;
}

.content-section h2 {
    margin-top: 30px;
    color: var(--text-color);
}

.nsg-mark {
    width: min(100%, 340px);
    height: auto;
    margin: 10px 0 0;
}

details {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none; /* Hide default triangle in some browsers */
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: "+"; 
    float: right; 
    font-weight: bold;
}

details[open] summary:after {
    content: "-";
}

details p {
    margin-top: 10px;
    color: #555;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hero .container,
    .security-content {
        display: flex;
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .brand span {
        display: none;
    }

    .security-image {
        grid-template-columns: 1fr;
    }

    .trust-arrow {
        display: none;
    }
}
