/* ==========================================================================
   FARAZ PACS — Clean Minimal Design System
   Theme: Dark (default) / Light — 3D Touch Cards, Monochrome
   ========================================================================== */

:root,
:root[data-theme="dark"] {
    --bg: #0B0F17;
    --bg-card: #111827;
    --bg-raised: #1A2234;
    --bg-hover: #1E293B;

    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.18);
    --border-active: rgba(255,255,255,0.3);

    --text: #F1F5F9;
    --text-2: #94A3B8;
    --text-3: #64748B;

    --btn-bg: #F1F5F9;
    --btn-text: #0B0F17;
    --btn-hover: #E2E8F0;

    --wa: #25D366;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-pill: 9999px;
}

:root[data-theme="light"] {
    --bg: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-raised: #F1F5F9;
    --bg-hover: #E2E8F0;

    --border: rgba(0,0,0,0.07);
    --border-hover: rgba(0,0,0,0.14);
    --border-active: rgba(0,0,0,0.25);

    --text: #0F172A;
    --text-2: #475569;
    --text-3: #94A3B8;

    --btn-bg: #0F172A;
    --btn-text: #FFFFFF;
    --btn-hover: #1E293B;

    --shadow: 0 8px 32px rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

.font-mono { font-family: 'JetBrains Mono', monospace; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.w100 { width: 100%; }
.mt-32 { margin-top: 32px; }

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 11px 22px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.15s;
}
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); }

.btn-primary-sm {
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 7px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.btn-primary-sm:hover { background: var(--btn-hover); }

.btn-outline {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 22px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--border-active); transform: translateY(-1px); }

.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 7px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-outline-sm:hover { border-color: var(--border-active); }

.btn-wa {
    background: var(--wa);
    color: #fff;
    padding: 11px 22px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.15s;
}
.btn-wa:hover { transform: translateY(-1px); filter: brightness(1.1); }

.btn-wa-sm {
    color: #4ADE80;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.15s;
}
.btn-wa-sm:hover { border-color: #22C55E; background: rgba(34,197,94,0.1); }

.btn-email-sm {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    font-size: 15px;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.btn-email-sm:hover {
    border-color: var(--border-active);
    background: var(--bg-raised);
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 12px;
    z-index: 100;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 30px;
    width: auto;
}

[data-theme="dark"] .logo-img { filter: brightness(1.15); }

.logo-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nav-desktop {
    display: flex;
    gap: 18px;
}

.nav-desktop a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.15s;
}
.nav-desktop a:hover { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.15s;
}
.icon-btn:hover { background: var(--bg-hover); }

.mobile-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

/* Mobile Nav */
.mobile-overlay {
    position: fixed;
    inset: 0;
    overflow: clip;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-panel {
    position: absolute;
    top: 0; right: 0;
    width: 280px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}
.mobile-overlay.active .mobile-panel { transform: translateX(0); }

.mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.mobile-panel-head button {
    color: var(--text);
    font-size: 16px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mobile-nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
}
.mobile-nav-links a:hover { color: var(--text); }

.mobile-nav-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
    padding: 72px 0 48px;
    text-align: center;
}

.hero-content { max-width: 760px; margin: 0 auto; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 5px 16px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge .dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--text-3);
}

.hero h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 16px;
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-head p {
    font-size: 15px;
    color: var(--text-2);
}

/* ═══════════════════════════════════════════════════════════════════
   3D TOUCH PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════════ */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card-3d {
    perspective: 800px;
}

.card-3d-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.2s, box-shadow 0.3s;
    transform-style: preserve-3d;
    will-change: transform;
}

.card-3d-inner:hover {
    border-color: var(--border-active);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.card-3d-inner h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-3d-inner > p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: 16px;
}

.tag-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tag-list li {
    font-size: 12.5px;
    color: var(--text-2);
    padding-left: 18px;
    position: relative;
}

.tag-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text);
    font-weight: 700;
    font-size: 11px;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
    margin-top: auto;
}
.card-link:hover { border-color: var(--border-active); background: var(--bg-hover); }

/* ═══════════════════════════════════════════════════════════════════
   FEATURE GRID
   ═══════════════════════════════════════════════════════════════════ */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.feat-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.15s, transform 0.2s;
}

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

.feat-item > i {
    font-size: 18px;
    color: var(--text);
    margin-top: 2px;
    flex-shrink: 0;
}

.feat-item strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.feat-item span {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════
   SCREENSHOTS
   ═══════════════════════════════════════════════════════════════════ */
.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.ss-card:hover {
    border-color: var(--border-active);
    transform: translateY(-3px);
}

.ss-bar {
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    padding: 7px 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot-r, .dot-y, .dot-g {
    width: 8px; height: 8px;
    border-radius: 50%;
}
.dot-r { background: #EF4444; }
.dot-y { background: #F59E0B; }
.dot-g { background: #10B981; }

.ss-label {
    margin-left: auto;
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.04em;
}

.ss-img-wrap {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.ss-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Mobile frames get constrained */
.mobile-frame .ss-img-wrap {
    max-height: 400px;
    overflow: hidden;
}

.mobile-frame .ss-img-wrap img {
    width: auto;
    max-height: 380px;
    margin: 0 auto;
    object-fit: contain;
}

.ss-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-3);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════════
   PRINT SERVER FLOW
   ═══════════════════════════════════════════════════════════════════ */
.flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.flow-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 18px;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.flow-box.highlight {
    background: var(--bg-raised);
    border-color: var(--border-active);
}

.flow-box i {
    font-size: 22px;
    display: block;
    margin-bottom: 6px;
}

.flow-box strong {
    display: block;
    font-size: 12.5px;
    margin-bottom: 2px;
}

.flow-box span {
    font-size: 10px;
    color: var(--text-3);
}

.flow-arr {
    color: var(--text-3);
    font-size: 16px;
    flex-shrink: 0;
}

.benefit-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-banner > i {
    font-size: 24px;
    color: var(--text);
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-banner strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.benefit-banner p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT / FOUNDER
   ═══════════════════════════════════════════════════════════════════ */
.about-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    border-radius: var(--r-lg);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.badge-sm {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 8px;
}

.about-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-role {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 20px;
}

.about-story {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.about-story p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

.about-story strong {
    color: var(--text);
}

.about-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
   IT SUPPORT
   ═══════════════════════════════════════════════════════════════════ */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.support-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px 20px;
    transition: border-color 0.15s, transform 0.2s;
}

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

.support-item i {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    color: var(--text);
}

.support-item strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 4px;
}

.support-item span {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.4;
}

.support-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-3);
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.contact-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 48px 32px;
    box-shadow: var(--shadow);
}

.contact-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card > p {
    font-size: 15px;
    color: var(--text-2);
    margin-bottom: 24px;
}

.contact-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.contact-info {
    font-size: 12px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--text-3);
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.contact-info a:hover { color: var(--text); }

.contact-info .sep { opacity: 0.4; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    padding: 40px 0 20px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo-img { height: 24px; }

.footer-brand > p {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.5;
    max-width: 300px;
}

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

.footer-links h5 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 12.5px;
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-3);
    flex-wrap: wrap;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    transform: translateY(10px);
    transition: transform 0.2s;
}
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-head {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-head h3 {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
}
.modal-head button {
    color: var(--text-3);
    font-size: 15px;
}
.modal-head button:hover { color: var(--text); }

.modal-body {
    padding: 20px;
    max-height: 65vh;
    overflow-y: auto;
}

.form-group { margin-bottom: 14px; }

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 5px;
}

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

.modal-body input[type="text"],
.modal-body input[type="tel"],
.modal-body input[type="email"] {
    width: 100%;
    height: 38px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0 12px;
    font-size: 13px;
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}
.modal-body input:focus { border-color: var(--border-active); }

.chk-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chk-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    padding: 7px 12px;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 12px;
}
.chk-item input { accent-color: var(--text); }
.chk-item span { display: flex; align-items: center; gap: 5px; }

.modal-foot {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--text);
    border-radius: var(--r-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 3000;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.25s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-desktop { display: none; }
    .mobile-toggle { display: inline-flex; }
    .cards-3 { grid-template-columns: 1fr; }
    .support-grid { grid-template-columns: 1fr 1fr; }
    .screenshots-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .about-card { grid-template-columns: 1fr; }
    .about-photo { max-width: 240px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 14px; }
    .section-head h2 { font-size: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .support-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .flow-row {
        flex-direction: column;
        gap: 8px;
    }
    .flow-arr { transform: rotate(90deg); }
    .flow-box { max-width: 100%; width: 100%; }

    .about-card { padding: 24px; gap: 24px; }
    .contact-card { padding: 32px 20px; }

    .chk-group { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════════
   3D TILT CARD INTERACTION (JS-driven via transform)
   ═══════════════════════════════════════════════════════════════════ */
.card-3d-inner {
    transform: rotateX(0) rotateY(0);
}

/* Faraz PACS landing page refresh */
:root,
:root[data-theme="dark"] {
    --bg: #101316;
    --bg-card: #171b20;
    --bg-raised: #20262c;
    --bg-hover: #293139;
    --border: rgba(235, 242, 246, 0.1);
    --border-hover: rgba(235, 242, 246, 0.18);
    --border-active: rgba(235, 242, 246, 0.28);
    --text: #edf1f3;
    --text-2: #b1bbc2;
    --text-3: #89949c;
    --btn-bg: #edf1f3;
    --btn-text: #101316;
    --btn-hover: #dce4e8;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.16);
}

:root[data-theme="light"] {
    --bg: #f3f5f6;
    --bg-card: #ffffff;
    --bg-raised: #e9edef;
    --bg-hover: #e1e7ea;
    --border: rgba(16, 25, 30, 0.1);
    --border-hover: rgba(16, 25, 30, 0.17);
    --border-active: rgba(16, 25, 30, 0.26);
    --text: #182126;
    --text-2: #4c5961;
    --text-3: #697780;
    --btn-bg: #182126;
    --btn-text: #ffffff;
    --btn-hover: #303b42;
    --shadow: 0 18px 48px rgba(19, 34, 41, 0.08);
    --shadow-sm: 0 8px 24px rgba(19, 34, 41, 0.06);
}

html {
    scroll-padding-top: 88px;
}

body {
    transition: background-color 180ms ease, color 180ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #68bfd2;
    outline-offset: 3px;
}

.page {
    max-width: 1280px;
    padding: 0 32px;
}

.site-header {
    top: 12px;
    max-width: 1280px;
    padding: 0 32px;
}

.header-inner {
    padding: 8px 16px;
    border-radius: 14px;
    background: rgba(23, 27, 32, 0.82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

:root[data-theme="light"] .header-inner {
    background: rgba(255, 255, 255, 0.84);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
}

:root[data-theme="dark"] .logo-subtitle {
    color: #b1bbc2;
}

:root[data-theme="light"] .logo-subtitle {
    color: #4c5961;
}

:root[data-theme="dark"] .logo-img,
:root[data-theme="dark"] .footer-logo-img {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

:root[data-theme="light"] .logo-img,
:root[data-theme="light"] .footer-logo-img {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    filter: brightness(0);
}

.nav-desktop {
    gap: 14px;
}

.nav-desktop a {
    font-size: 12px;
}

.footer-brand-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.15;
}

.btn-primary,
.btn-outline,
.btn-wa {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 500;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-wa:hover {
    transform: translateY(-1px);
}

.btn-primary:active,
.btn-outline:active,
.btn-wa:active {
    transform: translateY(0);
}

.hero {
    padding: 72px 0 96px;
    text-align: left;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 48px;
}

.hero-content {
    max-width: 560px;
    margin: 0;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-2);
    font-size: 13px;
}

.hero-mark {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #e3b768;
    box-shadow: 0 0 0 4px rgba(227, 183, 104, 0.12);
}

.hero h1 {
    max-width: 600px;
    margin-bottom: 20px;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.hero-sub {
    max-width: 500px;
    margin: 0 0 28px;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
}

.hero-btns {
    justify-content: flex-start;
    gap: 12px;
}

.hero-preview {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(237, 241, 243, 0.2);
    border-radius: 18px;
    background: rgba(23, 27, 32, 0.84);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
    transform-origin: center;
}

.preview-toolbar {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    color: var(--text-2);
    font-size: 11px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.preview-window-dots {
    display: flex;
    gap: 5px;
}

.preview-window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #78838b;
}

.preview-window-dots i:first-child {
    background: #d77f70;
}

.preview-window-dots i:last-child {
    background: #77aa8c;
}

.preview-separator {
    padding: 0 5px;
    color: var(--text-3);
}

.preview-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: var(--text-3);
}

.preview-live span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #79b99d;
}

.hero-preview > img {
    width: 100%;
    aspect-ratio: 1024 / 494;
    object-fit: cover;
    object-position: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.preview-caption {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    color: var(--text-2);
    font-size: 11px;
}

.preview-caption a {
    color: var(--text);
    white-space: nowrap;
}

.preview-caption a i {
    margin-left: 4px;
    color: #68bfd2;
}

.section {
    padding: 80px 0;
    scroll-margin-top: 88px;
}

.section-head {
    max-width: 760px;
    margin: 0 0 32px;
    text-align: left;
}

.section-head h2,
.contact-card h2,
.about-content h2 {
    font-weight: 500;
    letter-spacing: -0.025em;
}

.section-head h2 {
    margin-bottom: 8px;
    font-size: clamp(26px, 3vw, 34px);
}

.section-head p {
    max-width: 660px;
    line-height: 1.65;
}

.cards-3 {
    gap: 16px;
}

.card-3d {
    perspective: none;
}

.card-3d-inner {
    min-height: 100%;
    border-radius: 14px;
    padding: 24px;
    box-shadow: none;
    transform: none;
    transform-style: flat;
    will-change: auto;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.card-3d-inner:hover {
    border-color: var(--border-hover);
    box-shadow: none;
}

.card-3d-inner h3 {
    font-weight: 500;
}

.tag-list li {
    padding-left: 18px;
}

.feat-grid {
    gap: 12px;
}

.local-pacs-note {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
    gap: 24px;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
}

.local-pacs-note-copy > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.local-pacs-note-copy > p,
.local-pacs-caveat {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.65;
}

.local-pacs-caveat {
    align-self: center;
    padding-left: 20px;
    border-left: 1px solid var(--border);
    font-size: 12px;
}

.feat-item {
    border-radius: 12px;
    padding: 16px;
}

.screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.ss-card {
    min-width: 0;
    border-radius: 14px;
    box-shadow: none;
}

.ss-card:hover {
    transform: translateY(-2px);
}

.ss-bar {
    min-height: 40px;
    gap: 6px;
    padding: 8px 12px;
}

.dot-r,
.dot-y,
.dot-g {
    width: 7px;
    height: 7px;
    background: #78838b;
}

.dot-r,
.dot-g {
    opacity: 0.65;
}

.ss-label {
    margin-left: 8px;
    color: var(--text-2);
    font-size: 11px;
    letter-spacing: 0;
}

.ss-img-wrap {
    padding: 8px;
    background: #101316;
}

.ss-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.mobile-showcase {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-items: center;
    gap: 16px;
    padding: 8px 0;
}

.mobile-frame {
    width: 100%;
    max-width: 300px;
    border-radius: 18px;
}

.mobile-frame .ss-bar {
    justify-content: center;
}

.mobile-frame .ss-label {
    margin-left: 0;
}

.mobile-frame-mark {
    width: 14px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text-3);
    border-radius: 4px;
}

.mobile-frame-mark i {
    width: 5px;
    height: 1px;
    border-radius: 1px;
    background: var(--text-3);
}

.mobile-frame .ss-img-wrap {
    max-height: none;
    padding: 8px;
    overflow: visible;
}

.mobile-frame .ss-img-wrap img {
    width: 100%;
    max-height: none;
    margin: 0;
    object-fit: contain;
}

.ss-note {
    justify-content: flex-start;
    margin-top: 20px;
    text-align: left;
    line-height: 1.5;
}

.about-card {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    padding: 28px;
    border-radius: 18px;
    box-shadow: none;
}

.about-photo {
    width: 220px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-raised);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    object-fit: cover;
    object-position: center 22%;
}

.badge-sm {
    margin-bottom: 10px;
    color: #d4b77e;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
}

.about-content h2 {
    margin-bottom: 4px;
    font-size: clamp(28px, 3vw, 36px);
}

.about-role {
    margin-bottom: 20px;
    font-size: 14px;
}

.about-story {
    gap: 12px;
    margin-bottom: 24px;
}

.about-story p {
    font-size: 14px;
    line-height: 1.7;
}

.support-item {
    border-radius: 12px;
}

.contact-card {
    border-radius: 18px;
    box-shadow: none;
}

.site-footer {
    margin-top: 24px;
}

.modal-box {
    border-radius: 16px;
}

.modal-overlay,
.mobile-overlay {
    transition: opacity 180ms ease, visibility 180ms ease;
}

@media (max-width: 1100px) {
    .nav-desktop {
        gap: 10px;
    }

    .nav-desktop a {
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    .page,
    .site-header {
        padding-right: 24px;
        padding-left: 24px;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .hero-content {
        max-width: 680px;
    }

    .hero h1 {
        max-width: 650px;
    }

    .hero-preview {
        transform: none;
    }

    .cards-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-3d:last-child {
        grid-column: 1 / -1;
    }

    .about-card {
        grid-template-columns: minmax(200px, 0.65fr) minmax(0, 1.35fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .page,
    .site-header {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero {
        padding: 44px 0 64px;
    }

    .hero-grid {
        gap: 28px;
    }

    .header-inner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .header-actions .btn-wa-sm,
    .header-actions .btn-email-sm,
    .header-actions .btn-primary-sm {
        display: none;
    }

    .logo {
        min-width: 0;
        gap: 8px;
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .hero h1 {
        max-width: 560px;
        font-size: clamp(38px, 9vw, 52px);
    }

    .hero-sub {
        font-size: 15px;
    }

    .preview-toolbar {
        min-height: 40px;
        gap: 8px;
        padding: 0 10px;
        font-size: 10px;
    }

    .preview-caption {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 10px 12px;
    }

    .section {
        padding: 60px 0;
    }

    .section-head {
        margin-bottom: 24px;
    }

    .local-pacs-note {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 20px;
    }

    .local-pacs-caveat {
        padding-top: 12px;
        padding-left: 0;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .cards-3,
    .support-grid,
    .screenshots-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-3d:last-child {
        grid-column: auto;
    }

    .mobile-showcase {
        grid-column: auto;
        gap: 10px;
    }

    .about-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 20px;
    }

    .about-photo {
        width: min(100%, 220px);
        margin: 0 auto;
    }

    .about-photo img {
        aspect-ratio: 4 / 3;
        object-position: center 24%;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .footer-inner {
        gap: 24px;
    }
}

@media (max-width: 420px) {
    .page,
    .site-header {
        padding-right: 16px;
        padding-left: 16px;
    }

    .header-inner {
        padding: 7px 10px;
    }

    .logo {
        gap: 6px;
    }

    .logo-img {
        height: 24px;
    }

    .logo-text {
        font-size: 10px;
    }

    .header-actions {
        gap: 6px;
    }

    .hero-btns {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-btns > * {
        justify-content: center;
    }

    .ss-bar {
        padding-right: 8px;
        padding-left: 8px;
    }

    .ss-label {
        font-size: 10px;
    }

    .mobile-frame .ss-img-wrap {
        padding: 5px;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .contact-info .sep {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .hero-preview {
        transform: none;
    }
}

.hero-content {
    animation: hero-arrive 650ms ease-out both;
}

.hero-preview {
    animation: preview-arrive 800ms 100ms ease-out both;
}

.preview-image-wrap {
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

.hero-preview > .preview-image-wrap > img {
    width: 100%;
    aspect-ratio: 1024 / 494;
    object-fit: cover;
    object-position: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.reveal-pending {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 480ms ease, transform 480ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes hero-arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes preview-arrive {
    from { opacity: 0; }
    to { opacity: 1; }
}



@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-preview {
        animation: none;
    }

    .reveal-pending {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.hero-image-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    transform: none;
}

.hero-image-card .preview-image-wrap {
    aspect-ratio: 570 / 320;
    border-radius: inherit;
}

.hero-image-card .preview-image-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-card .preview-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 108px;
    align-items: flex-end;
    padding: 48px 22px 20px;
    color: #fff;
    font-size: 15px;
    background: linear-gradient(to bottom, transparent, rgba(4, 10, 17, 0.86));
}

.hero-image-card .preview-caption > span:first-child {
    font-weight: 500;
}

.hero-modalities {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.hero-modalities i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #79c3d2;
}

@media (max-width: 768px) {
    .hero-image-card .preview-caption {
        min-height: 92px;
        padding: 40px 14px 14px;
    }

    .hero-image-card .preview-caption > span:first-child {
        font-size: 13px;
    }

    .hero-modalities {
        font-size: 10px;
    }
}

.hero {
    padding: 24px 0 48px;
}

.hero-grid {
    position: relative;
    display: grid;
    min-height: 520px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #080d12;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    padding: 52px;
    color: #fff;
}

.hero-content .hero-eyebrow,
.hero-content .hero-sub {
    color: rgba(255, 255, 255, 0.82);
}

.hero-content h1 {
    color: #fff;
}

.hero-image-card {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: hero-image-rise 1400ms ease-out both;
}

.hero-image-card .preview-image-wrap {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}

.hero-image-card .preview-image-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    filter: brightness(0.82) saturate(0.88);
}

.hero-image-card::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 10, 15, 0.96) 0%, rgba(5, 10, 15, 0.82) 36%, rgba(5, 10, 15, 0.24) 78%, rgba(5, 10, 15, 0.12) 100%),
        linear-gradient(0deg, rgba(5, 10, 15, 0.5), transparent 34%);
}

.hero-image-card .preview-caption {
    z-index: 2;
    min-height: 0;
    padding: 20px 24px;
    background: none;
}

.hero-image-card .preview-caption > span:first-child {
    display: none;
}

.hero-modalities {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(5, 10, 15, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero-mark {
    box-shadow: none;
}

.about-card {
    grid-template-columns: minmax(0, 1fr) 220px;
    grid-template-areas: "content photo";
}

.about-content {
    grid-area: content;
}

.about-photo {
    grid-area: photo;
}

@keyframes hero-image-rise {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1024px) {
    .about-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "photo" "content";
        gap: 20px;
    }

    .about-photo {
        width: min(100%, 180px);
        margin: 0 auto;
    }

    .about-photo img {
        aspect-ratio: 4 / 3;
        object-position: center 24%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 0 36px;
    }

    .hero-grid {
        min-height: 480px;
    }

    .hero-content {
        padding: 28px;
    }

    .hero-image-card .preview-image-wrap > img {
        object-position: 58% center;
    }

    .hero-image-card::after {
        background:
            linear-gradient(90deg, rgba(5, 10, 15, 0.88), rgba(5, 10, 15, 0.5)),
            linear-gradient(0deg, rgba(5, 10, 15, 0.42), transparent 45%);
    }

    .hero-image-card .preview-caption {
        padding: 14px;
    }

    .section {
        padding: 44px 0;
    }

    .section-head {
        margin-bottom: 16px;
    }

    .cards-3,
    .support-grid,
    .feat-grid,
    .screenshots-grid {
        gap: 12px;
    }

    .card-3d-inner {
        padding: 16px;
    }

    .card-icon {
        margin-bottom: 10px;
    }

    .card-3d-inner h3 {
        margin-bottom: 6px;
    }

    .card-3d-inner > p {
        margin-bottom: 12px;
    }

    .tag-list {
        gap: 6px;
        margin: 12px 0;
    }

    .feat-item {
        gap: 10px;
        padding: 12px;
    }

    .support-item {
        padding: 14px;
    }

    .support-item i {
        margin-bottom: 6px;
    }

    .about-card {
        gap: 16px;
        padding: 16px;
    }

    .about-photo {
        width: min(100%, 156px);
    }

    .about-story {
        gap: 8px;
        margin-bottom: 16px;
    }

    .about-story p {
        font-size: 13px;
        line-height: 1.55;
    }
}

@media (max-width: 420px) {
    .hero-grid {
        min-height: 440px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 42px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-card {
        animation: none;
        opacity: 1;
    }
}

.hero-grid {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 548px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    perspective: 1500px;
}

.hero-grid::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(8, 13, 18, 0.82) 0%, rgba(8, 13, 18, 0.72) 30%, rgba(8, 13, 18, 0.42) 48%, rgba(8, 13, 18, 0.12) 68%, transparent 84%);
}

.hero-content {
    z-index: 2;
    width: 58%;
    max-width: 660px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.hero-content .hero-sub {
    max-width: 480px;
}

.hero-content .hero-btns {
    text-shadow: none;
}

.hero-image-card {
    z-index: 0;
    inset: 12px 0 0 auto;
    width: 78%;
    height: calc(100% - 12px);
    overflow: visible;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 88%);
    filter: drop-shadow(0 30px 24px rgba(0, 0, 0, 0.52));
    transform: perspective(1500px) rotateY(-13deg) rotateX(3deg) rotateZ(-1deg);
    transform-origin: right center;
}

.hero-image-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 88%);
    background: #080d12;
    transform: translate3d(12px, 16px, -24px);
}

.hero-image-card .preview-image-wrap {
    z-index: 1;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 88%);
}

.hero-image-card .preview-image-wrap > img {
    filter: brightness(1) saturate(0.96);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 22%, rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0.68) 68%, #000 92%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 22%, rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0.68) 68%, #000 92%);
}

.hero-image-card::after {
    background:
        linear-gradient(90deg, rgba(5, 10, 15, 0.34), rgba(5, 10, 15, 0.22) 48%, rgba(5, 10, 15, 0.08) 78%, transparent),
        linear-gradient(0deg, rgba(5, 10, 15, 0.42), transparent 38%);
}

.hero-image-card .preview-caption {
    z-index: 3;
    padding: 20px 24px 28px;
}

.hero-content .hero-eyebrow,
.hero-content .hero-sub {
    color: rgba(255, 255, 255, 0.88);
}

.hero-content h1 {
    max-width: 620px;
    color: #fff;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.62);
}

.hero-modalities {
    background: rgba(5, 10, 15, 0.72);
}

.screenshots-gallery {
    display: grid;
    gap: 32px;
}

.screenshot-group {
    display: grid;
    gap: 14px;
}

.screenshot-group-title {
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
}

.desktop-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.desktop-frame {
    width: 100%;
}

.mobile-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    justify-items: center;
    gap: 20px;
    padding: 0;
}

.mobile-frame {
    width: 100%;
    max-width: 240px;
    overflow: hidden;
}

.mobile-frame .ss-img-wrap {
    padding: 8px;
}

.mobile-frame .ss-img-wrap img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .hero-grid {
        min-height: 500px;
    }

    .hero-content {
        width: 65%;
        min-height: 480px;
    }

    .hero-image-card {
        width: 84%;
    }
}

@media (max-width: 680px) {
    .hero {
        padding: 16px 0 32px;
    }

    .hero-grid {
        min-height: 590px;
        perspective: none;
    }

    .hero-content {
        width: 100%;
        min-height: 0;
        justify-content: flex-start;
        padding: 32px 24px 240px;
    }

    .hero-content .hero-eyebrow {
        margin-bottom: 12px;
    }

    .hero-content h1 {
        max-width: 560px;
        font-size: clamp(36px, 10vw, 48px);
    }

    .hero-content .hero-sub {
        max-width: 540px;
        margin-bottom: 18px;
    }

    .hero-image-card {
        inset: 120px 0 0 0;
        width: auto;
        height: auto;
        clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
        filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.48));
        transform: none;
    }

    .hero-image-card::before,
    .hero-image-card .preview-image-wrap {
        clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-image-card .preview-image-wrap > img {
        object-position: 58% center;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.5) 55%, #000 84%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.5) 55%, #000 84%);
    }

    .hero-image-card::after {
        background:
            linear-gradient(180deg, rgba(5, 10, 15, 0.12), transparent 76%),
            linear-gradient(90deg, rgba(5, 10, 15, 0.18), transparent 72%);
    }

    .hero-image-card .preview-caption {
        padding: 16px 18px 22px;
    }

    .screenshots-gallery {
        gap: 24px;
    }

    .screenshot-group {
        gap: 10px;
    }

    .desktop-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .mobile-showcase {
        display: flex;
        justify-content: flex-start;
        gap: 12px;
        overflow-x: auto;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: var(--border-hover) transparent;
    }

    .mobile-frame {
        flex: 0 0 min(76vw, 248px);
        max-width: none;
        scroll-snap-align: start;
    }
}

@media (max-width: 420px) {
    .hero-grid {
        min-height: 568px;
    }

    .hero-content {
        padding: 28px 20px 228px;
    }

    .hero-content h1 {
        font-size: clamp(34px, 10vw, 42px);
    }

    .hero-image-card {
        inset-block-start: 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-card {
        transform: none;
    }
}

.hero-image-card {
    clip-path: none;
    border: 1px solid rgba(237, 241, 243, 0.18);
    border-radius: 14px;
    filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.42));
    transform: none;
}

.hero-image-card::before {
    clip-path: none;
    border-radius: 14px;
    transform: translate3d(10px, 12px, -12px);
}

.hero-image-card .preview-image-wrap {
    overflow: hidden;
    clip-path: none;
    border-radius: 13px;
}

.hero-image-card::after {
    border-radius: 14px;
}

@media (max-width: 680px) {
    .hero-image-card {
        clip-path: none;
    }

    .hero-image-card::before,
    .hero-image-card .preview-image-wrap {
        clip-path: none;
    }
}

.hero-image-card {
    inset-inline-start: 12%;
    width: auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
}

.hero-image-card::before {
    content: none;
}

.hero-image-card .preview-image-wrap,
.hero-image-card::after {
    border-radius: 0;
}

.hero-image-card .preview-image-wrap > img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.02) 10%, rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0.4) 52%, rgba(0, 0, 0, 0.82) 82%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.02) 10%, rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0.4) 52%, rgba(0, 0, 0, 0.82) 82%, #000 100%);
}

.hero-image-card::after {
    background: none;
}

@media (max-width: 680px) {
    .hero-image-card {
        inset-inline-start: 0;
    }

    .hero-image-card .preview-image-wrap > img {
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 10%, rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0.4) 52%, rgba(0, 0, 0, 0.82) 82%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 10%, rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0.4) 52%, rgba(0, 0, 0, 0.82) 82%, #000 100%);
    }
}

:root[data-theme="light"] .hero-grid::before {
    background: linear-gradient(90deg, #f3f5f6 0%, rgba(243, 245, 246, 0.98) 24%, rgba(243, 245, 246, 0.9) 42%, rgba(243, 245, 246, 0.58) 60%, rgba(243, 245, 246, 0.16) 82%, transparent 100%);
}

:root[data-theme="dark"] .hero-grid::before {
    background: linear-gradient(90deg, #101316 0%, rgba(16, 19, 22, 0.98) 24%, rgba(16, 19, 22, 0.9) 42%, rgba(16, 19, 22, 0.58) 60%, rgba(16, 19, 22, 0.16) 82%, transparent 100%);
}

:root[data-theme="light"] .hero-content {
    color: var(--text);
    text-shadow: 0 1px 8px rgba(243, 245, 246, 0.42);
}

:root[data-theme="light"] .hero-content h1 {
    color: var(--text);
    text-shadow: 0 1px 8px rgba(243, 245, 246, 0.4);
}

:root[data-theme="light"] .hero-content .hero-eyebrow,
:root[data-theme="light"] .hero-content .hero-sub {
    color: var(--text-2);
}

.maker-banner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin: -4px 0 20px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.maker-banner-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-raised);
    color: #68bfd2;
    font-size: 19px;
}

.maker-banner-copy {
    min-width: 0;
}

.maker-banner-kicker {
    margin-bottom: 4px;
    color: var(--text-2);
    font-size: 12px;
}

.maker-banner-copy h2 {
    margin: 0 0 5px;
    color: var(--text);
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 500;
    line-height: 1.3;
}

.maker-banner-copy > p:last-child {
    max-width: 700px;
    margin: 0;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.55;
}

.maker-banner-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.maker-banner-tags span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text-2);
    font-size: 11px;
    white-space: nowrap;
}

.maker-banner-tags i {
    color: var(--text-3);
}

@media (max-width: 900px) {
    .maker-banner {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px 16px;
        padding: 18px;
    }

    .maker-banner-mark {
        width: 40px;
        height: 40px;
    }

    .maker-banner-tags {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .maker-banner {
        align-items: start;
        gap: 10px 12px;
        margin: 0 0 12px;
        padding: 14px;
        border-radius: 12px;
    }

    .maker-banner-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 16px;
    }

    .maker-banner-kicker {
        font-size: 11px;
    }

    .maker-banner-copy h2 {
        font-size: 17px;
    }

    .maker-banner-copy > p:last-child {
        font-size: 12px;
    }

    .maker-banner-tags {
        gap: 6px;
    }

    .maker-banner-tags span {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 10px;
    }
}
