/* Modern Page Styles - Fresh Design for Aastha Pay - Used Across All Pages */

:root {
    --gradient-hero: linear-gradient(135deg, #1e6a9e 0%, #2B8FCC 50%, #F58220 100%);
    --gradient-card: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-button: linear-gradient(135deg, #2B8FCC 0%, #1e6a9e 100%);
    --gradient-accent: linear-gradient(135deg, #F58220 0%, #f5576c 100%);
}

/* Modern Hero Section */
.hero-section {
    background: var(--gradient-hero);
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    padding: 120px 0 80px;
    position: relative;
    z-index: 2;
}

/* Glassmorphism Calculator Card */
.calculator-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.calculator-card h3 {
    color: #212529;
    font-size: 24px;
    margin-bottom: 30px;
}

/* Modern Input Groups */
.currency-input-group {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.currency-input-group:hover {
    background: #f1f3f5;
    transform: scale(1.02);
}

.currency-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
    display: block;
}

.currency-input-group .input-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.currency-input-group input {
    flex: 1;
    font-size: 24px;
    font-weight: 700;
    border: none;
    background: transparent;
    padding: 0;
    color: #212529;
}

.currency-input-group input:focus {
    outline: none;
}

.currency-input-group select {
    min-width: 120px;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.currency-input-group select:hover,
.currency-input-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Exchange Info Card */
.exchange-info {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    color: white;
}

.exchange-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.exchange-info .info-row:last-child {
    margin-bottom: 0;
}

.exchange-info .label {
    font-size: 14px;
    opacity: 0.9;
    color: white;
}

.exchange-info .value {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

/* Modern Submit Button */
.submit-btn {
    background: var(--gradient-button);
    border: none;
    border-radius: 16px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(43, 143, 204, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(43, 143, 204, 0.4);
}

/* Stats Section */
.stats-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2B8FCC 0%, #F58220 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
    position: relative;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(43, 143, 204, 0.1) 0%, rgba(245, 130, 32, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
}

/* App Download Section */
.app-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(43, 143, 204, 0.1) 0%, rgba(245, 130, 32, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
}

.app-content {
    position: relative;
    z-index: 2;
}

.app-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 20px;
}

.app-content .lead {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 40px;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    color: #495057;
}

.app-features li:before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #2B8FCC 0%, #F58220 100%);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
}

.install-btn {
    background: var(--gradient-accent);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 130, 32, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.install-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 130, 32, 0.4);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .calculator-card {
        margin-top: 40px;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }
    
    .hero-content {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .calculator-card {
        padding: 25px;
    }
    
    .currency-input-group input {
        font-size: 20px;
    }
    
    .stat-card h3 {
        font-size: 28px;
    }
    
    .app-content h2 {
        font-size: 32px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .currency-input-group .input-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .currency-input-group input {
        margin-bottom: 10px;
    }
    
    .currency-input-group select {
        width: 100%;
    }
}

/* ============================================
   SHARED STYLES FOR ALL PAGES
   ============================================ */

/* Page Header Section */
.page-header {
    background: var(--gradient-hero);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.page-header .breadcrumb-item.active {
    color: white;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: white;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Form Styling */
.modern-form {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.modern-form .form-group {
    margin-bottom: 25px;
}

.modern-form label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.modern-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modern-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 143, 204, 0.25);
    outline: none;
}

.modern-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Modern Buttons */
.btn-modern {
    background: var(--gradient-button);
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(43, 143, 204, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(43, 143, 204, 0.4);
    color: white;
}

.btn-modern-secondary {
    background: var(--gradient-accent);
    box-shadow: 0 10px 30px rgba(245, 130, 32, 0.3);
}

.btn-modern-secondary:hover {
    box-shadow: 0 15px 40px rgba(245, 130, 32, 0.4);
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-card .blog-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-card .blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card .blog-content {
    padding: 30px;
}

.blog-card .blog-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 14px;
}

.blog-card .blog-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 450px;
}

.auth-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 10px;
    text-align: center;
}

.auth-card .subtitle {
    color: #6c757d;
    text-align: center;
    margin-bottom: 40px;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

/* Privacy/Terms Content */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 30px;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #495057;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 20px;
}

.content-section ul {
    padding-left: 30px;
    margin-bottom: 20px;
}

.content-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 10px;
}

/* Exchange Rate Table */
.exchange-table {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.exchange-table table {
    width: 100%;
}

.exchange-table th {
    background: var(--gradient-card);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.exchange-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.exchange-table tr:hover {
    background: #f8f9fa;
}

/* Error Page */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: 120px;
    font-weight: 800;
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.error-message {
    font-size: 24px;
    color: #495057;
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .auth-card {
        padding: 30px;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .modern-form {
        padding: 25px;
    }
}
