* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2a9d8f; 
    --primary-dark: #1f776b; 
    --secondary-color: #264653; 
    --accent-color: #f4a261; 
    --success-color: #2a9d8f; 
    --warning-color: #e9c46a; 
    --error-color: #e76f51; 
    --text-primary: #264653; 
    --text-secondary: #6b7280; 
    --text-light: #9ca3af; 
    --bg-primary: #ffffff; 
    --bg-secondary: #f4f4f4; 
    --bg-dark: #264653; 
    --border-color: #e5e7eb; 
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --primary-color-rgb: 42, 157, 143; 
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Global Loader */
.app-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* above navbar */
    transition: opacity 300ms ease, visibility 300ms ease;
}

.app-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-loader__content {
    display: inline-flex;
    align-items: center;
}

.app-loader__spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(0,0,0,0.08);
    border-top-color: var(--primary-color);
    animation: app-loader-spin 1s linear infinite;
}

@keyframes app-loader-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .app-loader__spinner { animation: none; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo .logo-img {
    width: 28px;
    height: 28px;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center; 
}

.nav-menu li:last-child { 
    margin-left: auto; 
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Responsive navigation - mobile first */
/* Hide menu and show hamburger on small screens */
@media (max-width: 767px) {
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 60px; /* below navbar */
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        gap: 0;
        padding: 0.75rem 1rem;
        transform: translateY(-12px) scaleY(0);
        transform-origin: top center;
        transition: transform 220ms ease, opacity 180ms ease;
        opacity: 0;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
        display: flex;
    }

    .nav-menu.active {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 0.9rem 0.5rem;
        width: 100%;
        border-radius: 8px;
        color: var(--text-primary);
    }

    .nav-menu li a:hover {
        background: rgba(var(--primary-color-rgb), 0.06);
        color: var(--primary-color);
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 6px;
        margin-left: 0.5rem;
        cursor: pointer;
        color: var(--text-primary);
    }

    /* When active, slightly rotate the svg lines for a close icon effect using a transform on the svg */
    .hamburger[aria-expanded="true"] svg {
        transform: rotate(90deg);
        transition: transform 200ms ease;
    }

    /* Hide desktop-specific spacing */
    .nav-menu li:last-child {
        margin-left: 0;
    }

}

@media (min-width: 768px) {
    /* Desktop: ensure nav-menu is horizontal and hamburger hidden */
    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        transform: none;
        opacity: 1;
        flex-direction: row;
        background: transparent;
        padding: 0;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
    .hero-btn {
            display: inline-block;
            margin-top: 1rem;
            padding: 0.6rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            background: var(--primary-color);
            border: none;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-md);
            text-decoration: none;
            transition: background 0.2s, transform 0.2s;
            cursor: pointer;
            animation: hero-btn-pop 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }
    .hero-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-4px) scale(1.07);
            box-shadow: var(--shadow-lg);
    }

    @keyframes hero-btn-pop {
        0% {
            opacity: 0;
            transform: scale(0.7) translateY(30px);
        }
        60% {
            opacity: 1;
            transform: scale(1.08) translateY(-6px);
        }
        80% {
            transform: scale(0.97) translateY(0px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0px);
        }
    }

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(-60px) rotate(240deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }



.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.8s forwards;
}

.disclaimer-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-top: 0.3rem;
    max-width: 500px;
    opacity: 0;
    animation: slideUp 0.8s ease-out 1.2s forwards;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 1s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-calculate {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-calculate:hover {
    background: #e07b39;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-calculate i {
    font-size: 0.9rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 270px;
    height: 585px;
    background: #1c1c1e;
    border-radius: 50px;
    padding: 12px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,0.1) inset;
    transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-mockup::before,
.phone-mockup::after {
    content: '';
    position: absolute;
    background: #333;
    border-radius: 3px;
}
.phone-mockup::before {
    width: 3px;
    height: 30px;
    left: -3px;
    top: 100px;
    box-shadow: 0 35px 0 0 #333;
}
.phone-mockup::after {
    width: 3px;
    height: 50px;
    right: -3px;
    top: 120px;
}

@keyframes phoneFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--secondary-color) 0%, #1c3a47 100%);
    border-radius: 38px;
    padding: 1.2rem 0.8rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background-color: #000;
    border-radius: 14px;
    z-index: 10;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.7rem;
    color: white;
    padding-top: 30px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
}

.app-header p {
    font-weight: 500;
}

.app-header i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.app-balance-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 0.9rem 1.1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.app-balance-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.app-balance-change {
    font-size: 0.8rem;
    color: #a7f3d0;
    font-weight: 500;
}

.app-chart-container {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.app-chart-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.app-quick-actions {
    display: flex;
    justify-content: space-around;
    padding: 0.6rem 0;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-item:hover {
    color: white;
}

.action-item i {
    font-size: 1rem;
    padding: 0.6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.action-item:hover i {
    transform: scale(1.1);
}

.app-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(10, 20, 25, 0.5);
    backdrop-filter: blur(20px);
    padding: 0.3rem 0.2rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
    margin: 0 0.3rem;
}

.app-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.2rem 0.3rem;
    border-radius: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-grow: 1;
    text-align: center;
    min-height: 36px;
}

.app-nav .nav-item:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.app-nav .nav-item.active {
    color: white;
}

.app-nav .nav-item.active i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.app-nav .nav-item i {
    font-size: 0.95rem;
    margin-bottom: 1px;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.app-nav .nav-item:nth-child(3) { 
    background-color: transparent !important; 
    flex-grow: 0.5; 
    transform: translateY(-6px);
    min-height: auto; 
}

.app-nav .nav-item:nth-child(3) i {
    font-size: 1.6rem; 
    color: white;
    background: var(--primary-color);
    border-radius: 50%;
    width: 38px; 
    height: 38px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(var(--primary-color-rgb, 42, 157, 143), 0.35);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.app-nav .nav-item:nth-child(3):hover i {
    transform: scale(1.15) rotate(22.5deg); 
    box-shadow: 0 5px 12px rgba(var(--primary-color-rgb, 42, 157, 143), 0.45);
}


.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features-cta {
    text-align: center;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card[data-aos="fade-up"] {
    animation: fadeUp 0.8s ease-out forwards;
}

.feature-card[data-delay="0"] { animation-delay: 0.1s; }
.feature-card[data-delay="100"] { animation-delay: 0.2s; }
.feature-card[data-delay="200"] { animation-delay: 0.3s; }
.feature-card[data-delay="300"] { animation-delay: 0.4s; }
.feature-card[data-delay="400"] { animation-delay: 0.5s; }
.feature-card[data-delay="500"] { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 15px rgba(42, 157, 143, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 20px rgba(42, 157, 143, 0.4);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Calculator Section */
.calculator-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.calculator-section .section-title,
.calculator-section .section-subtitle {
    color: white;
}

.calculator-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
}

.calculator-input {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.calculator-input h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.3);
}

.calculator-results {
    flex: 2;
    min-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.calculator-placeholder {
    opacity: 0.7;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%; /* Ensure placeholder takes full available centered width */
    text-align: center; /* Ensure text content of children (i, h3, p) is centered */
}

.calculator-placeholder i {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.calculator-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.calculator-placeholder p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
    line-height: 1.6;
}

.calculator-content {
    width: 100%;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.results-header {
    margin-bottom: 0.5rem;
    text-align: center;
    flex-shrink: 0;
}

.results-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.remaining-budget {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

.investment-scenarios {
    margin-top: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.scenario-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.tab-button {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.tab-button.active,
.tab-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.tab-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.3);
}

.scenario-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

.scenario {
    display: none;
    width: 100%;
}

.scenario.active {
    display: flex; 
    flex-direction: column; 
    height: 100%;
    width: 100%;
}

.scenario-stats {
    display: flex; 
    justify-content: space-around; 
    gap: 0.5rem;
    flex-wrap: wrap; 
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-label {
    display: block;
    font-size: 0.75em;
    margin-bottom: 0.25em;
    color: #f0f0f0;
}

.stat-value {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
}

.stat-value.highlight {
    color: #ffaf29;
}

.chart-container {
    position: relative; 
    width: 100%;
    flex-grow: 1;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-disclaimer {
    width: 100%; /* Ensures it takes full width */
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 1rem; 
    color: rgba(255, 255, 255, 0.7); /* Light text color */
    font-size: 0.8rem; /* Small font size */
    line-height: 1.4;
}

.calculator-disclaimer small {
    font-size: 0.9em; /* Relative to parent's font-size */
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.mission-statement {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.mission-statement h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stats-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; 
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-option {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-option.green {
    background: var(--primary-color);
    color: white;
}

.contact-option.green .option-header strong {
    color: white !important;
}

.contact-option.green .option-header span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-option.green .btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.contact-option.green .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.option-header {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .contact-options {
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo .logo-img {
    width: 48px;
    height: 48px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-partners {
    margin-top: 1rem;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.partners-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.partners-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.partner-logo-large {
    height: 48px;
    width: auto;
    opacity: 0.85;
    filter: brightness(0) invert(1);
}

.partner-logo:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive tweaks for About portrait and Footer stacking */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .portrait-container { width: 260px; height: 340px; }
}

@media (max-width: 768px) {
    .about {
        padding: 3.5rem 0;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .about-text { order: 2; }
    .about-visual { order: 1; display: flex; justify-content: center; }
    .portrait-container { width: 200px; height: 260px; }
    .portrait-img { object-position: center top; }

    .footer-content {
        display: block;
        margin-bottom: 1rem;
    }
    .footer-section { margin-bottom: 1.25rem; }
    .partners-logos { justify-content: center; gap: 1rem; }
}

@media (max-width: 480px) {
    .portrait-container { width: 160px; height: 210px; }
    .founder-info h4 { font-size: 1.25rem; }
    .founder-info p { font-size: 0.95rem; }
}

/* Download Badges */
.download-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 1s forwards;
}

.download-badge {
    display: block;
    transition: var(--transition);
    cursor: not-allowed;
}

.download-badge img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.download-badge:hover {
    transform: translateY(-2px);
}

.download-badge:hover img {
    filter: brightness(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: auto;
    height: auto;
    background: none;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    animation: bounce 2s infinite, fadeInUp 0.8s ease-out 1.4s forwards;
    opacity: 0;
    padding: 0.5rem;
}

.scroll-arrow:hover {
    background: none;
    border: none;
    box-shadow: none;
    transform: translateY(-3px);
}

.scroll-arrow i {
    color: white;
    font-size: 3.5rem;
    animation: arrowPulse 2s infinite;
    text-shadow: 0  2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

/* Accounts Screen Styles */
.accounts-list {
    flex-grow: 1;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.account-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.account-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.bank-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

.bank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.account-info {
    flex-grow: 1;
}

.bank-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
}

.account-type {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.account-balance {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-align: right;
}

/* Analytics Screen Styles */
.analytics-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.analytics-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.analytics-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.analytics-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.analytics-change {
    font-size: 0.7rem;
    font-weight: 500;
    color: #a7f3d0;
}

.investment-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.75rem;
    flex-grow: 1;
}

.investment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.investment-item:last-child {
    border-bottom: none;
}

.investment-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.investment-icon {
    width: 16px;
    text-align: center;
    color: var(--primary-color);
}

.investment-amount {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

/* Popup Styles */
.mockup-popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 38px;
    z-index: 100;
}

.popup-content {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem;
    text-align: center;
    max-width: 140px;
}

.popup-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.popup-text {
    font-size: 0.7rem;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.popup-button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

/* Profile Screen Styles */
.profile-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
    overflow: hidden;
}

.profile-avatar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    flex-shrink: 0;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
       font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 0.5rem;
    transition: all 0.3s ease;
}

.avatar-circle:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.profile-email {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.profile-menu {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 0.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.profile-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(38, 70, 83, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-item:hover::before {
    opacity: 1;
}

.profile-item:last-child {
    margin-bottom: 0;
}

.profile-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.profile-item i:first-child {
    width: 16px;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.profile-item span {
    flex-grow: 1;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.profile-item i:last-child {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.profile-item:hover i:last-child {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(2px);
}

.founder-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.portrait-container {
    width: 300px;
    height: 400px;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* center the face */
    transform-origin: center center;
}

.founder-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.founder-info p {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Login Page Styles */
.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.login-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 750px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header .login-logo-img {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.login-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.login-form .form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
}

.login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.login-form .form-group input::placeholder {
    color: var(--text-light);
}

.login-form .form-options {
    text-align: right;
    margin-bottom: 2rem;
}

.forgot-password-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.forgot-password-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.btn-block {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.login-footer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.register-link,
.back-to-home-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.register-link:hover,
.back-to-home-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.back-to-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.back-to-home-link i {
    font-size: 0.8rem;
}

/* Password Input Container */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    width: 100%;
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.1);
}

.password-toggle:focus {
    outline: none;
    color: var(--primary-color);
}

.password-toggle i {
    font-size: 1rem;
    transition: var(--transition);
}

/* Appointment Section */
.appointment-section {
    background: var(--bg-primary);
    padding: 4rem 0 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appointment-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2rem 2rem 2rem;
    border: 1px solid var(--border-color);
}

.appointment-content .section-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.appointment-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.appointment-fields {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
}

.appointment-fields input[type="text"],
.appointment-fields input[type="email"],
.appointment-fields input[type="date"],
.appointment-fields input[type="time"] {
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: var(--bg-secondary);
    color: var(--text-primary);
    width: 100%;
}

.appointment-fields input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(42,157,143,0.15);
}

.appointment-form button {
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.appointment-form button:hover {
    background: var(--primary-dark);
}

.appointment-content small {
    display: block;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Coming Soon Page Styles */
.coming-soon-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0;
}

.coming-soon-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-logo {
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.coming-soon-logo .logo-img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.coming-soon-title .title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

.coming-soon-title .title-line:nth-child(1) { animation-delay: 0.4s; }
.coming-soon-title .title-line:nth-child(2) { animation-delay: 0.6s; }

.gradient-text {
    background: linear-gradient(135deg, #ffaf29 0%, #f4a261 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.8s forwards;
}

.email-signup-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 500px;
    opacity: 0;
    animation: slideUp 0.8s ease-out 1s forwards;
}

.signup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.signup-header i {
    font-size: 1.5rem;
    color: white;
}

.signup-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.signup-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.email-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.email-input-group input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.email-input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.signup-btn {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 1rem;
}

.signup-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.signup-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.signup-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}

.social-section {
    width: 100%;
    max-width: 400px;
    opacity: 0;
    animation: slideUp 0.8s ease-out 1.2s forwards;
}

.social-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    font-weight: 500;
}

.social-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.page-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 1.4s forwards;
    padding: 2rem 0;
    margin-top: auto;
}

.page-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 6px;
}

.page-footer a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.page-footer span {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Success/Error Modal */
.success-modal, .error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.modal-icon.error {
    color: var(--error-color);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdfb 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    position: relative;
    transition: var(--transition);
    text-align: center;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0.2rem;
}

.period {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

.pricing-features {
    margin-bottom: 1.2rem;
    text-align: left;
    flex-grow: 1;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    gap: 0.5rem;
}

.feature i {
    color: var(--success-color);
    font-size: 0.8rem;
    width: 12px;
    flex-shrink: 0;
}

.feature span {
    color: var(--text-primary);
    font-size: 0.8rem;
    line-height: 1.2;
}

.btn-pricing {
    width: 100%;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    margin-top: auto;
}

.btn-pricing:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-pricing.featured {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-pricing.featured:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.4;
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.pricing-note i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Responsive Design für Pricing */
@media (max-width: 768px) {
    .pricing-section {
        padding: 3rem 0;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 2rem;
    }
    
    .pricing-card {
        min-height: 400px;
        padding: 1.2rem;
    }
    
    .pricing-header h3 {
        font-size: 1.1rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .pricing-description {
        font-size: 0.75rem;
    }
    
    .feature span {
        font-size: 0.75rem;
    }
    
    .pricing-note {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        min-height: 380px;
        padding: 1rem;
    }
    
    .amount {
        font-size: 1.8rem;
    }
}

/* Services Page Styles */
.services-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.services-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.services-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.services-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.services-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.services-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.service-item {
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.8s ease-out forwards;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }
.service-item:nth-child(7) { animation-delay: 0.7s; }

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-item.reverse .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-item.reverse .service-text {
    order: 2;
}

.service-item.reverse .service-visual {
    order: 1;
}

.service-item.featured {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05) 0%, rgba(38, 70, 83, 0.05) 100%);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    margin: 80px 0;
    border: 2px solid rgba(42, 157, 143, 0.1);
}

.service-item.featured .service-content {
    grid-template-columns: 1fr;
    text-align: center;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.service-item.featured .service-title {
    justify-content: center;
}

.service-icon {
    color: var(--primary-color);
    font-size: 2rem;
}

.service-divider {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-weight: 300;
}

.service-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-graphic {
    width: 100%;
    max-width: 400px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1) 0%, rgba(38, 70, 83, 0.1) 100%);
    border-radius: var(--border-radius);
    position: relative;
    overflow: visible;
    padding: 1.5rem;
}/* Specific service graphics */
.accounts-visual {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
}

.account-box {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 100px;
    flex: 1;
    max-width: 120px;
}

.account-box.main-account {
    border: 2px solid var(--primary-color);
}

.account-box.budget-account {
    border: 2px solid var(--accent-color);
}

.account-box i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.account-box span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.insurance-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.protection-shield {
    position: relative;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.shield-items {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.shield-items span {
    background: white;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    box-shadow: var(--shadow-md);
}

.retirement-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.timeline {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.timeline-point {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-point.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.timeline-point i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.timeline-point span {
    font-size: 0.65rem;
    font-weight: 600;
}

.timeline-line {
    width: 40px;
    height: 2px;
    background: var(--border-color);
    border-radius: 2px;
}

.investment-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.portfolio-chart {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-color) 0deg 216deg,
        var(--accent-color) 216deg 306deg,
        var(--secondary-color) 306deg 360deg
    );
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-center {
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.financing-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.loan-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    width: 100%;
}

.offer-card {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 120px;
    position: relative;
    width: 100%;
    max-width: 140px;
}

.offer-card.best {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.offer-card.best::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
}

.offer-card .rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.offer-card .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

.offer-card i {
    position: absolute;
    top: -6px;
    right: -6px;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.real-estate-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.property-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.search-platforms {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 80px;
}

.platform-count {
    font-size: 1.5rem;
    font-weight: 700;
}

.search-platforms span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.property-search > i {
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.property-result {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--accent-color);
    min-width: 100px;
}

.property-result i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.property-result span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.cta-section {
    margin-top: 3rem;
}

/* Partner Check Section */
.partner-check-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05) 0%, rgba(38, 70, 83, 0.05) 100%);
}

.partner-check-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-check-content .section-title {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.partner-check-text {
    margin-bottom: 3rem;
}

.partner-check-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.partner-check-text p:last-child {
    margin-bottom: 0;
}

.partner-check-cta {
    display: flex;
    justify-content: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-large i {
    transition: transform 0.3s ease;
}

.btn-large:hover i {
    transform: translateX(4px);
}

/* Responsive Design for Partner Check */
@media (max-width: 768px) {
    .partner-check-section {
        padding: 60px 0;
    }
    
    .partner-check-content {
        padding: 0 1rem;
    }
    
    .partner-check-content .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .partner-check-text p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .partner-check-cta {
        margin-top: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .partner-check-section {
        padding: 50px 0;
    }
    
    .partner-check-content {
        padding: 0 0.75rem;
    }
    
    .partner-check-content .section-title {
        font-size: 1.5rem;
    }
    
    .partner-check-text p {
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Responsive Design für Calculator Section */
@media (max-width: 768px) {
    .calculator-section {
        padding: 3.5rem 0;
    }
    
    .calculator-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .calculator-input {
        min-width: unset;
        padding: 2rem 1.5rem;
    }
    
    .calculator-input h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .calculator-results {
        min-width: unset;
        padding: 2rem 1.5rem;
    }
    
    .input-group input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .tab-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        min-width: 80px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 0.4rem;
    }
    
    .stat-value {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 3rem 0;
    }
    
    .calculator-input {
        padding: 1.5rem 1rem;
    }
    
    .calculator-input h3 {
        font-size: 1.125rem;
    }
    
    .calculator-results {
        padding: 1.5rem 1rem;
    }
    
    .input-group {
        margin-bottom: 1.25rem;
    }
    
    .input-group input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .scenario-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 0.5rem;
        font-size: 0.8rem;
        min-width: unset;
        flex: unset;
    }
    
    .scenario-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-item {
        min-width: unset;
        padding: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.1em;
    }
    
    .calculator-placeholder i {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .calculator-placeholder h3 {
        font-size: 1.25rem;
    }
    
    .calculator-placeholder p {
        font-size: 0.9rem;
        max-width: 250px;
    }
}

/* ----------------------------- */
/* Global responsive adjustments  */
/* ----------------------------- */

/* Breakpoints: mobile-first adjustments */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
        padding: 0 1.5rem;
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Navbar handled earlier; ensure content shifts under fixed navbar */
    .nav-container { height: 60px; }

    /* Stack hero to single column */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
        text-align: left;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Hide the phone mockup on small screens to avoid clutter */
    .phone-mockup {
        display: none;
    }

    /* Features: single column on narrow screens */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    /* Adjust hero buttons and spacing */
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .nav-logo span { font-size: 1.2rem; }

    .nav-menu li a { padding: 0.75rem 0.5rem; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }

    .nav-container { padding: 0 0.75rem; }

    .hero-title { font-size: 1.6rem; }
    .hero-description { font-size: 0.95rem; }

    .container { padding: 0 0.75rem; }

    .section-title { font-size: 1.5rem; }

    .feature-card { padding: 1rem; }

    .offer-card { max-width: 120px; }

    /* Ensure footer and other global containers have breathing room */
    .container, .nav-container, .hero-content { width: 100%; }
}

/* Make the hero section thinner on small mobile viewports (e.g. iPhone) */
@media (max-width: 430px) {
    .hero {
        min-height: 66vh; /* reduce from full viewport to ~2/3 */
        padding-bottom: 1.2rem;
    }

    .hero-content {
        grid-template-columns: 1fr; /* single column */
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem; /* smaller title */
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.98rem;
        margin-bottom: 1rem;
        max-width: none;
    }

    .hero-btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    /* Reduce visual mockup size so hero appears slimmer */
    .hero-visual {
        justify-content: flex-start;
    }

    .phone-mockup {
        width: 220px;
        height: 480px;
        transform: perspective(900px) rotateY(-12deg) rotateX(4deg);
    }

    /* Make floating shapes less dominant to avoid pushing content visually */
    .floating-shapes { opacity: 0.6; }
    .shape-2, .shape-4 { display: none; }

    /* Slightly tighten spacing inside hero */
    .hero-content, .hero-text { padding-top: 0.6rem; padding-bottom: 0.6rem; }
}
/* Utility: ensure images and SVGs scale nicely */
img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Small tweak: ensure fixed navbar doesn't overlap anchored content */
:root { scroll-padding-top: 80px; }

/* Services Overview Section */
.services-overview-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05) 0%, rgba(38, 70, 83, 0.05) 100%);
}

.services-overview-list {
    margin: 2.5rem 0;
}

.service-overview-item {
    margin-bottom: 2rem;
    position: relative;
}

.service-overview-item:last-child {
    margin-bottom: 0;
}

.service-overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.service-overview-item:hover .service-overview-content {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.service-overview-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-overview-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-overview-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.service-overview-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

/* Mini Visual Components */
.accounts-mini-visual {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem;
    border-radius: var(--border-radius);
}

.account-mini {
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    min-width: 50px;
    box-shadow: var(--shadow-sm);
}

.account-mini i {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.account-mini.budget i {
    color: var(--secondary-color);
}

.flow-mini-arrow {
    font-size: 1.25rem;
    color: white;
    font-weight: bold;
}

.protection-mini-visual {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.investment-mini-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-mini {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.chart-mini {
    background: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* CTA Section */
.services-overview-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-overview-section {
        padding: 40px 0;
    }
    
    .service-overview-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .service-overview-title {
        font-size: 1.25rem;
    }
    
    .service-overview-description {
        font-size: 0.95rem;
    }
    
    .accounts-mini-visual {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .account-mini {
        min-width: 45px;
        padding: 0.5rem;
    }
    
    .shield-mini, .chart-mini {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-overview-content {
        padding: 1.25rem;
    }
    
    .service-overview-title {
        font-size: 1.125rem;
        gap: 0.5rem;
    }
    
    .service-overview-icon {
        font-size: 1.125rem;
    }
}

/* Mobile Responsive Styles for Services Page */

/* Services Hero Mobile */
@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 40px;
    }
    
    .services-hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    .services-intro {
        margin-bottom: 60px;
        padding: 0 1rem;
    }
    
    .intro-text {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    
    /* Service Items Mobile Layout */
    .service-item {
        margin-bottom: 80px;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item.reverse .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-item.reverse .service-text {
        order: 1;
    }
    
    .service-item.reverse .service-visual {
        order: 2;
    }
    
    .service-item.featured {
        padding: 2.5rem 1.5rem;
        margin: 60px 0;
    }
    
    .service-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        white-space: normal;
        text-align: left;
    }
    
    .service-item.featured .service-title {
        align-items: center;
        text-align: center;
    }
    
    .service-icon {
        font-size: 1.75rem;
    }
    
    .service-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .service-graphic {
        max-width: 320px;
        height: 280px;
        padding: 1rem;
    }
    
    /* Mobile adjustments for specific service graphics */
    .accounts-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1rem;
    }
    
    .account-box {
        min-width: 80px;
        max-width: 100px;
        padding: 1rem 0.75rem;
    }
    
    .protection-shield {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .timeline {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-point {
        width: 50px;
        height: 50px;
    }
    
    .timeline-point i {
        font-size: 1rem;
    }
    
    .timeline-point span {
        font-size: 0.6rem;
    }
    
    .timeline-line {
        width: 2px;
        height: 30px;
    }
    
    .portfolio-chart {
        width: 120px;
        height: 120px;
    }
    
    .chart-center {
        width: 65px;
        height: 65px;
        font-size: 1.25rem;
    }
    
    .loan-comparison {
        gap: 0.6rem;
    }
    
    .offer-card {
        max-width: 110px;
        padding: 0.75rem 1rem;
    }
    
    .offer-card .rate {
        font-size: 1.25rem;
    }
    
    .property-search {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-platforms,
    .property-result {
        min-width: 70px;
        padding: 0.75rem;
    }
    
    .platform-count {
        font-size: 1.25rem;
    }
    
    .property-search > i {
        font-size: 1.25rem;
    }
    
    .cta-section {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 90px 0 30px;
    }
    
    .services-hero .hero-title {
        font-size: 2rem;
    }
    
    .services-section {
        padding: 40px 0;
    }
    
    .services-intro {
        margin-bottom: 40px;
        padding: 0 0.75rem;
    }
    
    .intro-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .service-item {
        margin-bottom: 60px;
    }
    
    .service-content {
        gap: 1.5rem;
    }
    
    .service-item.featured {
        padding: 2rem 1rem;
        margin: 40px 0;
    }
    
    .service-title {
        font-size: 1.25rem;
        gap: 0.4rem;
    }
    
    .service-icon {
        font-size: 1.5rem;
    }
    
    .service-divider {
        margin: 1rem 0;
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .service-graphic {
        max-width: 280px;
        height: 240px;
        padding: 0.75rem;
    }
    
    /* Small screen adjustments for graphics */
    .account-box {
        min-width: 70px;
        max-width: 85px;
        padding: 0.75rem 0.5rem;
    }
    
    .account-box span {
        font-size: 0.75rem;
    }
    
    .protection-shield {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .timeline-point {
        width: 45px;
        height: 45px;
    }
    
    .timeline-point i {
        font-size: 0.9rem;
    }
    
    .timeline-point span {
        font-size: 0.55rem;
    }
    
    .portfolio-chart {
        width: 100px;
        height: 100px;
    }
    
    .chart-center {
        width: 55px;
        height: 55px;
        font-size: 1rem;
    }
    
    .offer-card {
        max-width: 95px;
        padding: 0.6rem 0.75rem;
    }
    
    .offer-card .rate {
        font-size: 1.1rem;
    }
    
    .offer-card .label {
        font-size: 0.7rem;
    }
    
    .search-platforms,
    .property-result {
        min-width: 60px;
        padding: 0.6rem 0.5rem;
    }
    
    .platform-count {
        font-size: 1.1rem;
    }
    
    .property-search > i {
        font-size: 1.1rem;
    }
    
    .property-result span,
    .search-platforms span {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn i {
        font-size: 0.8rem;
    }
}

/* Additional mobile fixes for containers and spacing */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}


/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200; /* above navbar */
    background: #0f172a; /* slate-900 */
    color: #e5e7eb; /* gray-200 */
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent__text {
    max-width: 820px;
}

.cookie-consent__text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.cookie-consent__text p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent__text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-consent .btn {
    border-radius: 10px;
}

.cookie-consent .btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .cookie-consent__actions {
        justify-content: flex-end;
    }
}


