/* ============================================
   GearWorks Marketing - Custom Styles
   ============================================ */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --border: #374151;
    --accent-blue: #3b82f6;
    --accent-teal: #10b981;
    --text-primary: #f9fafb;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- Navbar ---- */
.navbar-gw {
    background-color: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.navbar-gw .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-gw .brand-logo {
    height: 36px;
    width: auto;
    filter: invert(1);
}

.navbar-gw .brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.navbar-gw .brand-name span {
    color: var(--accent-blue);
}

.navbar-gw .nav-link {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
    text-decoration: none;
}

.navbar-gw .nav-link:hover {
    color: var(--text-primary) !important;
}

.navbar-gw .nav-cta {
    background-color: var(--accent-blue);
    color: #fff !important;
    border-radius: 6px;
    padding: 0.4rem 1.1rem !important;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
}

.navbar-gw .nav-cta:hover {
    background-color: #2563eb !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.hamburger-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
}

.hamburger-btn .bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-btn.open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.open .bar:nth-child(2) { opacity: 0; }
.hamburger-btn.open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 0.5rem 1rem 1rem;
        gap: 0;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu .nav-link {
        padding: 0.6rem 0 !important;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: none;
    }
}

/* ---- Hero ---- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 60% 50%, rgba(59,130,246,0.12) 0%, transparent 65%),
                radial-gradient(ellipse at 20% 80%, rgba(16,185,129,0.08) 0%, transparent 50%),
                var(--bg-primary);
    padding: 40px 0 4rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero logo (átlátszó PNG, fehér felirat) */
.hero-logo {
    display: block;
    max-width: 80%;
    height: auto;
    margin-bottom: 1.75rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.3);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-title .accent {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-primary-gw {
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(59,130,246,0.35);
}

.btn-primary-gw:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59,130,246,0.5);
    color: #fff;
    text-decoration: none;
}

.btn-outline-gw {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.2s, color 0.2s;
}

.btn-outline-gw:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    text-decoration: none;
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gear-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gear-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.gear-ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(59,130,246,0.15);
    animation: ring-rotate 30s linear infinite;
}

.gear-ring-2 {
    width: 75%;
    height: 75%;
    border-color: rgba(16,185,129,0.2);
    border-style: dashed;
    animation: ring-rotate 20s linear infinite reverse;
}

.gear-ring-3 {
    width: 50%;
    height: 50%;
    border-color: rgba(59,130,246,0.25);
    animation: ring-rotate 15s linear infinite;
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Külső fogaskerék-gyűrű SVG */
.gear-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: gear-spin 35s linear infinite;
    z-index: 0;
}

/* Középső fogaskerék wrapper (scale+translate animáció) */
.gear-mover {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    transition: transform 3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Középső fogaskerék SVG */
.gear-svg {
    width: 140px;
    height: 140px;
    display: block;
    animation: gear-spin 10s linear infinite reverse;
    filter: drop-shadow(0 0 14px rgba(59,130,246,0.55));
}

@keyframes gear-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-dots {
    position: absolute;
    top: 15%;
    right: 8%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(59,130,246,0.4) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.4;
}

/* ---- Stats Strip ---- */
#stats {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Section Base ---- */
section {
    padding: 5rem 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ---- Feature Cards ---- */
#funkciok {
    background-color: var(--bg-primary);
}

.feature-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(16,185,129,0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-blue);
    margin-bottom: 1.1rem;
    border: 1px solid rgba(59,130,246,0.2);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ---- Module Cards ---- */
#modulok {
    background-color: var(--bg-secondary);
}

.module-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    opacity: 0;
    transition: opacity 0.2s;
}

.module-card:hover {
    border-color: rgba(59,130,246,0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.module-card:hover::before {
    opacity: 1;
}

.module-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(16,185,129,0.12));
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.module-icon {
    font-size: 1.6rem;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.module-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.module-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.module-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-features li {
    font-size: 0.8rem;
    color: var(--text-dim);
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.module-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---- Pricing ---- */
#arazas {
    background-color: var(--bg-primary);
}

.pricing-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.pricing-card.recommended {
    border-color: var(--accent-blue);
    background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, var(--bg-secondary) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59,130,246,0.2);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.pricing-card.recommended:hover {
    transform: translateY(-12px);
}

.rec-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pricing-card .pricing-icon { color: var(--text-dim); }
.pricing-card.recommended .pricing-icon { color: var(--accent-blue); }

.pricing-rows {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    text-align: left;
}

.pricing-rows li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.pricing-rows li:last-child { border-bottom: none; }

.pricing-rows .row-label { color: var(--text-muted); }
.pricing-rows .row-val { color: var(--text-primary); font-weight: 600; }
.pricing-rows .row-val.unlimited { color: var(--accent-teal); }

.btn-pricing {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-pricing-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.btn-pricing-outline:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    text-decoration: none;
}

.btn-pricing-solid {
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59,130,246,0.35);
}

.btn-pricing-solid:hover {
    box-shadow: 0 6px 25px rgba(59,130,246,0.5);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ---- Pricing matrix ---- */
.pricing-matrix-wrap {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.table-responsive { overflow-x: auto; }

.pricing-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pricing-matrix thead th {
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-tertiary);
}

.pricing-matrix thead th.col-module {
    text-align: left;
    width: 28%;
}

.pricing-matrix .col-m {
    background: rgba(59,130,246,0.08);
    color: var(--accent-blue) !important;
    font-weight: 700;
    border-left: 1px solid rgba(59,130,246,0.25);
    border-right: 1px solid rgba(59,130,246,0.25);
}

.pricing-matrix thead th.col-m {
    color: var(--accent-blue) !important;
}

.pricing-matrix tbody tr {
    border-bottom: 1px solid var(--border);
}

.pricing-matrix tbody tr:last-child { border-bottom: none; }

.pricing-matrix tbody td {
    padding: 1rem 1.25rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
    vertical-align: middle;
}

.pricing-matrix td.module-info {
    text-align: left;
    vertical-align: middle;
}

.module-info-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.module-info-inner .module-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    flex-shrink: 0;
    width: auto;
    height: auto;
    border-radius: 6px;
}

.module-info-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.module-info-text strong {
    font-size: 0.88rem;
    color: var(--text-primary);
}

.module-info-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.val-unlimited {
    color: var(--accent-teal) !important;
    font-weight: 700 !important;
}

.pricing-matrix .dual-val {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.pricing-matrix .dual-val small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-matrix-footer {
    padding: 1.5rem 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background-color: var(--bg-tertiary);
}

.pricing-matrix-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    flex: 1;
}

/* ---- Pricing matrix – cell selector ---- */
.pm-cell {
    cursor: pointer;
    transition: background-color 0.15s;
}

.pm-icon {
    font-size: 1.2rem;
    color: var(--text-dim);
    pointer-events: none;
    transition: color 0.2s;
}

.pm-cell.selected .pm-icon {
    color: var(--accent-blue);
}

.pm-cell:not(.selected):hover .pm-icon {
    color: var(--text-muted);
}

.module-row.has-selection td {
    background-color: rgba(59,130,246,0.05);
}

.mandatory-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    background-color: rgba(245,158,11,0.15);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---- About ---- */
#rolunk {
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-item {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-item i {
    font-size: 1.2rem;
    color: var(--accent-teal);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.about-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.about-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

/* ---- Contact ---- */
#kapcsolat {
    background-color: var(--bg-primary);
}

.contact-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 680px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 576px) {
    .form-row { grid-template-columns: 1fr; }
}

.contact-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.contact-info a:hover { color: var(--accent-blue); }

/* Form success */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success i {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- Footer ---- */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-brand span {
    color: var(--accent-blue);
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-muted); }

/* ---- Fade-in animation ---- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Utility ---- */
.container { max-width: 1200px; }

a { transition: color 0.2s; }

/* ---- Module Screenshot ---- */
.module-screenshot {
    display: none; /* Rejtett amíg nincs kép */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.1rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.module-screenshot.has-image {
    display: block;
}

.module-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.module-screenshot:hover img {
    transform: scale(1.04);
}

.module-screenshot .ss-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0;
    transition: opacity 0.2s;
}

.module-screenshot:hover .ss-overlay {
    opacity: 1;
}

/* ---- Lightbox ---- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: min(1100px, 90vw);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
}

.lightbox-close:hover { color: #fff; }

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    display: block;
    margin: 0 auto;
}

.lightbox-title {
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-visual { margin-top: 1rem; }
    .gear-wrapper { width: 280px; height: 280px; }
    .gear-svg { width: 115px; height: 115px; }
}

@media (max-width: 768px) {
    #hero { padding: 40px 0 3rem; }
    .hero-title { font-size: 2.2rem; }
    .gear-wrapper { width: 240px; height: 240px; }
    .gear-svg { width: 100px; height: 100px; }

    section { padding: 3.5rem 0; }
    .section-title { font-size: 1.9rem; }

    /* Ajánlott csomag ne ugrik ki mobilon */
    .pricing-card.recommended { transform: none; box-shadow: 0 8px 30px rgba(59,130,246,0.15); }
    .pricing-card.recommended:hover { transform: translateY(-6px); }
}

@media (max-width: 575px) {
    .hero-visual { margin-top: 0; }
    .hero-dots { display: none; }
    .gear-wrapper { width: 200px; height: 200px; }
    .gear-svg { width: 82px; height: 82px; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-primary-gw,
    .hero-actions .btn-outline-gw { justify-content: center; }

    .contact-wrapper { padding: 1.5rem 1.25rem; }

    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-legal { text-align: center; }
}
