/* TESS AI Landing - Light/Clean Theme with Vibe Working Identity */
:root {
    --m-bg: #ffffff;
    --m-bg-2: #fafafa;
    --m-bg-3: #f5f5f5;
    --m-border: #e5e5e5;
    --m-border-light: #f0f0f0;
    --m-text: #171717;
    --m-text-2: #525252;
    --m-text-3: #a3a3a3;
    --m-primary: #0F4C5C;
    --m-primary-h: #1B7A8C;
    --m-black: #0A0E27;
    --m-detail-1: #D4A574;
    --m-detail-2: #E8C4A0;
    --m-success: #22c55e;
    --m-radius: 12px;
    --m-radius-lg: 16px;
    --m-radius-xl: 24px;
    --m-max: 1200px;
    --m-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* TESS Identity Colors */
    --m-brand-purple: #3F2D6F;
    --m-brand-purple-light: rgba(63, 45, 111, 0.08);
    --m-brand-gold: #9F8066;
    --m-brand-gold-light: rgba(159, 128, 102, 0.08);
}
.m-page { font-family: var(--m-font); background: var(--m-bg); color: var(--m-text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.m-page *, .m-page *::before, .m-page *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* NAV */
.m-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all 0.3s; }
.m-nav.scrolled { border-bottom: 1px solid var(--m-border); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.m-nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--m-max); margin: 0 auto; padding: 0 24px; height: 56px; }
.m-logo { font-size: 18px; font-weight: 700; color: var(--m-text); text-decoration: none; display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em; }
.m-logo-icon { width: 28px; height: 28px; background: var(--m-black); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.m-nav-links { display: none; align-items: center; gap: 32px; list-style: none; }
@media (min-width: 768px) { .m-nav-links { display: flex; } }
.m-nav-links a { color: var(--m-text-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.15s; }
.m-nav-links a:hover, .m-nav-links a.active { color: var(--m-text); }
.m-nav-actions { display: flex; align-items: center; gap: 8px; }

/* BUTTONS */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--m-font); font-size: 14px; font-weight: 500; text-decoration: none; border-radius: 8px; padding: 8px 16px; cursor: pointer; transition: all 0.15s ease; border: none; white-space: nowrap; line-height: 1.4; }
.m-btn-primary { background: var(--m-primary); color: #fff; }
.m-btn-primary:hover { background: var(--m-primary-h); }
.m-btn-secondary { background: transparent; color: var(--m-primary); border: 1px solid var(--m-primary); }
.m-btn-secondary:hover { background: var(--m-bg-3); opacity: 0.9; }
.m-btn-ghost { background: transparent; color: var(--m-text-2); padding: 8px 12px; }
.m-btn-ghost:hover { color: var(--m-text); }
.m-btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 10px; }
.m-btn-xl { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.m-btn-white { background: #fff; color: var(--m-text); }
.m-btn-white:hover { background: #f5f5f5; }
.m-btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.m-btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* CONTAINER */
.m-container { max-width: var(--m-max); margin: 0 auto; padding: 0 24px; }

/* HERO */
.m-hero { padding: 120px 24px 64px; text-align: center; max-width: var(--m-max); margin: 0 auto; }
.m-hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.m-hero .hero-desc { font-size: clamp(16px, 2vw, 19px); color: var(--m-text-2); max-width: 560px; margin: 0 auto 32px; line-height: 1.6; }
.m-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.m-hero-image { max-width: 900px; margin: 0 auto; border-radius: var(--m-radius-xl); overflow: hidden; border: 1px solid var(--m-border); background: var(--m-bg-2); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }

/* SECTIONS */
.m-section { padding: 80px 0; }
.m-section-sm { padding: 48px 0; }
.m-section-gray { background: var(--m-bg-2); }
.m-section-dark { background: var(--m-black); color: #fff; }
.m-section-header { text-align: center; margin-bottom: 48px; }
.m-section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.m-section-header p { font-size: 17px; color: var(--m-text-2); max-width: 560px; margin: 0 auto; line-height: 1.6; }
.m-section-dark .m-section-header p { color: rgba(255,255,255,0.5); }
.m-label { display: inline-block; font-size: 13px; font-weight: 600; color: var(--m-detail-1); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }

/* PILLS */
.m-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.m-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--m-bg); border: 1px solid var(--m-border); border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--m-text-2); cursor: pointer; transition: all 0.15s; text-decoration: none; }
.m-pill:hover, .m-pill.active { background: var(--m-black); color: #fff; border-color: var(--m-black); }
.m-pill svg { width: 16px; height: 16px; opacity: 0.6; }

/* GRID */
.m-grid { display: grid; gap: 16px; }
.m-grid-2 { grid-template-columns: 1fr; }
.m-grid-3 { grid-template-columns: 1fr; }
.m-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .m-grid-2 { grid-template-columns: repeat(2, 1fr); } .m-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .m-grid-3 { grid-template-columns: repeat(3, 1fr); } .m-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* CARDS */
.m-card { background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-lg); padding: 24px; transition: all 0.2s; }
.m-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.m-card-icon { width: 40px; height: 40px; background: var(--m-detail-2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--m-black); }
.m-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--m-black); }
.m-card p { font-size: 14px; color: var(--m-text-2); line-height: 1.5; }
.m-card-tag { display: inline-block; padding: 2px 8px; background: var(--m-bg-3); border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--m-text-2); margin-bottom: 8px; }

/* FEATURE CARD */
.m-feature-card { background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-xl); padding: 32px; }
.m-feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.m-feature-card p { font-size: 15px; color: var(--m-text-2); line-height: 1.6; }

/* SHOWCASE */
.m-showcase { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .m-showcase { grid-template-columns: 1fr 1fr; gap: 64px; } }
.m-showcase.reversed { direction: ltr; }
@media (min-width: 768px) { .m-showcase.reversed { direction: rtl; } .m-showcase.reversed > * { direction: ltr; } }
.m-showcase-visual { background: var(--m-bg-2); border: 1px solid var(--m-border); border-radius: var(--m-radius-xl); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (min-width: 768px) {
    .m-showcase-edge-right .m-showcase-visual {
        width: calc(100% + (50vw - 50%));
        margin-right: calc(50% - 50vw);
        justify-self: end;
    }
    .m-showcase-edge-left .m-showcase-visual {
        width: calc(100% + (50vw - 50%));
        margin-left: calc(50% - 50vw);
        justify-self: start;
    }
}
.m-showcase-content h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.2; }
.m-showcase-content p { font-size: 16px; color: var(--m-text-2); line-height: 1.7; margin-bottom: 20px; }
.m-simulator-visual { min-height: 450px; }
@media (max-width: 768px) { .m-simulator-visual { min-height: auto; } .m-showcase-simulator { gap: 32px; } }

/* CHECK LIST */
.m-check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.m-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--m-text-2); }
.m-check-list li svg { margin-top: 3px; flex-shrink: 0; color: var(--m-detail-1); }

/* TEMPLATE CARDS */
.m-tmpl-card { background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-lg); overflow: hidden; transition: all 0.2s; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.m-tmpl-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.m-tmpl-card-preview { height: 160px; background: var(--m-bg-2); display: flex; align-items: center; justify-content: center; padding: 20px; }
.m-tmpl-card-body { padding: 14px 18px; }
.m-tmpl-card-body h3 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.m-tmpl-card-body p { font-size: 12px; color: var(--m-text-3); }

/* PRICING */
.m-pricing-card { background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-xl); padding: 32px; display: flex; flex-direction: column; position: relative; }
.m-pricing-card.featured { border-color: var(--m-detail-1); box-shadow: 0 0 0 1px var(--m-detail-1); }
.m-pricing-card .price { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 16px 0 4px; }
.m-pricing-card .period { font-size: 14px; color: var(--m-text-3); margin-bottom: 24px; }
.m-pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.m-pricing-card ul li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--m-text-2); }
.m-pricing-card ul li svg { flex-shrink: 0; }
.m-pricing-popular { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 4px 12px; background: var(--m-detail-1); color: #fff; border-radius: 100px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* FAQ */
.m-faq { max-width: 680px; margin: 0 auto; }
.m-faq-item { border-bottom: 1px solid var(--m-border); }
.m-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; background: none; border: none; color: var(--m-text); font-family: var(--m-font); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; transition: color 0.15s; gap: 16px; }
.m-faq-q:hover { color: var(--m-text-2); }
.m-faq-q svg { flex-shrink: 0; transition: transform 0.3s; color: var(--m-text-3); }
.m-faq-item.open .m-faq-q svg { transform: rotate(45deg); }
.m-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.m-faq-item.open .m-faq-a { max-height: 300px; padding-bottom: 18px; }
.m-faq-a p { font-size: 15px; color: var(--m-text-2); line-height: 1.7; }

/* STATS */
.m-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 768px) { .m-stats { grid-template-columns: repeat(4, 1fr); } }
.m-stat-num { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.m-stat-label { font-size: 14px; color: var(--m-text-3); margin-top: 4px; }

/* TESTIMONIALS */
.m-testimonial { background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-lg); padding: 24px; }
.m-testimonial p { font-size: 15px; color: var(--m-text-2); line-height: 1.6; margin-bottom: 16px; }
.m-testimonial-author { display: flex; align-items: center; gap: 10px; }
.m-testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--m-bg-3); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--m-text-2); }
.m-testimonial-author span { font-size: 13px; font-weight: 600; }
.m-testimonial-author small { font-size: 12px; color: var(--m-text-3); display: block; }

/* LOGOS */
.m-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; opacity: 0.3; }
.m-logos span { font-size: 18px; font-weight: 700; color: var(--m-text); }

/* CTA */
.m-cta { text-align: center; padding: 80px 24px; }
.m-cta h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.m-cta p { font-size: 17px; color: var(--m-text-2); max-width: 460px; margin: 0 auto 32px; }
.m-cta-dark { background: var(--m-black); color: #fff; border-radius: var(--m-radius-xl); }
.m-cta-dark p { color: rgba(255,255,255,0.5); }

/* FOOTER */
.m-footer { border-top: 1px solid var(--m-border); padding: 48px 0 32px; }
.m-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
@media (max-width: 768px) { .m-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .m-footer-grid { grid-template-columns: 1fr; } }
.m-footer-brand p { font-size: 14px; color: var(--m-text-3); margin-top: 12px; max-width: 280px; line-height: 1.5; }
.m-footer h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--m-text); margin-bottom: 14px; }
.m-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.m-footer ul a { font-size: 14px; color: var(--m-text-3); text-decoration: none; transition: color 0.15s; }
.m-footer ul a:hover { color: var(--m-text); }
.m-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid var(--m-border); font-size: 13px; color: var(--m-text-3); }
.m-footer-socials { display: flex; gap: 16px; }
.m-footer-socials a { color: var(--m-text-3); transition: color 0.15s; }
.m-footer-socials a:hover { color: var(--m-text); }

/* MOBILE */
.m-mobile-trigger { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: none; border: none; cursor: pointer; color: var(--m-text); }
@media (min-width: 768px) { .m-mobile-trigger { display: none; } }
.m-mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: #fff; padding: 72px 24px 24px; flex-direction: column; }
.m-mobile-menu.active { display: flex; }
.m-mobile-menu a { display: block; padding: 14px 0; font-size: 17px; font-weight: 600; color: var(--m-text); text-decoration: none; border-bottom: 1px solid var(--m-border); }

/* BADGE */
.m-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--m-bg-3); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--m-text-2); margin-bottom: 16px; }
.m-badge-dot { width: 6px; height: 6px; background: var(--m-success); border-radius: 50%; }

/* SEAT CALCULATOR */
.m-seat-calc { max-width: 480px; margin: 0 auto; background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-xl); padding: 32px; text-align: center; }
.m-seat-calc input[type="range"] { width: 100%; accent-color: var(--m-black); margin: 16px 0; }
.m-seat-num { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

/* TRUST BANNER */
.m-trust-banner { background: var(--m-bg-2); border: 1px solid var(--m-border); border-radius: var(--m-radius-xl); padding: 48px 32px; text-align: center; }
.m-trust-banner h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin-bottom: 8px; }
.m-trust-banner p { font-size: 15px; color: var(--m-text-2); margin-bottom: 20px; }

/* INTEGRATION BADGES */
.m-int-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--m-bg-3); border: 1px solid var(--m-border-light); border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--m-text-2); }
.m-sec-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; font-size: 13px; font-weight: 600; color: #16a34a; }

/* DARK SECTION OVERRIDES */
.m-section-dark .m-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.m-section-dark .m-card h3 { color: #fff; }
.m-section-dark .m-card p { color: rgba(255,255,255,0.6); }
.m-section-dark .m-card-icon { background: rgba(255,255,255,0.1); color: #fff; }
.m-section-dark .m-faq-q { color: #fff; }
.m-section-dark .m-faq-a p { color: rgba(255,255,255,0.6); }
.m-section-dark .m-faq-item { border-color: rgba(255,255,255,0.1); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.m-animate { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.m-animate.in-view { opacity: 1; transform: translateY(0); }

/* TABS */
.m-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--m-bg-3); border-radius: 10px; justify-content: center; }
.m-tab { padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--m-text-2); background: transparent; border: none; border-radius: 7px; cursor: pointer; transition: all 0.15s; font-family: var(--m-font); }
.m-tab:hover { color: var(--m-text); }
.m-tab.active { background: #fff; color: var(--m-text); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* BENTO GRID */
.m-bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .m-bento { grid-template-columns: repeat(12, 1fr); } }
.m-bento-item { background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-lg); padding: 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 768px) { .m-bento-item.span-8 { grid-column: span 8; } .m-bento-item.span-4 { grid-column: span 4; } .m-bento-item.span-6 { grid-column: span 6; } .m-bento-item.span-12 { grid-column: span 12; } }
.m-bento-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.m-bento-item p { font-size: 14px; color: var(--m-text-2); }

/* COMPARISON TABLE */
.m-compare { width: 100%; border-collapse: collapse; }
.m-compare th, .m-compare td { padding: 14px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--m-border); }
.m-compare th { font-weight: 600; color: var(--m-text); background: var(--m-bg-2); }
.m-compare td:first-child { font-weight: 500; }
.m-compare td { color: var(--m-text-2); }

/* ===== TESS IDENTITY SYSTEM — Vibe Working ===== */

/* Signature gradient line — the brand's fingerprint */
.m-sig-line { display: block; height: 3px; background: linear-gradient(90deg, var(--m-brand-purple) 0%, var(--m-brand-gold) 50%, var(--m-brand-purple) 100%); background-size: 200% 100%; animation: m-sig-flow 4s ease infinite; border-radius: 2px; }
@keyframes m-sig-flow { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

/* Pulse dot — the heartbeat of Vibe Working */
@keyframes m-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(159, 128, 102, 0.5); } 50% { opacity: 0.85; box-shadow: 0 0 0 8px rgba(159, 128, 102, 0); } }
.m-pulse-dot { width: 8px; height: 8px; background: var(--m-brand-gold); border-radius: 50%; animation: m-pulse 2s ease infinite; }

/* Vibe badge — hero badge with brand identity */
.m-vibe-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; background: linear-gradient(135deg, var(--m-brand-purple-light), var(--m-brand-gold-light)); border: 1px solid rgba(63, 45, 111, 0.12); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--m-brand-purple); margin-bottom: 20px; }

/* ===== ORCHESTRATION VISUAL SYSTEM — Unique TESS Identity ===== */

/* Hero with orchestration canvas and geometry */
.m-hero-vibe { 
    position: relative; 
    overflow: hidden; 
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--m-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Geometric shapes — organic transformation */
.m-hero-geometry {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.m-geo-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: m-geo-pulse 8s ease-in-out infinite;
}

.m-geo-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(63, 45, 111, 0.3) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.m-geo-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(159, 128, 102, 0.25) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: 2s;
}

.m-geo-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(63, 45, 111, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes m-geo-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.4; }
    33% { transform: scale(1.1) rotate(120deg); opacity: 0.5; }
    66% { transform: scale(0.95) rotate(240deg); opacity: 0.35; }
}

/* Hero title with holographic gradient text */
.m-hero-title {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    position: relative;
}

.m-title-word {
    display: inline-block;
    background: linear-gradient(
        135deg,
        var(--m-brand-purple) 0%,
        #6b4c93 25%,
        var(--m-brand-gold) 50%,
        #b8956a 75%,
        var(--m-brand-purple) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: m-gradient-shift 8s ease infinite;
    position: relative;
}

.m-title-word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(63, 45, 111, 0.3) 0%,
        rgba(159, 128, 102, 0.3) 50%,
        rgba(63, 45, 111, 0.3) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    z-index: -1;
    animation: m-gradient-shift 8s ease infinite reverse;
    opacity: 0.6;
}

@keyframes m-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.m-title-1 {
    animation-delay: 0s;
}

.m-title-2 {
    animation-delay: 0.5s;
}

/* Hero subtitle with holographic glow */
.m-hero-tagline { 
    font-size: clamp(16px, 2vw, 20px); 
    color: var(--m-brand-purple); 
    font-weight: 600; 
    margin-bottom: 12px; 
    letter-spacing: 0.03em;
    text-shadow: 0 0 20px rgba(63, 45, 111, 0.2);
    position: relative;
}

.m-hero-tagline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--m-brand-gold), transparent);
    animation: m-glow-expand 3s ease infinite;
}

@keyframes m-glow-expand {
    0%, 100% { width: 60px; opacity: 0.6; }
    50% { width: 120px; opacity: 1; }
}

/* Enhanced pills with orchestration effect */
.m-pill-orch {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(63, 45, 111, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.m-pill-orch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 45, 111, 0.1), transparent);
    transition: left 0.5s;
}

.m-pill-orch:hover::before {
    left: 100%;
}

.m-pill-orch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(63, 45, 111, 0.15);
    border-color: var(--m-brand-purple) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.m-pill-orch svg {
    transition: transform 0.3s;
}

.m-pill-orch:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* Orchestration prompt terminal — holographic depth */
.m-orch-prompt {
    background: linear-gradient(135deg, #0c0c12 0%, #1a1525 50%, #0c0c12 100%);
    border: 1px solid rgba(63, 45, 111, 0.3);
    border-radius: 20px;
    padding: 28px 32px;
    color: #d4d4d8;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 14px;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 48px;
    position: relative;
    text-align: left;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(63, 45, 111, 0.2);
    transition: all 0.4s;
}

.m-orch-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--m-brand-purple), var(--m-brand-gold), var(--m-brand-purple));
    background-size: 200% 100%;
    border-radius: 20px 20px 0 0;
    animation: m-sig-flow 3s ease infinite;
}

.m-orch-prompt::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--m-brand-purple), var(--m-brand-gold));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s;
}

.m-orch-prompt:hover::after {
    opacity: 0.3;
}

.m-orch-prompt:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(63, 45, 111, 0.3);
    border-color: rgba(63, 45, 111, 0.5);
}

.m-orch-prompt .m-prompt-caret {
    color: var(--m-brand-gold);
    margin-right: 8px;
    animation: m-blink 1s step-end infinite;
    text-shadow: 0 0 8px var(--m-brand-gold);
}

@keyframes m-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.m-orch-prompt .m-prompt-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b6b80;
    font-family: var(--m-font);
}

.m-orch-prompt .m-prompt-dots {
    display: flex;
    gap: 6px;
}

.m-orch-prompt .m-prompt-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 4px currentColor;
}

/* Skill orchestration grid */
.m-orch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .m-orch-grid { grid-template-columns: repeat(4, 1fr); } }

/* Skill node — holographic glassmorphism with depth */
.m-skill-node { 
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(63, 45, 111, 0.1);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.m-skill-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--m-brand-purple), var(--m-brand-gold));
    opacity: 0;
    transition: opacity 0.4s;
}

.m-skill-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(63, 45, 111, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    pointer-events: none;
}

.m-skill-node:hover::before {
    opacity: 1;
}

.m-skill-node:hover::after {
    width: 200px;
    height: 200px;
}

.m-skill-node:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(63, 45, 111, 0.15),
        0 0 0 1px rgba(63, 45, 111, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(63, 45, 111, 0.2);
}

.m-skill-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--m-brand-purple-light), var(--m-brand-gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--m-brand-purple);
    position: relative;
    z-index: 1;
    transition: all 0.4s;
    box-shadow: 0 4px 12px rgba(63, 45, 111, 0.1);
}

.m-skill-node:hover .m-skill-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(63, 45, 111, 0.2);
}

.m-skill-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--m-text);
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.m-skill-status {
    font-size: 11px;
    color: var(--m-success);
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.m-skill-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--m-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--m-success);
    animation: m-pulse-dot 2s ease infinite;
}

/* Department use case cards — holographic depth */
.m-dept-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(63, 45, 111, 0.12);
    border-radius: var(--m-radius-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.m-dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--m-brand-purple), var(--m-brand-gold), var(--m-brand-purple));
    background-size: 200% 100%;
    animation: m-sig-flow 3s ease infinite;
}

.m-dept-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(63, 45, 111, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.m-dept-card:hover::after {
    opacity: 1;
}

.m-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(63, 45, 111, 0.12),
        0 0 0 1px rgba(63, 45, 111, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(63, 45, 111, 0.2);
}
.m-dept-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.m-dept-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--m-brand-purple-light), var(--m-brand-gold-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--m-brand-purple); flex-shrink: 0; }
.m-dept-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--m-brand-purple); }
.m-dept-prompt { background: #fafafc; border: 1px solid var(--m-border-light); border-left: 3px solid var(--m-brand-purple); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 14px; color: var(--m-text); font-style: italic; margin: 12px 0 16px; line-height: 1.5; }
.m-dept-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.m-dept-skill-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: linear-gradient(135deg, var(--m-brand-purple-light), var(--m-brand-gold-light)); border: 1px solid rgba(63, 45, 111, 0.08); border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--m-brand-purple); white-space: nowrap; }
.m-dept-arrow { display: inline-flex; align-items: center; color: var(--m-brand-gold); font-size: 11px; padding: 0 2px; }

.m-cta-section { padding-top: 32px; }
.m-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* CTA with holographic depth and particles */
.m-cta-vibe {
    background: linear-gradient(135deg, #0c0c12 0%, #1a1525 50%, #0c0c12 100%);
    border-radius: var(--m-radius-xl);
    position: relative;
    overflow: hidden;
    padding: 80px 32px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.m-cta-vibe--hero {
    background-image:
        linear-gradient(135deg, rgba(28, 30, 35, 0.88) 0%, rgba(35, 38, 45, 0.80) 55%, rgba(28, 30, 35, 0.90) 100%),
        url("/assets/img/hero/d0ca96c5-a868-4d63-bb8c-47ff08f9d990 (1).jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.m-cta-vibe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--m-brand-purple), var(--m-brand-gold), var(--m-brand-purple));
    background-size: 200% 100%;
    animation: m-sig-flow 4s ease infinite;
}

.m-cta-vibe::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(63, 45, 111, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: m-float-a 8s ease-in-out infinite;
}

.m-cta-vibe h2 {
    color: #fff;
    text-shadow: 0 0 30px rgba(63, 45, 111, 0.3);
    position: relative;
    z-index: 1;
}

.m-cta-vibe p {
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

/* Brand-colored primary button — holographic effect */
.m-btn-brand {
    background: linear-gradient(135deg, var(--m-brand-purple), #574589);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(63, 45, 111, 0.25);
}

.m-btn-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.m-btn-brand:hover::before {
    left: 100%;
}

.m-btn-brand:hover {
    background: linear-gradient(135deg, #574589, var(--m-brand-purple));
    box-shadow: 
        0 8px 24px rgba(63, 45, 111, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.m-btn-brand svg {
    transition: transform 0.3s;
}

.m-btn-brand:hover svg {
    transform: translateX(4px);
}

/* VS comparison — TESS vs Others */
.m-vs-block { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .m-vs-block { grid-template-columns: 1fr 1fr; } }
.m-vs-side { background: var(--m-bg); border: 1px solid var(--m-border); border-radius: var(--m-radius-xl); padding: 28px; }
.m-vs-side.tess { border-color: var(--m-brand-purple); border-width: 2px; position: relative; overflow: hidden; }
.m-vs-side.tess::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--m-brand-purple), var(--m-brand-gold)); }
.m-vs-side h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.m-vs-side.tess h4 { color: var(--m-brand-purple); }
.m-vs-flow { display: flex; flex-direction: column; gap: 8px; }
.m-vs-step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--m-text-2); padding: 8px 12px; background: var(--m-bg-2); border-radius: 8px; }
.m-vs-step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--m-bg-3); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--m-text-3); flex-shrink: 0; }
.m-vs-side.tess .m-vs-step-num { background: var(--m-brand-purple-light); color: var(--m-brand-purple); }
.m-vs-side.tess .m-vs-step { background: linear-gradient(135deg, var(--m-brand-purple-light), var(--m-brand-gold-light)); }
.m-vs-parallel { display: flex; gap: 6px; flex-wrap: wrap; }
.m-vs-parallel-chip { font-size: 11px; font-weight: 600; padding: 3px 8px; background: rgba(63, 45, 111, 0.06); border-radius: 4px; color: var(--m-brand-purple); }

/* Section with gradient accent line separator */
.m-section-accent { position: relative; }
.m-section-accent::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 3px; background: linear-gradient(90deg, var(--m-brand-purple), var(--m-brand-gold)); border-radius: 2px; }

/* Stagger animation for orchestration nodes */
.m-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.m-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.m-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.m-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.m-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.m-stagger > *:nth-child(6) { animation-delay: 0.3s; }
.m-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.m-stagger > *:nth-child(8) { animation-delay: 0.4s; }

/* Number highlight with animated holographic gradient */
.m-num-highlight {
    background: linear-gradient(
        135deg,
        var(--m-brand-purple) 0%,
        #6b4c93 25%,
        var(--m-brand-gold) 50%,
        #b8956a 75%,
        var(--m-brand-purple) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: m-gradient-shift 6s ease infinite;
    position: relative;
    display: inline-block;
}

.m-num-highlight::after {
    content: attr(data-value);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(63, 45, 111, 0.4) 0%,
        rgba(159, 128, 102, 0.4) 50%,
        rgba(63, 45, 111, 0.4) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    z-index: -1;
    animation: m-gradient-shift 6s ease infinite reverse;
    opacity: 0.5;
}

/* Stats cards with holographic effect */
.m-stats > div {
    position: relative;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(63, 45, 111, 0.08);
    transition: all 0.3s;
}

.m-stats > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(63, 45, 111, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

/* Cards with holographic glassmorphism */
.m-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(63, 45, 111, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.m-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(63, 45, 111, 0.12),
        0 0 0 1px rgba(63, 45, 111, 0.08);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(63, 45, 111, 0.2);
}

.m-card-icon {
    transition: transform 0.4s;
}

.m-card:hover .m-card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* TESTIMONIAL SLIDESHOW — Full-screen */
.m-testimonial-slideshow {
    position: relative;
    width: 90vw;
    margin-left: calc(-45vw + 50%);
    height: 90vh;
    min-height: 560px;
    max-height: 900px;
    overflow: visible;
    user-select: none;
    margin-top: 48px;
}
@media (min-width: 1024px) {
    .m-testimonial-slideshow {
        width: 80vw;
        margin-left: calc(-40vw + 50%);
        height: 80vh;
    }
}
.m-testimonial-slideshow::before,
.m-testimonial-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 64px;
    background: #f6f6f6;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    z-index: 0;
}
.m-testimonial-slideshow::before {
    transform: translate(0, 16px) scale(0.96);
    opacity: 0.5;
}
.m-testimonial-slideshow::after {
    transform: translate(0, 32px) scale(0.92);
    opacity: 0.25;
}
.m-ts-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 64px;
    margin: 0;
    z-index: 2;
    background: var(--m-black);
}
.m-ts-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.m-ts-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform-origin: center center;
}
.m-ts-slide.m-ts-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.m-ts-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Dots */
.m-ts-nav {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    padding: 8px;
}
.m-ts-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s ease;
    cursor: pointer;
}
.m-ts-dot.active {
    width: 24px;
    height: 6px;
    border-radius: 4px;
    background: var(--m-black);
}

/* Centered Overlay Container */
.m-ts-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    width: 100%;
    max-width: 90%;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through around buttons */
}

/* Text Pill */
.m-ts-text-pill {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px; /* Fully rounded */
    padding: 20px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.m-ts-phrase {
    margin: 0;
    font-size: 28px; /* Larger font as per reference */
    color: #fff;
    font-family: var(--m-font);
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.m-ts-phrase-key {
    color: #fff;
    font-weight: 800;
}

.m-ts-phrase-text {
    font-weight: 400;
    opacity: 0.95;
}

/* Logo Pill */
.m-ts-logo-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 18px; /* Matching rounded look */
    padding: 20px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    pointer-events: auto;
    height: 74px; /* Match height of text pill approx */
}

.m-ts-logo-btn:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.m-ts-logo-btn img {
    height: 24px; /* Larger logo */
    width: auto;
    display: block;
}

@media (max-width: 1024px) {
    .m-ts-phrase { font-size: 22px; }
    .m-ts-text-pill { padding: 16px 24px; border-radius: 20px; }
    .m-ts-logo-btn { padding: 16px 24px; border-radius: 16px; height: 60px; }
    .m-ts-logo-btn img { height: 20px; }
}

@media (max-width: 768px) {
    .m-testimonial-slideshow {
        height: 90vh;
        min-height: 420px;
        max-height: 700px;
        margin-top: 32px;
    }
    .m-ts-viewport {
        margin: 0;
        border-radius: 48px;
    }
    .m-ts-overlay {
        flex-direction: column;
        gap: 12px;
    }
    .m-ts-phrase {
        font-size: 18px;
        white-space: normal;
        text-align: center;
    }
    .m-ts-text-pill {
        padding: 14px 20px;
        border-radius: 16px;
        width: auto;
        max-width: 90%;
    }
    .m-ts-logo-btn {
        padding: 12px 24px;
        border-radius: 14px;
        height: auto;
    }
}
@media (max-width: 480px) {
    .m-testimonial-slideshow {
        height: 90vh;
        min-height: 360px;
    }
    .m-ts-viewport {
        margin: 0;
        border-radius: 32px;
    }
    .m-ts-phrase {
        font-size: 16px;
    }
}
