/* Global Styles */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #111827;
    --text-gray: #4b5563;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-gray);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-login {
    color: var(--text-dark);
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-dark);
    z-index: 1001;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #111827;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 20px 25px -5px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-logo {
    width: 80px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Smart Wallet Section */
.smart-wallet {
    padding: 100px 0;
    background-color: #f9fafb;
}

.smart-wallet .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.wallet-content {
    flex: 1;
}

.wallet-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.wallet-content h2 span {
    color: var(--primary-color);
}

.wallet-content p {
    color: var(--text-gray);
    margin-bottom: 32px;
    font-size: 18px;
}

.benefits-list {
    margin-bottom: 32px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.benefits-list i {
    color: var(--primary-color);
}

.wallet-image {
    flex: 1;
}

.wallet-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.security {
    padding: 100px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.security-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.security-icon {
    width: 64px;
    height: 64px;
    background-color: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 28px;
    margin: 0 auto 24px;
}

.security-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.security-card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container, .smart-wallet .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .wallet-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid, .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px;
        gap: 20px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
        text-align: center;
    }

    .auth-buttons {
        display: none; /* Keep hidden for now as per previous code */
    }
    
    .features-grid, .security-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 40px;
    }
}

/* Download Page Styles */
body.download-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.download-section {
    padding: 50px 0 100px;
    flex: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.qr-container {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    padding: 10px;
}

.qr-container img {
    max-width: 100%;
    max-height: 100%;
}

.platform-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.download-card p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .download-section {
        padding: 30px 0 60px;
    }

    .section-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 40px;
    }

    .section-logo {
        width: 48px;
        margin-bottom: 0;
    }

    .section-header h2 {
        font-size: 24px;
        margin-bottom: 0;
        text-align: left;
    }

    .mobile-break {
        display: inline;
    }
}
