/* =======================================================
   ORIGINÁL – ZACHOVÁN 1:1
========================================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #0d0d0d;
    color: #e8e8e8;
    font-family: 'Inter', sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

/* ---------------------- NAV ----------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: rgba(15, 15, 15, 0.7);
    border-bottom: 1px solid rgba(0,255,0,0.08);
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #00ff7f;
    text-shadow: 0 0 12px #00ff7f;
}

/* Hamburger */
#menu-toggle { display: none; }

.hamburger-menu { cursor: pointer; width: 42px; height: 42px; display: flex; justify-content: center; align-items: center; }

.bars { width: 28px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; }

.bar {
    height: 3px;
    border-radius: 6px;
    background: #00ff7f;
    box-shadow: 0 0 8px #00ff7f;
    transition: 0.35s ease;
}

#menu-toggle:checked + .hamburger-menu .bar1 { transform: translateY(7px) rotate(45deg); }
#menu-toggle:checked + .hamburger-menu .bar2 { opacity: 0; }
#menu-toggle:checked + .hamburger-menu .bar3 { transform: translateY(-7px) rotate(-45deg); }

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #aaffcc;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.25s;
}

.nav-links a:hover {
    background: #00ff7f;
    color: #0d0d0d;
    box-shadow: 0 0 12px #00ff7f;
}

/* Mobile */
@media (max-width: 880px) {
    .nav-links {
        position: fixed;
        top: 70px; right: 0;
        width: 240px;
        height: calc(100vh - 70px);
        background: rgba(20,20,20,0.97);
        backdrop-filter: blur(10px);
        border-left: 1px solid #00ff80;
        flex-direction: column;
        gap: 20px;
        padding-top: 40px;
        transform: translateX(100%);
        transition: 0.32s ease;
    }

    #menu-toggle:checked ~ .nav-links {
        transform: translateX(0);
        box-shadow: -4px 0 18px rgba(0,255,100,0.3);
    }
}

/* ---------------------- HERO ----------------------- */
.hero {
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

.hero-content { position: relative; z-index: 10; }

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.neon {
    color: #00ff88;
    text-shadow: 0 0 18px #00ff88, 0 0 80px #00ff88;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 480px;
    margin: 20px auto 36px;
    color: #d8ffd8;
}

/* Glow */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,255,100,0.4), transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 1;
}

/* Scan line animation */
.hero-scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #00ff88, transparent);
    top: 0;
    animation: scan 4s infinite linear;
    opacity: 0.8;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    background: #00ff88;
    color: #000;
    box-shadow: 0 0 18px #00ff88;
    transition: 0.25s;
}
.btn-primary:hover { filter: brightness(1.15); }

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    background: #1d1d1d;
    color: #00ff88;
    border: 1px solid #00ff88;
    transition: 0.25s;
}
.btn-secondary:hover { background: #00ff88; color: #000; }

/* ---------------------- CONTENT ----------------------- */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 70px;
}

.section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 50px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(0,255,100,0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 18px rgba(0,255,100,0.15);
}

.section h2 {
    color: #00ff88;
    font-size: 1.8rem;
    margin-bottom: 14px;
    text-shadow: 0 0 10px #00ff88;
}

/* Steps */
.steps {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,255,100,0.15);
    padding: 18px 26px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(0,255,100,0.15);
}

/* Mobile */
@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .steps { flex-direction: column; gap: 12px; }
}

/* =======================================================
   START – GENERATOR STYLE (GenPRO-1 & GenPRO-2)
========================================================== */

.wrap {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
}

.two-column {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
}
@media (max-width: 980px) {
    .two-column { grid-template-columns: 1fr; }
}

.left-col, .right-col {
    background: rgba(255,255,255,0.03);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(0,255,100,0.2);
    box-shadow: 0 0 25px rgba(0,255,120,0.15);
    backdrop-filter: blur(10px);
}

.right-col {
    min-height: 650px;
    position: relative;
    overflow: hidden;
}

/* HEADINGS */
h1 {
    text-align: center;
    font-size: 2.4rem;
    color: #00ff88;
    margin-bottom: 12px;
    text-shadow: 0 0 14px #00ff88;
}
.subtitle {
    text-align: center;
    margin-top: -8px;
    margin-bottom: 25px;
    color: #aaffcc;
    font-size: 1.05rem;
}

/* CARD */
.card {
    background: rgba(20,20,20,0.8);
    border-radius: 14px;
    padding: 20px;
    margin-top: 18px;
    border: 1px solid rgba(0,255,100,0.25);
    backdrop-filter: blur(8px);
}

/* LABELS & INPUTS */
label {
    font-weight: 600;
    color: #aaffcc;
    margin-top: 12px;
    display: block;
}

input[type="file"],
select {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid rgba(0,255,100,0.25);
    background: rgba(15,15,15,0.9);
    color: #fff;
    font-size: 1rem;
    box-shadow: inset 0 0 8px rgba(0,255,100,0.3);
    transition: .25s;
}

input[type="file"]:focus,
select:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 12px #00ff88;
}

/* UPLOAD PREVIEW */
#uploadPreviewBox {
    margin-top: 15px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,255,100,0.25);
    text-align: center;
    display: none;
}

#uploadPreview {
    max-width: 280px;
    max-height: 280px;
    object-fit: contain;
    border-radius: 10px;
    background: #111;
    padding: 6px;
    border: 1px solid rgba(0,255,100,0.25);
}

/* STYLE PREVIEW */
#stylePreview {
    background: #111;
    border-radius: 12px;
    border: 1px solid rgba(0,255,100,0.25);
    padding: 6px;
    margin-top: 12px;
    max-width: 280px;
}

/* SLIDERS */
input[type="range"] {
    width: 100%;
    cursor: pointer;
}

/* GENERATE BTN */
#generateBtn {
    width: 100%;
    margin-top: 22px;
    padding: 14px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    background: #00ff88;
    color: #000;
    cursor: pointer;
    box-shadow: 0 0 20px #00ff88;
    transition: .25s;
}

#generateBtn:hover { filter: brightness(1.1); }
#generateBtn:disabled { opacity: 0.6; cursor: not-allowed; }

/* PROGRESS BAR */
#statusBar {
    display:none;
    margin-top:16px;
    height:6px;
    border-radius:3px;
    overflow:hidden;
    background:#222;
}

#statusProgress {
    width: 0;
    height:100%;
    background: linear-gradient(90deg,#00ff88,#00cc88);
    transition: width .3s;
}

#status {
    margin-top:10px;
    text-align:center;
    min-height:18px;
    color:#aaffcc;
}

/* RESULT */
.result-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #00ff88;
    text-shadow: 0 0 14px #00ff88;
}

#resultImg {
    display:block;
    width:100%;
    max-width:100%;
    max-height:380px;
    object-fit:contain;
    border-radius: 10px;
    border: 1px solid rgba(0,255,100,0.25);
    background: #000;
    margin-bottom: 18px;
}

.download-links {
    text-align: center;
}
.download-links a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 8px;
}

/* PLACEHOLDER */
#placeholder {
    min-height: 500px;
    text-align:center;
    padding-top:80px;
    opacity:0.4;
}

/* TOAST */
#toast {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,0,0,0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255,0,0,0.7);
    max-width: 320px;
    text-align:center;
}

/* FOOTER – sjednocený */
footer {
    margin-top: auto;
    padding: 20px;
    text-align:center;
    color:#00ff88;
    border-top:1px solid rgba(0,255,100,0.25);
    background: rgba(255,255,255,0.03);
}

footer a {
    color:#00ff88;
    text-decoration:none;
    margin: 0 6px;
    font-weight:600;
}
/* ========================================================= */
/* LOGIN PAGE (SnapAndStick / EngraveFill) */
/* ========================================================= */

.page-center {
    flex: 1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.login-box {
    width:100%;
    max-width:420px;
    background:rgba(255,255,255,0.05);
    padding:32px;
    border-radius:18px;
    backdrop-filter: blur(12px);
    border:1px solid rgba(0,255,100,0.18);
    box-shadow:0 0 32px rgba(0,255,100,0.22);
}

.login-title {
    text-align:center;
    margin:0 0 20px;
    font-size:2rem;
    color:#00ff88;
    text-shadow:0 0 14px #00ff88;
}

.error-box {
    background:#330000;
    padding:12px;
    color:#ff4d4d;
    border-radius:10px;
    margin-bottom:18px;
    text-align:center;
    font-weight:600;
}

.login-box label {
    display:block;
    font-weight:600;
    margin-top:12px;
    color:#aaffcc;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box input[type="email"] {
    width:100%;
    padding:14px;
    margin-top:6px;
    border-radius:12px;
    border:1px solid rgba(0,255,100,0.25);
    background:rgba(20,20,20,0.9);
    color:#fff;
    font-size:1rem;
    box-shadow: inset 0 0 10px rgba(0,255,100,0.25);
    transition:0.25s;
}

.login-box input:focus {
    outline:none;
    border-color:#00ff88;
    box-shadow:0 0 12px #00ff88;
}

.login-box button {
    width:100%;
    margin-top:26px;
    padding:15px;
    background:#00ff88;
    border:none;
    border-radius:12px;
    color:#000;
    font-weight:800;
    font-size:1.15rem;
    cursor:pointer;
    box-shadow:0 0 20px #00ff88;
    transition:0.22s;
}

.login-box button:hover {
    filter:brightness(1.12);
}

.register-link {
    text-align:center;
    margin-top:18px;
    font-size:0.95rem;
    color:#e8e8e8;
}

.register-link a {
    color:#00ff88;
    text-decoration:none;
    font-weight:600;
}

.register-link a:hover {
    text-shadow:0 0 10px #00ff88;
}

/* MOBILE */
@media (max-width:480px) {
    .login-box { padding:24px; }
}

@media (min-width:1000px) {
    .login-box {
        max-width:460px;
        padding:38px;
    }
    .login-title { font-size:2.3rem; }
}
/* ========================================================= */
/* REGISTER PAGE (SnapAndStick / EngraveFill) */
/* ========================================================= */

.page-center {
    flex: 1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

/* Reuse login-box styling for consistency */
.login-box {
    width:100%;
    max-width:420px;
    background:rgba(255,255,255,0.05);
    padding:32px;
    border-radius:18px;
    backdrop-filter: blur(12px);
    border:1px solid rgba(0,255,100,0.18);
    box-shadow:0 0 32px rgba(0,255,100,0.22);
}

.login-title {
    text-align:center;
    margin:0 0 20px;
    font-size:2rem;
    color:#00ff88;
    text-shadow:0 0 14px #00ff88;
}

.error-box {
    background:#330000;
    padding:12px;
    color:#ff4d4d;
    border-radius:10px;
    margin-bottom:18px;
    text-align:center;
    font-weight:600;
}

/* Inputs reuse login styling */
.login-box label {
    display:block;
    font-weight:600;
    margin-top:12px;
    color:#aaffcc;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box input[type="email"] {
    width:100%;
    padding:14px;
    margin-top:6px;
    border-radius:12px;
    border:1px solid rgba(0,255,100,0.25);
    background:rgba(20,20,20,0.9);
    color:#fff;
    font-size:1rem;
    box-shadow: inset 0 0 10px rgba(0,255,100,0.25);
    transition:0.25s;
}

.login-box input:focus {
    outline:none;
    border-color:#00ff88;
    box-shadow:0 0 12px #00ff88;
}

.checkbox-label {
    margin-top:16px;
    color:#e8ffe8;
    display:flex;
    align-items:center;
    gap:10px;
}

.checkbox-label input {
    width:20px;
    height:20px;
    accent-color:#00ff88;
}

.highlight-link {
    color:#00ff88;
    text-decoration:none;
}

button {
    width:100%;
    margin-top:26px;
    padding:15px;
    background:#00ff88;
    border:none;
    border-radius:12px;
    color:#000;
    font-weight:800;
    font-size:1.15rem;
    cursor:pointer;
    box-shadow:0 0 20px #00ff88;
    transition:0.22s;
}

button:hover {
    filter:brightness(1.12);
}

.register-link {
    text-align:center;
    margin-top:18px;
    font-size:0.95rem;
    color:#e8e8e8;
}

.register-link a {
    color:#00ff88;
    font-weight:600;
    text-decoration:none;
}

.register-link a:hover {
    text-shadow:0 0 10px #00ff88;
}
/* ======================================================= */
/* FOOTER – EngraveFill Neon Green */
/* ======================================================= */

.footer {
    margin-top: 80px;
    background: #050505;
    padding: 40px 20px;
    border-top: 1px solid rgba(0,255,100,0.12);
    box-shadow: 0 0 25px rgba(0,255,100,0.15) inset;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Titles */
.footer-col h3,
.footer-col h4 {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Paragraphs */
.footer-col p {
    color: #c9ffd9;
    opacity: 0.85;
    line-height: 1.45;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* Links */
.footer-col a {
    color: #c9ffd9;
    opacity: 0.85;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: 0.22s;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-col a:hover {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
    padding-left: 6px;
}

/* Bottom row */
.footer-bottom {
    margin-top: 35px;
    text-align: center;
    font-size: 0.9rem;
    color: #88ffbf;
    opacity: 0.75;
}

/* Mobile layout */
@media (max-width: 700px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-col a:hover {
        padding-left: 0;
    }
}
/* ========================================================= */
/* HERO LAYOUT – illustration */
/* ========================================================= */

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 90px 20px 80px;
    position: relative;
}

.hero-visual {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-device {
    width: 100%;
    max-width: 380px;
    border-radius: 22px;
    background: radial-gradient(circle at top, rgba(0,255,120,0.25), rgba(10,10,10,0.95));
    border: 1px solid rgba(0,255,100,0.25);
    box-shadow: 0 0 40px rgba(0,255,100,0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-device-header {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(5,5,5,0.9);
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(0,255,120,0.8);
    box-shadow: 0 0 8px rgba(0,255,120,0.8);
}

.hero-device-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 18px 18px 10px;
    gap: 8px;
}

.hero-mask-preview,
.hero-result-preview {
    border-radius: 16px;
    border: 1px solid rgba(0,255,120,0.35);
    background: repeating-linear-gradient(
        45deg,
        rgba(0,255,120,0.03),
        rgba(0,255,120,0.03) 4px,
        rgba(0,255,120,0.10) 4px,
        rgba(0,255,120,0.10) 8px
    );
    height: 140px;
    position: relative;
}

.hero-mask-label,
.hero-result-label {
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #aaffcc;
    text-shadow: 0 0 8px rgba(0,255,120,0.7);
}

.hero-arrow {
    font-size: 1.8rem;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
    padding: 0 6px;
}

.hero-device-footer {
    padding: 10px 16px 14px;
    font-size: 0.85rem;
    color: #b7ffe0;
    opacity: 0.85;
    border-top: 1px solid rgba(0,255,120,0.25);
    background: rgba(5,5,5,0.92);
}

.hero-status {
    display: inline-block;
}

.hero-small-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #c6ffde;
    opacity: 0.9;
}

/* Mobile hero layout */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        order: -1;
    }
    .hero-device-body {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }
    .hero-arrow {
        transform: rotate(90deg);
    }
}

/* ========================================================= */
/* ICON GRID – Why EngraveFill */
/* ========================================================= */

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 22px;
    margin-top: 24px;
}

.icon-card {
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    border: 1px solid rgba(0,255,120,0.16);
    padding: 18px 18px 16px;
    box-shadow: 0 0 18px rgba(0,255,120,0.18);
    text-align: left;
}

.icon-card h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    color: #00ff88;
    font-size: 1.1rem;
}

.icon-card p {
    font-size: 0.95rem;
    color: #d2ffe7;
    line-height: 1.5;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,255,120,0.12);
    border: 1px solid rgba(0,255,120,0.55);
    box-shadow: 0 0 12px rgba(0,255,120,0.5);
    font-size: 1.2rem;
}

@media (max-width: 980px) {
    .icon-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .icon-grid { grid-template-columns: 1fr; }
}

/* ========================================================= */
/* SOFTWARE LIST – no bullet, neon left border */
/* ========================================================= */

.engrave-soft-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.engrave-soft-list li {
    padding: 6px 0;
    font-size: 0.98rem;
    color: #c9ffd9;
    border-left: 2px solid rgba(0,255,120,0.25);
    padding-left: 12px;
    transition: 0.25s;
}

.engrave-soft-list li:hover {
    color: #00ff90;
    border-left-color: #00ff90;
    text-shadow: 0 0 6px #00ff90;
    transform: translateX(3px);
}

/* ========================================================= */
/* TESTIMONIALS */
/* ========================================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
    margin-top: 22px;
}

.testimonial-card {
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    border: 1px solid rgba(0,255,120,0.16);
    padding: 18px 20px;
    box-shadow: 0 0 18px rgba(0,255,120,0.15);
}

.testimonial-text {
    font-size: 0.98rem;
    color: #e8fff3;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 0.9rem;
    color: #99ffd4;
    opacity: 0.9;
}

@media (max-width: 980px) {
    .testimonials-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ========================================================= */
/* FAQ */
/* ========================================================= */

.faq .faq-item {
    text-align: left;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(10,10,10,0.9);
    border: 1px solid rgba(0,255,120,0.12);
}

.faq .faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #00ff88;
}

.faq .faq-item p {
    font-size: 0.95rem;
    color: #d5ffe9;
    line-height: 1.5;
}

.faq-cta {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 600px) {
    .faq .faq-item { padding: 12px 12px; }
}




