:root {
    --bg: #070a12;
    --panel1: #0b1020;
    --panel2: #0f152a;
    --text: #e9eefc;
    --muted: #aab3c5;
    --accent: #ff3b3b;
    --border: rgba(255,255,255,0.08);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, Arial;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 16px;
}

/* =========================
   TYPOGRAPHY (FONT RENDSZER)
========================= */

h1, h2, h3 {
    line-height: 1.2;
    color: var(--text);
}

h2 {
    font-size: 32px;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

p {
    color: var(--muted);
    margin-bottom: 14px;
    max-width: 75ch; /* olvashatóság */
}

/* =========================
   HEADER
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 8%;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: flex-end;
}

nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 130px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    transition: 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    color: var(--text);
    border-color: rgba(255,59,59,0.4);
    background: rgba(255,59,59,0.08);
    transform: translateY(-1px);
}

nav a.cta {
    background: var(--accent);
    color: white;
    border: none;
}

nav a.cta:hover {
    background: #ff1f1f;
}

/* =========================
   HERO
========================= */

.hero {
    padding: 120px 8%;
    background: radial-gradient(circle at top, #121a2f, #070a12);
}

.hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* BRAND */
.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: #000;
    padding: 40px 30px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 30px;
}

.hero-brand img {
    height: 150px;
    filter: drop-shadow(0 0 12px rgba(255,59,59,0.25));
}

.hero-brand h1 {
    font-size: 54px;
    line-height: 1.1;
    max-width: 700px;
}

/* HERO TEXT */
.hero p {
    text-align: center;
    color: var(--muted);
    font-size: 18px;
    max-width: 760px;
    margin: 0 auto;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 110px 8%;
    border-top: 1px solid var(--border);
}

/* háttér váltás */
section:nth-of-type(odd) { background: var(--panel1); }
section:nth-of-type(even) { background: var(--panel2); }

/* CONTENT WRAPPING */
section > p {
    max-width: 80ch;
    margin-bottom: 24px;
}

/* =========================
   GRID / CARDS
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.card {
    background: rgba(255,255,255,0.06);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,59,59,0.35);
}

/* card text finomítás */
.card p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--muted);
}

/* =========================
   TITLE / HIGHLIGHT
========================= */

.title {
    font-size: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 30px;
    font-size: 13px;
    color: var(--muted);
    background: #05070c;
    border-top: 1px solid var(--border);
}

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

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    nav {
        justify-content: center;
    }

    .hero-brand {
        flex-direction: column;
        text-align: center;
    }

    .hero-brand h1 {
        font-size: 34px;
    }

    .hero-brand img {
        height: 110px;
    }

    h2 {
        font-size: 26px;
    }
}


.section-action {
    margin-top: 28px;
}

.demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    box-shadow: 0 14px 34px rgba(255,59,59,0.22);
}

.demo-button:hover {
    background: #ff1f1f;
    transform: translateY(-1px);
}
