@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --brand-pink: #ff006e;
    --brand-purple: #6c2cf5;
    --brand-gradient: linear-gradient(135deg, #ff006e 0%, #6c2cf5 100%);
    --brand-dark: #111111;
    --brand-gray: #666666;
    --brand-light-gray: #f2f2f2;
    --brand-bg-white: #ffffff;
    --radius-lg: 32px;
    --radius-md: 20px;
    --font-title: 'Roboto', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --max-w: 1920px;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: #f7f7f7;
    color: var(--brand-dark);
    min-height: 100%;
}

/* Master Layout 1920px */
.journey-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    background: var(--brand-bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
}

/* Header Stepper */
.journey-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--brand-bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.stepper-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-pink);
    text-transform: uppercase;
}

.stepper-progress-container {
    flex: 1;
    max-width: 300px;
    height: 6px;
    background: #fdf2f6;
    border-radius: 10px;
    margin: 0 40px;
    overflow: hidden;
}

.stepper-progress-bar {
    height: 100%;
    background: var(--brand-pink);
    width: 20%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-menu-dots {
    font-size: 24px;
    cursor: pointer;
    color: var(--brand-dark);
}

/* Content Container */
.journey-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 80px;
    position: relative;
}

@media (min-height: 800px) {
    .journey-container {
        padding: 60px 24px;
    }
}

/* Slides Logic with Smooth Animation */
.journey-slide {
    width: 100%;
    max-width: 900px;
    display: none;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}

.journey-slide.active {
    display: block;
    animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sidebar Navigation Dots */
.side-nav-dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: var(--brand-pink);
    transform: scale(1.5);
}

/* Hero Components */
.badge-welcome {
    background: var(--brand-pink);
    color: var(--brand-bg-white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 24px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-title-v4 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--brand-dark);
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-title-v4 span {
    color: var(--brand-pink);
}

.hero-intro-v4 {
    font-size: 22px;
    color: var(--brand-gray);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-img-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 40px auto;
    animation: slideUpLarge 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

@keyframes slideUpLarge {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-img-v4 {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

/* Common Components */
.btn-journey {
    background: var(--brand-pink);
    color: var(--brand-bg-white);
    padding: 20px 50px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-journey:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 0, 110, 0.35);
}

/* Investment View Polishing */
.price-display-v4 {
    font-size: 64px;
    /* Reduced from 80px */
    font-weight: 900;
    color: var(--brand-pink);
    line-height: 1;
    font-family: var(--font-title);
    margin-bottom: 20px;
}

/* Grid & Cards */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.journey-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.journey-card:hover {
    border-color: var(--brand-pink);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .journey-header {
        padding: 15px 15px;
    }

    .hero-title-v4 {
        font-size: 38px;
    }

    .hero-intro-v4 {
        font-size: 18px;
    }

    .price-display-v4 {
        font-size: 48px;
    }

    .stepper-progress-container {
        margin: 0 10px;
        max-width: 150px;
    }

    .journey-container {
        padding: 30px 20px 60px;
        justify-content: flex-start;
    }

    .btn-journey {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}
/* UI 4.5: AI-Style Advanced Animations & Mobile Fixes */
@media (max-width: 768px) {
    /* Fix mobile bank/payment detail displacement */
    #slide-inversion div[style*="background:#fafafa"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 15px !important;
    }
    #slide-inversion div[style*="flex-shrink:0"] {
        margin-bottom: 5px !important;
    }
}

@keyframes aiGlowPulse {
    0% { box-shadow: 0 0 5px rgba(255, 51, 102, 0.2), 0 0 10px rgba(103, 58, 183, 0.1); }
    50% { box-shadow: 0 0 20px rgba(255, 51, 102, 0.4), 0 0 30px rgba(103, 58, 183, 0.3); }
    100% { box-shadow: 0 0 5px rgba(255, 51, 102, 0.2), 0 0 10px rgba(103, 58, 183, 0.1); }
}

.journey-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.journey-card:hover {
    transform: translateY(-10px) scale(1.02);
    animation: aiGlowPulse 2s infinite;
    border-color: var(--brand-pink);
}

.price-display-v4 {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-purple), var(--brand-pink), var(--brand-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 5s linear infinite;
}

@keyframes glowText {
    to { background-position: 200% center; }
}

/* AI Floating Effect for Hero Image */
.hero-img-container {
    animation: floatAI 6s ease-in-out infinite, slideUpLarge 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

@keyframes floatAI {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
