
/* ── 1. Custom Properties ─────────────────────────────────────────── */
:root {
    /* Colors – Apple palette */
    --bg: #fff;
    --bg-secondary: #f5f5f7;
    --bg-dark: #000;
    --bg-dark-alt: #1d1d1f;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-on-dark: #f5f5f7;
    --text-muted: #86868b;
    --primary: #063a6d;
    --primary-hover: #68055f;
    --link: #06c;
    --link-hover: #68055f;
    --border: #d2d2d7;
    --border-light: #e8e8ed;
    --surface: #fbfbfd;
    --card-bg: #fff;
    --card-bg-dark: #1d1d1f;

    /* Typography – Apple system fonts */
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;

    /* Sizing */
    --container-width: 1080px;
    --container-wide: 1200px;
    --section-padding: 100px;
    --section-padding-lg: 140px;
    --header-height: 54px;

    /* Radius */
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --radius-pill: 980px;

    /* Shadows */
    --shadow: 0 2px 10px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --duration: 0.4s;
    --duration-fast: 0.2s;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--duration-fast) var(--ease); }
a:hover { color: var(--link-hover); text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; line-height: 1.08; color: var(--text); }

/* ── 3. Layout / Container ────────────────────────────────────────── */
.container {
    width: 87.5%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

main { overflow: clip; }

/* ── 4. Scroll Reveal (Apple-style fade-in) ───────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ── 5. Icons ─────────────────────────────────────────────────────── */
[data-lucide] { width: 20px; height: 20px; stroke-width: 1.5; }

/* ── 6. Header / Navigation (Apple-style thin nav) ────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10002;
    background: rgba(255,255,255,0.8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    transition: background var(--duration) var(--ease);
}

.site-header .container {
    max-width: var(--container-wide);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 0;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.brand img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    gap: 10px;
}

/* Nav actions (Login + CTA buttons) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-actions .btn {
    font-size: 13px;
    padding: 5px 16px;
    min-height: 32px;
}
.nav-actions .btn-primary [data-lucide] {
    width: 13px;
    height: 13px;
}

/* Mobile overlay backdrop */
.nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    pointer-events: none;
}
.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin-left: 24px;
}

.nav-links > a,
.nav-links > .has-menu > button.submenu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: var(--header-height);
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--duration-fast) var(--ease);
    text-decoration: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    opacity: 0.8;
}
.nav-links > a:hover,
.nav-links > .has-menu > button.submenu-toggle:hover {
    opacity: 1;
    text-decoration: none;
}

.nav-links > a [data-lucide],
.submenu-toggle [data-lucide] {
    width: 14px;
    height: 14px;
}

/* ── Dropdown / Mega Menu (Apple-style full-width) ────────────────── */
.has-menu { position: relative; }

/* Simple dropdown (non-mega) */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm, 12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.22s var(--ease), visibility 0.22s, transform 0.22s var(--ease);
    z-index: 9997;
    white-space: nowrap;
}
.has-menu:not(.has-mega):hover .dropdown-menu,
.has-menu:not(.has-mega).is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: calc(var(--radius-sm, 12px) - 4px);
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text);
    text-decoration: none;
}

.has-mega .mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 9998;
}
.has-mega:hover .mega-menu,
.has-mega .mega-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    display: flex;
    gap: 40px;
    width: 87.5%;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.mega-left { flex: 2; }
.mega-right { flex: 1; }
.mega-divider {
    width: 1px;
    background: var(--border-light);
    align-self: stretch;
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.mega-item-wrap { position: relative; }

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    color: var(--text);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease);
}
.mega-item:hover {
    background: var(--bg-secondary);
    text-decoration: none;
    color: var(--text);
}

.mega-item [data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mega-item-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.mega-item-text span {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.submenu-indicator { width: 12px; height: 12px; margin-left: auto; color: var(--text-muted); }

.mega-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 8px;
    min-width: 200px;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 6px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
    transition: opacity 0.2s var(--ease), visibility 0.2s, transform 0.2s var(--ease);
    white-space: nowrap;
}
.mega-item-wrap:hover .mega-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.mega-submenu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text);
    border-radius: calc(var(--radius-sm) - 4px);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease);
}
.mega-submenu a:hover { background: var(--bg-secondary); text-decoration: none; color: var(--text); }

.mega-media { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; }
.mega-media img { width: 100%; height: auto; }
.mega-content { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.mega-media-panel { display: none; }
.mega-media-panel.is-active { display: block; }

/* Mobile drawer header */
.mobile-drawer-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px;
    border-bottom: 1px solid var(--border-light);
}
.mobile-drawer-header .brand img { height: 20px; }
.mobile-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background var(--duration-fast) var(--ease);
}
.mobile-drawer-close:hover {
    background: var(--bg-secondary);
}

/* Nested dropdown (L3 inside simple dropdown) */
.dropdown-menu .has-submenu {
    position: relative;
}
.dropdown-menu .has-submenu > a {
    justify-content: space-between;
}
.dropdown-menu .has-submenu > a [data-lucide] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 4px;
}
.dropdown-menu .has-submenu:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
}

/* ── 7. Buttons (Apple-style) ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.17648;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease);
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: none;
    padding: 8px 4px;
    transition: opacity var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.btn-secondary:hover {
    color: var(--primary-hover);
    text-decoration: none;
    background: transparent;
    opacity: 0.75;
}

/* Link-style button (Apple uses text links with > arrow) */
.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    color: var(--link);
    text-decoration: none;
    font-weight: 400;
}
.badge-link::after {
    content: ">";
    font-size: 16px;
    transition: transform var(--duration-fast) var(--ease);
}
.badge-link:hover {
    text-decoration: underline;
}
.badge-link:hover::after {
    transform: translateX(3px);
}

.btn-danger {
    background: #e30000;
    color: #fff;
}
.btn-danger:hover {
    background: #cc0000;
    color: #fff;
    text-decoration: none;
}

/* ── 8. Hero Section (Apple-style centered) ───────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
    background-size: cover;
    background-position: center;
}

.hero-pro {
    padding: 80px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    color: var(--text);
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 20px;
}

.kicker {
    display: inline-block;
    font-size: 21px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.hero-media {
    max-width: 100%;
    margin: 0 auto;
}
.hero-media img,
.hero-media video {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}
.hero-media .video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.hero-media iframe {
    width: 100%;
    height: 100%;
}

/* Dark hero theme */
.hero.theme-dark {
    background-color: var(--bg-dark);
}
.hero.theme-dark h1 { color: var(--text-on-dark); }
.hero.theme-dark p { color: var(--text-muted); }
.hero.theme-dark .kicker { color: var(--text-muted); }

/* Left-aligned hero */
.hero.align-left .hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
}
.hero.align-left h1 { margin-left: 0; margin-right: 0; }
.hero.align-left p { margin-left: 0; margin-right: 0; }
.hero.align-left .hero-actions { justify-content: flex-start; }

/* Floating card (removed glassmorphism, clean Apple look) */
.floating-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

/* ── 9. Sections (Apple-style large padding, alternating bg) ──────── */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: clip;
}

.section-first { padding-top: 60px; }
.section-last { padding-bottom: 80px; }

/* Background media */
.section-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.section-bg-media img,
.section-bg-media video,
.section-bg-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    pointer-events: none;
}
.has-media-bg .container { position: relative; z-index: 1; }
.has-media-bg,
.has-media-bg h2,
.has-media-bg p,
.has-media-bg .stat strong,
.has-media-bg .stat span {
    color: #fff;
}

.section-full-width { padding-left: 0; padding-right: 0; }
.section-full-width .container { max-width: 100%; width: 100%; padding: 0; }

/* Section Head (Apple-style centered headings) */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-head h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -0.003em;
    color: var(--text);
    margin-bottom: 12px;
}
.section-head p {
    font-size: 21px;
    line-height: 1.381;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* ── 10. Grid Layouts ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* ── 11. Cards (Apple-style clean, flat) ──────────────────────────── */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: transform var(--duration) var(--ease);
    text-align: center;
    border: none;
}
.card:hover {
    transform: scale(1.02);
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.16667;
    margin-bottom: 10px;
    color: var(--text);
}
.card p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.card-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}
.card-item img,
.card-item video {
    width: 100%;
    height: auto;
    display: block;
}
.card-item iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* Icon wrap in feature cards */
.icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: var(--bg);
    overflow: hidden;
}
.icon-wrap img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.icon-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── 12. Stats (Apple-style large numbers) ────────────────────────── */
.stat {
    text-align: center;
    padding: 40px 20px;
}
.stat strong {
    display: block;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    color: var(--text);
    margin-bottom: 4px;
    font-family: var(--font-display);
}
.stat span {
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ── 13. Timeline V2 (Apple-style horizontal steps) ───────────────── */
.timeline-v2 {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    padding: 40px 0;
    overflow-x: auto;
}

.timeline-line {
    position: absolute;
    top: 64px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: var(--border);
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.timeline-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.timeline-number {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
}

.timeline-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
}

/* ── 14. Media Block (Apple-style split sections) ─────────────────── */
.media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.media-block.reverse {
    direction: rtl;
}
.media-block.reverse > * {
    direction: ltr;
}

.media-text h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text);
}
.media-text p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.media-image {
    border-radius: var(--radius);
    overflow: hidden;
}
.media-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Media block slider */
.mb-slider {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    
}
.mb-slider-track {
    position: relative;
    aspect-ratio: 16 / 10;
}

/* Fade mode (default) */
.mb-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s var(--ease);
    pointer-events: none;
}
.mb-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.mb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide mode */
.mb-slider[data-effect="slide"] .mb-slider-track {
    display: flex;
    overflow: hidden;
}
.mb-slider[data-effect="slide"] .mb-slide {
    position: relative;
    inset: auto;
    min-width: 100%;
    flex-shrink: 0;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.55s var(--ease);
}

/* Paddle nav — hidden until hover */
.mb-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s var(--ease);
}
.mb-slider:hover .mb-slider-nav { opacity: 1; }
.mb-slider-prev,
.mb-slider-next {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.mb-slider-prev:hover,
.mb-slider-next:hover {
    background: #fff;
    transform: scale(1.08);
}

/* Pill dots — Apple style */
.mb-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 14px 0 4px;
}
.mb-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: width 0.25s var(--ease), background 0.25s var(--ease), border-radius 0.25s var(--ease);
    padding: 0;
}
.mb-slider-dot.is-active {
    width: 20px;
    border-radius: 3px;
    background: var(--text);
}

/* ── 15. CTA Band ─────────────────────────────────────────────────── */
.cta-band {
    text-align: center;
    padding: 80px 0;
    background: var(--bg-secondary);
    border-radius: 0;
}
.cta-band h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
}
.cta-band p {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── 16. FAQ (Apple-style accordion) ──────────────────────────────── */
.faq-list {
    max-width: 680px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    line-height: 1.4;
}
.faq-toggle [data-lucide] {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--duration) var(--ease);
}
.faq-item.is-open .faq-toggle [data-lucide] {
    transform: rotate(45deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration) var(--ease), padding var(--duration) var(--ease);
}
.faq-item.is-open .faq-body {
    max-height: 600px;
    padding-bottom: 20px;
}
.faq-body p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}

/* ── 17. Custom List ──────────────────────────────────────────────── */
.custom-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 17px;
    color: var(--text-secondary);
}
.custom-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 9px;
}

/* ── 18. Social Icons ─────────────────────────────────────────────── */
.social-icons {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 16px 0;
}
.social-icons li { list-style: none; }
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    transition: color var(--duration-fast) var(--ease);
}
.social-icons a:hover { color: var(--text); }

/* ── 19. Gallery ──────────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    gap: 12px;
}
.gallery-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery-card:hover img { transform: scale(1.05); }

/* Editorial gallery */
.gallery-editorial {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.ge-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.ge-media {
    width: 100%;
    height: 100%;
    position: relative;
}
.ge-media img,
.ge-media video,
.ge-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ge-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}
.ge-item:hover .ge-overlay { opacity: 1; }
.ge-caption {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

/* ── 20. Testimonials (Apple-style clean quotes) ──────────────────── */
/* legacy testimonial slider rules removed; modern rules live in F3 */
.testimonial-author strong {
    font-size: 17px;
    color: var(--text);
}
.testimonial-author span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Slick overrides */
.slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 24px 0 0;
    list-style: none;
}
.slick-dots li button {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background var(--duration-fast);
}
.slick-dots li.slick-active button { background: var(--text); }

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}
.slick-prev { left: -20px; }
.slick-next { right: -20px; }
.slick-prev::before, .slick-next::before {
    font-size: 18px;
    color: var(--text);
    font-family: inherit;
}

/* Cards Carousel */
/* ── 20. Cards Carousel — Apple flat style ────────────────────────── */
.cards-carousel-wrap {
    position: relative;
}
/* Edge fade: removed — Apple uses no edge gradients */

/* Paddle nav — overlaid on left/right edges, Apple-style */
.cc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text);
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.cards-carousel-wrap:hover .cc-btn {
    opacity: 1;
}
.cc-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}
.cc-btn:disabled {
    opacity: 0 !important;
    pointer-events: none;
}
.cc-prev {
    left: -18px;
}
.cc-next {
    right: -18px;
}

/* Rail */
.cards-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px;
    scroll-padding: 0 2px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    will-change: scroll-position;
    cursor: grab;
}
.cards-carousel::-webkit-scrollbar {
    display: none;
}
.cards-carousel.is-dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
    cursor: grabbing;
    user-select: none;
    -webkit-overflow-scrolling: auto;
}

/* Cards — Apple flat, no shadow */
.cards-carousel .card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    margin: 0;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: left;
    /* override .reveal hidden state */
    opacity: 1 !important;
    transform: none !important;
    transition: none;
}
.cards-carousel .card:hover {
    transform: none !important;
    box-shadow: none;
}

/* Image area */
.cards-carousel .card-item {
    border-radius: 0;
    margin-bottom: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e8e8ed;
}
.cards-carousel .card-item img,
.cards-carousel .card-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cards-carousel .card-item iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* Text area */
.cards-carousel .card h3,
.cards-carousel .card p,
.cards-carousel .card .badge-link {
    margin-left: 28px;
    margin-right: 28px;
}
.cards-carousel .card h3 {
    margin-top: 28px;
    margin-bottom: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.21;
    letter-spacing: 0.012em;
    color: var(--text);
}
.cards-carousel .card p {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.43;
    color: var(--text-secondary);
}
.cards-carousel .card .badge-link {
    margin-top: 14px;
    margin-bottom: 28px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 1100px) {
    .cards-carousel .card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 740px) {
    .cards-carousel {
        gap: 14px;
    }
    .cards-carousel .card {
        flex: 0 0 85%;
        min-width: 0;
        border-radius: 16px;
    }
    .cc-prev { left: -8px; }
    .cc-next { right: -8px; }
}

/* ── 21. Logo Cloud / Marquee ─────────────────────────────────────── */
.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
}
.logo-cloud img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity var(--duration-fast), filter var(--duration-fast);
}
.logo-cloud img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── 22. Tabs Section (Apple-style underline tabs) ────────────────── */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
}
.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast);
    font-family: var(--font-body);
}
.tab-btn.is-active,
.tab-btn:hover {
    color: var(--text);
    border-bottom-color: var(--text);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ── 23. Card Gallery (Apple-style horizontal scroll) ─────────────── */
.card-gallery-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}
.card-gallery-grid::-webkit-scrollbar { height: 4px; }
.card-gallery-grid::-webkit-scrollbar-track { background: transparent; }
.card-gallery-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.card-gallery-item {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
}
.card-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-gallery-item .cg-text {
    padding: 20px;
}
.card-gallery-item h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.card-gallery-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
}

/* ── 24. Image Accordion (Apple-style expanding panels) ───────────── */
.image-accordion {
    display: flex;
    gap: 8px;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
}
.accordion-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex var(--duration) var(--ease);
    border-radius: var(--radius-xs);
}
.accordion-panel.is-active { flex: 4; }

.accordion-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.accordion-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}
.accordion-panel.is-active .accordion-caption { opacity: 1; }
.accordion-caption h3 {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.accordion-caption p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ── 25. Scrolling Story (Apple-style full-bleed pinned scroll) ───── */
.scrolling-story {
    position: relative;
}
.story-scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.story-scene-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.story-scene-bg img,
.story-scene-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-scene-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    max-width: 680px;
}
.story-scene-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.08;
}
.story-scene-content p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    line-height: 1.381;
}

/* ── 26. Parallax Section ─────────────────────────────────────────── */
.section-type-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.parallax-content {
    text-align: center;
    padding: 80px 0;
}
.parallax-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.parallax-content p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 20px;
}

/* ── 27. Slider Section (Pro slider, full-width) ──────────────────── */
.pro-slider {
    position: relative;
    overflow: hidden;
}
.pro-slide {
    position: relative;
    min-height: 600px;
}
.pro-slide-bg {
    position: absolute;
    inset: 0;
}
.pro-slide-bg img,
.pro-slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pro-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}
.pro-slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
    padding: 60px 40px;
    max-width: 600px;
}
.pro-slide-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.pro-slide-content p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

/* ── 28. Pricing Section ──────────────────────────────────────────── */
.section-type-pricing .plan-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.section.section-first.section-type-slider{ padding-top:0; padding-bottom:0px; margin-top:0; }
.section.section-last{ padding-bottom:0; margin-bottom:0; }
.section.section-last.section-type-cta{ padding-bottom:80px; margin-bottom:0; }


/* ── 29. Contact Cards ────────────────────────────────────────────── */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* ── 30. Footer (Apple-style minimal) ─────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.footer .brand {
    margin-bottom: 12px;
}
.footer .brand img {
    height: 24px;
}

.footer-copy {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
    margin-bottom: 8px;
}
.footer .small-muted {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.footer h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
    text-decoration: none;
}
.footer a:hover {
    color: var(--text);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    padding: 10px 0;
}

/* ── 31. Forms (Apple-style clean inputs) ─────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select,
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 17px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    outline: none;
    transition: border-color var(--duration-fast);
    appearance: none;
    -webkit-appearance: none;
}
input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}

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

/* ── 32. Login / Auth (Apple-style) ───────────────────────────────── */
.login-box,
.auth-box {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.login-box h2,
.auth-box h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

/* Registration / Plans */
.plan-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.plan-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}
.plan-card.is-popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    position: relative;
}
.plan-card.is-popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.plan-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 40px;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--text);
    margin-bottom: 4px;
}
.plan-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.plan-features {
    text-align: left;
    margin-bottom: 24px;
}
.plan-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Plan meta (Billing / Screens pill-boxes inside plan card) */
.plan-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.plan-meta > div {
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.plan-meta span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.plan-meta strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* OTP Card */
.otp-card {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}
.otp-inputs input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
}

/* Coupon */
.coupon-box {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}
.coupon-box input {
    flex: 1;
}

/* ── 33. Admin Panel Styles ───────────────────────────────────────── */
/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--bg);
    border-right: 1px solid var(--border-light);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 100;
    padding: 20px 0;
}

.admin-main {
    margin-left: 260px;
    padding: 24px;
    min-height: 100vh;
    background: var(--bg-secondary);
}

/* Admin tables */
.table-wrap {
    background: var(--bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}
table {
    width: 100%;
    border-collapse: collapse;
}
th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-secondary);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}
td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

/* Status pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-pill);
}
.status-pill.success { background: #e8f5e9; color: #2e7d32; }
.status-pill.warning { background: #fff3e0; color: #e65100; }
.status-pill.danger { background: #ffebee; color: #c62828; }
.status-pill.info { background: #e3f2fd; color: #1565c0; }

/* Admin tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}
.admin-tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.admin-tab.is-active {
    color: var(--text);
    border-bottom-color: var(--primary);
}

/* ── 34. Builder UI ───────────────────────────────────────────────── */
.builder-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.builder-block {
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.builder-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    cursor: grab;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration), visibility var(--duration);
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal-box h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

/* ── 35. Blog (Apple-style editorial) ─────────────────────────────── */
.pb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pb-blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--duration) var(--ease);
}
.pb-blog-card:hover { transform: translateY(-4px); }

.pb-blog-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.pb-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.pb-blog-card:hover .pb-blog-thumb img {
    transform: scale(1.05);
}

.pb-blog-body {
    padding: 20px;
}
.pb-blog-body h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text);
}
.pb-blog-body h3 a {
    color: inherit;
    text-decoration: none;
}
.pb-blog-body h3 a:hover { color: var(--primary); }

.pb-blog-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.pb-blog-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
    margin-bottom: 12px;
}

/* Blog list layout */
.pb-blog-list .pb-blog-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}
.pb-blog-list .pb-blog-thumb { aspect-ratio: auto; }

/* Blog masonry */
.pb-blog-masonry {
    columns: 3;
    column-gap: 24px;
}
.pb-blog-masonry .pb-blog-card {
    break-inside: avoid;
    margin-bottom: 24px;
}

/* Blog sidebar */
.pb-blog-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}
.pb-blog-sidebar {
    padding: 0;
}
.pb-blog-sidebar-widget {
    margin-bottom: 32px;
}
.pb-blog-sidebar-widget h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Blog pagination */
.pb-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 40px 0;
}
.pb-blog-pagination a,
.pb-blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--duration-fast);
}
.pb-blog-pagination a:hover { background: var(--bg-secondary); text-decoration: none; }
.pb-blog-pagination .current {
    background: var(--primary);
    color: #fff;
}

/* Single post */
.pb-blog-single {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Single post — new template classes */
.pb-blog-single-hero {
    padding: 60px 0 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}
.pb-blog-single-hero h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin: 12px 0 0;
    max-width: 760px;
}
.pb-blog-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}
.pb-blog-author { font-weight: 500; color: var(--text); }

.pb-blog-single-section { padding-top: 40px; }

.pb-blog-single-featured {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 36px;
}
.pb-blog-single-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.pb-blog-single-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
}
.pb-blog-single-content p { margin-bottom: 20px; }
.pb-blog-single-content h2 { font-size: 28px; font-weight: 600; margin: 40px 0 16px; }
.pb-blog-single-content h3 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.pb-blog-single-content h4 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; }
.pb-blog-single-content img { border-radius: var(--radius-xs); margin: 24px 0; max-width: 100%; }
.pb-blog-single-content ul,
.pb-blog-single-content ol { padding-left: 24px; margin-bottom: 20px; }
.pb-blog-single-content li { margin-bottom: 8px; }
.pb-blog-single-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-style: italic;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.pb-blog-single-content a { color: var(--primary); text-decoration: underline; }
.pb-blog-single-content a:hover { color: var(--primary-hover); }

.pb-blog-single-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 28px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 36px;
    font-size: 13px;
}
.pb-blog-single-tags strong { color: var(--text-secondary); margin-right: 4px; }

.pb-blog-single-nav {
    padding-bottom: 40px;
}

/* Sidebar */
.pb-blog-sidebar { display: flex; flex-direction: column; gap: 32px; }
.pb-blog-sidebar-widget h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.pb-blog-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pb-blog-sidebar-widget ul li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-xs);
    transition: background var(--duration-fast) var(--ease);
}
.pb-blog-sidebar-widget ul li a:hover { background: var(--bg-secondary); color: var(--text); }
.pb-blog-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-blog-single h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 12px;
}
.pb-blog-single .pb-blog-meta {
    margin-bottom: 24px;
}
.pb-blog-single .pb-blog-featured-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
}
.pb-blog-single .pb-blog-content {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text);
}
.pb-blog-single .pb-blog-content p { margin-bottom: 20px; }
.pb-blog-single .pb-blog-content h2 { font-size: 28px; margin: 40px 0 16px; }
.pb-blog-single .pb-blog-content h3 { font-size: 22px; margin: 32px 0 12px; }
.pb-blog-single .pb-blog-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.pb-blog-single .pb-blog-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* Blog tags */
.pb-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0;
}
.pb-blog-tag {
    display: inline-flex;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    text-decoration: none;
}
.pb-blog-tag:hover {
    background: var(--border-light);
    text-decoration: none;
}

/* Blog categories sidebar widget */
.pb-blog-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
}
.pb-blog-cat-list a:hover { color: var(--text); }

/* ── 36. Video wrap ───────────────────────────────────────────────── */
.video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
}
.video-wrap iframe,
.video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── 37. Lightbox ─────────────────────────────────────────────────── */
.ge-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration), visibility var(--duration);
}
.ge-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}
.ge-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}
.ge-lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
}
.ge-lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
}

/* ── 38. Utilities ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── 39. Dark Section Themes ──────────────────────────────────────── */
.section[style*="background:#000"],
.section[style*="background: #000"],
.section[style*="background:#1d1d1f"],
.section[style*="background: #1d1d1f"],
.section.theme-dark {
    color: var(--text-on-dark);
}
.section[style*="background:#000"] h2,
.section[style*="background:#000"] h3,
.section[style*="background:#000"] .stat strong,
.section.theme-dark h2,
.section.theme-dark h3,
.section.theme-dark .stat strong {
    color: var(--text-on-dark);
}
.section[style*="background:#000"] p,
.section[style*="background:#000"] .stat span,
.section.theme-dark p,
.section.theme-dark .stat span {
    color: var(--text-muted);
}
.section[style*="background:#000"] .card,
.section.theme-dark .card {
    background: var(--card-bg-dark);
}
/* Carousel cards in dark sections */
.section[style*="background:#000"] .cards-carousel .card,
.section.theme-dark .cards-carousel .card {
    background: rgba(255, 255, 255, 0.06);
}
.section[style*="background:#000"] .cards-carousel .card h3,
.section.theme-dark .cards-carousel .card h3 {
    color: #fff;
}
.section[style*="background:#000"] .cards-carousel .card p,
.section.theme-dark .cards-carousel .card p {
    color: rgba(255, 255, 255, 0.62);
}
.section[style*="background:#000"] .cc-btn,
.section.theme-dark .cc-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.section[style*="background:#000"] .cards-carousel .card-item,
.section.theme-dark .cards-carousel .card-item {
    background: rgba(255, 255, 255, 0.05);
}

/* ── 40. Responsive ───────────────────────────────────────────────── */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }
    .section-head h2 { font-size: 40px; }
    .hero h1 { font-size: 48px; }
    .stat strong { font-size: 48px; }
}

@media (max-width: 992px) {
    .container { width: 90%; }

    .hero.align-left .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero.align-left .hero-actions { justify-content: center; }
    .hero.align-left h1, .hero.align-left p { margin-left: auto; margin-right: auto; }

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

    .media-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .media-block.reverse { direction: ltr; }

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

    .pb-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .pb-blog-list .pb-blog-card { grid-template-columns: 1fr; }
    .pb-blog-masonry { columns: 2; }
    .pb-blog-with-sidebar { grid-template-columns: 1fr; }

    .image-accordion { height: 400px; }
}

@media (max-width: 760px) {
    :root {
        --section-padding: 60px;
        --header-height: 48px;
    }

    /* Mobile menu */
    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        z-index: 10003;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    .nav-menu.is-open {
        transform: translateX(0);
    }

    .mobile-drawer-header { display: flex; }
    .mobile-drawer-header .brand { display: none; }

    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        align-items: initial;
    }
    .nav-links > a,
    .nav-links > .has-menu > button.submenu-toggle {
        height: auto;
        padding: 14px 20px;
        font-size: 17px;
        opacity: 1;
        width: 100%;
        background: transparent;
        color: var(--text);
    }
    .nav-links > a:hover,
    .nav-links > .has-menu > button.submenu-toggle:hover,
    .nav-links > a:active,
    .nav-links > .has-menu > button.submenu-toggle:active {
        background: var(--bg-secondary);
        opacity: 1;
        color: var(--text);
    }
    .nav-links > a {
        justify-content: flex-start;
        gap: 12px;
    }
    .nav-links > .has-menu > button.submenu-toggle {
        justify-content: flex-start;
        gap: 12px;
    }
    .nav-links > .has-menu > button.submenu-toggle > span {
        flex: 1;
        text-align: left;
    }
    body.menu-is-open #simi-chatbot { display: none !important; }

    /* Mobile mega menu becomes accordion */
    .has-mega .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        border-bottom: none;
        padding: 0;
        display: none;
    }
    .has-mega.is-open .mega-menu { display: block; }

    /* Mobile simple dropdown becomes accordion */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-secondary);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        display: none;
        min-width: 0;
        width: 100%;
        transition: none;
    }
    .has-menu:not(.has-mega).is-open .dropdown-menu { display: block; transform: unset;}
    /* mega-submenu on mobile: show inline below item */
    .mega-submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-left: 0;
        background: var(--bg);
        padding: 0;
    }
    .mega-item-wrap.is-open .mega-submenu { display: block !important; }
    .mega-submenu a { padding: 12px 20px 12px 52px; font-size: 14px; border-radius: 0; }
    .dropdown-menu a {
        padding: 12px 20px 12px 32px;
        font-size: 15px;
        border-radius: 0;
    }

    /* Mobile nav-actions: stack buttons at bottom of drawer */
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        margin-left: 0;
        gap: 8px;
        border-top: 1px solid var(--border-light);
        margin-top: auto;
    }
    .nav-actions .btn {
        font-size: 16px;
        padding: 12px 20px;
        min-height: 48px;
        text-align: center;
        justify-content: center;
    }

    .mega-menu-inner {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 4px 0 8px;
    }
    .mega-left { flex: auto; }
    .mega-right { display: none; }
    .mega-divider { display: none; }
    .mega-grid { grid-template-columns: 1fr; gap: 0; }

    /* Unify all mega items with top-level link style */
    .mega-item {
        padding: 12px 20px 12px 44px;
        font-size: 15px;
        border-radius: 0;
        align-items: center;
        gap: 0;
    }
    .mega-item [data-lucide]:not(.submenu-indicator) {
         width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-right: 10px;
    }
    .mega-item .submenu-indicator {
        display: block;
        margin-left: auto;
        width: 16px;
        height: 16px;
    }
    .mega-item-text strong {
        font-size: 15px;
        font-weight: 400;
    }
    .mega-item-text span { display: none; }
    .mega-menu-inner {
        padding: 4px 0 8px;
    }

    /* Tabs nav: horizontal scroll on mobile */
    .tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
    }
    .tabs-nav::-webkit-scrollbar { display: none; }
    .tabs-nav button,
    .tabs-nav .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Hero mobile */
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 17px; }
    .hero-pro { padding: 60px 0 30px; }
    .kicker { font-size: 17px; }

    .section-head h2 { font-size: 32px; }
    .section-head p { font-size: 17px; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .stat strong { font-size: 40px; }

    .media-text h2 { font-size: 28px; }

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

    .pb-blog-grid { grid-template-columns: 1fr; }
    .pb-blog-masonry { columns: 1; }

    .timeline-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 24px 0;
    }
    .timeline-line {
        top: 0; bottom: 0;
        left: 24px;
        right: auto;
        width: 1px;
        height: auto;
    }
    .timeline-step {
        flex: none;
        width: 100%;
        text-align: left;
        padding-left: 64px;
        min-width: 0;
        min-height: 48px;
    }
    .timeline-node {
        position: absolute;
        left: 0;
        margin: 0;
    }

    .image-accordion {
        flex-direction: column;
        height: auto;
    }
    .accordion-panel { min-height: 200px; }

    .hero-actions { flex-direction: column; gap: 12px; }

    .pro-slide { min-height: 400px; }
    .pro-slide-content { min-height: 400px; padding: 40px 20px; }
    .pro-slide-content h2 { font-size: 32px; }

    .parallax-content h2 { font-size: 32px; }
    .story-scene-content h2 { font-size: 32px; }
}

@media (max-width: 520px) {
    :root {
        --section-padding: 48px;
    }
    .container { width: 92%; }
    .hero h1 { font-size: 28px; }
    .section-head h2 { font-size: 28px; }
    .stat strong { font-size: 32px; }
    .card { padding: 28px 20px; }

    .card-gallery-item { flex: 0 0 260px; }
}

/* ── 41. Print ────────────────────────────────────────────────────── */
@media print {
    .site-header, .footer, .hero-actions { display: none; }
    .section { padding: 20px 0; }
    body { color: #000; background: #fff; }
}

/* ── 42. Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ── 43. Surface / Glass (backward compat, simplified) ────────────── */
.surface {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
}

/* ── 44. Step Badge (for timeline/tour) ───────────────────────────── */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
/* ── F1. FAQ — HTML button has no class, target .faq-item button ─── */
.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    line-height: 1.4;
    gap: 16px;
}
.faq-item button span:last-child {
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--duration) var(--ease);
    line-height: 1;
}
.faq-item.is-open button span:last-child {
    transform: rotate(45deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.3s var(--ease);
}
.faq-item.is-open .faq-body {
    max-height: 600px;
    padding-bottom: 20px;
}

/* ── F2. Tabs — HTML uses plain button, .tab-content-panel ────────── */
.tabs-section {
    width: 100%;
}
.tabs-nav button {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast);
    font-family: var(--font-body);
}
.tabs-nav button.is-active,
.tabs-nav button:hover {
    color: var(--text);
    border-bottom-color: var(--text);
}
.tab-content-panel {
    display: none;
}
.tab-content-panel.is-active {
    display: block;
}
.tab-content-inner {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}
.tab-content-inner.has-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.tab-content-inner.layout-image-left.has-media {
    direction: rtl;
}
.tab-content-inner.layout-image-left.has-media > * {
    direction: ltr;
}
.tab-text-content p {
    margin-bottom: 16px;
}
.tab-actions {
    margin-top: 20px;
}
.tab-media-content {
    border-radius: var(--radius);
    overflow: hidden;
}
.tab-media-content img {
    width: 100%;
    height: auto;
    display: block;
}
.tabs-content {
    padding-top: 8px;
}

/* ── F3. Testimonials — actual HTML class names ───────────────────── */
/* ── F3. Testimonials ─────────────────────────────────────────────── */
.testimonial-slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

/* Scrollable track */
.testimonial-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}
.testimonial-slider-track::-webkit-scrollbar {
    display: none;
}

.testimonial-slide {
    flex: 0 0 33.3333%;
    scroll-snap-align: start;
    padding: 0 12px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 680px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
}

/* Prev / Next nav */
.testimonial-slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.testimonial-slider-prev,
.testimonial-slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast) var(--ease),
                border-color var(--duration-fast) var(--ease);
}
.testimonial-slider-prev:hover,
.testimonial-slider-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.testimonial-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-card-heading {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: var(--font-display);
}
.testimonial-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 20px;
}
.testimonial-profile-div {
    margin-top: auto;
}
.testimonial-profile-div .hr {
    height: 1px;
    background: var(--border-light);
    margin-bottom: 16px;
}
.testimonial-profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.testimonial-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}
.testimonial-company {
    font-size: 13px;
    color: var(--text-muted);
}
/* Testimonial grid (non-slider) */
.section-type-testimonials .grid-2 .testimonial-card,
.section-type-testimonials .grid-3 .testimonial-card,
.section-type-testimonials .grid-4 .testimonial-card {
    height: 100%;
}

/* ── F4. Pro Slider — actual HTML structure ───────────────────────── */
.pro-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.pro-slider[data-layout="full"] {
    border-radius: 0;
}
.pro-slider-track {
    position: relative;
}
.pro-slide {
    position: relative;
    min-height: 540px;
    display: none;
}
.pro-slide.is-active {
    display: block;
}
.pro-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pro-slide-bg img,
.pro-slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pro-slide-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
}
.pro-slide-content-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 60px;
    width: 87.5%;
    max-width: var(--container-width);
    margin: 0 auto;
}
.pro-slide-content {
    max-width: 560px;
}
.pro-slide-title {
    font-size: 44px;
    font-weight: 600;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
}
.pro-slide-text {
    font-size: 19px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    margin-bottom: 24px;
}
.pro-slide-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}
.pro-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 5;
}
.pro-slider-prev,
.pro-slider-next {
    pointer-events: all;
    background: rgba(255,255,255,0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background var(--duration-fast);
}
.pro-slider-prev:hover,
.pro-slider-next:hover {
    background: rgba(255,255,255,0.35);
}
.pro-slider-prev [data-lucide],
.pro-slider-next [data-lucide] {
    width: 20px;
    height: 20px;
    color: #fff;
}
.pro-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
.pro-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background var(--duration-fast), transform var(--duration-fast);
}
.pro-slider-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* ── F5. Logo Marquee — actual HTML classes ───────────────────────── */
.logo-marquee {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}
.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}
.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}
.logo-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    animation: logoScroll 30s linear infinite;
}
.logo-item {
    flex-shrink: 0;
}
.logo-item img {
    height: 56px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(1);
    transition: opacity var(--duration-fast), filter var(--duration-fast);
}
.logo-item img:hover {
    opacity: 1;
    filter: grayscale(0);
}
@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── F6. Scrolling Story — Apple cinematic full-bleed ─────────────── */
.ss-apple {
    position: relative;
    background: #000;
    /* overflow: hidden removed — it breaks position:sticky on .ss-bg */
}

/* Right-side dot progress indicator */
.ss-dot-nav {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: none;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.ss-dot-nav.is-visible {
    display: flex;
}
.ss-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
    flex-shrink: 0;
    display: block;
}
.ss-dot.is-active {
    background: #fff;
    transform: scale(1.67);
}

.ss-scene {
    position: relative;
    min-height: 220vh; /* must be > 100vh to give sticky room to animate */
}
.ss-bg {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}
/* Gradient scrim for text legibility */
.ss-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.25) 28%,
        transparent 60%
    );
    z-index: 1;
    pointer-events: none;
}
.ss-bg img,
.ss-bg video,
.ss-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* subtle Ken Burns: JS drives --scene-progress 0→1 */
    transform: scale(calc(1.08 - var(--scene-progress, 0) * 0.08));
    /* no CSS transition — scroll events fire every frame, transition adds lag */
    will-change: transform;
}
.ss-bg-fallback {
    width: 100%;
    height: 100%;
    background: #111;
}
.ss-copy {
    position: absolute;
    bottom: 14vh;
    left: 50%;
    /* JS sets --copy-shift and --copy-opacity directly each frame */
    transform: translateX(-50%) translateY(var(--copy-shift, 44px));
    z-index: 2;
    text-align: center;
    width: min(860px, 88vw);
    padding: 0 24px;
    color: #fff;
    opacity: var(--copy-opacity, 0);
    will-change: opacity, transform;
}

/* Eyebrow / step counter */
.ss-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.ss-step::before,
.ss-step::after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.ss-copy h3 {
    font-size: clamp(40px, 7.5vw, 84px);
    font-weight: 700;
    color: #fff;
    line-height: 0.96;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
    font-family: var(--font-display);
}
.ss-copy p {
    font-size: clamp(17px, 2.1vw, 24px);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.42;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .ss-scene {
        min-height: 180vh;
    }
    .ss-copy {
        width: min(94vw, 700px);
        bottom: 12vh;
    }
    .ss-dot-nav {
        right: 16px;
    }
}

@media (max-width: 640px) {
    .ss-scene {
        min-height: 150vh;
    }
    .ss-copy {
        padding: 0 16px;
        bottom: 10vh;
    }
    .ss-dot-nav {
        right: 12px;
    }
}

/* ── F7. Image Accordion — actual HTML class names ────────────────── */
.image-accordion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.image-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.image-accordion-item {
    border-bottom: 1px solid var(--border-light);
}
.image-accordion-title {
    margin: 0;
}
.image-accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    line-height: 1.3;
    gap: 12px;
}
.image-accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}
.image-accordion-icon::before,
.image-accordion-icon::after {
    content: "";
    position: absolute;
    background: var(--text-muted);
    transition: transform var(--duration) var(--ease);
}
.image-accordion-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.image-accordion-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.image-accordion-item.is-active .image-accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.image-accordion-tray {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}
.image-accordion-item.is-active .image-accordion-tray {
    max-height: 600px;
}
.image-accordion-content {
    padding-bottom: 20px;
}
.image-accordion-content p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.image-accordion-media-sm {
    display: none;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 12px;
}
.image-accordion-media-sm img {
    width: 100%;
    height: auto;
    
}
.image-accordion-media-lg {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
}
.image-accordion-figure {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.image-accordion-figure.is-active {
    opacity: 1;
}
.image-accordion-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── F8. Card Gallery — actual HTML class names ───────────────────── */
.card-gallery {
    position: relative;
}
.card-gallery-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    cursor: grab;
    padding-bottom: 0;
    scrollbar-width: none;
}
.card-gallery-scroll-container::-webkit-scrollbar { display: none; }

.card-gallery-item-container {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.card-gallery-item-container > li {
    flex: 0 0 300px;
    scroll-snap-align: start;
}
.gallery-card-pro {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 520px;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.gallery-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
}
.gallery-card-pro-content {
    padding: 20px 20px 16px;
}
.gallery-card-pro-topic {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.gallery-card-pro-headline {
    font-size: 21px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
    font-family: var(--font-display);
}
.gallery-card-pro-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.gallery-card-pro-image {
    margin: 0;
    overflow: hidden;
    flex: 1;
}
.gallery-card-pro-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.gallery-card-pro:hover .gallery-card-pro-image img {
    transform: scale(1.04);
}
.card-gallery-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.card-gallery-prev,
.card-gallery-next {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background var(--duration-fast), border-color var(--duration-fast);
}
.card-gallery-prev:hover,
.card-gallery-next:hover {
    background: var(--bg);
    border-color: var(--border);
}
.card-gallery-prev [data-lucide],
.card-gallery-next [data-lucide] {
    width: 18px;
    height: 18px;
}

/* ── F9. CTA — actual HTML class ──────────────────────────────────── */
.cta-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}
.section-type-cta .card.cta-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
}

/* ── F10. Parallax — actual HTML class names ──────────────────────── */
.parallax-content-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
    z-index: 1;
}
.parallax-content-wrap.height-sm { min-height: 250px; }
.parallax-content-wrap.height-md { min-height: 400px; }
.parallax-content-wrap.height-lg { min-height: 600px; }

.parallax-text {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.parallax-text h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.08;
}
.parallax-text p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    line-height: 1.381;
}
.parallax-content-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto;
}

/* ── F11. Contact Cards — actual HTML class names ─────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.contact-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── F12. Blog — actual HTML class names ──────────────────────────── */
.pb-blog-card-img {
    display: block;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.pb-blog-card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.pb-blog-card:hover .pb-blog-card-img img {
    transform: scale(1.05);
}
.pb-blog-card-body {
    padding: 20px;
    background: var(--bg-secondary);
}
.pb-blog-card-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.pb-blog-card-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--text);
    font-family: var(--font-display);
}
.pb-blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.pb-blog-card-title a:hover {
    color: var(--primary);
}
.pb-blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}
.pb-blog-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.pb-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--link);
    text-decoration: none;
}
.pb-blog-card-readmore:hover {
    text-decoration: underline;
}

/* Blog layout variations */
.pb-blog-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pb-blog-layout-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.pb-blog-layout-list .pb-blog-card {
    display: grid;
    grid-template-columns: 300px 1fr;
}
.pb-blog-layout-list .pb-blog-card-img {
    border-radius: var(--radius) 0 0 var(--radius);
}
.pb-blog-layout-list .pb-blog-card-img img {
    height: 100%;
    aspect-ratio: auto;
}
.pb-blog-layout-masonry {
    columns: 3;
    column-gap: 24px;
}
.pb-blog-layout-masonry .pb-blog-card {
    break-inside: avoid;
    margin-bottom: 24px;
}

/* Blog categories filter */
.pb-blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.pb-blog-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--duration-fast);
}
.pb-blog-cat-link:hover,
.pb-blog-cat-link.is-active {
    background: var(--text);
    color: #fff;
    text-decoration: none;
}
.pb-blog-cat-link span {
    font-size: 12px;
    opacity: 0.7;
}

/* Blog pagination links */
.pb-blog-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--duration-fast);
}
.pb-blog-page-link:hover {
    background: var(--bg-secondary);
    text-decoration: none;
}
.pb-blog-page-link.is-active {
    background: var(--primary);
    color: #fff;
}

/* Blog popular / empty */
.pb-blog-popular {
    list-style: none;
    padding: 0;
}
.pb-blog-popular li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.pb-blog-popular li img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    flex-shrink: 0;
}
.pb-blog-popular li a {
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}
.pb-blog-popular li a:hover {
    color: var(--primary);
}
.pb-blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* ── F13. Pricing — custom properties used by inline styles ───────── */
:root {
    --gradient-panel: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(245,245,247,0.7));
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--primary-hover));
    --line: var(--border-light);
    --radius-lg: 20px;
    --speed: 0.3s;
    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
    --success: #34c759;
    --ring: 0 0 0 3px rgba(6,65,120,0.15);
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --text-soft: var(--text-secondary);
    --muted: var(--text-muted);
    --bg-soft: var(--bg-secondary);
    --panel-solid: #fff;
    --panel-2: var(--bg-secondary);
}
.pricing {
    display: grid;
    gap: 24px;
}

/* ── F14. Responsive fixes for new components ─────────────────────── */
@media (max-width: 992px) {
    .image-accordion-container {
        grid-template-columns: 1fr;
    }
    .image-accordion-media-lg {
        display: none;
    }
    .image-accordion-media-sm {
        display: block;
    }
    .tab-content-inner.has-media {
        grid-template-columns: 1fr;
    }
    .pb-blog-layout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pb-blog-layout-list .pb-blog-card {
        grid-template-columns: 1fr;
    }
    .pb-blog-layout-list .pb-blog-card-img {
        border-radius: var(--radius) var(--radius) 0 0;
    }
    .pb-blog-layout-masonry {
        columns: 2;
    }
}

@media (max-width: 760px) {
    .pro-slide {
        min-height: 400px;
    }
    .pro-slide-content-wrap {
        min-height: 400px;
        padding: 40px 24px;
    }
    .pro-slide-title {
        font-size: 28px;
    }
    .pro-slide-text {
        font-size: 16px;
    }
    .ss-copy h3 {
        font-size: 28px;
    }
    .ss-copy p {
        font-size: 16px;
    }
    .parallax-text h2 {
        font-size: 32px;
    }
    .card-gallery-item-container > li {
        flex: 0 0 280px;
    }
    .cta-hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .pb-blog-layout-grid {
        grid-template-columns: 1fr;
    }
    .pb-blog-layout-masonry {
        columns: 1;
    }
    .pb-blog-categories {
        gap: 6px;
    }
    .pb-blog-cat-link {
        padding: 6px 14px;
        font-size: 13px;
    }
    .testimonial-card {
        padding: 24px 20px;
    }
}

@media (max-width: 520px) {
    .pro-slide-title {
        font-size: 24px;
    }
    .card-gallery-item-container > li {
        flex: 0 0 260px;
    }
}

/* ── Registration Form ────────────────────────────────────────────── */

/* Two-column grid for paired fields */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
    margin-bottom: 20px;
}

/* Full-width button modifier */
.btn.full {
    width: 100%;
    border-radius: var(--radius-xs);
}

/* Individual field wrapper */
.field-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-block label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

/* Input base style */
.input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--duration-fast) var(--ease),
                box-shadow var(--duration-fast) var(--ease);
}

.input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 58, 109, 0.1);
}

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

/* Help and error text */
.field-help {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.field-error {
    font-size: 12px;
    color: #dc2626;
    line-height: 1.4;
    min-height: 16px;
}

/* Password field with show/hide button */
.input-with-action {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-action .input {
    padding-right: 44px;
    position: relative;
    z-index: 0;
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color var(--duration-fast) var(--ease);
}

.toggle-pass svg {
    pointer-events: none;
    display: block;
}

.toggle-pass:hover {
    color: var(--primary);
}

/* Password strength bar */
.password-strength {
    height: 3px;
    background: var(--border-light);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 4px;
}

.password-strength .strength-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 99px;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength .strength-bar.is-weak {
    width: 33%;
    background: #dc2626;
}

.password-strength .strength-bar.is-medium {
    width: 66%;
    background: #f59e0b;
}

.password-strength .strength-bar.is-strong {
    width: 100%;
    background: #16a34a;
}

/* OTP section – inline inside registration form */
#registerForm .otp-card {
    max-width: 100%;
    margin: 4px 0 24px;
    padding: 24px 28px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    box-shadow: none;
    border: 1px solid var(--border-light);
    text-align: left;
}

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

.otp-head h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.otp-head p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.otp-grid {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
}

.otp-btn-wrap {
    display: flex;
    flex-direction: column;
    
    gap: 6px;
}

/* Verify phone button – solid style */
#verifyPhoneBtn {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-xs);
    font-size: 15px;
    font-weight: 500;
    height: 44px;
    min-height: 44px;
    padding: 0 18px;
    border: none;
    transition: background var(--duration-fast) var(--ease);
}

#verifyPhoneBtn:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
}

/* OTP status message */
.otp-status {
    font-size: 13px;
    margin-top: 10px;
    min-height: 18px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Terms & Conditions checkbox row */
.terms-wrap {
    margin: 4px 0 22px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-line input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-line span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Submit button row */
.form-actions {
    margin-top: 4px;
}

#registerBtn {
    font-size: 17px;
    font-weight: 500;
    height: 50px;
    border-radius: var(--radius-xs);
    letter-spacing: -0.01em;
}

/* Phone input override so iti padding looks right */
.regPhone .iti {
    width: 100%;
}

.regPhone .iti input.input {
    width: 100%;
}

/* Responsive: collapse to single column on small screens */
@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

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

    #registerForm .otp-card {
        padding: 18px 16px;
    }
}

/* ======================================================
   Pricing section (moved from page_renderer.php)
   ====================================================== */
/* ── Pricing Controls ── */
.pricing-wrapper{padding:40px 0}
.pricing-controls{display:flex;justify-content:center;gap:32px;margin-bottom:56px;flex-wrap:wrap}
.control-box{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:600;color:var(--text-soft)}
.billing-toggle{background:var(--bg-soft);padding:4px;border-radius:var(--radius);display:flex}
.billing-btn{border:none;padding:10px 20px;background:transparent;cursor:pointer;font-size:15px;font-weight:600;border-radius:var(--radius-xs);color:var(--muted);transition:all .25s}
.billing-btn.active{background:var(--panel-solid);color:var(--text);box-shadow:var(--shadow-xs)}
.screen-box{display:flex;align-items:center;background:var(--bg-soft);padding:4px 6px;border-radius:var(--radius);gap:4px}
.screen-box button{border:none;background:var(--panel-solid);width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:18px;font-weight:600;color:var(--text);display:inline-flex;align-items:center;justify-content:center;transition:background .2s,box-shadow .2s;box-shadow:var(--shadow-xs)}
.screen-box button:hover{background:var(--panel-2);box-shadow:var(--shadow-sm)}
.screen-box span{min-width:30px;text-align:center;font-weight:700;font-size:17px;color:var(--text)}

/* ── Price Cards ── */
.price-card{
  position:relative;
  display:flex;
  flex-direction:column;
  background:var(--gradient-panel);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px) saturate(150%);
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  padding:36px 28px 28px;
  text-align:center;
  overflow:hidden;
  transition:transform var(--speed) var(--ease-apple),box-shadow var(--speed) var(--ease-apple);
}
.price-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.24),transparent 32%),radial-gradient(circle at top right,rgba(6,65,120,.06),transparent 24%);
  opacity:.8;
  pointer-events:none;
}
.price-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow-lg);
}

/* Badge — top banner */
.price-card-badge{
  position:absolute;
  top:0;left:0;right:0;
  background:var(--gradient-brand);
  color:#fff;
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  padding:8px 16px;
  text-align:center;
  line-height:1.3;
  z-index:3;
  box-shadow:0 2px 8px rgba(6,65,120,.18);
}

/* Featured card */
.price-card.featured{
  border-color:rgba(6,65,120,.18);
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(6,65,120,.10);
  transform:translateY(-6px);
  padding-top:52px;
}
.price-card.featured:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(6,65,120,.16);
}

/* Header */
.price-card-header{position:relative;z-index:1;margin-bottom:20px}
.price-card-name{
  font-size:20px;
  font-weight:700;
  color:var(--text);
  font-family:var(--font-display);
  letter-spacing:-.02em;
  margin:0 0 14px;
}
.price-card-price{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:2px;
  line-height:1;
}
.price-card-currency{
  font-size:22px;
  font-weight:700;
  color:var(--primary);
  align-self:flex-start;
  margin-top:6px;
}
.price-card-amount{
  font-size:52px;
  font-weight:800;
  letter-spacing:-.04em;
  color:var(--text);
  font-family:var(--font-display);
}
.price-card-period{
  font-size:13px;
  color:var(--muted);
  margin:8px 0 0;
  font-weight:400;
}
.price-card-total{
  font-size:14px;
  font-weight:600;
  color:var(--text);
  margin-top:12px;
}
.price-card-total .discount-line{
  display:none;
  font-size:12px;
  font-weight:500;
  color:var(--primary);
  margin-top:4px;
}

/* Features */
.price-card-features{
  position:relative;
  z-index:1;
  list-style:none;
  margin:0;
  padding:20px 0;
  border-top:1px solid var(--line);
  flex:1;
  text-align:left;
}
.price-card-features li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:8px 0;
  font-size:14px;
  line-height:1.5;
  color:var(--text-soft);
  font-weight:500;
  letter-spacing:-.01em;
}
.price-card-features li svg{
  flex-shrink:0;
  margin-top:3px;
  color:var(--success);
}

/* Footer — always pinned to bottom */
.price-card-footer{
  position:relative;
  z-index:1;
  margin-top:auto;
  padding-top:20px;
}
.price-card-btn{
  display:block;
  width:100%;
  padding:14px 24px;
  font-size:15px;
  font-weight:600;
  text-align:center;
  text-decoration:none;
  border-radius:var(--radius);
  border:1.5px solid var(--primary);
  color:var(--primary);
  background:transparent;
  cursor:pointer;
  transition:background .25s,color .25s,box-shadow .25s;
  box-sizing:border-box;
}
.price-card-btn:hover{
  background:rgba(6,65,120,.05);
  box-shadow:var(--ring);
}
.price-card-btn.is-primary{
  background:var(--gradient-brand);
  color:#fff;
  border-color:transparent;
}
.price-card-btn.is-primary:hover{
  opacity:.92;
  box-shadow:0 4px 16px rgba(6,65,120,.2);
}

/* Grid columns based on plan count */
.pricing.pricing-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pricing.pricing-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Responsive */
@media(max-width:1200px){
  .pricing.pricing-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricing.pricing-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .pricing.pricing-cols-3,.pricing.pricing-cols-4{grid-template-columns:1fr}
  .price-card{padding:28px 22px 22px}
  .price-card.featured{transform:none}
  .price-card.featured:hover{transform:translateY(-5px)}
  .price-card-amount{font-size:42px}
  .pricing-controls{gap:20px;margin-bottom:36px}
}


/* ======================================================
   Contact/Book form (moved from page_renderer.php)
   ====================================================== */
.pb-form-wrap{padding:2rem}
.pb-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.pb-form-field label{display:block;margin-bottom:.3rem;font-weight:600;font-size:.9rem; text-align:left;}
.pb-form-field input,.pb-form-field textarea{width:100%;padding:.65rem .8rem;border:1px solid #d2d6de;border-radius:6px;font-size:.95rem;transition:border-color .2s}
.pb-form-field input:focus,.pb-form-field textarea:focus{outline:none;border-color:var(--primary,#6576ff)}
.pb-form-field-full{grid-column:1/-1}
.pb-form-actions{margin-top:1.2rem}
.pb-form-status{margin-top:1rem;padding:.8rem 1rem;border-radius:6px;font-size:.9rem}
.pb-form-status.is-success{background:#e6f9ee;color:#1a7d3e;border:1px solid #b8e6cc}
.pb-form-status.is-error{background:#fde8e8;color:#b91c1c;border:1px solid #f5c6c6}
.required{color:#e53e3e}
@media(max-width:600px){.pb-form-grid{grid-template-columns:1fr}}


/* ======================================================
   Gallery lightbox (moved from page_renderer.php)
   ====================================================== */
.ge-lightbox-trigger{cursor:pointer}
.glb-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.92);display:none;align-items:center;justify-content:center;flex-direction:column;opacity:0;transition:opacity .25s ease}
.glb-overlay.is-open{display:flex;opacity:1}
.glb-body{position:relative;max-width:90vw;max-height:85vh;display:flex;align-items:center;justify-content:center}
.glb-body img{max-width:90vw;max-height:85vh;object-fit:contain;border-radius:8px;display:block}
.glb-body video{max-width:90vw;max-height:85vh;border-radius:8px;display:block;background:#000}
.glb-body iframe{width:80vw;height:45vw;max-height:80vh;border:none;border-radius:8px}
.glb-close{position:absolute;top:16px;right:20px;z-index:10;background:none;border:none;color:#fff;font-size:32px;cursor:pointer;line-height:1;padding:4px 10px;opacity:.8;transition:opacity .2s}
.glb-close:hover{opacity:1}
.glb-nav{position:absolute;top:50%;z-index:10;transform:translateY(-50%);background:rgba(255,255,255,.15);border:none;color:#fff;font-size:28px;width:48px;height:48px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px);transition:background .2s}
.glb-nav:hover{background:rgba(255,255,255,.3)}
.glb-prev{left:16px}
.glb-next{right:16px}
.glb-caption{color:#fff;text-align:center;padding:12px 20px;font-size:14px;opacity:.85;max-width:80vw}
.glb-counter{position:absolute;top:20px;left:20px;color:rgba(255,255,255,.6);font-size:14px}
@media(max-width:768px){
  .glb-body img,.glb-body video{max-width:96vw;max-height:75vh}
  .glb-body iframe{width:96vw;height:54vw}
  .glb-nav{width:38px;height:38px;font-size:22px}
  .glb-prev{left:6px}.glb-next{right:6px}
}
