:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --blue-gradient: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    --bg-gradient: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-logo span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.nav-center {
    display: none;
}

@media (min-width: 768px) {
    .nav-center {
        display: flex;
        gap: 2rem;
    }
    .nav-center a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 500;
        font-size: 0.95rem;
    }
    .nav-center a:hover {
        color: var(--primary);
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main) !important;
}

.btn-outline:hover {
    background-color: var(--secondary);
    border-color: #cbd5e1;
}

.btn-text {
    background: transparent;
    color: var(--primary) !important;
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    color: var(--text-main);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

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

/* Utility Classes */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Landing Page Hero */
.landing-hero {
    padding: 5rem 0;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features span::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mockup-phone {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mockup-screen {
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.mockup-card {
    position: absolute;
    bottom: 40px;
    right: -40px;
    width: 250px;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    z-index: 3;
    transform: rotate(5deg);
}

/* Features Row */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Stats Row */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 4rem 0;
    gap: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
    background: var(--blue-gradient);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    color: #fff;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .cta-banner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

/* Profile Page */
.profile-bg {
    background-color: #f1f5f9;
    min-height: 100vh;
    padding: 2rem 1rem;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="300" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23dbeafe"/><stop offset="100%" stop-color="%23eff6ff"/></linearGradient></defs><rect width="100%" height="100%" fill="url(%23g)"/></svg>');
    background-repeat: no-repeat;
    background-size: 100% 300px;
}

.profile-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 800px) {
    .profile-container {
        grid-template-columns: 1fr 1fr;
    }
}

.profile-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    padding-bottom: 2rem;
}

.profile-cover {
    height: 180px;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&q=80&w=1200') center/cover;
}

.profile-avatar-container {
    display: flex;
    justify-content: center;
    margin-top: -60px;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid #fff;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

.profile-verified {
    color: #10b981;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

.profile-info {
    text-align: center;
    padding: 1rem 2rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-username {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.profile-bio {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
}

.profile-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.profile-tag {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Payment Card */
.payment-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.payment-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.amount-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.amount-input-group .currency {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.amount-input-group input {
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: all 0.2s;
}

.amount-input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.amount-presets {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.preset-btn {
    flex: 1;
    padding: 0.5rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    background: #e2e8f0;
}

.preset-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pay-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

.pay-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 2rem 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider::before { margin-right: 1rem; }
.divider::after { margin-left: 1rem; }

.qr-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.qr-code-box {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.upi-apps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.upi-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

.copy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
}

/* Footer features */
.footer-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.footer-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
