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

:root {
    --bg-color: #0b0c10;
    --text-primary: #e0e2e5;
    --text-secondary: #8b92a5;
    --accent-glow: rgba(94, 92, 230, 0.4);
    --accent-solid: #5e5ce6;
    --accent-hover: #7b78ff;
    --glass-bg: rgba(25, 27, 33, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(94,92,230,0.3) 0%, rgba(0,0,0,0) 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(227,98,9,0.2) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 15%) scale(1.1); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header / Nav */
header {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(11, 12, 16, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent-solid);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

/* Button */
.btn {
    background: var(--accent-solid);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    box-shadow: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-solid);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(94, 92, 230, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--accent-solid);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* How It Works */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--accent-solid);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.step-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
}

/* Privacy Page Content */
.legal-content {
    max-width: 800px;
    margin: 160px auto 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 48px;
    backdrop-filter: blur(12px);
}

.legal-content h1 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 24px;
    font-size: 36px;
}

.legal-content h2 {
    font-family: 'Outfit', sans-serif;
    margin: 32px 0 16px;
    font-size: 24px;
}

.legal-content p, .legal-content li {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

/* Deep Dive Section */
.deep-dive {
    padding: 100px 0;
    position: relative;
}

/* Savings Counter */
.savings-counter-wrapper {
    text-align: center;
    margin: 80px 0;
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(94, 92, 230, 0.1) 0%, transparent 100%);
    border-radius: 24px;
    border-top: 1px solid var(--glass-border);
}

.savings-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.savings-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 40px var(--accent-glow);
    display: inline-block;
}

.savings-amount span {
    color: #4ade80; /* Money green */
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
}

/* Feature Explanations (Alternating Layout) */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.feature-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.feature-demo {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Mockups (HTML/CSS UI Replicas) */
.mockup-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 380px;
    padding: 24px;
    color: #333; /* Light mode popup */
    position: relative;
    overflow: hidden;
}

.mockup-header {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-item {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--accent-solid);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-solid);
    color: white;
}

.mockup-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.mockup-badge.bank { background: #0366d6; }
.mockup-badge.upi { background: #6f42c1; }

.mockup-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.mockup-input {
    width: 50px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}

.mockup-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #ffd814;
    color: #0f1111;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive for Feature Rows */
@media (max-width: 900px) {
    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .savings-amount {
        font-size: 56px;
    }
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 48px 0;
    margin-top: 64px;
    background: rgba(11,12,16,0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* Animations (Intersection Observer) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .nav-links {
        display: none; /* simple mobile hide for now */
    }
    
    .step {
        flex-direction: column;
        gap: 16px;
    }
}
