:root {
    --bg: #FAFAF7;
    --bg-alt: #F0EDE6;
    --text: #1A1A18;
    --text-muted: #6B6960;
    --accent: #2D5A27;
    --accent-light: #3D7A35;
    --accent-bg: #E8F0E6;
    --white: #FFFFFF;
    --border: #DDD8CE;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06), 0 20px 48px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

nav.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span { color: var(--text); }

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

/* ── HERO ── */
.hero {
    padding: 148px 0 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45, 90, 39, 0.13) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Ambient glow */
.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(45, 90, 39, 0.08) 0%, rgba(45, 90, 39, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ═══════════════════════════════════════════
   HERO STAGE — centered, with web animation
   The SVG web is absolute-positioned against
   the .hero section (full-bleed), not the stage.
   The stage just holds the centered text block.
   ═══════════════════════════════════════════ */
.hero-stage {
    position: static;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 96px 32px;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full-bleed web: covers the entire hero section, behind everything */
.hero-web {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.hero-web .web-line {
    stroke: #2D5A27;
    stroke-width: 0.8;
    opacity: 0;
    fill: none;
    transition: opacity 1.2s ease-in-out, stroke-width 1.2s ease-in-out;
}

/* When a line's node pulses, it briefly glows brighter */
.hero-web .web-line.glow {
    opacity: 0.55 !important;
    stroke-width: 1.1;
}

.hero-web .web-dot {
    fill: #2D5A27;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

/* When a node is pulsing: brighter and slightly larger */
.hero-web .web-dot.pulse {
    opacity: 1;
    transform: scale(1.6);
}
.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
}

/* Brand wordmark — Playfair serif, large, italic */
.hero-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 7vw, 5rem);
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Make the regular H1 a touch smaller now that wordmark leads */
.hero h1 {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 14px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 em {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* After the entrance completes, JS adds .assembled to the container.
   The rest-opacity variable is set per-line by JS based on the line's
   length (shorter = more prominent). */

/* Web entrance keyframes — line draws in then settles to its rest opacity */
/* @keyframes webDraw {
    0%   { opacity: 0; stroke-dashoffset: var(--len, 600); }
    40%  { opacity: 0.45; }
    100% { opacity: var(--rest-opacity, 0.2); stroke-dashoffset: 0; }
} */

@keyframes webDraw {
    0%   { opacity: 0; stroke-dashoffset: var(--len, 600); }
    100% { opacity: 0.3; stroke-dashoffset: 0; }
}

@keyframes webDotIn {
    0%   { opacity: 0; transform: scale(0); }
    60%  { opacity: 1; transform: scale(1.4); }
    100% { opacity: 0.7; transform: scale(1); }
}

.hero-web.assembled .web-dot {
    opacity: 0.7;
}

.hero-web.assembled .web-line {
    opacity: 1;
}

/* ═══════════════════════════════════════════
   DEMO PREVIEW MOCKUPS — refined per demo
   Realistic mini-screenshots that reflect each
   demo's actual color palette + typography.
   ═══════════════════════════════════════════ */
.preview-screen {
    position: relative;
    overflow: hidden;
}

/* Shared tiny preview building blocks */
.dp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dp-nav.dark { border-bottom-color: rgba(238, 240, 244, 0.08); }
.dp-nav.dark-warm { border-bottom-color: rgba(244, 240, 234, 0.12); }

.dp-nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.5rem;
    letter-spacing: 0.04em;
    color: #6b7280;
}
.dp-nav-links .muted { color: rgba(238, 240, 244, 0.55); }
.dp-nav-links .muted-warm { color: rgba(244, 240, 234, 0.55); }

.dp-nav-cta {
    background: #1a2332;
    color: #faf9f7;
    padding: 3px 8px;
    font-size: 0.46rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}
.dp-nav-cta.yellow {
    background: #FFD23F;
    color: #0b0c10;
    font-weight: 800;
}
.dp-nav-cta-outline {
    color: #c8965a;
    border: 1px solid #c8965a;
    padding: 3px 8px;
    font-size: 0.46rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dp-eyebrow {
    font-size: 0.46rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b7355;
    font-weight: 700;
    margin-bottom: 6px;
}
.dp-eyebrow.yellow { color: #FFD23F; }

.dp-h1 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: #1a2332;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 8px;
}
.dp-h1 em { font-style: italic; color: #8b7355; font-weight: 600; }

.dp-h1-bold {
    font-size: 1rem;
    color: #eef0f4;
    line-height: 1.05;
    letter-spacing: 0.04em;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dp-mini-sub {
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFD23F;
    margin-bottom: 10px;
    font-weight: 500;
}

.dp-sub-line {
    height: 2px;
    width: 80%;
    background: rgba(26, 35, 50, 0.15);
    margin-bottom: 4px;
    border-radius: 2px;
}
.dp-sub-line.short { width: 50%; margin-bottom: 12px; }

.dp-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.dp-btn-dark {
    background: #1a2332;
    color: #faf9f7;
    font-size: 0.44rem;
    padding: 4px 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}
.dp-btn-ghost {
    border: 1.5px solid #1a2332;
    color: #1a2332;
    font-size: 0.44rem;
    padding: 4px 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}
.dp-btn-yellow {
    background: #FFD23F;
    color: #0b0c10;
    font-size: 0.44rem;
    padding: 4px 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}
.dp-btn-outline-light {
    border: 1px solid rgba(238, 240, 244, 0.3);
    color: #eef0f4;
    font-size: 0.44rem;
    padding: 4px 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}
.dp-btn-outline-gold {
    border: 1px solid #c8965a;
    color: #c8965a;
    font-size: 0.46rem;
    padding: 4px 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Fogászat (cream + tan + dark navy serif) ── */
.demo-fogaszat { background: #faf9f7; }
.demo-fogaszat .dp-brand-serif {
    font-family: 'Playfair Display', serif;
    font-size: 0.6rem;
    color: #1a2332;
    font-weight: 600;
}
.demo-fogaszat .dp-brand-serif em {
    color: #8b7355;
    font-style: italic;
}
.dp-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 10px;
    padding: 12px 14px 8px;
    align-items: center;
}
.dp-hero-text { display: flex; flex-direction: column; }
.dp-hero-img {
    height: 72px;
    border-radius: 4px;
    background:
      linear-gradient(135deg, rgba(139, 115, 85, 0.18), rgba(26, 35, 50, 0.22)),
      radial-gradient(ellipse at 30% 30%, #d9c5a8 0%, #8b7355 60%, #1a2332 120%);
}
.dp-trust-bar {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 6px 14px 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.dp-trust-item {
    text-align: center;
    font-size: 0.42rem;
    color: #8b7355;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.dp-trust-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    color: #1a2332;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 1px;
}

/* ── Villany (dark + yellow industrial) ── */
.demo-villany { background: #0b0c10; }
.demo-villany .dp-brand-bold {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    color: #eef0f4;
    font-weight: 800;
}
.dp-villany-hero {
    text-align: center;
    padding: 14px 14px 8px;
    background:
      radial-gradient(ellipse at center, rgba(255, 210, 63, 0.06) 0%, transparent 70%),
      #0b0c10;
}
.dp-bolt {
    font-size: 1.4rem;
    color: #FFD23F;
    line-height: 1;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 6px rgba(255, 210, 63, 0.4));
}
.dp-villany-hero .dp-buttons { justify-content: center; }
.dp-phone-strip {
    background: #FFD23F;
    color: #0b0c10;
    text-align: center;
    padding: 6px 10px;
}
.dp-phone-strip strong {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    display: block;
}
.dp-phone-strip span {
    font-size: 0.4rem;
    opacity: 0.7;
    letter-spacing: 0.06em;
}

/* ── FERRO (dark warm + serif + gold) ── */
.demo-ferro { background: #0a0908; }
.demo-ferro .dp-brand-serif-light {
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: #f4f0ea;
    font-weight: 700;
}
.dp-ferro-hero {
    flex: 1;
    padding: 26px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background:
      linear-gradient(0deg, rgba(10, 9, 8, 0.7) 0%, rgba(10, 9, 8, 0.15) 100%),
      radial-gradient(ellipse at 30% 60%, #3a2e22 0%, #1a1410 40%, #0a0908 90%);
    min-height: 110px;
}
.dp-ferro-quote-1,
.dp-ferro-quote-2 {
    background: rgba(244, 240, 234, 0.92);
    color: #0a0908;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 11px;
    line-height: 1.2;
    margin-bottom: 3px;
    align-self: flex-start;
}
.dp-ferro-strip {
    text-align: center;
    padding: 8px 14px;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .hero-web .web-line,
    .hero-web .web-dot {
        opacity: 0.35 !important;
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════ */

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-bg);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-badge::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(45, 90, 39, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    40%, 100% { left: 150%; }
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

/* ── TRUST BAR ── */
.trust-bar {
    padding: 52px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    text-align: center;
}

.trust-item {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item strong {
    display: block;
    font-size: 1.75rem;
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* ── SECTIONS ── */
section {
    padding: 96px 0;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 48px;
}

/* ── SECTION DIVIDER ── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0;
}

.section-divider::before,
.section-divider::after {
    content: "";
    width: 48px;
    height: 1px;
    background: var(--border);
}

.section-divider .divider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ── PROCESS ── */
.process-section {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.process-section > .container {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.step {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.step:hover::before {
    width: 60px;
}

.step-number {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

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

/* ── PORTFOLIO ── */
.portfolio-section {
    background: var(--white);
}

.portfolio-section .section-label,
.portfolio-section .section-title,
.pricing-section .section-label,
.pricing-section .section-title,
.testimonials-section .section-label,
.testimonials-section .section-title {
    text-align: center;
}

.portfolio-section .section-desc,
.pricing-section .section-desc,
.testimonials-section .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

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

.portfolio-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.4s, transform 0.35s;
}

.portfolio-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-6px);
}

.portfolio-preview {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.preview-browser {
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.browser-chrome {
    background: #e4e1db;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #fc5f57; }
.browser-dots span:nth-child(2) { background: #fdbc2c; }
.browser-dots span:nth-child(3) { background: #34c84a; }

.browser-addr {
    flex: 1;
    background: var(--white);
    border-radius: 4px;
    font-size: 0.68rem;
    color: #888;
    padding: 3px 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-screen {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.ps-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    z-index: 2;
}

.ps-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 42px 16px 16px;
}

.preview-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.preview-hover span {
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 9px 22px;
    border-radius: 100px;
    transition: transform 0.3s;
    transform: translateY(8px);
}

.portfolio-preview:hover .preview-hover { opacity: 1; }
.portfolio-preview:hover .preview-hover span { transform: translateY(0); }

.portfolio-meta {
    padding: 22px 24px 26px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
}

.ptag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--bg-alt);
    color: var(--text-muted);
    text-transform: uppercase;
}

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

.portfolio-meta h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.portfolio-meta p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s;
}

.portfolio-cta:hover { gap: 9px; }

.portfolio-note {
    margin-top: 40px;
    padding: 32px 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.portfolio-note p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 560px;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232D5A27' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.testimonials-section > .container {
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.3s, transform 0.2s, border-left-color 0.3s;
    border-left: 3px solid transparent;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-left-color: var(--accent);
}

.t-stars {
    color: #F59E0B;
    font-size: 0.85rem;
    letter-spacing: 3px;
}

.testimonial-card blockquote {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.78;
    font-style: italic;
    flex: 1;
    margin: 0;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.t-author strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.t-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── PRICING ── */
.pricing-section {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.pricing-section > .container {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.price-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.price-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
}

.price-card.featured::before {
    content: "Legnépszerűbb";
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.price-tier {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}

.price-for {
    font-size: 0.9rem;
    color: #585858;
    margin: 4px 0 12px;
    line-height: 1.4;
    opacity: 0.7;
    font-weight: 300;
}

.price-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 0.95rem;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
    align-self: flex-end;
    margin-bottom: 4px;
}

.price-new {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.price-unit {
    font-size: 0.9rem;
    color: #666;
    align-self: flex-end;
    margin-bottom: 5px;
}

.price-discount {
    display: inline-block;
    margin: 4px 0px 4px 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1b5e20;
    background: #e8f5e9;
    padding: 3px 9px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.price-value {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.price-monthly {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-top: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-guarantee {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 32px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.pricing-guarantee p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.pricing-guarantee p::first-letter {
    color: var(--accent);
    font-weight: 700;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.price-cta {
    display: block;
    text-align: center;
    padding: 13px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: 0.2s;
}

.price-cta.primary {
    background: var(--accent);
    color: var(--white);
}

.price-cta.primary:hover { background: var(--accent-light); }

.price-cta.secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.price-cta.secondary:hover { border-color: var(--text); }

/* ── FAQ ── */
.faq-list { max-width: 700px; }

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-q {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    font-size: 1.02rem;
}

.faq-q::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-q.active::after { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.faq-a.open {
    max-height: 300px;
    padding-top: 14px;
}

/* ── CTA + CONTACT ── */
.cta-section {
    background: var(--text);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.cta-section::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(45, 90, 39, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.cta-section h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--white);
    line-height: 1.15;
}

.cta-section p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin: 0;
}

.cta-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.cta-method {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, background 0.2s;
}

.cta-method:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}

.cta-method strong {
    display: block;
    font-size: 0.88rem;
    color: var(--white);
    font-weight: 600;
}

.cta-method span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.form-group label span {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

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

.form-submit {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(45, 90, 39, 0.25);
}

.form-submit:hover:not(:disabled) {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.35);
}

.form-submit:disabled {
    cursor: default;
    opacity: 0.75;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* ── FOOTER ── */
footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.45);
    padding: 64px 0 0;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    display: inline-block;
    margin-bottom: 14px;
}

.footer-brand .logo span { color: rgba(255, 255, 255, 0.4); }

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-contacts a:hover { color: var(--white); }

.footer-nav,
.footer-demos-col {
    display: flex;
    flex-direction: column;
}

.footer-nav h4,
.footer-demos-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.footer-nav a,
.footer-demos-col a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-nav a:hover,
.footer-demos-col a:hover { color: var(--white); }

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-cta-link {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-cta-link:hover { color: var(--white) !important; }

/* ── TABLET ── */
@media (max-width: 900px) and (min-width: 769px) {
    .hero-stage { padding: 56px 24px; min-height: 440px; }

    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand { grid-column: 1 / -1; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .nav-links { display: none; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 16px;
    }

    .nav-toggle { display: block; }
    .hero { padding: 120px 0 64px; }

    /* New centered hero stage on mobile */
    .hero-stage {
        padding: 32px 12px;
        min-height: 380px;
    }
    .hero-wordmark {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
        margin-bottom: 12px;
    }
    .hero h1 {
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
        margin-bottom: 12px;
    }
    .hero p {
        font-size: 0.92rem;
        margin-bottom: 22px;
    }

    .trust-items { gap: 32px; }
    section { padding: 72px 0; }

    .services-grid,
    .pricing-grid { grid-template-columns: 1fr; }

    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-note {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-grid { grid-template-columns: 1fr; }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 24px 0;
    }

    .hero-glow {
        width: 400px;
        height: 300px;
    }
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered delays */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.08s; }
.fade-up:nth-child(4) { transition-delay: 0.16s; }
.fade-up:nth-child(5) { transition-delay: 0.24s; }
.fade-up:nth-child(6) { transition-delay: 0.32s; }