/* ══════════════════════════════════════
   PRIME STUDIO PH — Design System
   ══════════════════════════════════════ */

:root {
    --bg-page: #F1F5F9;
    --bg-deck: #111827;
    --bg-card: #18233b;
    --bg-card-hover: #f9741634;
    --text-light: #F1F5F9;
    --text-muted: #8f99af;
    --text-dark: #111827;
    --accent: #2563EB;
    --accent-hover: #60A5FA;
    --accent-gold: #F97316;
    --border: rgba(237, 232, 223, 0.1);
    --border-light: rgba(237, 232, 223, 0.06);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow: hidden;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-light);
    height: 100%;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: inherit; }

/* ══════════════════════════════════════
   NAVBAR (Fixed)
   ══════════════════════════════════════ */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    background: var(--bg-page);
}

.nav-left { display: flex; align-items: center; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    transform: translateY(5px);
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    opacity: 0.6;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
}

.nav-link.active {
    background: rgba(26, 26, 24, 0.08);
}

.nav-dot {
    color: var(--text-dark);
    opacity: 0.25;
    font-size: 1.2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link-login {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-link-login:hover { opacity: 1; }

.btn-cta-nav {
    background: var(--text-dark);
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.btn-cta-nav:hover {
    background: #333;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════
   DECK WRAPPER (The inner rectangle)
   ══════════════════════════════════════ */

#deck-wrapper {
    position: fixed;
    top: 76px;
    left: 24px;
    right: 24px;
    bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-deck);
}

.deck {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* ══════════════════════════════════════
   SLIDES
   ══════════════════════════════════════ */

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    overflow-y: auto;
    padding: 40px 60px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.slide::-webkit-scrollbar {
    display: none;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.slide-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   SLIDE INDICATOR
   ══════════════════════════════════════ */

#slide-indicator {
    position: fixed;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 101;
    background: rgba(26, 26, 24, 0.7);
    backdrop-filter: blur(12px);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(237, 232, 223, 0.25);
    cursor: pointer;
    transition: var(--transition);
}

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

.indicator-dot:hover {
    background: rgba(237, 232, 223, 0.5);
}

.indicator-dot.active:hover {
    background: var(--accent-hover);
}

/* ══════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════ */

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid #60a5fa2d;
    border-radius: var(--radius-pill);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 16px;
}

.title-accent {
    font-style: italic;
    color: var(--accent-gold);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header .section-sub {
    margin: 0 auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px #60a5fa23;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.05rem;
}

/* ══════════════════════════════════════
   HERO SLIDE
   ══════════════════════════════════════ */

.hero-slide {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left { flex: 1.1; }
.hero-right { flex: 0.9; display: flex; justify-content: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 8px 18px 8px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.badge-icon { font-size: 1.4rem; }

.badge-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.badge-text strong { color: var(--text-light); font-weight: 600; }
.badge-text span { color: var(--text-muted); }
.badge-text u { color: var(--accent-gold); }

.hero-headline {
    font-family: var(--font-serif);
    font-size: 7rem;
    font-weight: 400;
    line-height: 0.95;
    color: var(--text-light);
    margin-bottom: 24px;
}

.headline-accent {
    font-style: italic;
    color: var(--accent-gold);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-weight: 700; font-size: 1.1rem; color: var(--text-light); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); }
.stat-divider { color: var(--text-muted); opacity: 0.4; }

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.arrow { transition: var(--transition); }
.btn-secondary:hover .arrow { transform: translate(2px, -2px); }

/* Hero Right Visual */
.hero-visual {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-tabs {
    display: flex;
    gap: 8px;
}

.vtab {
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: var(--transition);
}

.vtab.active {
    background: var(--accent);
    color: #fff;
}

.visual-chat {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.chat-prompt {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
}

.visual-tags {
    display: flex;
    gap: 10px;
}

.vtag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vtag-icon { font-size: 0.9rem; }

.visual-logos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.partner-logo {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════
   SERVICES SLIDE
   ══════════════════════════════════════ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(1, 39, 85, 0.137);
}

.svc-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-light);
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ══════════════════════════════════════
   PIPELINE SLIDE
   ══════════════════════════════════════ */

.pipeline-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pipeline-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: center;
}

.pipeline-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    flex: 1;
    max-width: 220px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pipeline-step:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(212, 165, 74, 0.4);
}

.step-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.step-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.pipeline-step h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.pipeline-step p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pipeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
    opacity: 0.5;
}

/* ══════════════════════════════════════
   WHY US SLIDE
   ══════════════════════════════════════ */

.why-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.why-left { flex: 1; }
.why-right { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.why-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 20px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.why-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(200, 85, 58, 0.25);
}

.why-card-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ══════════════════════════════════════
   RESULTS SLIDE
   ══════════════════════════════════════ */

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.result-stat {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.result-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.result-plus, .result-unit {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-gold);
}

.result-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(200, 85, 58, 0.25);
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info strong {
    font-size: 0.85rem;
    color: var(--text-light);
}

.author-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════
   CONTACT SLIDE
   ══════════════════════════════════════ */

.contact-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-headline {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 16px;
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 36px;
}

.contact-actions {
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-icon { font-size: 1rem; }

.deck-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover { color: var(--text-light); }

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide.active .hero-badge,
.slide.active .section-tag { animation: fadeInUp 0.6s ease 0.1s both; }
.slide.active .hero-headline,
.slide.active .section-title { animation: fadeInUp 0.6s ease 0.2s both; }
.slide.active .hero-sub,
.slide.active .section-sub { animation: fadeInUp 0.6s ease 0.3s both; }
.slide.active .hero-stats,
.slide.active .hero-actions { animation: fadeInUp 0.6s ease 0.4s both; }
.slide.active .hero-visual { animation: fadeInUp 0.7s ease 0.35s both; }

.slide.active .service-card:nth-child(1) { animation: fadeInUp 0.5s ease 0.15s both; }
.slide.active .service-card:nth-child(2) { animation: fadeInUp 0.5s ease 0.25s both; }
.slide.active .service-card:nth-child(3) { animation: fadeInUp 0.5s ease 0.35s both; }
.slide.active .service-card:nth-child(4) { animation: fadeInUp 0.5s ease 0.45s both; }
.slide.active .service-card:nth-child(5) { animation: fadeInUp 0.5s ease 0.55s both; }
.slide.active .service-card:nth-child(6) { animation: fadeInUp 0.5s ease 0.65s both; }

.slide.active .pipeline-step { animation: fadeInUp 0.5s ease calc(0.1s + var(--i, 0) * 0.1s) both; }
.slide.active .pipeline-track:nth-child(1) .pipeline-step:nth-child(1) { --i: 1; }
.slide.active .pipeline-track:nth-child(1) .pipeline-step:nth-child(3) { --i: 2; }
.slide.active .pipeline-track:nth-child(1) .pipeline-step:nth-child(5) { --i: 3; }
.slide.active .pipeline-track:nth-child(1) .pipeline-step:nth-child(7) { --i: 4; }
.slide.active .pipeline-track:nth-child(2) .pipeline-step:nth-child(1) { --i: 5; }
.slide.active .pipeline-track:nth-child(2) .pipeline-step:nth-child(3) { --i: 6; }
.slide.active .pipeline-track:nth-child(2) .pipeline-step:nth-child(5) { --i: 7; }
.slide.active .pipeline-track:nth-child(2) .pipeline-step:nth-child(7) { --i: 8; }

.slide.active .why-card:nth-child(1) { animation: fadeInUp 0.5s ease 0.2s both; }
.slide.active .why-card:nth-child(2) { animation: fadeInUp 0.5s ease 0.35s both; }
.slide.active .why-card:nth-child(3) { animation: fadeInUp 0.5s ease 0.5s both; }

.slide.active .result-stat:nth-child(1) { animation: fadeInUp 0.5s ease 0.1s both; }
.slide.active .result-stat:nth-child(2) { animation: fadeInUp 0.5s ease 0.2s both; }
.slide.active .result-stat:nth-child(3) { animation: fadeInUp 0.5s ease 0.3s both; }
.slide.active .result-stat:nth-child(4) { animation: fadeInUp 0.5s ease 0.4s both; }

.slide.active .testimonial-card:nth-child(1) { animation: fadeInUp 0.5s ease 0.45s both; }
.slide.active .testimonial-card:nth-child(2) { animation: fadeInUp 0.5s ease 0.55s both; }
.slide.active .testimonial-card:nth-child(3) { animation: fadeInUp 0.5s ease 0.65s both; }

.slide.active .contact-content { animation: fadeInUp 0.6s ease 0.15s both; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1100px) {
    .hero-headline { font-size: 4rem; }
    .section-title { font-size: 2.4rem; margin-bottom: 12px; }
    .section-sub { font-size: 0.95rem; line-height: 1.5; }
    .contact-headline { font-size: 2.8rem; }
    .contact-sub { font-size: 0.95rem; margin-bottom: 24px; }
    .btn-large { padding: 14px 32px; font-size: 0.9rem; }
    .contact-details { font-size: 0.95rem; }
    
    /* Services */
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .service-card { padding: 20px 16px; }
    .service-card h3 { font-size: 0.85rem; margin-bottom: 8px; }
    .service-card p { font-size: 0.7rem; }
    .svc-icon { font-size: 1rem; margin-bottom: 8px; }

    /* Pipeline */
    .pipeline-container { gap: 16px; }
    .pipeline-step { padding: 20px 12px; max-width: 180px; }
    .step-icon { font-size: 1rem; margin-bottom: 8px; }
    .pipeline-step h4 { font-size: 0.8rem; }
    .pipeline-step p { font-size: 0.7rem; }
    .pipeline-connector { width: 30px; font-size: 1rem; }

    /* Why Us */
    .why-layout { gap: 40px; }
    .why-description { font-size: 0.9rem; }
    .why-right { gap: 16px; }
    .why-card { padding: 20px; }
    .why-card-icon { font-size: 1.3rem; margin-bottom: 8px; }
    .why-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
    .why-card p { font-size: 0.8rem; }

    /* Results */
    .results-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
    .result-stat { padding: 24px 12px; }
    .result-number { font-size: 2.2rem; }
    .result-plus, .result-unit { font-size: 1.4rem; }
    .result-label { font-size: 0.75rem; }
    .testimonials { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .testimonial-card { padding: 20px; display: flex; flex-flow: column; justify-content: space-between; }
    .testimonial-text { font-size: 0.8rem; margin-bottom: 16px; }
    .author-info span { font-size: 0.7rem; }
}

@media (max-width: 768px) {
    #navbar { padding: 0 20px; }
    .nav-center { display: none; }

    /* Disable presentation deck on mobile - stack normally */
    html, body { overflow: auto; height: auto; }
    #deck-wrapper {
        position: relative;
        top: 64px;
        left: 0; right: 0; bottom: auto;
        border-radius: 0;
        background: transparent;
        padding-bottom: 64px;
    }
    .deck { overflow: visible; display: flex; flex-direction: column; gap: 20px; padding: 20px; }
    .slide {
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        height: auto;
        overflow-y: visible;
        padding: 40px 24px;
        border-radius: 20px;
        background: var(--bg-deck);
    }
    #slide-indicator { display: none !important; }
    .slide * { animation: none !important; opacity: 1 !important; transform: none !important; }

    .hero-slide { flex-direction: column; gap: 32px; }
    .hero-headline { font-size: 3.5rem; }
    .section-title { font-size: 2.2rem; }
    .contact-headline { font-size: 2.4rem; }
    .contact-sub { font-size: 0.85rem; margin-bottom: 20px; }
    .btn-large { padding: 12px 28px; font-size: 0.85rem; }
    .services-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: repeat(3, 1fr); }
    .pipeline-track { flex-direction: column; align-items: center; }
    .pipeline-connector { width: auto; height: 24px; transform: rotate(90deg); }
    .pipeline-step { max-width: 100%; width: 100%; }
    .why-layout { flex-direction: column; gap: 32px; }
}

@media (max-width: 550px) {
    #navbar { padding: 0 12px; }
    .logo-text { font-size: 0.85rem; }
    .btn-cta-nav { padding: 8px 12px; font-size: 0.75rem; }

    .deck { padding: 12px; gap: 12px; }
    .slide { padding: 32px 16px; border-radius: 16px; }

    .hero-headline { font-size: 2.8rem; }
    .section-title { font-size: 1.8rem; }
    .contact-headline { font-size: 2rem; }
    .contact-sub { font-size: 0.8rem; margin-bottom: 16px; }
    .btn-large { padding: 10px 20px; font-size: 0.8rem; }
    .contact-details span { font-size: 0.8rem; }

    .deck-footer { text-align: left; }

    .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stat-divider { display: none; }

    .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-actions a, .contact-actions a { width: 100%; justify-content: center; text-align: center; }

    /* Stack any remaining multi-column grids */
    .results-grid { grid-template-columns: 1fr; }
    .testimonials { grid-template-columns: 1fr; }
    .visual-logos { justify-content: center; }


}
