/* Force phone to be completely static - no animation */
.phone-frame, .hero-phone-mock {
    animation: none !important;
    transform: none !important;
}

/* Carousel Container */
.phone-screen-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.carousel-track {
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    touch-action: auto;
    cursor: default;
}

.carousel-track.dragging {
    transition: none;
    cursor: grabbing;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0.4;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-counter {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 0.6rem;
    color: #94a3b8;
    font-weight: 500;
    z-index: 10;
    background: rgba(255,255,255,0.8);
    padding: 2px 8px;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.carousel-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0,0,0,0.05);
    z-index: 11;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    width: 0%;
    transition: width 0.1s linear;
}

.carousel-progress-bar.animating {
    animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

.carousel-nav {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    background: rgba(255,255,255,0.6);
    padding: 6px 10px;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.carousel-dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #2563eb;
    width: 20px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phone-frame:hover .carousel-arrows {
    opacity: 1;
}

.carousel-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #475569;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:hover {
    transform: scale(1.15);
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.edu-slide .slide-content {
    padding: 12px 16px;
    padding-top: 25px;
}

.edu-slide .slide-icon {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 8px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.edu-slide .slide-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 6px;
}

.edu-slide .slide-description {
    font-size: 0.7rem;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 12px;
}

.edu-slide .feature-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edu-slide .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.68rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.edu-slide .feature-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.edu-slide .feature-icon { font-size: 1rem; }
.edu-slide .feature-text { color: #475569; font-weight: 500; }

.carousel-slide.active .feature-item {
    animation: slideInFeature 0.5s ease-out backwards;
}

.carousel-slide.active .feature-item:nth-child(1) { animation-delay: 0.1s; }
.carousel-slide.active .feature-item:nth-child(2) { animation-delay: 0.2s; }
.carousel-slide.active .feature-item:nth-child(3) { animation-delay: 0.3s; }
.carousel-slide.active .feature-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInFeature {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.live-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.swipe-hint {
    position: absolute;
    bottom: 78px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: fadeInHint 0.5s ease 3s forwards;
}

.swipe-hint.hidden {
    display: none !important;
}

@keyframes fadeInHint {
    to { opacity: 1; }
}

.swipe-hint i {
    animation: swipeArrow 1.2s ease-in-out infinite;
}

@keyframes swipeArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.progress-fill.animated {
    animation: progressPulse 3s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

.screen-summary .summary-item {
    transition: transform 0.3s ease;
}

.screen-summary .summary-item:hover {
    transform: translateY(-2px);
}

.screen-circle-card {
    transition: all 0.3s ease;
}

.screen-circle-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.keyboard-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.5rem;
    color: #cbd5e1;
    display: none;
}

.phone-frame:focus-within .keyboard-hint {
    display: block;
}

.explainer-heading { color: #0f172a; font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; margin: 16px 0; }
.explainer-text { color: #475569; font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; }
.explainer-text-spaced { color: #475569; font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; }
.explainer-subheading { color: #0f172a; font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.text-primary-brand { color: #2563eb; }
.section-heading-dark { color: #0f172a; }
.section-subtext { color: #64748b; }

html[data-theme="dark"] .explainer-heading,
html[data-theme="dark"] .explainer-subheading,
html[data-theme="dark"] .section-heading-dark { color: #f1f5f9; }
html[data-theme="dark"] .explainer-text,
html[data-theme="dark"] .explainer-text-spaced,
html[data-theme="dark"] .section-subtext { color: rgba(255,255,255,0.7); }
html[data-theme="dark"] .text-primary-brand { color: #60a5fa; }

.nav-dropdown-trigger .fa-chevron-down { font-size: 0.65rem; margin-left: 4px; transition: transform 0.2s; }

.stat-icon-circle {
    width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: white; margin: 0 auto 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.stat-icon--blue { background: linear-gradient(135deg, #0077b8, #0099E5); }
.stat-icon--green { background: linear-gradient(135deg, #059669, #10b981); }
.stat-icon--purple { background: linear-gradient(135deg, #2D1B69, #5b35b5); }
.stat-icon--amber { background: linear-gradient(135deg, #F26522, #FF7E3A); }

.partners-section .partner-logo { opacity: 1; }
.partners-section .partner-logo i { color: #475569; }
html[data-theme="dark"] .partners-section .partner-logo i { color: #cbd5e1; }

.trust-badge-toggle--styled {
    background: rgba(241, 245, 249, 0.7);
    border-color: rgba(148, 163, 184, 0.4);
}
.trust-badge-toggle--styled:hover {
    background: rgba(241, 245, 249, 0.9);
    border-color: rgba(96, 165, 250, 0.55);
}
.trust-details-panel--collapsed {
    background: rgba(241, 245, 249, 0.95);
    border-color: rgba(148, 163, 184, 0.35);
}
.partner-logo--card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(148, 163, 184, 0.3);
}
.partner-logo-icon { color: #334155 !important; }
.partner-logo-icon--stripe { color: #635bff !important; }
.partner-logo-icon--firebase { color: #f59e0b !important; }
.partner-logo-icon--gcp { color: #4285f4 !important; }
.partner-logo-icon--ssl { color: #0891b2 !important; }
.partner-logo-icon--pci { color: #059669 !important; }
.partner-logo-icon--vanta { color: #7c3aed !important; }
.partner-logo-title { color: #1e293b; }
.partner-logo-subtitle { color: #2563eb; font-weight: 600; }
.trust-chevron--muted { color: rgba(51, 65, 85, 0.7); }
.trust-badge-label { color: #1e293b; }
.trust-badge-title-icon { color: #2563eb; }
.trust-preview-icon { color: #475569; }

html[data-theme="dark"] .trust-badge-toggle--styled {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.28);
}
html[data-theme="dark"] .trust-details-panel--collapsed {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(148, 163, 184, 0.22);
}
html[data-theme="dark"] .partner-logo--card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.18);
}
html[data-theme="dark"] .partner-logo-icon { color: #cbd5e1 !important; }
html[data-theme="dark"] .partner-logo-icon--stripe { color: #a5b4fc !important; }
html[data-theme="dark"] .partner-logo-icon--firebase { color: #fbbf24 !important; }
html[data-theme="dark"] .partner-logo-icon--gcp { color: #93c5fd !important; }
html[data-theme="dark"] .partner-logo-icon--ssl { color: #67e8f9 !important; }
html[data-theme="dark"] .partner-logo-icon--pci { color: #86efac !important; }
html[data-theme="dark"] .partner-logo-icon--vanta { color: #c4b5fd !important; }
html[data-theme="dark"] .partner-logo-title { color: #e2e8f0; }
html[data-theme="dark"] .partner-logo-subtitle { color: #94a3b8; }
html[data-theme="dark"] .trust-chevron--muted { color: rgba(226, 232, 240, 0.72); }
html[data-theme="dark"] .trust-badge-label { color: #e2e8f0; }
html[data-theme="dark"] .trust-badge-title-icon { color: #818cf8; }
html[data-theme="dark"] .trust-preview-icon { color: #cbd5e1; }

input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px;
    background: #e2e8f0; outline: none; cursor: pointer; margin: 12px 0;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6); cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,0.4); border: 3px solid white;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 4px 14px rgba(37,99,235,0.5); }
input[type="range"]::-moz-range-thumb {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6); cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,0.4); border: 3px solid white;
}
input[type="range"]::-moz-range-track {
    height: 8px; border-radius: 4px; background: #e2e8f0;
}
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(37,99,235,0.3), 0 2px 8px rgba(37,99,235,0.4); }
html[data-theme="dark"] input[type="range"] { background: #334155; }

.testimonial-card-large {
    background: white; border-radius: 20px; padding: 40px; text-align: left;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card-large:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.testimonial-stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-quote-large {
    font-size: 1.15rem; line-height: 1.7; color: #334155; margin-bottom: 24px;
    font-style: italic; position: relative; padding-left: 20px;
    border-left: 3px solid #2563eb;
}
.testimonial-author-large { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testimonial-avatar-large {
    width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed); color: white; font-weight: 700; font-size: 0.95rem;
    flex-shrink: 0;
}
.testimonial-info-large p { margin: 0; }
.testimonial-name { font-size: 0.95rem; color: #1e293b; }
.testimonial-info-large p:last-child { font-size: 0.85rem; color: #64748b; }
.testimonial-amount { font-size: 0.85rem; color: #047857; font-weight: 600; padding: 10px 16px; background: rgba(5,150,105,0.08); border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
html[data-theme="dark"] .testimonial-card-large { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .testimonial-quote-large { color: #e2e8f0; border-left-color: #60a5fa; }
html[data-theme="dark"] .testimonial-name { color: #f1f5f9; }
html[data-theme="dark"] .testimonial-info-large p:last-child { color: #94a3b8; }

.section-divider {
    height: 1px; border: none; margin: 0;
    background: linear-gradient(90deg, transparent, #e2e8f0 20%, #e2e8f0 80%, transparent);
}
html[data-theme="dark"] .section-divider {
    background: linear-gradient(90deg, transparent, #334155 20%, #334155 80%, transparent);
}

.social-proof-stats, .susu-explainer, .app-preview-section,
.calculator-section { position: relative; }

.reveal, .reveal-stagger { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible, .reveal-stagger.visible, .reveal.revealed, .reveal-stagger.revealed { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.visible, .reveal-scale.revealed { opacity: 1; transform: scale(1); }