:root {
    --bg: #08080d;
    --bg-alt: #0e0e15;
    --bg-card: #13131c;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #e8e8ed;
    --text-2: #8a8a9a;
    --text-3: #56566a;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --accent-subtle: rgba(59, 130, 246, 0.08);
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
    --max-w: 1080px;
    --r: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ---- Layout ---- */

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5.5rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .section { padding: 7rem 0; }
    .section-title { font-size: 1.75rem; }
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--r);
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 24px var(--accent-glow);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: none;
    padding: 12px 8px;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-ghost::after {
    content: '\2192';
    transition: transform 0.2s;
}

.btn-ghost:hover::after {
    transform: translateX(4px);
}

.btn-sm { padding: 9px 18px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 32px; font-size: 0.9375rem; }

/* ---- Reveal ---- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 { transition-delay: 0s; }
.reveal-d2 { transition-delay: 0.1s; }
.reveal-d3 { transition-delay: 0.2s; }
.reveal-d4 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   NAV
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}

.nav-scrolled {
    background: rgba(8, 8, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-dot {
    color: var(--accent);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 40%;
    width: 700px;
    height: 700px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    max-width: 720px;
}

.hero-rotate-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 1.1em;
    vertical-align: bottom;
}

.hero-rotate {
    display: flex;
    flex-direction: column;
    animation: rotateWords 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-rotate-word {
    height: 1.1em;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes rotateWords {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-25%); }
    50%, 70% { transform: translateY(-50%); }
    75%, 95% { transform: translateY(-75%); }
    100% { transform: translateY(-100%); }
}

/* duplicate first word at end for seamless loop */
.hero-rotate-word:last-child {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 2.25rem;
    line-height: 1.7;
}

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

@media (min-width: 640px) {
    .hero-title { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
    .hero-sub { font-size: 1.125rem; }
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.stats-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

@media (max-width: 480px) {
    .stat-divider { display: none; }
    .stats-items { gap: 1.5rem; }
    .stat-item { min-width: 30%; }
    .hero-title { font-size: 2.25rem; }
    .hero-sub { font-size: 0.9375rem; }
}

/* ============================================
   STEPS
   ============================================ */

.steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--accent-subtle);
    background: var(--accent-subtle);
    letter-spacing: 0.02em;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.step p {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    .step-num {
        width: 52px;
        height: 52px;
        font-size: 0.9375rem;
    }
}

/* ============================================
   PRICING
   ============================================ */

.pricing-grid {
    display: grid;
    gap: 1.25rem;
}

.pricing-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--bg-card);
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    position: relative;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.pricing-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.pricing-speed {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    background: var(--accent-subtle);
    padding: 4px 10px;
    border-radius: 20px;
}

.price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.price-desc {
    font-size: 0.8125rem;
    color: var(--text-2);
    margin-bottom: 1rem;
    line-height: 1.6;
    align-self: start;
}

.pricing-features {
    margin-bottom: 1.25rem;
    align-self: end;
}

.pricing-features li {
    font-size: 0.8125rem;
    color: var(--text-2);
    padding: 0.25rem 0;
    padding-left: 1.4rem;
    position: relative;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0.8;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    align-self: end;
    margin-top: 0.5rem;
}

.pricing-card--featured {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 60px var(--accent-glow), 0 0 20px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(59, 130, 246, 0.1);
}

.pricing-card--featured:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.pricing-card--custom {
    border-style: dashed;
    background: transparent;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pricing-card--custom .pricing-header {
    margin-bottom: 0;
}

.pricing-card--custom .price-desc {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.pricing-card--custom .btn {
    width: auto;
    margin-top: 0;
}

.pricing-badge {
    position: absolute;
    top: -11px;
    left: 2rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 4px;
    white-space: nowrap;
}

.guarantee {
    text-align: center;
    color: var(--text-2);
    font-size: 0.875rem;
    margin-top: 2.5rem;
    font-style: italic;
}

@media (min-width: 640px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
    .pricing-card {
        grid-template-rows: subgrid;
        grid-row: span 5;
    }
    .pricing-card--featured {
        transform: scale(1.02);
    }
    .pricing-card--featured:hover {
        transform: scale(1.02) translateY(-3px);
    }
}

/* ============================================
   TEMPLATES / PORTFOLIO
   ============================================ */

.templates-intro {
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.65;
    font-size: 0.9375rem;
}

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

@media (min-width: 640px) {
    .templates-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .templates-grid { grid-template-columns: repeat(3, 1fr); }
}

.template-card {
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.template-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* browser chrome */
.template-browser {
    position: relative;
    background: #1a1a24;
    box-shadow: inset 0 -1px 0 var(--border);
}

.browser-dots {
    display: flex;
    gap: 5px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:last-child { background: #28c840; }

/* preview window */
.template-preview {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.template-scroll {
    transition: transform 3.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* bottom fade overlay — matches mock background */
.preview-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.4s;
}

.template-card:hover .preview-fade {
    opacity: 0;
}

.preview-fade--light-bg {
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
}

.preview-fade--dark-bg {
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
}

/* clickable hint */
.template-browser {
    cursor: pointer;
}

/* template modal / lightbox */
.template-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.template-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.template-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.template-modal-content {
    position: relative;
    max-width: 780px;
    width: 90%;
    max-height: 90vh;
    border-radius: var(--r);
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.template-modal.active .template-modal-content {
    transform: scale(1);
}

.template-modal-browser {
    background: #1a1a24;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
}

.template-modal-preview {
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none;
}

.template-modal-preview::-webkit-scrollbar {
    display: none;
}

.template-modal-preview .template-scroll {
    zoom: 2;
    transition: none;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.template-modal-close {
    position: absolute;
    top: -36px;
    right: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-2);
    z-index: 2;
    transition: color 0.2s;
}

.template-modal-close:hover {
    color: var(--text);
}

.template-modal-prev,
.template-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    z-index: 3;
    transition: color 0.2s, background 0.2s;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.template-modal-prev { left: 8px; }
.template-modal-next { right: 8px; }

.template-modal-prev:hover,
.template-modal-next:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.6);
}

.template-modal-hint {
    position: sticky;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s;
}

.template-modal-hint.visible {
    opacity: 1;
}

/* template info */
.template-info {
    padding: 1.25rem 1.25rem 1.5rem;
}

.template-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.template-type {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.template-price {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-3);
}

.template-info h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.template-info p {
    font-size: 0.8125rem;
    color: var(--text-2);
    line-height: 1.55;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template-info .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   MOCK SITES — Restaurant
   ============================================ */

.mock {
    padding: 0;
    font-size: 7px;
    line-height: 1.4;
    color: #333;
    min-height: 500px;
}

.mock--restaurant {
    background: #faf8f5;
}

.mock-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mock-logo {
    font-weight: 700;
    font-size: 9px;
    color: #2d2015;
    font-family: Georgia, serif;
}

.mock-links {
    font-size: 5.5px;
    color: #888;
    letter-spacing: 0.04em;
}

.mock-hero-img {
    height: 100px;
    background: linear-gradient(135deg, #d4a574 0%, #c4916a 50%, #a07050 100%);
    position: relative;
}

.mock-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(250,248,245,0.9));
}

.mock-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 14px 14px;
    margin-top: -20px;
    position: relative;
}

.mock-h1 {
    font-size: 11px;
    font-weight: 700;
    color: #2d2015;
    font-family: Georgia, serif;
    line-height: 1.2;
    margin-bottom: 4px;
}

.mock-p {
    font-size: 5.5px;
    color: #888;
    max-width: 140px;
    margin-bottom: 6px;
}

.mock-btn {
    font-size: 5px;
    background: #2d2015;
    color: #faf8f5;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.mock-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 10px 14px;
}

.mock-box {
    height: 45px;
    border-radius: 3px;
    background: linear-gradient(145deg, #e8ddd2, #d4c8b8);
}

.mock-box.bakery-1 { background: linear-gradient(145deg, #e6c9a8, #d4a878); }
.mock-box.bakery-2 { background: linear-gradient(145deg, #dcc4a8, #c8a882); }
.mock-box.bakery-3 { background: linear-gradient(145deg, #e0d0bc, #c8b8a0); }
.mock-box.bakery-4 { background: linear-gradient(145deg, #d4a878, #c49468); }
.mock-box.bakery-5 { background: linear-gradient(145deg, #e0c8a8, #d0b890); }

.mock-box.tall {
    height: 65px;
}

/* bakery opening hours */
.mock-hours {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mock-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 5px;
    color: #888;
    padding: 2px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.mock-section {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-h2 {
    font-size: 8px;
    font-weight: 700;
    color: #2d2015;
    font-family: Georgia, serif;
}

.mock-lines {
    height: 4px;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
    width: 90%;
}

.mock-lines.short {
    width: 60%;
}

.mock-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px 14px;
}

.mock-map {
    height: 50px;
    border-radius: 3px;
    background: linear-gradient(135deg, #c8d8c0, #a8c098);
    margin-top: 4px;
}

/* ============================================
   MOCK SITES — Portfolio (dark)
   ============================================ */

.mock--portfolio {
    background: #0f0f14;
    color: #e0e0e0;
}

.mock-hero-dark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 14px 20px;
    background: linear-gradient(180deg, #18181f 0%, #0f0f14 100%);
}

.mock-h1-lg {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.mock-subtitle {
    font-size: 5.5px;
    color: #666;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mock-grid-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 35px;
    gap: 4px;
    padding: 10px 10px;
}

.mock-img {
    border-radius: 2px;
    min-height: 35px;
}

.mock-img.a { background: linear-gradient(135deg, #2a3a4a, #1a2a3a); grid-row: span 2; }
.mock-img.b { background: linear-gradient(135deg, #3a2a2a, #4a3535); }
.mock-img.c { background: linear-gradient(135deg, #2a2a3a, #35354a); grid-row: span 2; }
.mock-img.d { background: linear-gradient(135deg, #3a3a2a, #4a4a35); }
.mock-img.e { background: linear-gradient(135deg, #2a3a2a, #354a35); }
.mock-img.f { background: linear-gradient(135deg, #3a2a3a, #4a354a); }
.mock-img.g { background: linear-gradient(135deg, #3a3a2a, #4a4a35); grid-row: span 2; }
.mock-img.h { background: linear-gradient(135deg, #2a2a3a, #353545); }
.mock-img.i { background: linear-gradient(135deg, #3a2a2a, #4a3530); }

/* portfolio contact form */
.mock-contact-dark {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.mock-field {
    height: 12px;
    border-radius: 2px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.mock-field.wide {
    height: 28px;
}

.mock-btn-dark {
    font-size: 5px;
    background: #e0e0e0;
    color: #0f0f14;
    padding: 3.5px 10px;
    border-radius: 3px;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 2px;
}

.mock-section-dark {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-h2-light {
    font-size: 8px;
    font-weight: 700;
    color: #e0e0e0;
}

.mock-lines-light {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    width: 85%;
}

.mock-lines-light.short {
    width: 55%;
}

.mock-img-wide {
    height: 55px;
    border-radius: 2px;
    background: linear-gradient(135deg, #1e2830, #28323a);
}

/* ============================================
   MOCK SITES — SaaS
   ============================================ */

.mock--saas {
    background: #fafbff;
}

.mock-nav-saas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mock-logo-saas {
    font-size: 8px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
}

.mock-cta-nav {
    font-size: 4.5px;
    background: #3b5bdb;
    color: #fff;
    padding: 2.5px 7px;
    border-radius: 3px;
    font-weight: 600;
}

.mock-hero-saas {
    text-align: center;
    padding: 24px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mock-h1-saas {
    font-size: 12px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 5px;
}

.mock-p-saas {
    font-size: 5.5px;
    color: #777;
    max-width: 150px;
    margin-bottom: 8px;
}

.mock-btn-row {
    display: flex;
    gap: 4px;
    align-items: center;
}

.mock-btn-saas {
    font-size: 5px;
    background: #3b5bdb;
    color: #fff;
    padding: 3.5px 10px;
    border-radius: 3px;
    font-weight: 600;
}

.mock-btn-ghost {
    font-size: 5px;
    color: #777;
    padding: 3.5px 6px;
}

.mock-logos {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
}

.mock-logo-pill {
    width: 30px;
    height: 8px;
    border-radius: 2px;
    background: rgba(0,0,0,0.05);
}

.mock-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 10px 14px;
}

.mock-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.mock-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e8edff, #d4dcff);
}

.mock-lines-sm {
    height: 3px;
    width: 80%;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
}

.mock-pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    padding: 10px 14px 14px;
}

/* saas testimonial */
.mock-testimonial-saas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
    text-align: center;
}

.mock-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4dcff, #b8c4ff);
    margin-bottom: 2px;
}

.mock-price-card {
    height: auto;
    min-height: 70px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    padding: 6px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.mock-price-num {
    font-size: 9px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
}

.mock-price-card .mock-lines-sm.short {
    width: 50%;
}

.mock-price-card.featured {
    border-color: #3b5bdb;
    box-shadow: 0 2px 8px rgba(59,91,219,0.12);
    transform: scale(1.04);
}

/* ============================================
   MOCK — Generic footer (prevents black gap)
   ============================================ */

.mock-footer-generic {
    padding: 14px;
    display: flex;
    justify-content: center;
    min-height: 30px;
}

.mock-footer-light { background: #f2f0ec; }
.mock-footer-dark { background: #0a0a0f; }
.mock-footer-saas { background: #f0f2f8; }
.mock-footer-store { background: #f0f0f0; }
.mock-footer-agency { background: #0c0c10; }

/* SaaS CTA section */
.mock-section-saas-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 14px;
    background: #f0f2f8;
    text-align: center;
}

/* ============================================
   MOCK SITES — Consultant
   ============================================ */

.mock--consultant {
    background: #f8faf8;
}

.mock-nav-con {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mock-logo-con {
    font-size: 8px;
    font-weight: 700;
    color: #1a2e1a;
}

.mock-links-con {
    font-size: 5px;
    color: #888;
}

.mock-hero-con {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 14px;
}

.mock-hero-con-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-h1-con {
    font-size: 11px;
    font-weight: 800;
    color: #1a2e1a;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.mock-p-con {
    font-size: 5px;
    color: #777;
    line-height: 1.5;
}

.mock-btn-con {
    font-size: 4.5px;
    background: #2d6a4f;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    align-self: flex-start;
}

.mock-btn-con.center {
    align-self: center;
}

.mock-headshot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8d8c0, #a8c898);
    flex-shrink: 0;
}

.mock-services-con {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    padding: 8px 14px;
}

.mock-service-card-con {
    padding: 8px 6px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 3px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mock-service-icon-con {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4e8d0, #b8d8b0);
}

.mock-lines-con {
    height: 3px;
    width: 70%;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
}

.mock-lines-con.wide { width: 90%; }
.mock-lines-con.short { width: 50%; }
.mock-lines-con.tiny { width: 30%; }

.mock-quote-con {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.mock-quote-mark {
    font-family: Georgia, serif;
    font-size: 16px;
    color: #2d6a4f;
    opacity: 0.3;
    line-height: 1;
}

.mock-quote-author {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.mock-avatar-sm {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4e0d0, #c0d0b8);
}

.mock-h2-con {
    font-size: 8px;
    font-weight: 700;
    color: #1a2e1a;
    margin-bottom: 4px;
}

.mock-cta-con {
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #f0f5f0, #e8f0e8);
    text-align: center;
}

/* ============================================
   MOCK SITES — Store
   ============================================ */

.mock--store {
    background: #fafafa;
}

.mock-nav-store {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mock-logo-store {
    font-size: 8px;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.12em;
}

.mock-nav-store-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-links-store {
    font-size: 5px;
    color: #888;
}

.mock-cart {
    font-size: 4.5px;
    color: #111;
    font-weight: 600;
    background: rgba(0,0,0,0.04);
    padding: 2px 5px;
    border-radius: 2px;
}

.mock-hero-store {
    padding: 24px 14px 16px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.mock-h1-store {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.mock-p-store {
    font-size: 5px;
    color: #999;
}

.mock-btn-store {
    font-size: 4.5px;
    background: #fff;
    color: #111;
    padding: 3px 10px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mock-btn-store.sm {
    font-size: 4px;
    padding: 2.5px 7px;
}

.mock-categories {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    justify-content: center;
}

.mock-cat {
    font-size: 5px;
    color: #999;
    padding: 2px 6px;
    border-radius: 2px;
}

.mock-cat.active {
    color: #111;
    font-weight: 600;
    background: rgba(0,0,0,0.05);
}

.mock-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px 14px 10px;
}

.mock-product {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mock-product-img {
    height: 55px;
    border-radius: 2px;
}

.mock-product-img.prod-1 { background: linear-gradient(145deg, #e8e4de, #d8d0c4); }
.mock-product-img.prod-2 { background: linear-gradient(145deg, #d4d4d4, #c0c0c0); }
.mock-product-img.prod-3 { background: linear-gradient(145deg, #dcd4c8, #c8bca8); }
.mock-product-img.prod-4 { background: linear-gradient(145deg, #c8c8c8, #b4b4b4); }

.mock-product-name {
    height: 3px;
    width: 70%;
    background: rgba(0,0,0,0.08);
    border-radius: 1px;
}

.mock-product-price {
    font-size: 6px;
    font-weight: 700;
    color: #111;
}

.mock-featured-store {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    align-items: center;
}

.mock-featured-img {
    width: 70px;
    height: 55px;
    border-radius: 3px;
    background: linear-gradient(135deg, #d4ccc0, #c0b4a4);
    flex-shrink: 0;
}

.mock-featured-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-h2-store {
    font-size: 7px;
    font-weight: 700;
    color: #111;
}

.mock-lines-store {
    height: 3px;
    width: 80%;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
}

/* ============================================
   MOCK SITES — Agency
   ============================================ */

.mock--agency {
    background: #0c0c10;
    color: #e8e8e8;
}

.mock-nav-agency {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-logo-agency {
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #fff;
}

.mock-links-agency {
    font-size: 5px;
    color: #666;
}

.mock-hero-agency {
    padding: 30px 14px 20px;
}

.mock-h1-agency {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}

.mock-clients {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-label-agency {
    font-size: 5px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.mock-client-logos {
    display: flex;
    gap: 6px;
}

.mock-client-pill {
    width: 28px;
    height: 10px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
}

.mock-cases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 14px;
}

.mock-case {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-case-img {
    height: 50px;
    border-radius: 3px;
}

.mock-case-img.case-1 { background: linear-gradient(135deg, #1a2535, #253545); }
.mock-case-img.case-2 { background: linear-gradient(135deg, #2a1a25, #352535); }

.mock-case-title {
    height: 4px;
    width: 60%;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.mock-lines-agency {
    height: 3px;
    width: 70%;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
}

.mock-lines-agency.wide { width: 85%; }
.mock-lines-agency.short { width: 40%; }

.mock-team {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-team-row {
    display: flex;
    gap: 6px;
}

.mock-team-member {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.mock-section-agency {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-h2-agency {
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.mock-btn-agency {
    font-size: 4.5px;
    background: #fff;
    color: #0c0c10;
    padding: 3.5px 10px;
    border-radius: 2px;
    font-weight: 700;
    align-self: flex-start;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
    max-width: 680px;
}

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

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
    transition: color 0.15s;
}

.faq-trigger:hover { color: var(--text); }

.faq-icon {
    flex-shrink: 0;
    color: var(--text-3);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--text-3);
    border-radius: var(--r);
    padding: 1.75rem;
}

.testimonial-quote {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-name {
    color: var(--text);
    font-weight: 500;
    font-size: 0.875rem;
    display: block;
}

.testimonial-role {
    color: var(--text-2);
    font-size: 0.8rem;
}

@media (min-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   CTA
   ============================================ */

.cta-section {
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.15;
    position: relative;
}

.cta-title .accent {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-sub {
    color: var(--text-2);
    font-size: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-section .btn {
    position: relative;
}

@media (min-width: 1024px) {
    .cta-title { font-size: 3.5rem; }
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-intro {
    color: var(--text-2);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.65;
}

.contact-form {
    max-width: 640px;
}

.form-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-2);
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color 0.2s;
    appearance: none;
}

.form-input::placeholder {
    color: var(--text-3);
}

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

.form-input.invalid {
    border-color: #ef4444;
}

.form-error {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.3rem;
}

.form-input.invalid ~ .form-error {
    display: block;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6e80' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-fallback {
    font-size: 0.8125rem;
    color: var(--text-3);
    margin-top: 1rem;
}

.form-fallback a {
    color: var(--accent);
}

.form-fallback a:hover {
    text-decoration: underline;
}

.form-hidden {
    display: none;
}

.form-success {
    padding: 2rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-2);
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.footer {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-3);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav a {
    font-size: 0.8125rem;
    color: var(--text-3);
    transition: color 0.15s;
}

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