* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary-color: #8b5cf6;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Floating Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 320px;
    height: 200px;
    border-radius: 20px;
    background: var(--gradient-1);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 45px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    opacity: 0.9;
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-1 {
    top: 50px;
    left: 50px;
    background: var(--gradient-1);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.card-2 {
    top: 150px;
    left: 150px;
    background: var(--gradient-2);
    animation: float 6s ease-in-out 1s infinite;
    z-index: 2;
}

.card-3 {
    top: 250px;
    left: 80px;
    background: var(--gradient-3);
    animation: float 6s ease-in-out 2s infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-light);
    line-height: 1.8;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.cta-center {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Best Cards Section */
.best-cards-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.cards-scroll-container {
    position: relative;
    margin: 3rem 0;
    padding: 1rem 0;
}

.cards-scroll-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-snap-type: x mandatory;
    min-height: 550px;
    align-items: flex-start;
}

.cards-scroll-wrapper.auto-scrolling {
    animation: auto-scroll 30s linear infinite;
}

@keyframes auto-scroll {
    0% {
        scroll-behavior: auto;
    }
    100% {
        scroll-behavior: auto;
    }
}

.cards-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.best-cards-section .card-item {
    flex: 0 0 350px !important;
    min-width: 350px;
    max-width: 350px;
    height: auto;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.best-cards-section .card-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.best-cards-section .card-visual {
    height: 200px;
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.best-cards-section .card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.best-cards-section .card-bank-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    align-self: flex-end;
}

.best-cards-section .card-details {
    padding: 1.5rem;
    flex: 1;
}

.best-cards-section .card-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.best-cards-section .card-badge.travel {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.best-cards-section .card-badge.cashback {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.best-cards-section .card-badge.fuel {
    background: rgba(240, 147, 251, 0.1);
    color: #f093fb;
}

.best-cards-section .card-badge.lifestyle {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
}

.best-cards-section .card-badge.business {
    background: rgba(67, 228, 123, 0.1);
    color: #43e97b;
}

.best-cards-section .card-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
    min-height: 2.6rem;
}

.best-cards-section .card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.best-cards-section .stars {
    font-size: 1rem;
    line-height: 1;
}

.best-cards-section .rating-number {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.best-cards-section .card-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.best-cards-section .highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.best-cards-section .highlight-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.best-cards-section .highlight-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.best-cards-section .card-features {
    margin-bottom: 1.5rem;
}

.best-cards-section .feature-tag {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.4;
}

.best-cards-section .feature-tag:last-child {
    border-bottom: none;
}

.best-cards-section .card-actions {
    display: flex;
    gap: 0.75rem;
}

.best-cards-section .btn-card-primary {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.best-cards-section .btn-card-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.best-cards-section .btn-card-details {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.best-cards-section .btn-card-details:hover {
    background: var(--primary-color);
    color: white;
}

.scroll-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.scroll-btn:active {
    transform: scale(0.95);
}

/* Scroll Progress Dots */
.scroll-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: var(--primary-color);
    width: 12px;
    height: 12px;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.scroll-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

/* Auto-scroll indicator */
.auto-scroll-hint {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: rgba(14, 165, 233, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse-hint 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.5s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes pulse-hint {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) translateX(-10px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        display: none;
    }
    
    .best-cards-section .card-item {
        flex: 0 0 300px !important;
        min-width: 300px;
        max-width: 300px;
    }
    
    .best-cards-section .card-name {
        font-size: 1.1rem;
        min-height: 2.2rem;
    }
    
    .best-cards-section .card-visual {
        height: 180px;
    }
    
    .scroll-indicators {
        margin-top: 1.5rem;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .best-cards-section {
        padding: 4rem 0;
    }
    
    .auto-scroll-hint {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        right: 0.5rem;
    }
    
    .scroll-dots {
        gap: 0.4rem;
    }
    
    .scroll-dot {
        width: 8px;
        height: 8px;
    }
    
    .scroll-dot.active {
        width: 10px;
        height: 10px;
    }
}


