/* ===== Styles from index.html ===== */
@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* ===== Styles from index.html ===== */
/* ===== CSS RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #306cf4;
    --primary-light: #7b9ef7;
    --primary-dark: #1b58d3;
    --accent: #1040a6;
    --accent-green: #00C853;
    --accent-orange: #FF8F00;
    --bg-dark: #F5F7FA;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --text-primary: #1A2332;
    --text-secondary: #5A6B7F;
    --text-muted: #8E9DB5;
    --border: rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-glow: 0 4px 30px rgba(48, 108, 244, 0.12);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.index-page {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(48, 108, 244, 0.1);
    border: 1px solid rgba(48, 108, 244, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 48px;
}

.section-subtitle.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    left: -100px;
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 200px;
    right: -120px;
    opacity: 0.06;
    animation: float 15s ease-in-out infinite reverse;
}

.bg-orb-3 {
    width: 350px;
    height: 350px;
    background: #7C4DFF;
    bottom: -100px;
    left: 30%;
    opacity: 0.06;
    animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-40px) scale(1.05);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    box-shadow: 0 6px 24px rgb(40 99 229 / 17%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(48, 108, 244, 0.45);
}

.btn-outline {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(48, 108, 244, 0.06);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: center;
    gap: 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content .badge {
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-mockup {
    width: 340px;
    height: 700px;
    background: #fff;
    border-radius: 50px;
    border: 0px solid var(--border);
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), var(--shadow-glow);
    animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.mockup-header {
    text-align: center;
    margin-bottom: 24px;
}

.mockup-header .greeting {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-header .name {
    font-size: 1.1rem;
    font-weight: 700;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.stat-card {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 14px;
    border: 1px solid var(--border);
}

.stat-card .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-card .value {
    font-size: 1.2rem;
    font-weight: 800;
}

.stat-card .value.purple {
    color: var(--primary-light);
}

.stat-card .value.green {
    color: var(--accent-green);
}

.stat-card .value.cyan {
    color: var(--accent);
}

.stat-card .value.orange {
    color: var(--accent-orange);
}

.mockup-emi-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emi-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--border);
}

.emi-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.emi-icon.home {
    background: rgba(48, 108, 244, 0.12);
    color: var(--primary-dark);
}

.emi-icon.card {
    background: rgba(48, 108, 244, 0.08);
    color: var(--accent);
}

.emi-icon.personal {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-green);
}

.emi-info {
    flex: 1;
}

.emi-info .emi-name {
    font-size: 0.78rem;
    font-weight: 600;
}

.emi-info .emi-bank {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.emi-amount {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: right;
}

.emi-due {
    font-size: 0.6rem;
    color: var(--accent-orange);
}

/* ===== PROBLEM ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.problem-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.problem-card:hover {
    transform: translateY(-6px);
    border-color: rgba(48, 108, 244, 0.3);
    box-shadow: var(--shadow-glow);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
    background: rgba(48, 108, 244, 0.1);
    color: var(--primary-dark);
}

.problem-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(48, 108, 244, 0.3);
    box-shadow: 0 8px 30px rgba(48, 108, 244, 0.15);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.feature-icon.purple {
    background: rgba(48, 108, 244, 0.1);
    color: var(--primary-dark);
}

.feature-icon.cyan {
    background: rgba(14, 138, 135, 0.1);
    color: var(--accent);
}

.feature-icon.green {
    background: rgba(0, 200, 83, 0.1);
    color: #00A843;
}

.feature-icon.orange {
    background: rgba(255, 143, 0, 0.1);
    color: #E07E00;
}

.feature-icon.pink {
    background: rgba(156, 39, 176, 0.1);
    color: #8E24AA;
}

.feature-icon.blue {
    background: rgba(30, 136, 229, 0.1);
    color: #1565C0;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 16px;
}

.why-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.why-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.why-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.why-visual {
    position: relative;
    background: linear-gradient(145deg, rgba(48, 108, 244, 0.06), rgba(48, 108, 244, 0.02));
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.why-visual-inner {
    text-align: center;
}

.big-stat {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
}

.big-stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.why-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}

.why-tag {
    padding: 8px 18px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--shadow-card);
}

/* ===== DASHBOARD PREVIEW ===== */
.dashboard-section {
    text-align: center;
}

.dashboard-preview {
    position: relative;
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.dash-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.dash-metric {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    text-align: left;
}

.dash-metric .dm-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.dash-metric .dm-value {
    font-size: 1.6rem;
    font-weight: 800;
}

.dash-chart {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--border);
    margin-top: 0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.chart-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== DONUT CHART ===== */
.chart-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: conic-gradient(#3B82F6 0% 65%,
            /* Home Loan ~65% */
            #8B5CF6 65% 85%,
            /* Education ~20% */
            #10B981 85% 95%,
            /* Car ~10% */
            #F59E0B 95% 100%
            /* Personal ~5% */
        );
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-center {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.chart-center span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chart-center h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 4px 0 0;
    line-height: 1;
}

.chart-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    opacity: 0.2;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 8px 30px rgba(48, 108, 244, 0.3);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 280px;
    margin: 0 auto;
}

/* ===== MVP / NO NONSENSE ===== */
.mvp-banner {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.mvp-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.mvp-banner p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 32px;
}

.no-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.no-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 65, 54, 0.08);
    border: 1px solid rgba(255, 65, 54, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    color: #FF6B6B;
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 80px 0 100px;
    position: relative;
}

.cta-section .bg-orb {
    opacity: 0.2;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-primary);
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-visual {
        min-height: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }

    .dash-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dashboard-preview {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== Styles from security_and_privacy.html ===== */
@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* ===== Styles from security_and_privacy.html ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary: #306cf4;
    --primary-light: #7b9ef7;
    --primary-dark: #1b58d3;
    --accent: #1040a6;
    --bg-dark: #F5F7FA;
    --text-primary: #1A2332;
    --text-secondary: #5A6B7F;
    --text-muted: #8E9DB5;
    --border: rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06)
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body.security-and-privacy-page {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: padding .3s, background .3s, box-shadow .3s
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06)
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    transition: color .25s
}

.nav-links a:hover {
    color: var(--text-primary)
}

.btn-primary {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 6px 24px rgb(40 99 229 / 17%);
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(48, 108, 244, 0.45)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: .3s
}

/* Page Hero */
.page-hero {
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    left: -100px;
    opacity: .08
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 100px;
    right: -120px;
    opacity: .06
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(48, 108, 244, 0.1);
    border: 1px solid rgba(48, 108, 244, 0.25);
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 1
}

/* Legal Content */
.legal-content {
    padding: 0 0 100px
}

.legal-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 56px;
    box-shadow: var(--shadow-card);
    max-width: 860px;
    margin: 0 auto
}

.legal-card .last-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding: 8px 16px;
    background: var(--bg-dark);
    border-radius: 50px;
    border: 1px solid var(--border)
}

.legal-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    padding-left: 18px
}

.legal-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark))
}

.legal-card h2:first-of-type {
    margin-top: 0
}

.legal-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px
}

.legal-card p {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px
}

.legal-card ul,
.legal-card ol {
    margin: 12px 0 20px 20px;
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.8
}

.legal-card li {
    margin-bottom: 8px;
    padding-left: 4px
}

.legal-card a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s
}

.legal-card a:hover {
    color: var(--primary)
}

.callout {
    background: rgba(48, 108, 244, 0.06);
    border: 1px solid rgba(48, 108, 244, 0.2);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: .9rem;
    color: var(--text-secondary)
}

.callout strong {
    color: var(--primary-dark)
}

/* Security highlights */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0
}

.security-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform .3s, box-shadow .3s
}

.security-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card)
}

.security-item .sec-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    background: rgba(48, 108, 244, 0.1);
    color: var(--primary-dark)
}

.security-item h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px
}

.security-item p {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.5
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    color: var(--text-secondary);
    font-size: .85rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-brand .logo {
    margin-bottom: 12px
}

.footer-brand p {
    font-size: .85rem;
    color: var(--text-primary);
    max-width: 280px;
    line-height: 1.6
}

.footer-col h4 {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.footer-col a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: .85rem;
    transition: color .2s
}

.footer-col a:hover {
    color: var(--primary)
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .8rem
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1)
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.reveal-delay-1 {
    transition-delay: .1s
}

.reveal-delay-2 {
    transition-delay: .2s
}

.reveal-delay-3 {
    transition-delay: .3s
}

/* Responsive */
@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .security-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .nav-links {
        display: none
    }

    .hamburger {
        display: flex
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08)
    }

    .legal-card {
        padding: 32px 24px
    }

    .security-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }
}

/* ===== Styles from terms_and_conditions.html ===== */
@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* ===== Styles from terms_and_conditions.html ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary: #306cf4;
    --primary-light: #7b9ef7;
    --primary-dark: #1b58d3;
    --accent: #1040a6;
    --bg-dark: #F5F7FA;
    --text-primary: #1A2332;
    --text-secondary: #5A6B7F;
    --text-muted: #8E9DB5;
    --border: rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06)
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body.terms-and-conditions-page {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: padding .3s, background .3s, box-shadow .3s
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06)
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    transition: color .25s
}

.nav-links a:hover {
    color: var(--text-primary)
}

.btn-primary {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    box-shadow: 0 6px 24px rgb(40 99 229 / 17%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(48, 108, 244, 0.45)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: .3s
}

/* Page Hero */
.page-hero {
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    left: -100px;
    opacity: .08
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 100px;
    right: -120px;
    opacity: .06
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(48, 108, 244, 0.1);
    border: 1px solid rgba(48, 108, 244, 0.25);
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 1
}

/* Legal Content */
.legal-content {
    padding: 0 0 100px
}

.legal-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 56px;
    box-shadow: var(--shadow-card);
    max-width: 860px;
    margin: 0 auto
}

.legal-card .last-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding: 8px 16px;
    background: var(--bg-dark);
    border-radius: 50px;
    border: 1px solid var(--border)
}

.legal-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    padding-left: 18px
}

.legal-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark))
}

.legal-card h2:first-of-type {
    margin-top: 0
}

.legal-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px
}

.legal-card p {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px
}

.legal-card ul,
.legal-card ol {
    margin: 12px 0 20px 20px;
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.8
}

.legal-card li {
    margin-bottom: 8px;
    padding-left: 4px
}

.legal-card a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s
}

.legal-card a:hover {
    color: var(--primary)
}

.callout {
    background: rgba(48, 108, 244, 0.06);
    border: 1px solid rgba(48, 108, 244, 0.2);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: .9rem;
    color: var(--text-secondary)
}

.callout strong {
    color: var(--primary-dark)
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    color: var(--text-secondary);
    font-size: .85rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-brand .logo {
    margin-bottom: 12px
}

.footer-brand p {
    font-size: .85rem;
    color: var(--text-primary);
    max-width: 280px;
    line-height: 1.6
}

.footer-col h4 {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.footer-col a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: .85rem;
    transition: color .2s
}

.footer-col a:hover {
    color: var(--primary)
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .8rem
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1)
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.reveal-delay-1 {
    transition-delay: .1s
}

.reveal-delay-2 {
    transition-delay: .2s
}

/* Responsive */
@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }
}

@media(max-width:768px) {
    .nav-links {
        display: none
    }

    .hamburger {
        display: flex
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08)
    }

    .legal-card {
        padding: 32px 24px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }
}

/* ===== Styles from app.html ===== */
@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* ===== Styles from app.html ===== */
:root {
    --primary: #306cf4;
    --primary-light: #edf2ff;
    --primary-dark: #1b58d3;
    --accent-orange: #FF8F00;
    --accent-green: #00C853;
    --accent-red: #FF5252;
    --text-main: #1A2332;
    --text-secondary: #5A6B7F;
    --text-muted: #94A3B8;
    --bg-app: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body.app-page {
    font-family: 'Noto Sans', sans-serif;
    background-color: #E2E8F0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-main);
}

/* Mobile Frame Simulator */
.mobile-frame {
    width: 375px;
    height: 812px;
    background: var(--bg-app);
    border-radius: 40px;
    box-shadow:
        0 0 0 12px #1A2332,
        0 0 0 14px #2d3e52,
        0 40px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

iframe .mobile-frame {
    width: 340px;
    height: 740px;
}

/* Notch */
.mobile-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1A2332;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 100;
}

/* SPA Logic */
.screen {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.screen.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Screen Specific */
.login-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
    height: 100%;
}

.login-bg.active {
    display: flex;
}

.login-bg::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.login-brand {
    text-align: center;
    z-index: 2;
    margin-bottom: 40px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 24px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    color: var(--primary);
}

.brand-logo i,
.brand-logo svg {
    width: 44px;
    height: 44px;
}

.brand-name {
    font-family: 'Noto Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 32px 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.login-card h2 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.login-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.login-input-group {
    margin-bottom: 20px;
}

.login-input-wrapper {
    position: relative;
}

.login-input-wrapper i,
.login-input-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.login-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border-radius: 16px;
    border: 1.5px solid #F1F5F9;
    background: #F8FAFC;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s;
}

.login-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(48, 108, 244, 0.1);
    outline: none;
}

.btn-login {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(48, 108, 244, 0.3);
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(48, 108, 244, 0.4);
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Visibility control for nav/fab on login */
#login-screen.active~.bottom-nav,
#login-screen.active~.fab {
    display: none !important;
}

/* App Header */
header {
    padding: 50px 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-app);
    position: sticky;
    top: 0;
    z-index: 10;
}

.user-greeting h1 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.user-greeting p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.user-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
}

/* Scrollable Content */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 100px;
    scrollbar-width: none;
}

.app-content::-webkit-scrollbar {
    display: none;
}

/* Dashboard Cards */
.loan-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    /* Space for scrollbar if visible, or visual breathing room */
    margin-right: -24px;
    /* Pull right edge to screen edge */
    padding-right: 24px;
    /* Add padding back for scroll end */
    scrollbar-width: none;
}

.loan-carousel::-webkit-scrollbar {
    display: none;
}

.summary-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(48, 108, 244, 0.25);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    /* Default for standalone */
}

.loan-carousel .summary-card {
    margin-bottom: 0;
    min-width: 180px;
    height: 100px;
    scroll-snap-align: start;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
    margin-bottom: 16px;
}

.loan-carousel .summary-card .summary-label {
    font-size: 0.75rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loan-carousel .summary-card .summary-amount {
    font-size: 1.3rem;
    margin-bottom: 0;
}

/* Hide complex stats in mini cards */
.loan-carousel .summary-card .summary-stats {
    display: none;
}

/* Adjust icon for mini cards */
.loan-carousel .summary-card .card-header-icon {
    top: 12px;
    right: 12px;
    transform: scale(1.2);
    opacity: 0.25;
}

/* Add simple EMI text at bottom */
.loan-carousel .summary-card::before {
    content: attr(data-emi);
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 600;
    margin-top: auto;
}

.loan-carousel .summary-card::after {
    content: '';
    position: absolute;
    top: -22%;
    left: -6%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Variant Gradients */
.summary-card.card-home {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

.summary-card.card-car {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
}

.summary-card.card-personal {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
}

.summary-card.card-education {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}

.card-header-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    opacity: 0.2;
    transform: scale(1.5);
}

.summary-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.summary-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.summary-amount {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0px;
}

.summary-stats {
    display: flex;
    gap: 20px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 6px;
}

.stat-item h4 {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.stat-item p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 8px;
}

.section-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.see-all {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Upcoming EMIs */
.emi-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
    cursor: pointer;
}

.emi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.emi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.emi-icon.home {
    background: rgba(48, 108, 244, 0.1);
    color: var(--primary);
}

.emi-icon.personal {
    background: rgba(255, 143, 0, 0.1);
    color: var(--accent-orange);
}

.emi-icon.car {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-green);
}

.emi-details {
    flex: 1;
}

.emi-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.emi-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.emi-amount-box {
    text-align: right;
}

.emi-price {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.emi-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-top: 2px;
    display: block;
}

.emi-date.normal {
    color: var(--text-muted);
}

/* Feature Grid / Monthly */
.monthly-tracker {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.progress-bar {
    height: 8px;
    background: #F1F5F9;
    border-radius: 10px;
    margin: 12px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 65%;
    border-radius: 10px;
}

.tracker-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tracker-stats span strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Bottom Nav */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 50;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    font-size: 1.4rem;
}

/* Floating Add Button */
.fab {
    position: absolute;
    bottom: 105px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--text-main);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 35, 50, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 50;
}

.fab:hover {
    transform: scale(1.05);
}

/* Screen Header */
.screen-header {
    padding: 50px 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.screen-header h2 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    color: var(--text-main);
}

/* Form Styling */
.form-section {
    margin-bottom: 24px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.form-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.input-with-icon {
    position: relative;
}

.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 42px;
    /* Space for icon */
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #F8FAFC;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-primary-block {
    width: 100%;
    background: var(--text-main);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.btn-outline-block {
    width: 100%;
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--text-main);
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger-block {
    width: 100%;
    background: rgba(255, 82, 82, 0.1);
    color: var(--accent-red);
    border: 1.5px solid rgba(255, 82, 82, 0.2);
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger-block:hover {
    background: var(--accent-red);
    color: #fff;
}

/* Loan Details Styling */
.screen-header.transparent {
    background: var(--primary);
    border: none;
    color: #fff;
}

.icon-btn.white {
    color: #fff;
}

.loan-hero {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 10px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    box-shadow: 0 10px 30px rgba(48, 108, 244, 0.3);
    margin-bottom: 24px;
    margin-top: -1px;
    /* fix gap */
}

.bank-logo-lg {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.bank-logo-lg i {
    width: 32px;
    height: 32px;
}

.loan-title-lg {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.loan-balance-lg {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.loan-balance-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 24px;
}

.loan-key-metrics {
    display: flex;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 12px 20px;
    width: 100%;
    justify-content: space-between;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric span {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.metric strong {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
}

.divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.details-section {
    margin-bottom: 32px;
}

.details-section h3 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 700;
}

.progress-bar-lg {
    height: 12px;
    background: #E2E8F0;
    border-radius: 50px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill-lg {
    height: 100%;
    background: var(--primary);
    border-radius: 50px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Donut Chart Styles */
.chart-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.chart-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: conic-gradient(#3B82F6 0% 65%,
            /* Home Loan ~65% */
            #8B5CF6 65% 85%,
            /* Education ~20% */
            #10B981 85% 95%,
            /* Car ~10% */
            #F59E0B 95% 100%
            /* Personal ~5% */
        );
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-center {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.chart-center span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chart-center h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 4px 0 0;
}

.chart-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.view-toggle {
    display: flex;
    background: #F1F5F9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    border: none;
    background: none;
    padding: 6px;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.toggle-btn.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.history-date {
    background: var(--bg-app);
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.history-date .day {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1;
}

.history-date .month {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
}

.history-info {
    flex: 1;
}

.h-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.h-status {
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

.h-status.paid {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-green);
}

.h-status.pending {
    background: rgba(255, 143, 0, 0.1);
    color: var(--accent-orange);
}

.history-amount {
    font-weight: 700;
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-main);
}

/* EMI GRID TRACKER */
.emi-grid-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.emi-grid-card h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emi-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.emi-box {
    width: 100%;
    aspect-ratio: 1;
    border: 1.5px solid #E2E8F0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.55rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.emi-box.paid {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.emi-box.bounced {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}

.emi-box.upcoming {
    border-color: var(--primary);
    color: var(--primary);
    border-width: 2px;
    animation: emi-pulse 1.5s infinite;
}

@keyframes emi-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(48, 108, 244, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(48, 108, 244, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(48, 108, 244, 0);
    }
}

.grid-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.legend-box {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1px solid #E2E8F0;
}

.legend-box.paid {
    background: var(--primary);
    border-color: var(--primary);
}

.legend-box.bounced {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.legend-box.upcoming {
    border-color: var(--primary);
    border-width: 1.5px;
}

/* Loans Screen Styles */
.filter-tabs {
    display: flex;
    gap: 6px;
}

.tab {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    background: #F1F5F9;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
}

.tab.active {
    background: var(--primary);
    color: white;
}

.loan-card-item {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

.loan-card-item:active {
    transform: scale(0.98);
}

.lc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.lc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.lc-icon.home {
    background: rgba(48, 108, 244, 0.1);
    color: var(--primary);
}

.lc-icon.car {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent-green);
}

.lc-icon.personal {
    background: rgba(255, 143, 0, 0.1);
    color: var(--accent-orange);
}

.lc-icon.education {
    background: rgba(63, 81, 181, 0.1);
    color: #3F51B5;
}

.lc-info {
    flex: 1;
}

.lc-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.lc-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.lc-amount {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.lc-progress {}

.lc-bar {
    height: 6px;
    background: #F1F5F9;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.lc-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
}

.lc-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Profile Screen Styles */
.profile-header-lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.avatar-lg {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.profile-header-lg h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-header-lg p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.btn-outline-sm {
    background: none;
    border: 1.5px solid var(--text-muted);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
}

.settings-group {
    margin-bottom: 24px;
}

.settings-group h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-left: 8px;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
}

.si-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #F8FAFC;
    color: var(--text-main);
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.setting-item span {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.setting-item .chevron {
    color: var(--text-muted);
    width: 20px;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #E2E8F0;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-switch.active::after {
    left: 22px;
}

/* Clean Form Styles */
.form-section-clean {
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.fs-title {
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.form-group-clean {
    margin-bottom: 20px;
}

.form-group-clean label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 4px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-clean {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px;
    padding-left: 40px;
    font-family: 'Noto Sans', sans-serif;
    font-size: .85rem;
    color: var(--text-main);
    transition: all 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.input-clean:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.input-clean.centered {
    padding-left: 16px;
    text-align: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.select-arrow {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Sticky Footer */
.sticky-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 24px 34px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    z-index: 20;
}

.btn-save-primary {
    width: 100%;
    background: var(--text-main);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(26, 35, 50, 0.2);
    transition: transform 0.1s;
}

.btn-save-primary:active {
    transform: scale(0.98);
}

/* Calendar Styles */
.cal-month-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-arrow {
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--text-main);
    cursor: pointer;
}

.calendar-container {
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 12px;
}

.weekdays span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 12px;
}

.day {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
}

.day.prev-month {
    color: #E2E8F0;
}

.day.active {
    background: var(--text-main);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 35, 50, 0.3);
}

.day.has-event::after {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 4px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 50%;
}

.day.active.has-event::after {
    background: #fff;
}