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

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Utility class */
.hidden {
    display: none !important;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    padding: 15px 20px; 
    border-radius: 8px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.logo-image {
    height: 40px; 
    width: auto;
    object-fit: contain;
}

.logo-icon {
    display: none;
}

.logo-text {
    font-size: 22px; 
    font-weight: 700;
    color: white;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px; 
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem; 
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px; 
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center; 
    width: calc(100% - 180px); 
}

.page-title.show {
    opacity: 1;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 30px; 
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #0ea5e9;
    border-radius: 2px;
    width: 33.33%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    position: relative;
}

.segment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.segment.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative; 
}

.professional-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px; 
    padding: 20px; 
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.avatar {
    position: relative;
}

.avatar-icon {
    width: 60px; 
    height: 60px; 
    background: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px; 
    color: white;
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.2);
}

.info h2 {
    font-size: 22px; 
    font-weight: 600;
    margin-bottom: 5px;
}

.info p {
    font-size: 14px; 
    opacity: 0.8;
    font-weight: 400;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; 
    align-items: start;
}

.speech-bubble {
    background: white;
    color: #333;
    padding: 20px; 
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #dee2e6;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid white;
}

.speech-bubble p {
    font-size: 15px; 
    line-height: 1.6;
    font-weight: 400;
}

/* Interactive Elements */
.interactive-element {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Risk Profile Test */
.risk-profile-test {
    background: white;
    border-radius: 8px;
    padding: 20px; 
    border: 1px solid #dee2e6;
    width: 100%;
}

.risk-profile-test h3 {
    text-align: center;
    margin-bottom: 20px; 
    font-size: 18px; 
    font-weight: 600;
}

.risk-options {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.risk-option {
    display: flex;
    align-items: center;
    gap: 10px; 
    padding: 12px 15px; 
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    font-size: 0.9rem; 
}

.risk-option:hover {
    background: rgba(13, 110, 253, 0.05);
    border-color: #0d6efd;
    transform: translateY(-2px);
}

.risk-icon {
    font-size: 20px; 
    width: 30px; 
    text-align: center;
}

/* Portfolio Simulator */
.portfolio-simulator {
    background: white;
    border-radius: 8px;
    padding: 20px; 
    border: 1px solid #dee2e6;
    width: 100%;
}

#segment2 .portfolio-simulator {
    background-image: url('simular.png');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center top; 
    
    min-height: 320px; 
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

#segment2 .portfolio-simulator > h3,
#segment2 .portfolio-simulator > .portfolio-chart {
    display: none;
}

#segment2 .portfolio-simulator .simulator-button-container {
    margin-top: 20px; 
}

.portfolio-simulator h3 {
    text-align: center;
    margin-bottom: 20px; 
    font-size: 18px; 
    font-weight: 600;
}

.portfolio-chart {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.chart-segment {
    height: 40px; 
    border-radius: 20px; 
    display: flex;
    align-items: center;
    padding: 0 15px; 
    position: relative;
    overflow: hidden;
    color: white;
    font-weight: 500;
    font-size: 13px; 
}

.chart-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--percentage);
    border-radius: 25px;
    animation: fillChart 2s ease-out forwards;
}

.bonds::before {
    background: #0d6efd;
}

.stocks::before {
    background: #6f42c1;
}

.funds::before {
    background: #20c997;
}

@keyframes fillChart {
    from { width: 0; }
    to { width: var(--percentage); }
}

/* Enhanced Portfolio Simulator Button */
.simulator-button-container {
    margin-top: 20px;
    text-align: center;
    position: relative;
}

.simulator-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    padding: 15px 25px; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem; 
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.4),
        0 4px 16px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    text-decoration: none;
    border: 2px solid transparent;
    animation: gradientShift 3s ease-in-out infinite, pulseGlow 2s ease-in-out infinite;
}

.simulator-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.simulator-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.simulator-btn:hover::before {
    opacity: 1;
}

.simulator-btn:hover::after {
    width: 300px;
    height: 300px;
}

.simulator-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 45px rgba(102, 126, 234, 0.6),
        0 8px 25px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
}

.simulator-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-icon {
    font-size: 1.2rem; 
    animation: iconBounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    z-index: 2;
    position: relative;
}

.btn-text {
    flex: 1;
    z-index: 2;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-arrow {
    font-size: 1.1rem; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    z-index: 2;
    position: relative;
}

.simulator-btn:hover .btn-arrow {
    transform: translateX(8px) rotate(15deg);
}

.simulator-btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
    animation-play-state: paused;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(102, 126, 234, 0.4),
            0 4px 16px rgba(102, 126, 234, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 8px 40px rgba(102, 126, 234, 0.6),
            0 4px 20px rgba(118, 75, 162, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    10% {
        transform: translateY(-3px) rotate(-5deg);
    }
    30% {
        transform: translateY(-2px) rotate(3deg);
    }
    40% {
        transform: translateY(-4px) rotate(-2deg);
    }
    60% {
        transform: translateY(-1px) rotate(2deg);
    }
}

/* Add floating particles effect around button */
.simulator-button-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    border-radius: 60px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    animation: floatingParticles 4s ease-in-out infinite;
}

.simulator-button-container:hover::before {
    opacity: 1;
}

@keyframes floatingParticles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-5px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* Notification Center */
.notification-center {
    background: white;
    border-radius: 8px;
    padding: 20px; 
    border: 1px solid #dee2e6;
    width: 100%;
}

.notification-center h3 {
    text-align: center;
    margin-bottom: 20px; 
    font-size: 18px; 
    font-weight: 600;
}

.notifications {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.notification {
    display: flex;
    align-items: center;
    gap: 10px; 
    padding: 15px; 
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid;
    animation: slideInNotification 0.6s ease-out forwards;
    transform: translateX(-20px);
    opacity: 0;
}

.notification.rebalance {
    border-left-color: #0d6efd;
    animation-delay: 0.2s;
}

.notification.reinvest {
    border-left-color: #20c997;
    animation-delay: 0.4s;
}

@keyframes slideInNotification {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-icon {
    font-size: 20px; 
    width: 30px; 
    text-align: center;
}

.notification-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px; 
}

.notification-text p {
    font-size: 13px; 
    opacity: 0.8;
}

.notification-link {
    text-decoration: none;
    color: inherit;
    display: block; 
}

.notification-link .notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Video Section */
.video-section {
    margin: 20px 0; 
    background: white;
    border-radius: 8px;
    padding: 15px; 
    border: 1px solid #dee2e6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.professional-video, .welcome-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    background: #f8f9fa;
    aspect-ratio: 16/9; 
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px; 
    padding: 15px 0; 
}

.nav-btn {
    padding: 10px 20px; 
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #0d6efd;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem; 
}

.nav-btn:hover:not(:disabled) {
    background: rgba(13, 110, 253, 0.05);
    border-color: #0d6efd;
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.segment-indicators {
    display: flex;
    gap: 8px; 
}

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

.indicator.active {
    background: #0d6efd;
    transform: scale(1.2);
}

#professionalsNavigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px; 
    padding: 15px 0; 
}

#professionalsNavigation.hidden {
    display: none;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 30px 20px; 
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-top: 30px; 
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.cta-section.show {
    transform: translateY(0);
    opacity: 1;
}

.cta-section h2 {
    font-size: 24px; 
    margin-bottom: 10px; 
    font-weight: 600;
}

.cta-section p {
    font-size: 16px; 
    margin-bottom: 20px; 
    opacity: 0.9;
}

.cta-button {
    padding: 12px 30px; 
    background: #0ea5e9;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px; 
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.cta-button:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Welcome Section */
.welcome-section {
    padding: 20px; 
    background: rgba(13, 110, 253, 0.08);
    border-radius: 8px;
    margin-bottom: 20px;
}

.welcome-content h1 {
    font-size: 2.2rem; 
    font-weight: 700;
    margin-bottom: 15px; 
    color: #212529;
    line-height: 1.2;
}

.welcome-description {
    font-size: 1.1rem; 
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 30px; 
    max-width: 600px;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    margin-bottom: 30px; 
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px; 
    background: white;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2rem; 
    min-width: 50px; 
    text-align: center;
}

.feature-item h3 {
    font-size: 1.1rem; 
    font-weight: 600;
    margin-bottom: 8px;
    color: #212529;
}

.feature-item p {
    color: #6c757d;
    line-height: 1.5;
    font-size: 0.9rem; 
}

.navigation-buttons {
    display: flex;
    gap: 15px; 
    flex-wrap: wrap;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 8px; 
    padding: 12px 25px; 
    border: none;
    border-radius: 12px;
    font-size: 1rem; 
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-button.primary {
    background: #0ea5e9;
    color: white;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.nav-button.primary:hover {
    background: #0369a1;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.nav-button.secondary {
    background: white;
    color: #0d6efd;
    border: 2px solid #0d6efd;
}

.nav-button.secondary:hover {
    background: #0ea5e9;
    color: white;
    transform: translateY(-3px);
}

.button-icon {
    font-size: 1.1rem; 
}

.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.welcome-video {
    aspect-ratio: 16/9; 
    border-radius: 8px;
    background: #f8f9fa;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 15px; 
    left: 15px; 
    right: 15px; 
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 15px; 
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.video-overlay h3 {
    font-size: 1.1rem; 
    font-weight: 600;
    margin-bottom: 5px; 
}

.video-overlay p {
    font-size: 0.9rem; 
    opacity: 0.9;
    margin: 0;
}

.professionals-wrapper {
    position: relative;
}

.professionals-wrapper.hidden {
    display: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: white;
    margin-top: 40px; 
    padding: 30px 20px 15px; 
    border-radius: 8px 8px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 30px;
    margin-bottom: 20px; 
}

.footer-section h4 {
    font-size: 16px; 
    font-weight: 600;
    margin-bottom: 15px; 
    color: white;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 15px; 
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 250px;
    margin-left: auto; 
    margin-right: auto; 
}

.footer-logo-image {
    height: 60px; 
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 16px; 
    font-weight: 600;
    color: white;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px; 
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px; 
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px; 
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px; 
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px; 
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr; 
    }
    .video-section {
        order: -1; 
    }
    .welcome-section .content-grid .video-section { 
        order: 1; 
    }
    .segment .content-grid .video-section { 
        order: -1; 
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    .logo {
        flex-direction: column;
        text-align: center;
    }
    .logo-image {
        height: 35px;
    }
    .logo-text {
        font-size: 20px;
    }
    .page-title {
        position: static; 
        transform: none;
        width: auto;
        font-size: 16px;
        margin-top: 5px;
    }
    .back-btn {
        align-self: flex-start; 
        margin-top: 10px;
    }
    .progress-container {
        margin-bottom: 20px;
    }

    .professional-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .video-section {
        margin: 15px 0;
        padding: 10px;
    }
    
    .navigation {
        flex-direction: column;
        gap: 15px;
    }
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .speech-bubble {
        padding: 15px;
    }
    
    .speech-bubble::before {
        display: none;
    }
    
    .cta-section h2 {
        font-size: 20px;
    }
    .cta-section p {
        font-size: 14px;
    }
    .cta-button {
        font-size: 14px;
        padding: 10px 25px;
    }

    .welcome-content h1 {
        font-size: 1.8rem;
    }
    .welcome-description {
        font-size: 1rem;
    }
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .feature-icon {
        font-size: 1.8rem;
    }
    .feature-item h3 {
        font-size: 1rem;
    }
    .feature-item p {
        font-size: 0.85rem;
    }
    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .nav-button {
        width: 100%;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    .video-overlay {
        padding: 10px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .video-overlay h3 {
        font-size: 1rem;
    }
    .video-overlay p {
        font-size: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr; 
        text-align: center;
    }
    .footer-section h4 {
        margin-bottom: 10px;
    }
    .footer-logo {
        margin: 0 auto 20px auto; 
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-bottom p {
        font-size: 12px;
    }
    .footer-social a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .header {
        padding: 10px;
    }
    .logo-image {
        height: 30px;
    }
    .logo-text {
        font-size: 18px;
    }
    .page-title {
        font-size: 14px;
    }
    .back-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .professional-info {
        padding: 15px;
    }
    .avatar-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    .info h2 {
        font-size: 18px;
    }
    .info p {
        font-size: 12px;
    }
    .speech-bubble p {
        font-size: 13px;
    }
    .risk-profile-test h3, .portfolio-simulator h3, .notification-center h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .risk-option {
        padding: 10px;
        font-size: 0.85rem;
    }
    .risk-icon {
        font-size: 18px;
    }
    .chart-segment {
        height: 35px;
        font-size: 12px;
    }
    .simulator-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .btn-icon {
        font-size: 1rem;
    }
    .btn-arrow {
        font-size: 1rem;
    }
    .notification {
        padding: 10px;
        gap: 8px;
    }
    .notification-icon {
        font-size: 18px;
    }
    .notification-text strong {
        font-size: 13px;
    }
    .notification-text p {
        font-size: 11px;
    }

    .welcome-content h1 {
        font-size: 1.5rem;
    }
    .welcome-description {
        font-size: 0.9rem;
    }
    .feature-icon {
        font-size: 1.5rem;
    }
    .feature-item h3 {
        font-size: 0.9rem;
    }
    .video-overlay h3 {
        font-size: 0.9rem;
    }
    .video-overlay p {
        font-size: 0.75rem;
    }

    .cta-section {
        padding: 20px 15px;
    }
    .cta-section h2 {
        font-size: 18px;
    }
    .cta-section p {
        font-size: 13px;
    }
    .cta-button {
        font-size: 13px;
        padding: 8px 20px;
    }

    .footer {
        padding: 20px 15px 10px;
    }
    .footer-section h4 {
        font-size: 14px;
    }
    .footer-logo-image {
        height: 50px;
    }
    .footer-logo-text {
        font-size: 14px;
    }
    .footer-links a {
        font-size: 12px;
    }
}

/* Custom styles for Policy Page */
.policy-article {
    background: white;
    padding: 25px 35px; /* Increased padding */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07); /* Softer shadow */
    border: 1px solid #e0e0e0; /* Lighter border */
    margin-top: 20px; /* Add some space from header */
}

.policy-article h1 {
    font-size: 28px; /* Adjusted for Poppins */
    font-weight: 700; /* Bolder for title */
    color: #0369a1; 
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #0ea5e9; /* Underline matching theme */
}

.policy-article h2 {
    font-size: 22px; /* Adjusted for Poppins */
    font-weight: 600;
    color: #0ea5e9; 
    margin-top: 35px; /* More space before sections */
    margin-bottom: 15px;
    padding-bottom: 8px; /* Space for border */
    border-bottom: 1px solid #e9ecef; /* Subtler underline for sections */
}
.policy-article h2:first-of-type {
    margin-top: 0; /* No extra top margin for the first h2 */
}


.policy-article p, 
.policy-article ul {
    font-size: 15px; /* Slightly smaller for better readability in paragraphs */
    line-height: 1.8; /* Increased line height */
    margin-bottom: 18px; /* More space after paragraphs/lists */
    color: #495057; /* Darker gray for text */
}

.policy-article ul {
    list-style-type: disc; /* Standard disc */
    list-style-position: outside;
    padding-left: 25px; /* More indentation */
}

.policy-article li {
    margin-bottom: 10px; /* Space between list items */
}

.policy-article a {
    color: #007bff; /* Standard link blue */
    text-decoration: none;
    font-weight: 500; /* Slightly bolder links */
}

.policy-article a:hover {
    text-decoration: underline;
    color: #0056b3; /* Darker blue on hover */
}

.policy-article strong {
    font-weight: 600; /* Ensure strong is bolder */
    color: #343a40; /* Slightly darker for emphasis */
}

/* Responsive adjustments for policy article */
@media (max-width: 768px) {
    .policy-article {
        padding: 20px 25px;
    }
    .policy-article h1 {
        font-size: 24px;
    }
    .policy-article h2 {
        font-size: 20px;
    }
    .policy-article p,
    .policy-article ul {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .policy-article {
        padding: 15px 20px;
    }
    .policy-article h1 {
        font-size: 22px;
    }
    .policy-article h2 {
        font-size: 18px;
    }
}

