/* Modern CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f59e0b;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navigation */
.modern-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
    padding: 1rem 0;
}

.modern-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}



.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.modern-dropdown {
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.card-stack {
    position: relative;
    width: 300px;
    height: 200px;
    margin: 0 auto;
}

.credit-card {
    position: absolute;
    width: 280px;
    height: 180px;
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.card-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: rotate(-5deg);
    z-index: 2;
}

.card-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: rotate(5deg) translateY(20px);
    z-index: 1;
}

.credit-card:hover {
    transform: rotate(0deg) translateY(-10px);
    z-index: 3;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.card-number {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-family: 'Space Grotesk', monospace;
}

.card-holder {
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-brand {
    font-weight: 700;
    font-size: 0.8rem;
    text-align: right;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.icon-2 {
    bottom: 30%;
    left: 10%;
    animation-delay: 3s;
}

.icon-3 {
    top: 60%;
    right: 20%;
    animation-delay: 5s;
}

/* Sections */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features-section {
    background: var(--light);
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Cards Section */
.cards-section {
    background: white;
}

.card-product {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.card-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

.card-product.featured {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.card-visual {
    height: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    color: white;
}

.premium-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.elite-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.business-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-details {
    padding: 2rem;
}

.card-details h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.card-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.card-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.card-benefits i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.modern-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-brand {
    text-align: center;
}

.footer-description {
    opacity: 0.8;
    margin-top: 1rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.footer-links {
    list-style: none;
    text-align: center;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.copyright, .footer-note {
    opacity: 0.7;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .modern-footer .col-md-6 {
        text-align: center !important;
    }
}

/* Legal Pages Styles */
.legal-content {
    line-height: 1.8;
    font-size: 1rem;
}

.legal-content h2 {
    color: var(--primary);
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.legal-content h3 {
    color: var(--dark);
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    color: var(--gray);
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.legal-content p {
    margin-bottom: 1.25rem;
    color: var(--gray);
    text-align: justify;
}

.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
}

.last-updated {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .legal-content {
        font-size: 0.95rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.25rem;
    }
}

/* Modals */
.modern-modal .modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modern-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.modern-modal .modal-title {
    font-weight: 600;
    color: var(--dark);
}

.application-options {
    padding: 1rem 0;
}

.application-card {
    display: block;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

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

.app-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.application-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.application-card p {
    color: var(--gray);
    margin-bottom: 0;
}

.app-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary);
}

/* Buttons */
.btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Contact Page Specific Styles */
.contact-info-item {
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.feature-card {
    text-align: center;
}

.feature-card h3, .feature-card p {
    text-align: center;
}

.contact-form-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-hero {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .card-stack {
        width: 250px;
        height: 160px;
    }
    
    .credit-card {
        width: 230px;
        height: 140px;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .floating-icon {
        display: none;
    }
}