@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #060814;
    --surface: #101828;
    --surface-soft: #17233d;
    --surface-strong: #111b2f;
    --text: #f8fbff;
    --muted: #9ca8c7;
    --accent: #4f8bff;
    --accent-strong: #6897ff;
    --success: #34d399;
    --danger: #f97316;
    --border: rgba(148, 163, 184, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, rgba(79, 139, 255, 0.14), transparent 24%),
                linear-gradient(180deg, #050812 0%, #07101f 100%);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header,
.admin-header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 8, 18, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header--small {
    padding: 16px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.auth-page,
.account-page {
    padding: 72px 0;
}

.auth-card,
.account-card {
    max-width: 540px;
    margin: 0 auto;
}

.auth-card h1,
.account-card h1 {
    margin-top: 10px;
    letter-spacing: -0.02em;
}

.auth-form input,
.auth-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-radius: 16px;
    padding: 16px 18px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus,
.auth-form textarea:focus {
    border-color: rgba(79, 139, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(79, 139, 255, 0.12);
}

.auth-note {
    margin-top: 22px;
    color: var(--muted);
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

nav a {
    margin-left: 20px;
    color: var(--muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.hero {
    padding: 88px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.hero-grid--reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 4vw, 4.4rem);
    line-height: 1.03;
    margin: 0 0 22px;
}

.hero-copy p {
    max-width: 640px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 28px;
}

.hero-card,
.hero-feature-card,
.auth-card,
.account-card,
.product-detail,
.thankyou-card,
.admin-card,
.admin-login-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 36px;
    box-shadow: 0 42px 90px rgba(0, 0, 0, 0.18);
}

.hero-feature-card {
    border-radius: 28px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-card__eyebrow {
    display: inline-flex;
    color: #94c7ff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

.hero-feature-card h2,
.account-hero h1,
.section-header h2,
.product-detail h1,
.auth-card h1,
.thankyou-card h1 {
    font-size: 2.1rem;
    margin: 10px 0 0;
}

.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.hero-feature-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.hero-feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.section-light {
    background: rgba(15, 23, 42, 0.96);
    padding: 64px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-header {
    margin-bottom: 32px;
}

.section-header p {
    color: var(--muted);
    max-width: 640px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    padding: 36px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card--featured {
    border-color: rgba(79, 139, 255, 0.36);
    background: linear-gradient(180deg, rgba(79, 139, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.pricing-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(79, 139, 255, 0.18), transparent 42%);
    pointer-events: none;
}

.pricing-badge {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5b8cff, #8c70ff);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.pricing-card__header h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
}

.pricing-card__header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.pricing-card__price {
    margin: 28px 0 20px;
}

.pricing-card__price span {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    font-size: 3rem;
    font-weight: 700;
}

.pricing-card__price small {
    font-size: 1rem;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 14px;
}

.pricing-features li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    line-height: 1.7;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
}

.btn-block {
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}

.product-card-top {
    margin-bottom: 20px;
}

.product-card h3 {
    margin: 14px 0 12px;
    font-size: 1.4rem;
}

.product-card p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 25px;
}

.badge {
    display: inline-flex;
    padding: 10px 16px;
    background: rgba(79, 139, 255, 0.14);
    color: #cfe2ff;
    border-radius: 999px;
    font-size: 0.82rem;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    box-shadow: 0 18px 35px rgba(79, 139, 255, 0.28);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--text);
}

.btn-small {
    padding: 12px 20px;
}

.site-footer {
    padding: 26px 0;
}

.footer-inner {
    color: var(--muted);
}

.product-page,
.thankyou-page,
.account-page,
.auth-page,
.admin-list-page,
.admin-form-page {
    padding-bottom: 80px;
}

.product-detail,
.thankyou-card,
.admin-card,
.admin-login-card,
.auth-card,
.account-card {
    margin-top: 24px;
}

.product-page .product-detail,
.thankyou-card,
.auth-card,
.account-card {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    color: var(--muted);
}

.product-specs li {
    margin-bottom: 12px;
}

.customer-info-box {
    background: rgba(79, 139, 255, 0.08);
    border: 1px solid rgba(79, 139, 255, 0.18);
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 16px;
    color: #e7f0ff;
}

.customer-info-box span {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.customer-info-box strong {
    font-size: 1rem;
}

.checkout-form,
.auth-form,
.form-grid {
    display: grid;
    gap: 18px;
}

.checkout-form input,
form input,
form textarea,
.auth-form input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255,255,255,0.05);
    color: var(--text);
    border-radius: 16px;
    padding: 16px 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 600;
}

.note,
.auth-note {
    margin-top: 22px;
    color: var(--muted);
}

.auth-page,
.account-page {
    padding: 72px 0;
}

.auth-card,
.account-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
}

.auth-note {
    margin-top: 20px;
    color: var(--muted);
}

.alert {
    padding: 18px 20px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.alert-danger {
    background: rgba(249, 115, 22, 0.12);
    color: #ffd6bf;
}

.alert-success {
    background: rgba(52, 211, 153, 0.12);
    color: #d1fae5;
}

.admin-list-header,
.admin-actions,
.account-orders {
    margin-top: 32px;
}

.admin-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 22px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    font-size: 0.95rem;
}

.admin-table th {
    color: var(--muted);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.account-table {
    margin-top: 20px;
}

.account-card .account-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.account-summary {
    display: grid;
    gap: 16px;
    min-width: 230px;
}

.account-summary div {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 18px;
}

.account-summary span {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.account-summary strong {
    display: block;
    font-size: 1.15rem;
}

@media (max-width: 950px) {
    .hero-grid,
    .hero-grid--reverse,
    .account-hero {
        grid-template-columns: 1fr;
    }

    nav a {
        margin-left: 0;
        margin-right: 16px;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 24px);
    }

    .hero {
        padding-top: 56px;
    }

    .hero-copy h1,
    .hero-feature-card h2 {
        font-size: 2.4rem;
    }
}
    max-width: 720px;
    margin: 0 auto;
}

.product-detail h1,
.thankyou-card h1,
.admin-form-page h1,
.admin-list-header h1 {
    margin-top: 0;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    color: var(--muted);
}

.product-specs li {
    margin-bottom: 12px;
}

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-form input,
form input,
form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border-radius: 14px;
    padding: 16px;
    font-size: 1rem;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 600;
}

.thankyou-card {
    max-width: 720px;
    margin: 0 auto;
}

.order-summary p {
    margin: 10px 0;
}

.payment-box {
    margin-top: 28px;
}

.note {
    margin-top: 22px;
    color: var(--muted);
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 0;
}

.admin-login-card {
    max-width: 420px;
    width: 100%;
}

.alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

.admin-list-page,
.admin-form-page {
    padding-top: 28px;
}

.admin-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    font-size: 0.95rem;
}

.admin-table th {
    color: var(--muted);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.link-button {
    color: var(--accent);
}

.form-grid {
    display: grid;
    gap: 18px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    margin-top: 8px;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px;
}

.admin-card strong {
    display: block;
    margin-top: 12px;
    font-size: 2.5rem;
}

.admin-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 860px) {
    .hero-grid,
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin-left: 0;
        margin-right: 14px;
    }
}
