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

html {
    scroll-behavior: smooth;
}

body {
    background: #0D1117;
    color: #DDE6EE;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
}

/* === Layout === */
.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Typography === */
a {
    color: #6EC6FF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.accent {
    color: #6EC6FF;
}

.secondary-text {
    color: #6B7A88;
}

/* === Button === */
.btn-primary {
    display: inline-block;
    background: #6EC6FF;
    color: #0D1117;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 8px;
    transition: opacity .2s;
}

.btn-primary:hover {
    opacity: .85;
    text-decoration: none;
}

/* === Top bar === */
.topbar {
    position: sticky;
    top: 0;
    background: #0D1117;
    border-bottom: 1px solid #1E2A35;
    z-index: 100;
    padding: 16px 0;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.topbar-nav {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.topbar-nav a {
    color: #DDE6EE;
    font-size: 15px;
    font-weight: 500;
}

.topbar-nav a:hover {
    color: #6EC6FF;
}

/* Hamburger button */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #DDE6EE;
    font-size: 26px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* === Footer === */
.site-footer {
    color: #6B7A88;
    border-top: 1px solid #1E2A35;
    padding: 28px 0;
    font-size: 14px;
    text-align: center;
}

/* === Homepage: Hero === */
.hero {
    padding: 64px 0 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: #6EC6FF;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero p {
    color: #6B7A88;
    font-size: 17px;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-image img {
    border-radius: 14px;
    width: 100%;
    height: auto;
}

/* === Homepage: Features === */
.features {
    padding: 48px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: #111820;
    border: 1px solid #1E2A35;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-icon {
    font-size: 28px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
}

.feature-card p {
    color: #6B7A88;
    font-size: 15px;
}

/* === Homepage: Privacy block === */
.privacy-block {
    padding: 56px 0;
    text-align: center;
}

.privacy-block h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.privacy-block > .wrap > p {
    color: #6B7A88;
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 24px;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pill {
    border: 1px solid #1E2A35;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    color: #6EC6FF;
    display: inline-block;
}

/* === Homepage: Screenshots strip === */
.screenshots {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 48px;
}

.screenshots img {
    height: 420px;
    width: auto;
    border-radius: 12px;
    flex-shrink: 0;
}

/* === Contact page === */
.page-header {
    padding: 56px 0 24px;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: #6B7A88;
    font-size: 17px;
    max-width: 600px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 56px;
}

.contact-card {
    background: #111820;
    border: 1px solid #1E2A35;
    border-radius: 12px;
    padding: 28px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-card p {
    color: #6B7A88;
    font-size: 15px;
}

.contact-email {
    color: #6EC6FF;
    font-size: 18px;
    font-weight: 600;
}

/* === Policy / Terms pages === */
.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
}

.legal-card {
    background: #111820;
    border: 1px solid #1E2A35;
    border-radius: 12px;
    padding: 28px;
}

.legal-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.legal-card p {
    color: #6B7A88;
    font-size: 15px;
}

.legal-footer-note {
    color: #6B7A88;
    font-size: 14px;
    text-align: center;
    padding-bottom: 48px;
}

.page-subtitle {
    color: #6B7A88;
    font-size: 14px;
    margin-bottom: 8px;
}

/* === Responsive: 600px === */
@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* === Responsive: 768px === */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }

    /* Show nav links, hide hamburger */
    .hamburger {
        display: none !important;
    }

    .topbar-nav {
        display: flex !important;
    }
}

/* === Responsive: below 768px — hamburger nav === */
@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    .topbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0D1117;
        border-bottom: 1px solid #1E2A35;
        padding: 16px 20px;
        gap: 16px;
    }

    .topbar-nav.open {
        display: flex;
    }

    .topbar .wrap {
        position: relative;
    }
}

/* === Responsive: 1024px === */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/* === Utility: prevent horizontal overflow === */
html, body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}
