/* =========================================================
   HOME.CSS — Halaman Home / Landing Page
   SG Tech
   ========================================================= */

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Dot grid background */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
    top: -100px; right: -100px;
}
.hero-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(16,185,129,.15) 0%, transparent 70%);
    bottom: -100px; left: -50px;
}

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

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,.15);
    border: 1px solid rgba(37,99,235,.3);
    color: #93c5fd;
    font-size: .82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: .02em;
}
.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}

/* Headline */
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.02em;
}
.headline-highlight {
    background: linear-gradient(90deg, #2563EB, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subheadline */
.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 28px;
}

/* Product chips */
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    font-size: .78rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 999px;
    transition: var(--transition);
}
.hero-chip:hover {
    background: rgba(37,99,235,.25);
    border-color: rgba(37,99,235,.5);
    color: #fff;
}
.hero-chip i { font-size: .75rem; color: #10B981; }

/* CTA buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.btn-hero-primary {
    background: var(--sg-primary);
    color: #fff;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    box-shadow: 0 8px 30px rgba(37,99,235,.45);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 2px solid var(--sg-primary);
}
.btn-hero-primary:hover {
    background: var(--sg-primary-dark);
    border-color: var(--sg-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37,99,235,.55);
    text-decoration: none;
}
.btn-hero-outline {
    background: transparent;
    color: rgba(255,255,255,.85);
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid rgba(255,255,255,.25);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.btn-hero-outline:hover {
    border-color: rgba(255,255,255,.7);
    color: #fff;
    background: rgba(255,255,255,.08);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Trust badges */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}
.trust-item i { color: #10B981; font-size: .8rem; }
.trust-sep { color: rgba(255,255,255,.2); }

/* ---- DASHBOARD MOCKUP ---- */
.hero-visual { justify-content: flex-end; align-items: center; }

.dashboard-mockup {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    animation: float-mockup 4s ease-in-out infinite;
}
@keyframes float-mockup {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.mockup-chrome {
    background: #1e293b;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.chrome-dots { display: flex; gap: 6px; }
.dot {
    width: 11px; height: 11px;
    border-radius: 50%;
}
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #22c55e; }
.chrome-url {
    flex: 1;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: .7rem;
    color: rgba(255,255,255,.4);
    font-family: monospace;
}

.mockup-body {
    display: flex;
    background: #f1f5f9;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

/* Mock Sidebar */
.mock-sidebar {
    width: 48px;
    background: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 4px;
}
.mock-logo {
    font-size: .5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1;
}
.mock-nav-item {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all .2s;
}
.mock-nav-item.active {
    background: rgba(37,99,235,.3);
    color: #60a5fa;
}

/* Mock Main */
.mock-main {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

/* Generic bar elements */
.mock-bar {
    background: #e2e8f0;
    border-radius: 4px;
}
.mock-bar.dark  { background: #334155; }
.mock-bar.white-bar { background: rgba(255,255,255,.4); }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.h-7  { height: 7px; }
.h-8  { height: 8px; }
.h-10 { height: 10px; }
.h-14 { height: 14px; }
.mt-4 { margin-top: 4px; }
.mb-6 { margin-bottom: 6px; }

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mock-title-block { flex: 1; }
.mock-avatar {
    width: 28px; height: 28px;
    color: #94a3b8;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

/* Mock stat cards */
.mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}
.mock-stat-card {
    border-radius: 8px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
.mock-stat-card.blue   { background: linear-gradient(135deg, #2563EB, #1d4ed8); }
.mock-stat-card.green  { background: linear-gradient(135deg, #10B981, #059669); }
.mock-stat-card.purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.mock-sparkline {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 20px;
    opacity: .6;
}
.mock-sparkline svg { width: 100%; height: 100%; }

/* Mock chart */
.mock-chart-area {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
}
.mock-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.mock-chart {
    height: 80px;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}
.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    min-height: 10%;
}
.bar-fill {
    width: 100%;
    height: 100%;
    border-radius: 4px 4px 0 0;
    opacity: .25;
}
.blue-fill  { background: #2563EB; }
.green-fill { background: #10B981; }

.chart-line-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
}

/* Mock table */
.mock-table {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}
.mock-row:last-child { border-bottom: none; }
.mock-badge {
    margin-left: auto;
    font-size: .55rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}
.green-badge { background: #d1fae5; color: #059669; }
.blue-badge  { background: #dbeafe; color: #2563EB; }

/* Floating notification cards */
.float-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    min-width: 200px;
    border: 1px solid rgba(255,255,255,.8);
    animation: float-card 3s ease-in-out infinite;
}
.float-card-top {
    top: 20px;
    right: -30px;
    animation-delay: 0.5s;
}
.float-card-bottom {
    bottom: 30px;
    left: -30px;
    animation-delay: 1.5s;
}
@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
.float-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.green-icon { background: #d1fae5; color: #10B981; }
.blue-icon  { background: #dbeafe; color: #2563EB; }
.float-text strong { display: block; font-size: .82rem; color: #1e293b; font-weight: 700; }
.float-text span   { font-size: .72rem; color: #94a3b8; }

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--sg-gray-200);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 20px 30px;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--sg-primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-weight: 700;
    color: var(--sg-gray-800);
    font-size: .95rem;
    margin-bottom: 4px;
}
.stat-desc {
    font-size: .8rem;
    color: var(--sg-text-muted);
}
.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--sg-gray-200);
}

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.mb-60 { margin-bottom: 60px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

.product-card {
    background: var(--sg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--sg-gray-200);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.product-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}
.product-card:hover::after { opacity: 1; }

/* Color variants */
.product-card-blue::after   { background: linear-gradient(90deg, #2563EB, #60a5fa); }
.product-card-indigo::after { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.product-card-violet::after { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.product-card-green::after  { background: linear-gradient(90deg, #10B981, #6ee7b7); }
.product-card-orange::after { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.product-card-teal::after   { background: linear-gradient(90deg, #0891b2, #67e8f9); }
.product-card-red::after    { background: linear-gradient(90deg, #ef4444, #fca5a5); }
.product-card-slate::after  { background: linear-gradient(90deg, #334155, #94a3b8); }

.product-card-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    background: var(--sg-primary-light);
    color: var(--sg-primary);
}
.product-card-blue   .product-card-icon { background: #dbeafe; color: #2563EB; }
.product-card-indigo .product-card-icon { background: #e0e7ff; color: #4f46e5; }
.product-card-violet .product-card-icon { background: #ede9fe; color: #7c3aed; }
.product-card-green  .product-card-icon { background: #d1fae5; color: #10B981; }
.product-card-orange .product-card-icon { background: #fef3c7; color: #d97706; }
.product-card-teal   .product-card-icon { background: #cffafe; color: #0891b2; }
.product-card-red    .product-card-icon { background: #fee2e2; color: #ef4444; }
.product-card-slate  .product-card-icon { background: #f1f5f9; color: #334155; }

.product-card-short {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sg-text-muted);
    margin-bottom: 6px;
}
.product-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sg-gray-900);
    margin-bottom: 10px;
    line-height: 1.3;
}
.product-card-desc {
    font-size: .875rem;
    color: var(--sg-text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}
.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.product-tag {
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--sg-gray-100);
    color: var(--sg-gray-600);
}
.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.btn-card-detail {
    font-size: .85rem;
    font-weight: 600;
    color: var(--sg-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.btn-card-detail:hover {
    color: var(--sg-primary-dark);
    text-decoration: none;
    gap: 6px;
}
.btn-card-demo {
    background: var(--sg-primary-light);
    color: var(--sg-primary);
    font-size: .82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.btn-card-demo:hover {
    background: var(--sg-primary);
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   FEATURES SECTION
   ========================================================= */
.feature-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--sg-white);
    border: 1px solid var(--sg-gray-200);
    height: 100%;
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--sg-primary);
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 14px;
    transition: var(--transition);
}
.feature-icon-blue   { background: #dbeafe; color: #2563EB; }
.feature-icon-green  { background: #d1fae5; color: #10B981; }
.feature-icon-violet { background: #ede9fe; color: #7c3aed; }
.feature-icon-orange { background: #fef3c7; color: #d97706; }
.feature-icon-teal   { background: #cffafe; color: #0891b2; }
.feature-icon-red    { background: #fee2e2; color: #ef4444; }
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--sg-gray-900);
    margin-bottom: 8px;
}
.feature-desc {
    font-size: .83rem;
    color: var(--sg-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* =========================================================
   HOW IT WORKS SECTION
   ========================================================= */
.how-section {
    background: var(--sg-gray-900);
    color: #fff;
}
.how-section .section-label { background: rgba(37,99,235,.2); color: #93c5fd; }
.how-section .section-title { color: #fff; }
.how-section .section-subtitle { color: rgba(255,255,255,.65); }

.how-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 60px;
}
.how-step {
    flex: 1;
    position: relative;
}
.step-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,255,255,.04);
    line-height: 1;
    margin-bottom: -20px;
    letter-spacing: -.04em;
}
.step-content {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}
.step-content:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(37,99,235,.4);
}
.step-icon-wrap {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    background: rgba(37,99,235,.2);
    border: 1px solid rgba(37,99,235,.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.step-icon-green  { background: rgba(16,185,129,.2); border-color: rgba(16,185,129,.3); color: #6ee7b7; }
.step-icon-violet { background: rgba(124,58,237,.2); border-color: rgba(124,58,237,.3); color: #c4b5fd; }
.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.step-desc {
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 16px;
}
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.step-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.65);
}
.step-list li i { color: #10B981; font-size: .7rem; flex-shrink: 0; }

.how-connector {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    flex-shrink: 0;
}
.connector-line {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,.1);
}
.connector-arrow {
    color: rgba(255,255,255,.2);
    font-size: .8rem;
    margin-top: 4px;
    transform: rotate(90deg);
}

.how-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
    gap: 20px;
}
.how-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: rgba(255,255,255,.7);
}
.how-note i { color: #f59e0b; font-size: 1rem; }
.how-note strong { color: #fff; }

/* =========================================================
   SCREENSHOT SECTION
   ========================================================= */
.screenshot-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}
.ss-tab {
    background: transparent;
    border: 1px solid var(--sg-gray-300);
    color: var(--sg-text-muted);
    font-size: .85rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}
.ss-tab:hover { border-color: var(--sg-primary); color: var(--sg-primary); }
.ss-tab.active {
    background: var(--sg-primary);
    border-color: var(--sg-primary);
    color: #fff;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ss-item {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    text-decoration: none;
}
.ss-item:hover .ss-overlay { opacity: 1; }
.ss-item:hover .ss-placeholder { transform: scale(1.04); }

.ss-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .3s ease;
}
.ss-placeholder-label {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(0,0,0,.4);
}

.ss-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37,99,235,.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}
.ss-zoom { font-size: 1.5rem; color: #fff; }
.ss-title {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    text-align: center;
    padding: 0 12px;
}

/* =========================================================
   VIDEO SECTION
   ========================================================= */
.video-section { background: var(--sg-gray-50); }

.video-featured {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.video-thumb { display: block; text-decoration: none; position: relative; }
.video-placeholder {
    background: linear-gradient(135deg, #1e293b, #1e3a5f);
    aspect-ratio: 16/6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(37,99,235,.3) 0%, transparent 70%);
}
.video-placeholder:hover { opacity: .92; }
.video-play-btn {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.video-placeholder:hover .video-play-btn {
    background: var(--sg-primary);
    border-color: var(--sg-primary);
    transform: scale(1.1);
}
.video-label { position: relative; z-index: 1; }
.video-badge {
    display: inline-block;
    background: var(--sg-secondary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.video-label h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.video-label p { font-size: .85rem; color: rgba(255,255,255,.6); margin: 0; }

.video-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--sg-white);
    border: 1px solid var(--sg-gray-200);
    transition: var(--transition);
    height: 100%;
}
.video-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--sg-primary);
    text-decoration: none;
}
.video-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.video-thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #334155, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vtp-play {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
}
.video-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37,99,235,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.video-card:hover .video-card-overlay { opacity: 1; }
.vco-play { font-size: 2.5rem; color: #fff; }

.video-card-info { padding: 14px 16px; }
.video-module-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.vc-blue   { background: #dbeafe; color: #2563EB; }
.vc-violet { background: #ede9fe; color: #7c3aed; }
.vc-green  { background: #d1fae5; color: #059669; }
.vc-orange { background: #fef3c7; color: #d97706; }
.vc-teal   { background: #cffafe; color: #0891b2; }
.vc-red    { background: #fee2e2; color: #ef4444; }

.video-card-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--sg-gray-800);
    margin-bottom: 6px;
    line-height: 1.3;
}
.video-card-meta { font-size: .78rem; color: var(--sg-text-muted); }

/* =========================================================
   PRICING SECTION
   ========================================================= */
.billing-toggle {
    display: inline-flex;
    align-items: center;
}
.toggle-label {
    font-weight: 600;
    color: var(--sg-gray-700);
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.save-badge {
    background: #d1fae5;
    color: #059669;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    cursor: pointer;
    margin: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--sg-gray-300);
    border-radius: 999px;
    transition: var(--transition);
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider { background: var(--sg-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.pricing-card {
    background: var(--sg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--sg-gray-200);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.pricing-card-featured {
    border-color: var(--sg-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12), var(--shadow-lg);
    transform: translateY(-8px);
}
.pricing-card-featured:hover { transform: translateY(-12px); }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sg-primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: var(--shadow-primary);
}

.plan-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.plan-icon-slate { background: #f1f5f9; color: #334155; }
.plan-icon-blue  { background: #dbeafe; color: #2563EB; }
.plan-icon-dark  { background: var(--sg-gray-800); color: #fff; }

.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--sg-gray-900);
    margin-bottom: 4px;
}
.plan-tagline { font-size: .83rem; color: var(--sg-text-muted); margin-bottom: 0; }

.pricing-card-price { padding: 24px 0; border-bottom: 1px solid var(--sg-gray-100); margin-bottom: 20px; }
.price-monthly { display: flex; align-items: baseline; gap: 3px; }
.price-currency { font-size: 1rem; font-weight: 700; color: var(--sg-gray-600); }
.price-amount {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--sg-gray-900);
    line-height: 1;
}
.price-period { font-size: .85rem; color: var(--sg-text-muted); }
.price-yearly-note { font-size: .8rem; color: var(--sg-text-muted); margin: 6px 0 0; }
.price-custom-text {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--sg-gray-900);
}
.price-custom-note { font-size: .82rem; color: var(--sg-text-muted); margin-top: 4px; }

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
}
.feature-yes { color: var(--sg-gray-700); }
.feature-yes i { color: var(--sg-secondary); width: 14px; }
.feature-no { color: var(--sg-gray-400); }
.feature-no i { color: var(--sg-gray-300); width: 14px; }

.pricing-card-footer { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

.btn-plan-primary {
    display: block;
    text-align: center;
    background: var(--sg-primary);
    color: #fff;
    font-weight: 700;
    padding: 13px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}
.btn-plan-primary:hover {
    background: var(--sg-primary-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-plan-outline {
    display: block;
    text-align: center;
    background: transparent;
    color: var(--sg-primary);
    font-weight: 700;
    padding: 12px;
    border-radius: var(--radius-full);
    border: 2px solid var(--sg-primary);
    text-decoration: none;
    transition: var(--transition);
}
.btn-plan-outline:hover {
    background: var(--sg-primary);
    color: #fff;
    text-decoration: none;
}
.plan-demo-link {
    display: block;
    text-align: center;
    font-size: .83rem;
    font-weight: 600;
    color: var(--sg-text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.plan-demo-link:hover { color: var(--sg-primary); text-decoration: none; }
.plan-demo-light { color: rgba(255,255,255,.7); }
.plan-demo-light:hover { color: #fff; }

.pricing-note {
    text-align: center;
    font-size: .85rem;
    color: var(--sg-text-muted);
    margin-top: 32px;
    padding: 14px 20px;
    background: var(--sg-gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--sg-gray-200);
}
.pricing-note a { color: var(--sg-primary); font-weight: 600; }

/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */
.testimonials-section { background: var(--sg-white); }

.rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--sg-gray-50);
    border: 1px solid var(--sg-gray-200);
    border-radius: var(--radius-full);
    padding: 12px 24px;
}
.rating-score {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--sg-gray-900);
    line-height: 1;
}
.rating-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 3px; }
.rating-count { font-size: .8rem; color: var(--sg-text-muted); }

.testimonial-card {
    background: var(--sg-white);
    border: 1px solid var(--sg-gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--sg-primary);
    transform: translateY(-4px);
}
.testi-quote {
    font-size: 1.8rem;
    color: var(--sg-primary-light);
    margin-bottom: 12px;
    line-height: 1;
}
.testi-stars { color: #f59e0b; font-size: .85rem; margin-bottom: 14px; }
.testi-text {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--sg-gray-600);
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .85rem;
    flex-shrink: 0;
}
.testi-avatar-blue   { background: #dbeafe; color: #2563EB; }
.testi-avatar-violet { background: #ede9fe; color: #7c3aed; }
.testi-avatar-orange { background: #fef3c7; color: #d97706; }
.testi-avatar-green  { background: #d1fae5; color: #059669; }
.testi-avatar-teal   { background: #cffafe; color: #0891b2; }
.testi-avatar-red    { background: #fee2e2; color: #ef4444; }

.testi-info { display: flex; flex-direction: column; gap: 1px; }
.testi-name  { font-size: .9rem; font-weight: 700; color: var(--sg-gray-900); }
.testi-role  { font-size: .78rem; color: var(--sg-text-muted); }
.testi-company { font-size: .75rem; color: var(--sg-text-muted); }

/* Swiper overrides */
.testi-prev, .testi-next {
    color: var(--sg-primary) !important;
    background: var(--sg-white);
    border: 1px solid var(--sg-gray-200);
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    box-shadow: var(--shadow-sm);
}
.testi-prev::after, .testi-next::after { font-size: .8rem !important; }
.testi-pagination { bottom: -36px !important; }
.testi-pagination .swiper-pagination-bullet-active { background: var(--sg-primary); }
.testimonial-swiper { padding-bottom: 48px !important; }

/* Client logos */
.client-logos { text-align: center; }
.client-logos-label {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sg-text-muted);
    margin-bottom: 20px;
}
.logos-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.logo-item {
    padding: 8px 20px;
    background: var(--sg-gray-50);
    border: 1px solid var(--sg-gray-200);
    border-radius: var(--radius-md);
    font-size: .8rem;
    font-weight: 700;
    color: var(--sg-gray-400);
    transition: var(--transition);
}
.logo-item:hover {
    color: var(--sg-gray-600);
    background: var(--sg-white);
    box-shadow: var(--shadow-sm);
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--sg-white);
    border: 1px solid var(--sg-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:has(.show) {
    border-color: var(--sg-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.06);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: .92rem;
    color: var(--sg-gray-900);
    user-select: none;
    transition: var(--transition);
}
.faq-question:hover { background: var(--sg-gray-50); color: var(--sg-primary); }
.faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--sg-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--sg-text-muted);
    transition: var(--transition);
}
.faq-icon .fa-minus { display: none; }
.faq-question[aria-expanded="true"] .faq-icon { background: var(--sg-primary); color: #fff; }
.faq-question[aria-expanded="true"] .fa-plus  { display: none; }
.faq-question[aria-expanded="true"] .fa-minus { display: block; }
.faq-answer {
    padding: 0 20px 20px;
    font-size: .875rem;
    color: var(--sg-gray-600);
    line-height: 1.75;
}

.faq-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--sg-white);
    border: 1px solid var(--sg-gray-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}
.faq-contact-icon {
    width: 42px; height: 42px;
    background: #d1fae5;
    color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.faq-contact-card strong { display: block; font-size: .9rem; color: var(--sg-gray-900); margin-bottom: 3px; }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    background: linear-gradient(135deg, var(--sg-primary) 0%, #1d4ed8 50%, #4338ca 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.cta-orb-1 {
    width: 400px; height: 400px;
    background: rgba(99,102,241,.4);
    top: -100px; right: -100px;
}
.cta-orb-2 {
    width: 300px; height: 300px;
    background: rgba(16,185,129,.3);
    bottom: -80px; left: -60px;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-icon-wrap {
    width: 64px; height: 64px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 24px;
}
.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}
.cta-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    margin-bottom: 36px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.btn-cta-primary {
    background: #fff;
    color: var(--sg-primary);
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.btn-cta-primary:hover {
    background: var(--sg-gray-50);
    color: var(--sg-primary-dark);
    transform: translateY(-2px);
    text-decoration: none;
}
.btn-cta-wa {
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.btn-cta-wa:hover {
    background: #16a34a;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}
.btn-cta-outline {
    background: transparent;
    color: rgba(255,255,255,.85);
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.btn-cta-outline:hover {
    border-color: rgba(255,255,255,.8);
    color: #fff;
    background: rgba(255,255,255,.1);
    text-decoration: none;
}
.cta-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: .82rem;
    color: rgba(255,255,255,.75);
}
.cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cta-trust i { color: rgba(255,255,255,.9); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-divider { display: none; }
    .stat-item { border-bottom: 1px solid var(--sg-gray-200); }
    .how-steps { flex-direction: column; }
    .how-connector { width: 100%; flex-direction: row; padding: 0; height: 40px; }
    .connector-line { width: 40px; height: 2px; }
    .connector-arrow { transform: rotate(0deg); }
    .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
    .float-card { display: none; }
}

@media (max-width: 767px) {
    .hero-section { padding: 100px 0 60px; min-height: auto; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card-featured { transform: none; }
    .cta-actions { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { justify-content: center; }
}

@media (max-width: 575px) {
    .screenshot-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   PRICING MODE TOGGLE (SaaS vs Sourcecode)
   ========================================================= */
.pricing-mode-toggle {
    display: inline-flex;
    background: var(--sg-gray-100);
    border: 1px solid var(--sg-gray-200);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}
.pmt-btn {
    background: transparent;
    border: none;
    font-size: .88rem;
    font-weight: 600;
    color: var(--sg-gray-500);
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.pmt-btn:hover { color: var(--sg-primary); }
.pmt-btn.active {
    background: var(--sg-white);
    color: var(--sg-primary);
    box-shadow: var(--shadow-sm);
}

/* Sourcecode intro box */
.source-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--sg-primary-light);
    border: 1px solid rgba(37,99,235,.2);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 36px;
}
.si-icon {
    width: 52px; height: 52px;
    background: var(--sg-primary);
    color: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.source-intro h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sg-gray-900);
    margin-bottom: 6px;
}
.source-intro p {
    font-size: .875rem;
    color: var(--sg-gray-600);
    line-height: 1.65;
    margin: 0;
}

/* Tech stack badges */
.source-techstack {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.ts-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--sg-text-muted);
    margin-right: 4px;
}
.ts-badge {
    display: inline-flex;
    align-items: center;
    background: var(--sg-gray-100);
    border: 1px solid var(--sg-gray-200);
    color: var(--sg-gray-700);
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
}
