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

:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --text-main: #e6edf3;
    --accent: #58a6ff;
    --accent-glow: #1f6feb;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* Navigation */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
}

.logo-white {
    color: var(--text-main);
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.4),
        0 0 12px rgba(88, 166, 255, 0.25);
}

.logo-blue {
    color: var(--accent);
}

.logo-img {
    height: 120px;
    width: auto;
    display: block;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Ensure all nav list items align on the same baseline */
nav ul li {
    display: flex;
    align-items: center;
}

/* Nav links — slightly heavier weight with soft white glow */
nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.15),
        0 0 16px rgba(255, 255, 255, 0.08);
}

nav a:hover {
    color: var(--accent);
    text-shadow:
        0 0 6px rgba(88, 166, 255, 0.6),
        0 0 12px rgba(88, 166, 255, 0.4);
}

/* Hero */

.hero {
    text-align: center;
    padding: 100px 10% 60px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    color: #8b949e;
    margin-bottom: 2rem;
}

.hero p.hero-desc {
    font-size: 1.15rem;
    color: #8b949e;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-subtext {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.btn-main {
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 15px var(--accent-glow);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease;
}

/* Pain Points */

.pain-points {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 10% 120px;
}

.pain-points h2 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pain-points ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px 60px;
}

.pain-points li {
    font-size: 1.1rem;
    color: #8b949e;
    line-height: 1.6;
    padding-left: 10px;
    border-left: 2px solid #30363d;
}

.pain-points li:hover {
    border-left-color: var(--accent);
}


/* Features */

.features {
    padding: 50px 0;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.features > h2 {
    text-align: center;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.pain-points .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
    max-width: none;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #30363d;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Container */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 5%;
}

/* Screenshots gallery */

.screenshots {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 5% 80px;
    text-align: center;
}

.screenshots h2 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 50px;
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshot-grid figure {
    background: var(--card-bg);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 12px;
    transition: border-color 0.3s ease, transform 0.3s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.screenshot-grid figure:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.screenshot-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    cursor: zoom-in;
}

.screenshot-grid figcaption {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 12px;
    padding-bottom: 6px;
    text-align: center;
}

/* Lightbox (click-to-enlarge for screenshots) */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 40px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(88, 166, 255, 0.35);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .lightbox {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}

/* How it works: three steps */

.steps {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5% 100px;
}

.steps h2 {
    font-size: 2.4rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.steps h2 + p {
    margin-bottom: 2.5rem;
}

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

.step {
    background: var(--card-bg);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.step:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.step .step-num {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.step h3 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step p {
    color: #8b949e;
    font-size: 0.98rem;
}

/* Live Status page and homepage teaser */

.live-hero {
    text-align: center;
    padding: 80px 10% 40px;
}

.live-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
}

.live-intro {
    font-size: 1.1rem;
    color: #8b949e;
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.7;
}

.live-section {
    max-width: 1600px;
    width: 92%;
    margin: 0 auto;
    padding: 40px 0 20px;
}

.live-section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.live-section-desc {
    color: #8b949e;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.live-frame-wrap {
    border: 1px solid #30363d;
    border-radius: 10px;
    overflow: hidden;
    background: #0d1117;
    width: 100%;
}

.live-frame-wrap iframe {
    display: block;
    width: 100%;
}

.live-note {
    max-width: 860px;
    margin: 40px auto 80px;
    padding: 0 5%;
    color: #8b949e;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
}

.live-teaser {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5% 80px;
    text-align: center;
}

.live-teaser h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.live-teaser > p {
    color: #8b949e;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.live-teaser .live-frame-wrap {
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #0d1117;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps h2 {
        font-size: 1.6rem;
    }
}

.page-intro {
    margin-bottom: 3rem;
}

/* Service Blocks */

.service-block {
    border-left: 2px solid #30363d;
    padding-left: 30px;
    margin-bottom: 60px;
}

.service-block:hover {
    border-left-color: var(--accent);
}

.mono-tag {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.8rem;
}

/* Contact */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin-top: 30px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: var(--card-bg);
    border: 1px solid #30363d;
    padding: 15px;
    color: white;
    border-radius: 6px;
    font-family: var(--font-sans);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    height: 150px;
}

.form-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #8b949e;
}

/* Footer */

footer {
    text-align: center;
    padding: 80px 10%;
    border-top: 1px solid #30363d;
    margin-top: 50px;
}

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

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #484f58;
}

/* Navigation CTA button */
.btn-nav {
    background: var(--accent);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: opacity 0.2s ease;
}

.btn-nav:hover {
    opacity: 0.85;
    color: white !important;
    text-shadow: none !important;
}

/* ---- Mobile hamburger menu ---- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    nav {
        position: relative;
        flex-wrap: wrap;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 16px 5%;
        border-bottom: 1px solid #30363d;
        gap: 0;
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        padding: 12px 0;
        display: block;
    }

    .btn-nav {
        display: inline-block;
        text-align: center;
        margin-top: 8px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero {
        padding: 60px 6% 40px;
    }

    .hero-subtext {
        font-size: 1rem;
        font-weight: 500;
        margin-top: 0.75rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero p,
    .hero p.hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .btn-main {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .hero-trust-signal {
        font-size: 0.8rem;
        margin-top: 12px;
        padding: 0 10%;
        line-height: 1.5;
    }

    .hero-cta-secondary {
        font-size: 0.9rem;
        margin-top: 1rem;
        display: block;
    }

    .pain-points {
        padding: 60px 5%;
    }

    .pain-points h2 {
        font-size: 1.6rem;
    }

    .features {
        padding: 30px 5%;
    }

    .features-grid,
    .pain-points .features {
        grid-template-columns: 1fr;
    }

    .features > h2,
    .screenshots h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .contact-section {
        padding: 0;
    }
}

/* Dropdown nav */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.15),
        0 0 16px rgba(255, 255, 255, 0.08);
}
.nav-dropdown-toggle:hover {
    color: var(--text-main);
    text-shadow:
        0 0 6px rgba(88, 166, 255, 0.6),
        0 0 12px rgba(88, 166, 255, 0.4);
}

.nav-caret { font-size: 0.75em; transition: transform 0.2s; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg, #161b22);
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 160px;
    z-index: 100;
    list-style: none;
    margin: 0;
}
.nav-dropdown-menu.open { display: block; }

.nav-dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-main);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu li a:hover {
    color: var(--accent);
    background: #21262d;
    text-shadow: none;
}

@media (max-width: 768px) {
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-dropdown-toggle {
        background: none;
        border: none;
        border-radius: 0;
        padding: 12px 0;
        width: 100%;
        text-align: left;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-main);
        display: flex;
        align-items: center;
        gap: 6px;
        -webkit-appearance: none;
        appearance: none;
        box-shadow: none;
    }

    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0 0 8px 16px;
        min-width: unset;
        width: 100%;
    }

    .nav-dropdown-menu li a {
        padding: 10px 0;
        font-size: 0.95rem;
        background: transparent;
    }

    .nav-dropdown-menu li a:hover {
        background: transparent;
    }
}

.hero-trust-signal {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #8b949e;
    letter-spacing: 0.01em;
}
