:root {
    --bg: #04122b;
    --bg-soft: #0d203f;
    --panel: rgba(14, 31, 58, 0.92);
    --panel-border: rgba(132, 164, 217, 0.18);
    --text: #f4f7ff;
    --muted: #aebddb;
    --accent: #2da3ff;
    --accent-soft: rgba(45, 163, 255, 0.18);
    --success: #63d7a1;
    --danger: #ff8c8c;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(45, 163, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #05162f 0%, #04122b 100%);
    color: var(--text);
    line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(4, 18, 43, 0.75);
    border-bottom: 1px solid rgba(132, 164, 217, 0.14);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-tag,
.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8dc5ff;
    font-weight: 700;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.header-nav a:not(.button) {
    color: var(--muted);
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    border: 1px solid transparent;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(180deg, #45b5ff 0%, #2d9dff 100%);
    color: #03101f;
    box-shadow: 0 14px 30px rgba(45, 163, 255, 0.26);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(132, 164, 217, 0.22);
    color: var(--text);
}

.button-full { width: 100%; }

.hero-section,
.intro-section,
.features-section,
.steps-section,
.contact-section {
    padding: 72px 0;
}

.hero-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2 {
    margin: 10px 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-stamp {
    margin-top: 18px;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.hero-stamp::before,
.hero-stamp::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0;
    vertical-align: middle;
    flex: 0 0 auto;
}

.hero-demo {
    margin-top: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-demo strong {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Header demo creds */
.demo-nav-wrap {
    display: flex;
    align-items: center;   /* <-- key */
    gap: 10px;             /* space between button + creds */
}

.demo-creds {
    display: flex;
    flex-direction: column; /* keep username/password stacked */
    font-size: 0.7rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.65);
}

.demo-creds strong {
    color: #ffffff;
    font-weight: 600;
}

/* Hero alignment */
.demo-hero-wrap {
    display: flex;
    align-items: center;   /* <-- key */
    gap: 10px;
}

.demo-hero-wrap .demo-creds {
    margin-top: 0;         /* remove any inherited spacing */
}

.section-heading h2,
.contact-copy h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.hero-text,
.section-copy,
.feature-copy p,
.step-card p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 18px;
}

.hero-note {
    margin-top: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
}
.contact-alt,
.muted {
    color: var(--muted);
}

.screenshot-card {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.03);
}

.hero-screenshot {
    max-width: 620px;
    margin-left: auto;
}

.narrow-copy {
    max-width: 760px;
    text-align: center;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.center-text { text-align: center; margin-left: auto; margin-right: auto; }

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

.feature-card,
.step-card,
.contact-form-wrap {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-card {
    padding: 24px;
}

.feature-card-wide {
    grid-column: span 2;
}

.feature-copy h3,
.step-card h3 {
    margin: 6px 0 8px;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.feature-card img { margin-top: 18px; }
.optional-feature { opacity: 0.96; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    padding: 28px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #8dc5ff;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-copy { max-width: 520px; }
.contact-form-wrap { padding: 24px; }

.form-alert {
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.form-alert-success {
    background: rgba(99, 215, 161, 0.12);
    border: 1px solid rgba(99, 215, 161, 0.28);
    color: #b4f1cf;
}

.form-alert-error {
    background: rgba(255, 140, 140, 0.1);
    border: 1px solid rgba(255, 140, 140, 0.26);
    color: #ffc2c2;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-size: 0.92rem;
    font-weight: 700;
}

.form-field label span {
    color: var(--muted);
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border: 1px solid rgba(132, 164, 217, 0.2);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(45, 163, 255, 0.65);
    box-shadow: 0 0 0 4px rgba(45, 163, 255, 0.12);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.site-footer {
    border-top: 1px solid rgba(132, 164, 217, 0.14);
    background: rgba(4, 18, 43, 0.65);
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .contact-grid,
    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-wide {
        grid-column: auto;
    }

    .hero-copy h1,
    .section-heading h2,
    .contact-copy h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .header-inner,
    .footer-inner {
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .header-nav {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-section,
    .intro-section,
    .features-section,
    .steps-section,
    .contact-section {
        padding: 56px 0;
    }

    .container {
        width: min(var(--max-width), calc(100% - 20px));
    }

    .button,
    .header-nav {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .header-nav a:not(.button) {
        text-align: center;
    }
	
	.hero-stamp {
		gap: 8px;
		font-size: 0.88rem;
		letter-spacing: 0.1em;
	}

	.hero-stamp::before,
	.hero-stamp::after {
		width: 20px;
	}
}


.screenshot-link {
    display: block;
}

.screenshot-link:hover .screenshot-card {
    transform: translateY(-2px);
    box-shadow: 0 22px 66px rgba(0, 0, 0, 0.34);
}

.screenshot-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.screenshot-page {
    min-height: calc(100vh - 156px);
}

.screenshot-viewer-section {
    padding: 72px 0;
}

.screenshot-viewer {
    display: grid;
    gap: 24px;
}

.screenshot-viewer-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.screenshot-viewer-top h1 {
    margin: 10px 0 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.screenshot-frame {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 18px;
    overflow: auto;
}

.full-screenshot {
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(132, 164, 217, 0.16);
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 980px) {
    .screenshot-viewer-top {
        align-items: start;
    }
}
