/* === Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a14;
    --bg-card: #14142b;
    --bg-card-2: #1a1a35;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.16);
    --text: #f5f5fa;
    --text-dim: #9b9bbb;
    --text-muted: #6b6b88;
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #06b6d4;
    --accent-4: #ec4899;
    --grad-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --grad-cool: linear-gradient(135deg, #06b6d4, #6366f1);
    --grad-warm: linear-gradient(135deg, #f59e0b, #ec4899);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.25);
}

html, body {
    height: 100%;
    overflow: hidden;
    background: var(--bg-dark);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    position: relative;
}

/* === Progress bar === */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 100;
}

.progress-fill {
    height: 100%;
    background: var(--grad-primary);
    width: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Slide counter === */
.slide-counter {
    position: fixed;
    top: 24px;
    right: 32px;
    z-index: 100;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

#currentSlide {
    color: var(--text);
    font-weight: 700;
}

/* === Nav controls === */
.nav-controls {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* === Slide dots === */
.slide-dots {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 100px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255,255,255,0.4);
}

.dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* === Presentation === */
.presentation {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 80px 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slide-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.slide-header {
    margin-bottom: 48px;
}

.slide-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
}

.slide-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff, #c0c0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Title slide === */
.bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.25), transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.22), transparent 50%),
                radial-gradient(ellipse at center, rgba(6, 182, 212, 0.1), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 480px;
    height: 480px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -150px;
    left: -100px;
}

.shape-2 {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    bottom: -120px;
    right: -80px;
    animation-delay: -7s;
}

.shape-3 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    top: 40%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.slide-title.slide-title { /* override needed where used */ }

.slide-title-page .slide-content,
.slide-title .slide-content {
    text-align: center;
}

.logo-block {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    backdrop-filter: blur(12px);
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-h1 {
    font-size: 84px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #fff 30%, #b0b0d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-h1 .gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-subtitle {
    font-size: 22px;
    line-height: 1.5;
    color: var(--text-dim);
    max-width: 760px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.title-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 64px;
}

.tag {
    padding: 8px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    backdrop-filter: blur(12px);
}

.title-footer {
    margin-top: 32px;
}

.title-meta {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === Two-col layout === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.lead-text p {
    font-size: 22px;
    line-height: 1.55;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.lead-text p:first-child {
    color: var(--text);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

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

.stat-num {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-num span {
    font-size: 24px;
    margin-left: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* === Goals & Audience === */
.goals-audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.block-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
}

.block-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-target {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.icon-target::before {
    content: '🎯';
    font-size: 22px;
}

.icon-users {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.icon-users::before {
    content: '👥';
    font-size: 22px;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 14px 0 14px 32px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}

.check-list li:last-child {
    border-bottom: 0;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--grad-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.check-list li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 14px;
    color: white;
    font-size: 11px;
    font-weight: 800;
}

/* === Architecture === */
.architecture {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.arch-layer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

.arch-layer-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.arch-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.arch-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

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

.arch-card.primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
    border-color: rgba(99, 102, 241, 0.3);
}

.arch-card.data {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(59, 130, 246, 0.06));
    border-color: rgba(6, 182, 212, 0.25);
}

.arch-card small {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 12px;
}

.arch-emoji {
    font-size: 22px;
}

/* === Features grid === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.feature-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dim);
}

/* === POS layout === */
.pos-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pos-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pos-header {
    background: var(--bg-card-2);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
}

.pos-header-left {
    display: flex;
    gap: 6px;
}

.pos-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.pos-dot.red { background: #ff5f56; }
.pos-dot.yellow { background: #ffbd2e; }
.pos-dot.green { background: #27c93f; }

.pos-header-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.pos-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
}

.pos-receipt {
    padding: 24px;
    border-right: 1px solid var(--border);
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
    color: var(--text);
}

.receipt-line:last-child { border-bottom: 0; }

.receipt-line.discount {
    color: #f43f5e;
}

.receipt-line.total {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    border-bottom: 0;
}

.pos-pad {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pad-btn {
    padding: 18px 0;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pad-btn:hover {
    background: rgba(255,255,255,0.08);
}

.pad-btn.primary {
    background: var(--grad-primary);
    border: 0;
    font-size: 16px;
}

.pos-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pos-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.pos-feature:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.pos-feature .check {
    width: 26px;
    height: 26px;
    background: var(--grad-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    color: white;
    font-weight: 700;
}

.pos-feature strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.pos-feature span {
    font-size: 13px;
    color: var(--text-dim);
}

/* === CRM layout === */
.crm-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.crm-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.crm-block:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.crm-block-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.crm-block h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.crm-block ul {
    list-style: none;
}

.crm-block li {
    position: relative;
    padding: 10px 0 10px 18px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-dim);
}

.crm-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* === Dashboard === */
.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
}

.dash-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.dash-card {
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
}

.dash-card-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.dash-card-val {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.dash-card-trend {
    font-size: 13px;
    font-weight: 600;
}

.dash-card-trend.up { color: #10b981; }
.dash-card-trend.down { color: #f43f5e; }

.dash-chart {
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.chart-title {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 20px;
    font-weight: 500;
}

.bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 180px;
}

.bar {
    flex: 1;
    background: var(--grad-primary);
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bar:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.bar span {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
}

.reports-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.reports-list span {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-dim);
}

/* === Integrations === */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.int-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

.int-group-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.int-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.int-item {
    padding: 8px 14px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-dim);
    transition: all 0.2s ease;
}

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

/* === Mobile === */
.mobile-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: center;
}

.phone {
    width: 280px;
    height: 580px;
    background: linear-gradient(135deg, #1a1a35, #0f0f24);
    border: 8px solid #14142b;
    border-radius: 44px;
    padding: 16px 14px;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06);
    margin: 0 auto;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: #050510;
    border-radius: 0 0 14px 14px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: linear-gradient(180deg, #0a0a14, #14142b);
    padding: 36px 18px 18px;
    overflow: hidden;
}

.phone-status {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.phone-greeting {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.phone-revenue {
    background: var(--grad-primary);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.phone-revenue-label {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-revenue-val {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.phone-revenue-trend {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.phone-section-title {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.phone-store {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 6px;
}

.phone-store-val {
    font-weight: 700;
    color: var(--accent);
}

.phone-notif {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    font-size: 11px;
    color: var(--text);
}

.mobile-features h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
}

.m-feat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.m-feat-ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--bg-card-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.m-feat strong {
    font-size: 16px;
}

.m-feat div:last-child {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* === Stack === */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.stack-card-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 14px;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.stack-tag {
    padding: 6px 12px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

/* === Roadmap === */
.roadmap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phase {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phase::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--grad-primary);
}

.phase:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.phase-num {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -2px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.phase-body {
    flex: 1;
}

.phase-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.phase-time {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent);
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.phase-text {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.55;
}

/* === Pricing === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
}

.price-card.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
    border-color: rgba(99, 102, 241, 0.4);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.price-name {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.price-tagline {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
}

.price-features li {
    position: relative;
    padding: 12px 0 12px 28px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}

.price-features li:last-child { border-bottom: 0; }

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.price-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* === End slide === */
.slide-end .slide-content {
    text-align: center;
}

.end-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.end-title {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1.1;
    margin-bottom: 28px;
}

.end-subtitle {
    font-size: 20px;
    line-height: 1.55;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 56px;
}

.end-criteria {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    max-width: 900px;
    margin: 0 auto 40px;
}

.end-crit-title {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.end-crit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.end-crit {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
}

.end-crit span {
    display: block;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.end-crit small {
    font-size: 13px;
    margin-left: 4px;
    -webkit-text-fill-color: var(--text-dim);
    background: none;
}

.end-footer {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* === Custom scrollbar === */
.slide::-webkit-scrollbar {
    width: 6px;
}

.slide::-webkit-scrollbar-track {
    background: transparent;
}

.slide::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.slide::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* === Responsive === */
@media (max-width: 1100px) {
    .slide {
        padding: 60px 40px 90px;
    }
    .title-h1 { font-size: 60px; }
    .slide-title { font-size: 42px; }
    .end-title { font-size: 52px; }
    .features-grid, .crm-layout, .integrations-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .stack-grid { grid-template-columns: repeat(3, 1fr); }
    .two-col, .pos-layout, .mobile-layout, .goals-audience { grid-template-columns: 1fr; gap: 32px; }
    .dash-row { grid-template-columns: repeat(2, 1fr); }
    .end-crit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .slide { padding: 40px 24px 90px; }
    .title-h1 { font-size: 42px; }
    .slide-title { font-size: 32px; }
    .end-title { font-size: 38px; }
    .title-subtitle, .end-subtitle { font-size: 16px; }
    .features-grid, .crm-layout, .integrations-grid, .pricing-grid, .stack-grid { grid-template-columns: 1fr; }
    .dash-row { grid-template-columns: 1fr 1fr; }
    .slide-counter { right: 16px; top: 16px; }
    .nav-controls { right: 16px; bottom: 16px; }
    .stat-num { font-size: 32px; }
}
