/* ============================================
   SPLITTER - Modern Elegant Design
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary: #6C63FF;
    --primary-light: #9D99FF;
    --primary-dark: #4A44D4;
    --secondary: #10B981;
    --secondary-light: #34D399;
    --accent: #F59E0B;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #8B84FF 50%, #4A44D4 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1a1060 50%, #0F172A 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth page load animation */
body {
    opacity: 0;
    animation: pageLoad 0.6s ease-out 0.1s forwards;
}

@keyframes pageLoad {
    to { opacity: 1; }
}

/* ============================================
   NAVIGATION - Apple Glass UI
   ============================================ */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 700px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    margin: 0;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.12);
    font-weight: 600;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.25);
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.35);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    color: var(--gray-700);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.mobile-menu-toggle:hover {
    background: var(--gray-200);
    color: var(--primary);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-item {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.mobile-nav-item:hover {
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
}

.mobile-nav-item.active {
    background: rgba(108, 99, 255, 0.12);
    color: var(--primary);
    font-weight: 600;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.45);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    background: var(--secondary);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--secondary-light);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 5rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(157, 153, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="white" opacity="0.1"/></svg>');
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 2;
    animation: slideUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
    color: #FCD34D;
    font-size: 0.9rem;
}

.badge-separator {
    color: rgba(255, 255, 255, 0.4);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.75rem, 6vw, 4.75rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #a5a1ff 0%, #C4C1FF 50%, #E0DFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Trust Badge */
.hero-trust-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-trust-badge i {
    font-size: 0.8rem;
    margin-right: 0.25rem;
    color: rgba(255, 255, 255, 0.5);
}

.trust-dot {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
}

/* Hero Illustration */
.hero-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.hero-card-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.hero-card-title p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.hero-card-users {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
}

.user-chip .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
}

.user-chip:nth-child(1) .avatar { background: #6C63FF; }
.user-chip:nth-child(2) .avatar { background: #10B981; }
.user-chip:nth-child(3) .avatar { background: #F59E0B; }
.user-chip:nth-child(4) .avatar { background: #EF4444; }

.hero-card-amount {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
        text-align: center;
    color: var(--white);
}

.hero-card-amount p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.hero-card-amount h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

/* Floating Elements */
.floating-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 10%;
    right: 0;
    color: var(--secondary);
}

.floating-badge.badge-2 {
    bottom: 20%;
    left: -10%;
    color: var(--primary);
    animation-delay: 1s;
}

.floating-badge i {
    font-size: 1.1rem;
}

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

/* ============================================
   TRUST STATS BAR
   ============================================ */
.trust-stats {
    padding: 3rem 5%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trust-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(7, auto);
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(167, 139, 250, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Mobile Responsive for Trust Stats */
@media (max-width: 1024px) {
    .trust-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .trust-stats {
        padding: 2.5rem 4%;
    }

    .trust-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .trust-stats {
        padding: 2rem 3%;
    }

    .trust-stats-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-item {
        padding: 0.75rem;
        background: var(--gray-50);
        border-radius: var(--radius-md);
    }
}

/* ============================================
   DEMO EXAMPLE SECTION
   ============================================ */
.demo-example {
    padding: 6rem 5%;
    background: var(--white);
    position: relative;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.demo-header {
    text-align: center;
    margin-bottom: 4rem;
}

.demo-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.demo-header p {
    font-size: 1.15rem;
    color: var(--gray-600);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.demo-card {
    background: linear-gradient(145deg, var(--white), var(--gray-50));
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.demo-card-header {
    margin-bottom: 2rem;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.demo-badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--secondary);
}

.demo-card-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.demo-section {
    margin-bottom: 2rem;
}

.demo-section:last-child {
    margin-bottom: 0;
}

.demo-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Demo People */
.demo-people {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.demo-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.demo-person:hover {
    background: var(--gray-100);
}

.demo-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.demo-avatar.small {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    border-radius: 8px;
}

.demo-person span {
    font-weight: 500;
    color: var(--gray-700);
}

/* Demo Expenses */
.demo-expenses {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.demo-expense {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.demo-expense:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.expense-label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.expense-payer {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.expense-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    padding: 0.4rem 0.9rem;
    background: var(--white);
    border-radius: 8px;
}

.demo-total {
    display: flex;
    justify-content: space-between;
        align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    color: var(--white);
}

.demo-total span {
    font-weight: 500;
}

.demo-total strong {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

/* Demo Arrow */
.demo-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Demo Result Card */
.demo-result {
    background: linear-gradient(145deg, #f0fdf4, #ffffff);
    border-color: rgba(16, 185, 129, 0.2);
}

.demo-per-person {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
        text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.per-person-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.per-person-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
}

/* Settlement Rows */
.demo-settlements {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.settlement-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.settlement-row:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.settlement-from,
.settlement-to {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.settlement-to {
    flex-direction: row-reverse;
}

.settlement-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-400);
}

.arrow-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
}

.settlement-arrow i {
    font-size: 1.25rem;
}

.settlement-money {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-align: center;
}

/* Success Message */
.demo-success-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.demo-success-message i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.demo-success-message p {
    margin: 0;
    color: var(--gray-700);
    font-weight: 500;
}

/* Demo CTA */
.demo-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.demo-cta p {
    font-size: 1.15rem;
    color: var(--gray-700);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.demo-cta .btn-primary {
    font-size: 1.05rem;
    padding: 1.1rem 2.5rem;
}

/* Mobile Responsive for Demo */
@media (max-width: 1024px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .demo-example {
        padding: 4rem 4%;
    }

    .demo-header {
        margin-bottom: 2.5rem;
    }

    .demo-header h2 {
        font-size: 1.75rem;
    }

    .demo-header p {
        font-size: 1rem;
    }

    .demo-card {
        padding: 1.5rem;
    }

    .demo-people {
        grid-template-columns: 1fr;
    }

    .settlement-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    text-align: center;
    }

    .settlement-from,
    .settlement-to {
        justify-content: center;
    }

    .settlement-arrow {
        transform: rotate(90deg);
    }

    .settlement-money {
        margin: 0 auto;
    }

    .demo-per-person {
        padding: 1.25rem;
    }

    .per-person-amount {
        font-size: 1.85rem;
    }

    .demo-cta {
        padding: 1.5rem;
    }

    .demo-cta .btn-primary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .demo-example {
        padding: 3rem 3%;
    }

    .demo-header h2 {
        font-size: 1.5rem;
    }

    .demo-card {
        padding: 1.25rem;
    }

    .demo-card-header h3 {
        font-size: 1.15rem;
    }

    .demo-section h4 {
        font-size: 0.85rem;
    }

    .demo-expense {
        padding: 0.875rem;
    }

    .expense-amount {
        font-size: 1rem;
    }

    .settlement-row {
        padding: 0.875rem;
    }

    .settlement-money {
        font-size: 1rem;
        padding: 0.4rem 0.875rem;
    }

    .demo-success-message {
        padding: 0.875rem 1rem;
        flex-direction: column;
        text-align: center;
    }

    .demo-success-message p {
        font-size: 0.9rem;
    }
}

/* ============================================
   EXPENSE CALCULATOR SECTION
   ============================================ */
.expense-calculator {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.expense-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--gradient-hero);
    clip-path: ellipse(80% 100% at 50% 0%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    /* margin-bottom: 0.75rem; */
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

/* Privacy Badge near Calculator */
.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 500;
}

.privacy-badge i {
    color: var(--secondary-light);
    font-size: 0.8rem;
}

/* Currency Selector */
.currency-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.currency-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
}

.currency-label i {
    color: var(--primary);
}

.currency-dropdown-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.currency-dropdown-container select {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
    border: 2px solid rgba(108, 99, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    outline: none;
}

.currency-dropdown-container select:hover,
.currency-dropdown-container select:focus {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.currency-chevron {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.75rem;
    pointer-events: none;
}

/* Legacy currency selector support */
.currency-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Calculator Container */
.calculator-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Calculator Header */
.calculator-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 2rem;
    border-bottom: 1px solid var(--gray-100);
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-500);
    transition: var(--transition-normal);
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.35);
}

.step-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition-normal);
}

.step.active .step-text {
    color: var(--primary);
    font-weight: 600;
}

/* Calculator Sections */
.calculator-sections {
    display: grid;
    gap: 0;
}

.people-section,
.expenses-section,
.results-section {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-100);
}

.people-section:last-child,
.expenses-section:last-child,
.results-section:last-child {
    border-bottom: none;
}

.people-section h3,
.expenses-section h3,
.results-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.people-section h3 i,
.expenses-section h3 i,
.results-section h3 i {
        width: 40px;
        height: 40px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
        font-size: 1rem;
}

/* Add Person/Expense Inputs */
.add-person,
.add-expense {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    flex: 1;
    position: relative;
}

.input-group .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    transition: var(--transition-normal);
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-family: 'Inter', sans-serif;
        font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    background: var(--white);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

input[type="text"]:focus + .input-icon,
input[type="number"]:focus + .input-icon {
    color: var(--primary);
}

/* Expense Inputs Grid */
.expense-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-input {
    position: relative;
}

.amount-input .currency {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--gray-500);
}

.amount-input input {
    padding-left: 2.5rem;
}

/* People List */
.people-container {
    min-height: 80px;
    position: relative;
}

.people-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.person-chip {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.person-chip:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.person-chip .person-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.person-chip .person-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.person-chip .person-name {
    font-weight: 500;
    color: var(--gray-800);
}

.person-chip .delete-btn {
    width: 30px;
    height: 30px;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EF4444;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-normal);
}

.person-chip:hover .delete-btn {
    opacity: 1;
}

.person-chip .delete-btn:hover {
    background: #EF4444;
    color: var(--white);
}

/* Empty State */
.empty-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--gray-400);
    display: none;
}

.empty-state.show {
    display: block;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.95rem;
}

/* Expenses List */
.expenses-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.expense-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.expense-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

/* Settlement Results */
.settlement-results {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 150px;
}

.settlement-header {
    margin-bottom: 1.5rem;
}

.total-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.summary-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.summary-card i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.summary-details h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.summary-details .amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

.settlements-container {
    background: var(--white);
    border-radius: var(--radius-md);
}

.settlement-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.settlement-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.settlement-item {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.settlement-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.settlement-users {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
}

.transfer-icon {
    color: var(--secondary);
    font-size: 1.1rem;
}

.settlement-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

/* Share Options */
.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    min-height: 48px;
}

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

.share-btn:active {
    transform: translateY(0);
}

.share-btn.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    grid-column: 1 / -1;
    font-size: 0.95rem;
}

.share-btn.whatsapp-btn:hover {
    background: #1ebe5d;
}

.share-btn.copy-btn {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.share-btn.copy-btn:hover {
    background: var(--gray-200);
}

.share-btn.screenshot-btn {
    background: var(--primary);
    color: var(--white);
}

.share-btn.screenshot-btn:hover {
    background: var(--primary-dark);
}

.share-btn.copylink-btn {
    background: var(--gray-100);
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    font-size: 0.85rem;
}

.share-btn.copylink-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 6rem 5%;
    background: var(--white);
        text-align: center;
    }

.features h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.feature-card:hover i {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: 6rem 5%;
    background: var(--gradient-hero);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works .section-header {
    position: relative;
    z-index: 1;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.step-card .step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
}

.step-card .step-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.step-card .step-icon .step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    border: 3px solid var(--dark);
}

.step-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.step-arrow {
    display: none;
}

/* ============================================
   USE CASES SECTION
   ============================================ */
.use-cases {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.use-case-card:hover::before {
    transform: scaleX(1);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(167, 139, 250, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.use-case-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.use-case-card:hover .use-case-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.use-case-card:hover .use-case-icon i {
    color: var(--white);
}

.use-case-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.use-case-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.use-case-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.use-case-features li:last-child {
    border-bottom: none;
}

.use-case-features li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Mobile Responsive for Use Cases */
@media (max-width: 768px) {
    .use-cases {
        padding: 4rem 4%;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .use-case-card {
        padding: 1.75rem 1.5rem;
    }

    .use-case-icon {
        width: 60px;
        height: 60px;
    }

    .use-case-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .use-cases {
        padding: 3rem 3%;
    }

    .use-case-card {
        padding: 1.5rem 1.25rem;
    }

    .use-case-card h3 {
        font-size: 1.15rem;
    }

    .use-case-card p {
        font-size: 0.9rem;
    }

    .use-case-features li {
        font-size: 0.85rem;
    }
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */
.seo-content {
    padding: 5rem 5%;
    background: var(--white);
}

.seo-content-container {
    max-width: 900px;
    margin: 0 auto;
}

.seo-article {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.seo-article h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.seo-article h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

.seo-article p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.seo-article strong {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Responsive for SEO Content */
@media (max-width: 768px) {
    .seo-content {
        padding: 4rem 4%;
    }

    .seo-article {
        padding: 2rem 1.5rem;
    }

    .seo-article h2 {
        font-size: 1.5rem;
    }

    .seo-article h3 {
        font-size: 1.2rem;
    }

    .seo-article p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .seo-content {
        padding: 3rem 3%;
    }

    .seo-article {
        padding: 1.5rem 1.25rem;
    }

    .seo-article h2 {
        font-size: 1.35rem;
    }

    .seo-article h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 6rem 5%;
    background: var(--gray-50);
}

.faq .section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    background: none;
    -webkit-text-fill-color: var(--gray-900);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-item:hover::before,
.faq-item.active::before {
    opacity: 1;
}

.faq-item h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0;
    padding-right: 0;
}

.faq-item h3::before {
    display: none;
}

.faq-item h3::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition-normal);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active h3::after {
    transform: rotate(180deg);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
    opacity: 0;
    margin-top: 0;
    padding-left: 0;
}

.faq-item.active p {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--gradient-hero);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.45);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 100px;
    background: var(--gray-900);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification i {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 5% 4rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-illustration {
        width: 100%;
    }

    .hero-card {
        max-width: 350px;
    }

    .floating-badge {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        align-items: center;
    }

    .footer-section a:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    /* Typography */
    html {
        font-size: 14px;
    }

    /* Navigation - Glass Nav */
    .glass-nav {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 50px;
    }

    .nav-container {
        padding: 10px 16px;
        gap: 0.75rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .nav-center {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
        gap: 0.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-cta {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 6rem 4% 3rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .hero-card {
        max-width: 100%;
        padding: 1.5rem;
    }

    .hero-card-header {
        gap: 0.75rem;
    }

    .hero-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-card-title h3 {
        font-size: 1rem;
    }

    .hero-card-users {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .user-chip {
        font-size: 0.85rem;
        padding: 0.5rem 0.875rem;
    }

    .user-chip .avatar {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .hero-card-amount {
        padding: 1.25rem;
    }

    .hero-card-amount h2 {
        font-size: 1.75rem;
    }

    /* Calculator Section */
    .expense-calculator {
        padding: 4rem 4%;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .calculator-container {
        border-radius: var(--radius-xl);
        margin: 0;
    }

    .calculator-header {
        padding: 1.75rem 1.25rem;
    }

    .currency-dropdown-container {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .step-indicator {
        gap: 0.5rem;
    }

    .step-indicator::before {
        left: 35px;
        right: 35px;
        top: 18px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-text {
        font-size: 0.75rem;
    }

    .calculator-body {
        padding: 1.75rem 1.25rem !important;
    }

    /* People Section */
    .add-person-form {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

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

    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .modern-person-chip {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .avatar-circle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .chip-name {
        font-size: 0.9rem;
    }

    /* Expenses Section */
    .expense-form-card {
        padding: 1.25rem !important;
    }

    .modern-input-group input,
    .modern-input-group select {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 0.95rem;
    }

    .expense-form-card > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    .modern-expense-list {
        gap: 0.75rem;
    }

    .modern-expense-item {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
        padding: 0.875rem;
    }

    .expense-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .expense-details h4 {
        font-size: 0.9rem;
    }

    .expense-details p {
        font-size: 0.8rem;
    }

    .expense-amount-tag {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Results Section */
    .settlement-card {
        padding: 1.5rem;
    }

    .settlement-card > div[style*="grid"]:first-child {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .result-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0.875rem;
    }

    .share-options {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    /* Features Section */
    .features {
        padding: 4rem 4%;
    }

    .features h2 {
        font-size: 1.875rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* How It Works Section */
    .how-it-works {
        padding: 4rem 4%;
    }

    .how-it-works .section-header h2 {
        font-size: 1.875rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .step-card .step-icon {
        width: 70px;
        height: 70px;
    }

    .step-card .step-icon i {
        font-size: 1.5rem;
    }

    .step-card h3 {
        font-size: 1.2rem;
    }

    /* FAQ Section */
    .faq {
        padding: 4rem 4%;
    }

    .faq .section-header h2 {
        font-size: 1.875rem;
    }

    .faq-container {
        max-width: 100%;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 3rem 4% 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        align-items: center;
    }

    .footer-section a:hover {
        transform: translateY(-2px);
    }

    /* Page Banners (About, Privacy, Terms) */
    .page-banner {
        padding: 6rem 4% 3rem;
    }

    .page-banner-icon {
        font-size: 2.75rem;
    }

    .page-banner h1 {
        font-size: 1.875rem;
    }

    .page-banner .tagline {
        font-size: 1.05rem;
    }

    .about-page .container,
    .privacy-policy .container,
    .terms-page .container {
        padding: 2rem;
        margin-top: -3rem;
        border-radius: var(--radius-xl);
    }

    .developer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .developer-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Back to Top Button */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    /* Toast Notification */
    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 80px;
        justify-content: center;
        padding: 0.875rem 1.25rem;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    /* Navigation */
    .glass-nav {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 50px;
    }

    .nav-container {
        padding: 8px 12px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .btn-cta {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    /* Hero */
    .hero {
        padding: 10rem 3% 2.5rem;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-card {
        padding: 1.25rem;
    }

    .hero-card-users {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .user-chip {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-card-amount h2 {
        font-size: 1.5rem;
    }

    /* Calculator */
    .expense-calculator {
        padding: 3rem 3%;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .calculator-container {
        border-radius: var(--radius-md);
    }

    .calculator-header {
        padding: 1.25rem 0.875rem;
    }

    .calculator-body {
        padding: 1.25rem 0.875rem !important;
    }

    .step-indicator {
        padding: 0;
    }

    .step-indicator::before {
        left: 30px;
        right: 30px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .step-text {
        font-size: 0.7rem;
    }

    /* Form Elements */
    .modern-input-group input,
    .modern-input-group select {
        padding: 0.9rem 0.9rem 0.9rem 2.75rem;
        font-size: 0.9rem;
    }

    .modern-input-group i,
    .modern-input-group .currency-symbol {
        left: 1rem;
        font-size: 1rem;
    }

    .expense-form-card {
        padding: 1rem !important;
    }

    .people-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .modern-person-chip {
        padding: 0.7rem;
        font-size: 0.875rem;
    }

    .avatar-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .modern-expense-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .expense-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .delete-chip {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    /* Settlement Results */
    .settlement-card {
        padding: 1.25rem;
    }

    .settlement-card > div:first-child {
        margin-bottom: 1.5rem !important;
    }

    .settlement-card h2 {
        font-size: 1.5rem !important;
    }

    .money-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Features & Steps */
    .features,
    .how-it-works,
    .faq {
        padding: 3rem 3%;
    }

    .features h2,
    .how-it-works .section-header h2,
    .faq .section-header h2 {
    font-size: 1.5rem;
    }

    .feature-card,
    .step-card {
        padding: 1.75rem 1.25rem;
    }

    .feature-card i {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-card .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-card .step-icon i {
        font-size: 1.35rem;
    }

    .step-card .step-icon .step-number {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
        border-width: 2px;
    }

    /* FAQ */
    .faq-item {
    padding: 1rem;
    }

    .faq-item h3 {
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        padding: 2.5rem 3% 1.25rem;
    }

    .footer-section h3 {
        font-size: 1.25rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    /* Page Banners */
    .page-banner {
        padding: 5rem 3% 2.5rem;
    }

    .page-banner-icon {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .page-banner h1 {
        font-size: 1.65rem;
    }

    .page-banner .tagline {
        font-size: 0.95rem;
    }

    .about-page .container,
    .privacy-policy .container,
.terms-page .container {
        padding: 1.5rem;
        margin-top: -2.5rem;
    }

    .about-section h2,
    .policy-section h2 {
        font-size: 1.2rem;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 16px;
        right: 16px;
    }

    .toast-notification {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}

/* Landscape Mode for Small Devices */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 4% 2rem;
    }

    .calculator-container {
        margin-top: 2rem;
    }

    .step-indicator {
        margin: 1rem 0;
    }

    .page-banner {
        padding: 4rem 4% 2rem;
    }

    .page-banner-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .calculator-container {
        max-width: 1000px;
    }

    .features,
    .how-it-works,
    .faq {
        padding: 7rem 5%;
    }
}

/* Fix for iOS Safari Input Zoom */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .currency-dropdown-container select {
        font-size: 16px !important;
    }
}

/* Fix for sticky hover on touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-cta:hover,
    .btn-outline:hover,
    .share-btn:hover,
    .modern-person-chip:hover,
    .modern-expense-item:hover,
    .nav-item:hover,
    .feature-card:hover,
    .step-card:hover,
    .faq-item:hover,
    .value-card:hover {
        transform: none !important;
        box-shadow: none;
    }

    .modern-person-chip .delete-chip,
    .modern-expense-item .delete-chip {
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .nav-item:hover {
        background: none;
    }

    .nav-item.active {
        background: rgba(108, 99, 255, 0.12);
    }
}

/* ============================================
   PRIVACY, TERMS, ABOUT PAGES
   ============================================ */

/* Page Banner */
.page-banner {
    background: var(--gradient-hero);
    padding: 8rem 5% 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-banner-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.page-banner h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-banner .tagline {
    font-size: 1.2rem;
    color: var(--gray-300);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb .separator {
    color: var(--gray-400);
}

.breadcrumb .current {
    color: var(--gray-700);
    font-weight: 500;
}

/* About Page */
.about-page {
    padding: 0 5% 5rem;
    background: var(--gray-50);
    min-height: 100vh;
}

.about-page .container {
    max-width: 900px;
    margin: -4rem auto 0;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 10;
}

.about-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.about-section:nth-child(1) { animation-delay: 0.1s; }
.about-section:nth-child(2) { animation-delay: 0.2s; }
.about-section:nth-child(3) { animation-delay: 0.3s; }
.about-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    padding-left: 1rem;
    position: relative;
}

.about-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-section p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* Developer Profile */
.developer-profile {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.developer-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.developer-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
}

.developer-details h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.developer-title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.developer-bio {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.developer-contact {
    margin-top: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

.value-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-card i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.value-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Privacy & Terms Pages */
.privacy-policy,
.terms-page {
    padding: 0 5% 5rem;
    background: var(--gray-50);
    min-height: 100vh;
}

.privacy-policy .container,
.terms-page .container {
    max-width: 900px;
    margin: -4rem auto 0;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 10;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.last-updated::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: var(--primary);
}

.policy-section {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.policy-section:nth-child(1) { animation-delay: 0.1s; }
.policy-section:nth-child(2) { animation-delay: 0.15s; }
.policy-section:nth-child(3) { animation-delay: 0.2s; }
.policy-section:nth-child(4) { animation-delay: 0.25s; }
.policy-section:nth-child(5) { animation-delay: 0.3s; }
.policy-section:nth-child(6) { animation-delay: 0.35s; }
.policy-section:nth-child(7) { animation-delay: 0.4s; }
.policy-section:nth-child(8) { animation-delay: 0.45s; }

.policy-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    padding-left: 1rem;
    position: relative;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.policy-section p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.policy-section ul li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    transition: var(--transition-normal);
}

.policy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.policy-section ul li:hover {
    transform: translateX(5px);
    color: var(--gray-800);
}

.contact-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--primary);
}

/* Mobile Responsive for About/Privacy/Terms */
@media (max-width: 768px) {
    .page-banner {
        padding: 6rem 4% 3rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .page-banner-icon {
        font-size: 2.5rem;
    }

    .about-page .container,
    .privacy-policy .container,
    .terms-page .container {
        padding: 2rem;
        margin-top: -3rem;
        border-radius: var(--radius-xl);
    }

    .developer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .developer-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

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

/* Print Styles */
@media print {
    nav,
    footer,
    .back-to-top,
    .page-banner,
    .share-options {
        display: none !important;
    }

    .about-page .container,
    .privacy-policy .container,
    .terms-page .container {
        margin-top: 0;
        box-shadow: none;
        border: 1px solid var(--gray-200);
    }

    body {
        background: var(--white);
    }
}
