*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #040716;
    --bg-elevated: #0b1025;
    --bg-soft: #101631;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --accent-yellow: #ffc94a;
    --accent-blue: #2f8cff;
    --accent-blue-soft: rgba(47, 140, 255, 0.14);
    --accent-yellow-soft: rgba(255, 201, 74, 0.12);
    --text-main: #f5f7ff;
    --text-muted: #a2acc8;
    --text-soft: #7f88a4;
    --danger: #ff6b6b;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.36);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 999px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: radial-gradient(circle at top left, #11193a, #040716 60%);
    color: var(--text-main);
    line-height: 1.6;
}

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

a {
    color: var(--accent-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(4, 7, 22, 0.94), rgba(4, 7, 22, 0.78));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0.5rem;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-main);
}

.brand-tagline {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.nav {
    display: flex;
    gap: 1.4rem;
    font-size: 0.9rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.15rem;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-yellow));
    transition: width 0.18s ease-out;
}

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

.nav a:hover::after {
    width: 100%;
}

.hero {
    padding: 3.4rem 0 2.6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    line-height: 1.15;
    margin: 0 0 1.1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    margin: 0 0 1.4rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 34rem;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    gap: 0.5rem;
}

.hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, var(--accent-yellow), #f3a623);
    margin-top: 0.35rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--accent-blue-soft), rgba(255, 255, 255, 0.02));
    color: var(--text-main);
    border: 1px solid rgba(47, 140, 255, 0.32);
}

.pill-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-muted);
}

.hero-preview {
    max-width: 360px;
    justify-self: center;
}

.device-frame {
    background: radial-gradient(circle at top, #1d2a5a, #050716);
    border-radius: 32px;
    padding: 1.1rem 0.9rem 1.1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-header {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
    padding: 0 0.25rem;
}

.device-indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.device-body {
    background: linear-gradient(160deg, #0c1227, #070c1b);
    border-radius: 26px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-card {
    background: radial-gradient(circle at top left, var(--bg-soft), #050716);
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-card h2 {
    font-size: 1.02rem;
    margin: 0 0 0.8rem;
}

.device-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.stat {
    background: rgba(3, 7, 26, 0.9);
    border-radius: 14px;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-soft);
}

.stat-value {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent-yellow);
}

.device-list {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.device-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    padding: 0.35rem 0.55rem;
    border-radius: 12px;
    background: rgba(9, 16, 39, 0.9);
}

.row-label {
    color: var(--text-soft);
}

.row-status {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
}

.status-good {
    background: rgba(53, 199, 89, 0.16);
    color: #96f5b0;
}

.status-pending {
    background: var(--accent-blue-soft);
    color: #d4e4ff;
}

.status-alert {
    background: rgba(255, 107, 107, 0.16);
    color: var(--danger);
}

.device-footer {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    color: var(--text-soft);
    text-align: center;
}

.feature-strip {
    padding: 1.8rem 0 2.4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.feature-card {
    background: radial-gradient(circle at top left, rgba(255, 201, 74, 0.05), rgba(47, 140, 255, 0.03));
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-subtle);
}

.feature-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.section-heading {
    margin-bottom: 1.2rem;
}

.section-heading h2 {
    margin: 0 0 0.2rem;
    font-size: 1.4rem;
}

.section-subtitle {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
}

.privacy {
    padding: 2.6rem 0 2.4rem;
    background: radial-gradient(circle at top right, #101631, #040716 62%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.policy-body {
    background: rgba(4, 7, 22, 0.72);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    font-size: 0.9rem;
    color: var(--text-soft);
}

.policy-body h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    color: var(--text-main);
}

.policy-body h4 {
    margin-top: 1.2rem;
    margin-bottom: 0.3rem;
    font-size: 0.96rem;
    color: var(--text-main);
}

.policy-body p {
    margin: 0 0 0.7rem;
}

.policy-body ul {
    margin: 0 0 0.7rem 1.1rem;
    padding: 0;
}

.policy-body li {
    margin-bottom: 0.35rem;
}

.contact {
    padding: 2.4rem 0 2.6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr);
    gap: 1.5rem;
}

.support-form {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.1rem 1.3rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.6rem;
}

.support-form label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.support-form textarea,
.support-form input {
    width: 100%;
    margin-top: 0.2rem;
    background: #050919;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 0.7rem;
    font: inherit;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.support-form textarea::placeholder,
.support-form input::placeholder {
    color: #5c6686;
}

.support-form textarea:focus,
.support-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue-soft);
    background: #050b1f;
}

.btn-primary {
    margin-top: 0.3rem;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow));
    color: #020308;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.55);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: default;
    box-shadow: none;
}

.form-status {
    min-height: 1.1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.contact-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
}

.contact-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--text-soft);
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
    color: var(--text-main);
}

.contact-card-outline {
    background: rgba(7, 12, 32, 0.9);
    border-style: dashed;
}

.contact-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0 1.6rem;
    background: #030511;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.footer-inner a {
    color: var(--text-muted);
}

.footer-inner a:hover {
    color: var(--text-main);
}

@media (min-width: 720px) {
    .hero {
        padding-top: 3.8rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    }

    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
        align-items: flex-start;
    }

    .contact-content {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .nav {
        font-size: 0.82rem;
        gap: 0.9rem;
    }

    .supported-form {
        padding: 1.1rem 1rem;
    }
}
