/**
 * Swyft Studios — Custom Theme Styles
 * Dark theme with indigo (#6366f1) + amber (#f59e0b) accents.
 * Used by both Home (landing) and App Lab pages.
 *
 * NOTE: Styles target inner HTML classes (hero-section, section-dark, etc.)
 * rather than WPBakery el_class — Salient's WPBakery does not pass el_class
 * through to the rendered row wrappers.
 */

:root {
    --ss-dark: #0c0e1a;
    --ss-darker: #070810;
    --ss-card: #13152a;
    --ss-border: #1e2140;
    --ss-indigo: #6366f1;
    --ss-indigo-dim: #4f46e5;
    --ss-indigo-glow: rgba(99, 102, 241, 0.15);
    --ss-amber: #f59e0b;
    --ss-amber-dim: #d97706;
    --ss-amber-glow: rgba(245, 158, 11, 0.12);
    --ss-text: #e6edf3;
    --ss-text-muted: #8b949e;
    --ss-text-dim: #6e7681;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL OVERRIDES — Dark body for Salient
   ══════════════════════════════════════════════════════════ */
body.swyft-dark {
    background-color: var(--ss-dark) !important;
    color: var(--ss-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Hide Salient default header + footer — display:none + pointer-events:none belt-and-suspenders */
body.swyft-dark #header-outer,
body.swyft-dark #header-space,
body.swyft-dark #footer-outer,
body.swyft-dark .nectar-skip-to-content-wrap,
body.swyft-dark #search-outer,
body.swyft-dark .nectar-mobile-only.mobile-header {
    display: none !important;
    pointer-events: none !important;
}

/* Kill Salient transforms on parent wrappers — these break position:fixed
   on descendant elements by changing the containing block */
body.swyft-dark .ocm-effect-wrap,
body.swyft-dark .ocm-effect-wrap-inner {
    transform: none !important;
    -webkit-transform: none !important;
    will-change: auto !important;
    perspective: none !important;
    filter: none !important;
}

/* Dark all Salient wrappers */
body.swyft-dark .container-wrap,
body.swyft-dark .main-content,
body.swyft-dark #ajax-content-wrap,
body.swyft-dark .ocm-effect-wrap,
body.swyft-dark .ocm-effect-wrap-inner {
    background-color: var(--ss-dark) !important;
}

/* Remove Salient default padding on page content */
body.swyft-dark .container-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* WPBakery row overrides — remove all margins/padding Salient adds */
body.swyft-dark .wpb_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

body.swyft-dark .vc_row-fluid .vc_col-sm-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.swyft-dark .vc_column-inner {
    padding: 0 !important;
}

body.swyft-dark .wpb_wrapper {
    max-width: 100%;
}

body.swyft-dark .wpb_text_column {
    margin-bottom: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   SS NAVBAR — Custom sticky header
   ══════════════════════════════════════════════════════════ */
.ss-navbar {
    background-color: rgba(12, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ss-border);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    pointer-events: auto;
}

/* Kill Salient off-canvas overlays that block clicks */
body.swyft-dark #slide-out-widget-area-bg,
body.swyft-dark #slide-out-widget-area,
body.swyft-dark .slide-out-widget-area-toggle,
body.swyft-dark .nectar-box-roll,
body.swyft-dark .nectar-slider-wrap,
body.swyft-dark #nectar_fullscreen_rows {
    display: none !important;
    pointer-events: none !important;
}

/* Ensure all our content stays clickable */
body.swyft-dark .wpb_text_column,
body.swyft-dark .wpb_wrapper {
    pointer-events: auto !important;
    position: relative;
}

body.swyft-dark .ss-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ss-navbar-brand {
    color: var(--ss-text) !important;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    text-decoration: none !important;
}

.ss-navbar-brand span { color: var(--ss-amber); }

.ss-navbar-nav {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ss-navbar-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ss-navbar-nav li::before,
.ss-navbar-nav li::marker {
    content: none !important;
    display: none !important;
}

.ss-navbar-nav a {
    color: var(--ss-text-muted) !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    padding: 0.5rem 0.75rem;
    transition: color 0.2s ease;
}

.ss-navbar-nav a:hover,
.ss-navbar-nav a.active { color: var(--ss-amber) !important; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
body.swyft-dark .btn-primary-ss {
    background-color: var(--ss-amber) !important;
    color: var(--ss-darker) !important;
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-block;
}

body.swyft-dark .btn-primary-ss:hover {
    background-color: #fbbf24 !important;
    color: var(--ss-darker) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--ss-amber-glow);
}

body.swyft-dark .btn-outline-ss {
    background-color: transparent;
    color: var(--ss-amber) !important;
    border: 1px solid var(--ss-amber);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-block;
}

body.swyft-dark .btn-outline-ss:hover {
    background-color: var(--ss-amber-glow);
    color: var(--ss-amber) !important;
    transform: translateY(-1px);
}

body.swyft-dark .btn-app {
    background-color: var(--ss-amber-glow);
    color: var(--ss-amber) !important;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-block;
}

body.swyft-dark .btn-app:hover {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--ss-amber) !important;
    transform: translateY(-1px);
    border-color: var(--ss-amber);
}

/* ══════════════════════════════════════════════════════════
   HERO — targets <section class="hero-section"> in HTML
   ══════════════════════════════════════════════════════════ */
body.swyft-dark .hero-section {
    padding: 8rem 0 6rem;
    position: relative;
}

body.swyft-dark .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.06) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body.swyft-dark .hero-section > .container {
    position: relative;
    z-index: 1;
}

body.swyft-dark .hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--ss-text);
}

body.swyft-dark .hero-section h1 span { color: var(--ss-amber); }

body.swyft-dark .hero-section .lead {
    font-size: 1.2rem;
    color: var(--ss-text-muted);
    max-width: 620px;
    line-height: 1.7;
}

/* Hero — App Lab variant */
body.swyft-dark .hero-section.hero-applab {
    text-align: center;
    padding: 8rem 0 4rem;
}

body.swyft-dark .hero-section.hero-applab::before {
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, var(--ss-amber-glow) 0%, var(--ss-indigo-glow) 40%, transparent 70%);
}

body.swyft-dark .hero-section.hero-applab h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

body.swyft-dark .hero-section.hero-applab h1 .lab-text { color: var(--ss-amber); }

body.swyft-dark .hero-section.hero-applab .lead {
    max-width: 540px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-badge {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--ss-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-badge i { color: var(--ss-amber); }

/* ══════════════════════════════════════════════════════════
   SECTIONS — targets <section> elements in the HTML content
   ══════════════════════════════════════════════════════════ */
body.swyft-dark .wpb_text_column section {
    padding: 5rem 0;
}

body.swyft-dark .wpb_text_column section.hero-section {
    padding: 8rem 0 6rem;
}

/* Dark alternating sections */
body.swyft-dark .section-dark {
    background-color: var(--ss-darker) !important;
}

body.swyft-dark .section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--ss-text);
}

body.swyft-dark .section-subtext {
    color: var(--ss-text-muted);
    font-size: 1.1rem;
    max-width: 640px;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ss-amber), rgba(245, 158, 11, 0.3));
    border-radius: 2px;
    margin-bottom: 2rem;
}

body.swyft-dark .wpb_text_column .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════════════════════════
   PROBLEM SECTION
   ══════════════════════════════════════════════════════════ */
.problem-text {
    font-size: 1.05rem;
    color: var(--ss-text-muted);
    line-height: 1.8;
}

body.swyft-dark .problem-text p:last-child {
    color: var(--ss-text);
    font-weight: 600;
}

.problem-highlight {
    border-left: 3px solid var(--ss-amber);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* ══════════════════════════════════════════════════════════
   STEP CARDS (Process)
   ══════════════════════════════════════════════════════════ */
.ss-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.ss-grid--3 > * { flex: 1 1 calc(33.333% - 16px); min-width: 280px; }
.ss-grid--2 > * { flex: 1 1 calc(50% - 12px); min-width: 300px; }

.step-card {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: border-color 0.2s ease;
}

.step-card:hover { border-color: var(--ss-amber); }

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--ss-amber-glow);
    color: var(--ss-amber);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

body.swyft-dark .step-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--ss-text);
}

body.swyft-dark .step-card p {
    color: var(--ss-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════
   DELIVERABLES
   ══════════════════════════════════════════════════════════ */
.deliverable-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ss-border);
}

.deliverable-item:last-child { border-bottom: none; }

.deliverable-icon {
    color: var(--ss-indigo);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

body.swyft-dark .deliverable-item p {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: var(--ss-text);
}

body.swyft-dark .deliverable-item span {
    color: var(--ss-text-muted);
    font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════
   WHY US CARDS
   ══════════════════════════════════════════════════════════ */
.why-card {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: border-color 0.2s ease;
}

.why-card:hover { border-color: var(--ss-amber); }

.why-icon {
    color: var(--ss-amber);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

body.swyft-dark .why-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--ss-text);
}

body.swyft-dark .why-card p {
    color: var(--ss-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════
   PROJECT / APP CARDS
   ══════════════════════════════════════════════════════════ */
.project-card,
.app-card {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.project-card:hover,
.app-card:hover {
    border-color: var(--ss-amber);
    transform: translateY(-2px);
}

.project-card-img,
.app-card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--ss-card) 0%, var(--ss-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-card-img { height: 220px; }

.app-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, var(--ss-card) 100%);
}

.card-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.project-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.project-card-link:hover,
.project-card-link:focus {
    text-decoration: none !important;
    color: inherit !important;
}

.project-card-img .placeholder-icon,
.app-card-img .placeholder-icon {
    font-size: 3rem;
    color: var(--ss-text-dim);
    opacity: 0.4;
    z-index: 1;
}

.project-card-body,
.app-card-body { padding: 1.75rem; }

.project-badge {
    display: inline-block;
    background-color: var(--ss-amber-glow);
    color: var(--ss-amber);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.app-platform-badge {
    display: inline-block;
    background-color: var(--ss-amber-glow);
    color: var(--ss-amber);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.swyft-dark .project-card-body h4,
body.swyft-dark .app-card-body h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--ss-text);
}

body.swyft-dark .project-card-body p,
body.swyft-dark .app-card-body p {
    color: var(--ss-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.app-stats {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.app-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--ss-text-dim);
}

.app-stat i { color: var(--ss-amber); font-size: 0.75rem; }

/* ══════════════════════════════════════════════════════════
   HACKATHON
   ══════════════════════════════════════════════════════════ */
.hackathon-card,
.hackathon-spotlight {
    background: linear-gradient(135deg, var(--ss-card) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2.5rem;
}

.hackathon-spotlight {
    background: linear-gradient(135deg, var(--ss-card) 0%, rgba(245, 158, 11, 0.04) 100%);
}

.hackathon-spotlight:hover { border-color: var(--ss-amber-dim); }

body.swyft-dark .hackathon-card h4,
body.swyft-dark .hackathon-spotlight h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--ss-text);
}

body.swyft-dark .hackathon-card p,
body.swyft-dark .hackathon-spotlight p {
    color: var(--ss-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hackathon-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hackathon-feature i {
    color: var(--ss-amber);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.hackathon-feature span {
    color: var(--ss-text-muted);
    font-size: 0.95rem;
}

.hackathon-badge {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--ss-amber);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tech-tag {
    display: inline-block;
    background-color: var(--ss-indigo-glow);
    color: var(--ss-indigo);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

/* ══════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════ */
.pricing-card {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--ss-indigo-dim);
    transform: translateY(-2px);
}

.pricing-card.featured { border-color: var(--ss-indigo); }

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ss-indigo);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.swyft-dark .pricing-card h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--ss-text);
}

.pricing-duration {
    color: var(--ss-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pricing-best {
    color: var(--ss-indigo);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--ss-text);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--ss-text-muted);
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--ss-text-dim);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

body.swyft-dark .pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--ss-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--ss-indigo);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════ */
.team-card {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.team-card:hover { border-color: var(--ss-amber); }

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ss-indigo-glow), var(--ss-amber-glow));
    border: 2px solid var(--ss-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--ss-text-dim);
}

body.swyft-dark .team-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--ss-text);
}

body.swyft-dark .team-card .team-role {
    color: var(--ss-amber);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

body.swyft-dark .team-card p {
    color: var(--ss-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════
   DEV NOTES
   ══════════════════════════════════════════════════════════ */
.dev-notes {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2.5rem;
}

.dev-note-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--ss-border);
}

.dev-note-item:first-child { padding-top: 0; }
.dev-note-item:last-child { border-bottom: none; padding-bottom: 0; }

body.swyft-dark .dev-note-item h5 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ss-amber);
    margin-bottom: 0.5rem;
}

body.swyft-dark .dev-note-item p {
    color: var(--ss-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════ */
body.swyft-dark .final-cta {
    position: relative;
}

body.swyft-dark .final-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(circle, var(--ss-amber-glow) 0%, transparent 70%);
    pointer-events: none;
}

body.swyft-dark .final-cta > .container {
    position: relative;
    z-index: 1;
}

/* Subtle CTA (App Lab) */
body.swyft-dark .subtle-cta {
    border-top: 1px solid var(--ss-border);
}

.subtle-cta-inner {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

body.swyft-dark .subtle-cta-inner p {
    color: var(--ss-text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

/* Intro (App Lab) */
body.swyft-dark .ss-intro p {
    font-size: 1.1rem;
    color: var(--ss-text-muted);
    line-height: 1.8;
}

body.swyft-dark .ss-intro p:last-child {
    color: var(--ss-text);
    font-weight: 600;
    font-size: 1.15rem;
}

/* ══════════════════════════════════════════════════════════
   SS FOOTER
   ══════════════════════════════════════════════════════════ */
.ss-footer {
    background-color: var(--ss-darker);
    border-top: 1px solid var(--ss-border);
    padding: 2.5rem 0;
}

body.swyft-dark .ss-footer p {
    color: var(--ss-text-dim);
    font-size: 0.9rem;
    margin-bottom: 0;
}

body.swyft-dark .ss-footer a {
    color: var(--ss-text-muted) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

body.swyft-dark .ss-footer a:hover { color: var(--ss-amber) !important; }

.footer-tagline {
    color: var(--ss-text-dim);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════
   UTILITIES — scoped under body.swyft-dark to beat Salient
   ══════════════════════════════════════════════════════════ */
body.swyft-dark .text-indigo { color: var(--ss-indigo) !important; }
body.swyft-dark .text-amber { color: var(--ss-amber) !important; }
body.swyft-dark .text-center { text-align: center; }
body.swyft-dark .text-end { text-align: right; }
body.swyft-dark .mx-auto { margin-left: auto; margin-right: auto; }
body.swyft-dark .mb-3 { margin-bottom: 1rem; }
body.swyft-dark .mb-4 { margin-bottom: 1.5rem; }
body.swyft-dark .mb-5 { margin-bottom: 3rem; }
body.swyft-dark .mt-3 { margin-top: 1rem; }
body.swyft-dark .mt-4 { margin-top: 1.5rem; }
body.swyft-dark .me-1 { margin-right: 0.25rem; }
body.swyft-dark .me-2 { margin-right: 0.5rem; }
body.swyft-dark .me-3 { margin-right: 1rem; }

/* Flexbox utilities */
body.swyft-dark .d-flex { display: flex !important; }
body.swyft-dark .flex-wrap { flex-wrap: wrap !important; }
body.swyft-dark .gap-3 { gap: 1rem !important; }
body.swyft-dark .align-items-center { align-items: center !important; }
body.swyft-dark .justify-content-center { justify-content: center !important; }
body.swyft-dark .w-100 { width: 100% !important; }
body.swyft-dark .h-100 { height: 100% !important; }

/* ══════════════════════════════════════════════════════════
   GRID — ss-* prefixed to avoid ALL Salient conflicts
   ══════════════════════════════════════════════════════════ */
.ss-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.ss-row::after {
    content: none !important;
    display: none !important;
}

.ss-row.ss-center { justify-content: center; }
.ss-row.ss-align-center { align-items: center; }

/* Column widths — calc() accounts for gap */
.ss-col-4  { flex: 0 0 calc(33.333% - 16px); max-width: calc(33.333% - 16px); }
.ss-col-5  { flex: 0 0 calc(41.667% - 14px); max-width: calc(41.667% - 14px); }
.ss-col-6  { flex: 0 0 calc(50% - 12px);     max-width: calc(50% - 12px); }
.ss-col-7  { flex: 0 0 calc(58.333% - 10px); max-width: calc(58.333% - 10px); }
.ss-col-8  { flex: 0 0 calc(66.667% - 8px);  max-width: calc(66.667% - 8px); }
.ss-col-12 { flex: 0 0 100%;                  max-width: 100%; }

/* ══════════════════════════════════════════════════════════
   INVESTOR / METRIC COMPONENTS
   ══════════════════════════════════════════════════════════ */
.metric-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 2rem;
}

.metric-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 200px;
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.metric-card:hover { border-color: var(--ss-amber); }

.metric-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ss-amber);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.metric-value.text-amber { color: var(--ss-amber) !important; }

body.swyft-dark .metric-label {
    font-size: 0.85rem;
    color: var(--ss-text-muted);
    margin-bottom: 0;
}

body.swyft-dark .metric-sublabel {
    font-size: 0.75rem;
    color: var(--ss-text-dim);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

/* Pipeline / funnel table */
.ss-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--ss-border);
}

body.swyft-dark .ss-table th {
    background-color: var(--ss-indigo-glow);
    color: var(--ss-indigo);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.9rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--ss-border);
}

body.swyft-dark .ss-table td {
    background-color: var(--ss-card);
    color: var(--ss-text-muted);
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--ss-border);
}

body.swyft-dark .ss-table tr:last-child td { border-bottom: none; }

body.swyft-dark .ss-table td:first-child {
    color: var(--ss-text);
    font-weight: 600;
}

body.swyft-dark .ss-table td strong {
    color: var(--ss-indigo);
}

/* ══════════════════════════════════════════════════════════
   PRODUCT GRID
   ══════════════════════════════════════════════════════════ */
body.swyft-dark .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 767px) {
    body.swyft-dark .products-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════ */
.product-card {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-top: 2px solid var(--ss-amber);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

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

.product-card .product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: var(--ss-amber-glow);
    color: var(--ss-amber);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

body.swyft-dark .product-card h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--ss-text);
}

.product-card .product-problem {
    color: var(--ss-amber);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

body.swyft-dark .product-card p {
    color: var(--ss-text-muted);
    font-size: 0.95rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

body.swyft-dark .product-card ul li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--ss-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.product-card ul li i {
    color: var(--ss-amber);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.product-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-badge-revenue {
    background-color: var(--ss-amber-glow);
    color: var(--ss-amber);
}

.product-badge-venture {
    background-color: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

/* ══════════════════════════════════════════════════════════
   PROBLEM ITEMS (numbered layout)
   ══════════════════════════════════════════════════════════ */
.problem-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.problem-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--ss-amber-glow);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--ss-amber);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-title {
    font-weight: 700;
    color: var(--ss-text);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS STEPS
   ══════════════════════════════════════════════════════════ */
.how-step {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: border-color 0.2s ease;
}

.how-step:hover { border-color: var(--ss-amber); }

.how-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--ss-amber-glow);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--ss-amber);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

body.swyft-dark .how-step-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ss-text);
    margin-bottom: 0.5rem;
}

body.swyft-dark .how-step-desc {
    color: var(--ss-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════
   SIGNAL UI MOCKUP
   ══════════════════════════════════════════════════════════ */
.signal-mockup {
    background-color: var(--ss-darker);
    border: 1px solid var(--ss-border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.signal-input {
    background-color: var(--ss-dark);
    border: 1px solid var(--ss-border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--ss-text-muted);
    margin-bottom: 0.75rem;
    font-style: italic;
    line-height: 1.5;
}

.signal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.signal-tags span {
    background-color: var(--ss-amber-glow);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--ss-amber);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

.signal-send-btn {
    background-color: var(--ss-amber);
    color: var(--ss-darker);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 0.04em;
    cursor: default;
}

.signal-meta {
    color: var(--ss-amber);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   SESSION PROOF CARD
   ══════════════════════════════════════════════════════════ */
.session-card {
    background-color: var(--ss-card);
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 2rem;
}

.session-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.live-badge {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.session-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ss-text);
    flex: 1;
}

.session-duration {
    color: var(--ss-amber);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: auto;
}

.session-body blockquote {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--ss-text);
    margin: 0 0 1rem;
    padding: 0;
    border: none;
}

.session-attribution {
    font-weight: 600;
    color: var(--ss-amber);
    margin-bottom: 0.2rem;
}

.session-attribution-sub {
    color: var(--ss-text-dim);
    font-size: 0.9rem;
}

.session-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ss-border);
}

.session-stat-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.session-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ss-amber);
    display: block;
}

.session-stat-label {
    font-size: 0.8rem;
    color: var(--ss-text-muted);
}

/* Additional utilities for Bootstrap compatibility */
body.swyft-dark .justify-content-between { justify-content: space-between !important; }
body.swyft-dark .mt-2 { margin-top: 0.5rem !important; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .ss-col-4, .ss-col-5, .ss-col-6,
    .ss-col-7, .ss-col-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .ss-navbar-nav { display: none; }
}

@media (max-width: 768px) {
    body.swyft-dark .hero-section { padding: 6rem 0 4rem !important; }
    body.swyft-dark .wpb_text_column section { padding: 3.5rem 0; }
    .ss-row { gap: 16px; }
    .ss-grid--3 > *, .ss-grid--2 > * { flex: 0 0 100%; }
    .pricing-card { margin-bottom: 1.5rem; }
    .app-card-img { height: 180px; }
    .dev-notes { padding: 1.75rem; }
    .subtle-cta-inner { padding: 2rem 1.5rem; }
    .metric-card { flex: 0 0 100%; }
    .ss-table { font-size: 0.85rem; }
    body.swyft-dark .ss-table th,
    body.swyft-dark .ss-table td { padding: 0.75rem 1rem; }
}

/* ══════════════════════════════════════════════════════════
   SITE FOOTER (3-column)
   ══════════════════════════════════════════════════════════ */
body.swyft-dark .site-footer {
    background-color: var(--ss-darker);
    border-top: 1px solid var(--ss-border);
    padding: 4rem 0 0;
}
body.swyft-dark .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
@media (max-width: 767px) {
    body.swyft-dark .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
body.swyft-dark .footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ss-text);
    margin-bottom: 0.5rem;
}
body.swyft-dark .footer-brand span { color: var(--ss-amber); }
body.swyft-dark .footer-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ss-amber);
    margin-bottom: 0.75rem;
}
body.swyft-dark .footer-desc {
    color: var(--ss-text-dim);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}
body.swyft-dark .footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ss-text-muted);
    margin-bottom: 1rem;
}
body.swyft-dark .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
body.swyft-dark .footer-links li { margin-bottom: 0.6rem; }
body.swyft-dark .footer-links a {
    color: var(--ss-text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
body.swyft-dark .footer-links a:hover { color: var(--ss-amber); }
body.swyft-dark .footer-bottom {
    border-top: 1px solid var(--ss-border);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
body.swyft-dark .footer-bottom p {
    color: var(--ss-text-dim);
    font-size: 0.8rem;
    margin: 0;
}
