/* ═══════════════════════════════════════════════════════════════
   styles.css — Shared stylesheet for stenild.io
   Extracted from index.html + additions for inner pages
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ─── CUSTOM PROPERTIES ─── */
:root {
    --bg: #09090b;
    --surface: #111113;
    --surface-hover: #18181b;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #63637a;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99,102,241,0.12);
    --green: #22c55e;
    --shopware: #189eff;
    --woo: #7f54b3;
    --shopify: #95bf47;
    --magento: #f46f25;
}

/* ─── SKIP NAVIGATION ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

html { scroll-behavior: smooth; }

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

/* Subtle grain */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.025;
    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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

a { color: inherit; text-decoration: none; }

/* ─── NAV ─── */
header nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    background: rgba(9,9,11,0.75);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.nav-links { display: flex; gap: 2rem; align-items: center; }

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    background: var(--accent);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 6rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.hero-badge svg { width: 16px; height: 16px; color: var(--accent-light); }

h1 {
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    max-width: 900px;
    margin-bottom: 1.5rem;
}

h1 .gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #6366f1 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-stores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.store-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.store-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99,102,241,0.25);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.2);
}

/* ─── SECTION COMMON ─── */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

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

/* ─── PLUGINS / STORES ─── */
.plugins {
    padding: 6rem 2rem 8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.plugins .section-desc { margin-bottom: 4rem; }

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.store-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.store-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.store-card.shopware::before { background: var(--shopware); }
.store-card.woocommerce::before { background: var(--woo); }
.store-card.shopify::before { background: var(--shopify); }
.store-card.magento::before { background: var(--magento); }

.store-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.store-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.store-icon.sw { background: rgba(24,158,255,0.12); color: var(--shopware); }
.store-icon.wc { background: rgba(127,84,179,0.12); color: var(--woo); }
.store-icon.sf { background: rgba(149,191,71,0.12); color: var(--shopify); }
.store-icon.mg { background: rgba(244,111,37,0.12); color: var(--magento); }

.store-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.store-card h3 small {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.store-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.store-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.store-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ─── WHAT I BUILD ─── */
.capabilities {
    padding: 6rem 2rem 8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.capabilities .section-desc { margin-bottom: 4rem; }

.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.cap-card {
    background: var(--surface);
    padding: 2.5rem;
    transition: background 0.3s;
}

.cap-card:hover { background: var(--surface-hover); }

.cap-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
}

.cap-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.cap-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ─── ABOUT ─── */
.about {
    padding: 6rem 2rem 8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
    margin-top: 4rem;
}

.about-card {
    padding: 3rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
}

.about-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.about-title {
    font-size: 0.9rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-bio {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

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

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.15rem;
}

.about-timeline { position: relative; }

.about-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    padding-left: 2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent);
}

.timeline-item.current .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-company {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.timeline-role {
    font-size: 0.82rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.timeline-period {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ─── CONSULTING ─── */
.consulting {
    padding: 6rem 2rem 8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.consulting-inner {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.consult-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.consult-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.consult-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.consult-card h3 svg {
    width: 20px;
    height: 20px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.consult-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.consult-card ul {
    list-style: none;
    margin-top: 1rem;
}

.consult-card li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.35rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.consult-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* ─── TECH ─── */
.tech {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.tech-tag {
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tech-tag:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

/* ─── FAQ ─── */
.faq {
    padding: 6rem 2rem 8rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 0.5rem;
}

/* ─── CONTACT ─── */
.contact {
    padding: 8rem 2rem;
    text-align: center;
}

.contact-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}

.contact-link:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.contact-link svg { width: 18px; height: 18px; }

/* ─── FOOTER ─── */
footer {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

footer nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; position: static; background: none; border: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
footer nav a { color: var(--text-muted); font-size: 0.8rem; font-weight: 500; transition: color 0.2s; }
footer nav a:hover { color: var(--text-secondary); }

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

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

/* ─── MOBILE ─── */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
    header nav { padding: 1rem 1.25rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(9,9,11,0.95);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        padding: 1rem 0;
    }

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

    .nav-links a {
        padding: 0.75rem 2rem;
        width: 100%;
    }

    .nav-links .nav-cta {
        margin: 0.5rem 2rem;
        text-align: center;
        width: auto;
    }

    .mobile-menu-btn { display: block; }

    .hero { padding: 8rem 1.5rem 4rem; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .consulting-inner {
        grid-template-columns: 1fr;
    }

    .store-grid { grid-template-columns: 1fr; }
    .cap-grid { grid-template-columns: 1fr; }
    .contact-inner { padding: 2.5rem 1.5rem; }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    footer nav { flex-wrap: wrap; gap: 1rem; }

    /* Inner-page responsive adjustments */
    .page-header { padding: 7rem 1.5rem 3rem; }
    .page-header h1 { font-size: 1.8rem; }

    .breadcrumb { padding: 5.5rem 1.5rem 0; }

    .internal-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .store-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   INNER-PAGE ADDITIONS
   Styles for sub-pages (about, consulting, plugins, contact, etc.)
   ═══════════════════════════════════════════════════════════════ */

/* ─── BREADCRUMB NAVIGATION ─── */
.breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6.5rem 2rem 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.2s;
    font-weight: 500;
}

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

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--accent);
    font-weight: 600;
}

/* ─── PAGE HEADER (Inner-page hero) ─── */
.page-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    pointer-events: none;
}

.page-header .section-label {
    margin-bottom: 1.25rem;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    margin-bottom: 1.25rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

/* ─── INTERNAL LINKS (Cross-linking section) ─── */
.internal-links {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.internal-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.internal-links a:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.internal-links a::after {
    content: '\2192';        /* right arrow */
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.internal-links a:hover::after {
    color: var(--accent-light);
    transform: translateX(3px);
}

.internal-links .link-desc {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* ─── BACK LINK ─── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    padding: 0.35rem 0;
}

.back-link:hover {
    color: var(--text-secondary);
}

.back-link::before {
    content: '\2190';        /* left arrow */
    font-size: 1rem;
    transition: transform 0.2s;
}

.back-link:hover::before {
    transform: translateX(-3px);
}


/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (alternative to .page-header, used by plugin subpages)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
    padding: 2rem 2rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

.page-hero-sub {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.shopify-badge {
    border-color: rgba(149,191,71,0.2);
    background: rgba(149,191,71,0.06);
    color: var(--shopify);
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT SECTION (generic wrapper for inner page sections)
   ═══════════════════════════════════════════════════════════════ */
.content-section {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.content-section .section-desc {
    margin-bottom: 3.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES GRID (used by WooCommerce, Shopify)
   ═══════════════════════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2.25rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   TECH STACK GRID (card-based tech display)
   ═══════════════════════════════════════════════════════════════ */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--border);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.tech-card {
    background: var(--surface);
    padding: 2.25rem;
    transition: background 0.3s;
}

.tech-card:hover {
    background: var(--surface-hover);
}

.tech-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
}

.tech-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS GRID (numbered step cards)
   ═══════════════════════════════════════════════════════════════ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.process-card {
    padding: 2.25rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.process-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.process-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS STEPS (alternative layout used by Shopify, Consulting)
   ═══════════════════════════════════════════════════════════════ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.process-step {
    padding: 2.25rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.process-step:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   CROSS-LINK SECTIONS (various patterns across pages)
   ═══════════════════════════════════════════════════════════════ */
.cross-link-cta {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cross-link-cta a {
    color: var(--accent-light);
    font-weight: 600;
    transition: color 0.2s;
}

.cross-link-cta a:hover {
    color: var(--text);
}

/* Cross-links section (Shopify / About style) */
.cross-links-section,
.cross-links {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cross-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.cross-link-card {
    display: block;
    padding: 2rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
}

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

.cross-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cross-link-icon.sw { background: rgba(24,158,255,0.12); color: var(--shopware); }
.cross-link-icon.wc { background: rgba(127,84,179,0.12); color: var(--woo); }
.cross-link-icon.sf { background: rgba(149,191,71,0.12); color: var(--shopify); }
.cross-link-icon.mg { background: rgba(244,111,37,0.12); color: var(--magento); }
.cross-link-icon.consult { background: var(--accent-glow); color: var(--accent-light); }

/* Generic (no color suffix) */
.cross-link-card .cross-link-icon:not(.sw):not(.wc):not(.sf):not(.mg):not(.consult) {
    background: var(--accent-glow);
    color: var(--accent-light);
}

.cross-link-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.cross-link-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CONSULTING SERVICES (consulting page)
   ═══════════════════════════════════════════════════════════════ */
.consulting-services {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.consulting-services .section-desc {
    margin-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.35rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   HOW I WORK (consulting page)
   ═══════════════════════════════════════════════════════════════ */
.how-i-work {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.how-i-work .section-desc {
    margin-bottom: 3.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   WHY ME / WHY CARDS (consulting page)
   ═══════════════════════════════════════════════════════════════ */
.why-me {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-me .section-desc {
    margin-bottom: 3.5rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.why-card {
    padding: 2.25rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT DETAIL (about page)
   ═══════════════════════════════════════════════════════════════ */
.about-detail {
    padding: 2rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-timeline-section {
    position: relative;
}

.timeline-heading {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.about-photo {
    width: 100%;
    max-width: 200px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-section {
    padding: 2rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
}

.contact-info-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-content h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.contact-info-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-info-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Help section */
.help-section {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.help-inner .section-desc {
    margin-bottom: 3rem;
}

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

.help-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.help-item:hover {
    border-color: var(--border-hover);
}

.help-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
    flex-shrink: 0;
}

.help-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.help-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Notes section */
.notes-section {
    padding: 2rem 2rem 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.note-card {
    display: flex;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.note-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent-light);
    flex-shrink: 0;
}

.note-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.note-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Crosslinks (contact page variant) */
.crosslinks-section {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.crosslinks-inner .section-desc {
    margin-bottom: 2.5rem;
}

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

.crosslink-card {
    display: block;
    padding: 2rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
}

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

.crosslink-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: var(--accent-glow);
    color: var(--accent-light);
}

.crosslink-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.crosslink-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.crosslink-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.2s, transform 0.2s;
}

.crosslink-card:hover .crosslink-arrow {
    color: var(--accent-light);
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — ADDITIONAL SUBPAGE RULES
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .page-hero { padding: 2rem 1.5rem 3rem; }
    .page-hero h1 { font-size: 2rem; }

    .content-section { padding: 3rem 1.5rem 4rem; }

    .features-grid { grid-template-columns: 1fr; }
    .tech-stack-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .cross-links-grid { grid-template-columns: 1fr; }
    .crosslinks-grid { grid-template-columns: 1fr; }
    .help-grid { grid-template-columns: 1fr; }

    .about-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card-grid { grid-template-columns: 1fr; }
    .notes-grid { grid-template-columns: 1fr; }
}
