:root {
    --bg: #eef3fb;
    --surface: #ffffff;
    --muted: #6b7280;
    --text: #0f172a;
    --primary: #2563eb;
    --accent: #7c3aed;
    --radius: 12px;
    --glass: rgba(255, 255, 255, 0.6);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px
}

nav {
    background: transparent;
    padding: 18px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px
}

.logo {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    letter-spacing: 0.2px
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem
}

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


header {
    background: var(--primary);
    color: #fff;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.35);
    padding: 64px 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: 28px;
}

/* Ensure header text is constrained and centered even without extra markup */
header h1 {
    font-size: clamp(1.6rem, 4.2vw, 2.6rem);
    margin: 0 16px 8px;
    text-align: center;
    font-weight: 700;
}

header p {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.28);
}

.hero {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin: 0 0 10px
}

.hero p {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.28);
    margin: 0 0 18px;
    font-size: 1rem
}

.hero-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 760px;
    margin: -8px auto 20px;
    padding: 0 16px;
}

.quick-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.quick-nav a:hover {
    background: rgba(37, 99, 235, 0.06);
}

.support-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.support-cta:hover {
    opacity: 0.95;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.main-content,
.legal-container {
    max-width: 760px;
    margin: 20px auto;
    padding: 24px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(2, 6, 23, 0.03);
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    margin-bottom: 18px;
}

.contact-card h3 {
    margin: 0 0 6px;
    color: var(--primary);
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.contact-card a:hover {
    color: var(--accent);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.feature-card {
    /* background: #f8fbff; */
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    padding: 16px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature-card p {
    margin: 0;
}

.step-list {
    margin-top: 12px;
}

.step-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.step-item:last-child {
    border-bottom: none;
}

.step-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.step-item p {
    margin: 0;
}

.highlight-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.highlight-row div {
    padding: 10px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.highlight-row strong {
    color: var(--primary);
}

.highlight-row p {
    margin: 4px 0 0;
}

.testimonial {
    margin: 12px 0 0;
    padding-left: 16px;
    border-left: 3px solid var(--primary);
    font-style: italic;
}

.testimonial footer {
    margin-top: 8px;
    font-style: normal;
    color: var(--muted);
}

.faq-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.faq-item p {
    margin: 0;
}

.legal-container h1 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text)
}

.contact-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.28);
}

.muted {
    color: var(--muted)
}

/* Social Button Styling */
.social-section {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.04)
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform .12s ease, box-shadow .12s ease
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08)
}

.linkedin {
    background: #0a66c2;
    color: white;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.28);
}

.github {
    background: #111827;
    color: white;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.28);
}

.footer-socials {
    margin-top: 12px
}

/* center footers (replaces deprecated align attribute) */
footer {
    text-align: center
}

.footer-socials a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 6px
}


/* Skip link (for keyboard users) */
.skip-link {
    position: fixed;
    left: 12px;
    top: 12px;
    background: #111827;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 9999;
    transform: translateY(-120%);
    transition: transform .18s ease;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0)
}

/* Gallery images reserve space to avoid layout shift */
.gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px
}

.footer-socials a:hover {
    color: var(--primary)
}

.back-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent);
}

/* Utility */
.text-center {
    text-align: center
}

.mb-8 {
    margin-bottom: 8px
}

/* Responsive */
@media (max-width:720px) {
    .nav-links {
        display: none
    }

    .container {
        padding: 16px
    }

    .main-content,
    .legal-container {
        padding: 16px
    }

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

    .highlight-row {
        grid-template-columns: 1fr;
    }

    header {
        padding: 48px 0
    }
}

.screenshots {
    text-align: center;
    padding: 40px 10%;

}

.gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.screenshot-item {
    width: 450px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.screenshot-item p {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
}

@media (prefers-color-scheme:dark) {
    :root {
        --bg: #071024;
        --surface: #0b1220;
        --muted: #9ca3af;
        --text: #e6eef8
    }

    header {
        background: #0f172a
    }
}