/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1E40AF;
    --primary-light: #3B82F6;
    --primary-dark: #1E3A8A;
    --accent: #8B5CF6;
    --success: #10B981;
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-700: #334155;
    --gray-500: #64748B;
    --gray-300: #CBD5E1;
    --gray-100: #F1F5F9;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-light);
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #EFF6FF 0%, var(--white) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 480px;
}

.card-preview {
    width: 360px;
    height: 220px;
    background: var(--gradient);
    border-radius: 16px;
    padding: 32px;
    color: white;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.card-chip {
    width: 48px;
    height: 36px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 6px;
    margin-bottom: 32px;
}

.card-number {
    font-size: 22px;
    letter-spacing: 4px;
    margin-bottom: 24px;
    font-weight: 500;
}

.card-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-card svg {
    flex-shrink: 0;
}

.floating-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
}

.floating-amount {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--success);
}

.card-1 {
    top: 40px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 60px;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: #EFF6FF;
    color: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

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

/* ===== Solutions Section ===== */
.solutions {
    padding: 100px 0;
    background: var(--gray-100);
}

.solutions-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solutions-content .badge {
    margin-bottom: 16px;
}

.solutions-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.solutions-desc {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s;
}

.solution-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.solution-icon {
    font-size: 32px;
}

.solution-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.solution-item p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1E40AF 0%, #3B82F6 50%, #EFF6FF 100%);
    border-radius: 30px;
    padding: 32px 24px;
    color: white;
}

.screen-header {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.screen-balance small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.screen-balance strong {
    font-size: 32px;
}

.screen-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 32px 0;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.action-btn span:first-child {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.screen-transactions {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
}

.screen-transactions h5 {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.transaction {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction:last-child {
    border-bottom: none;
}

.negative {
    color: #FCA5A5;
}

.positive {
    color: #86EFAC;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background: var(--gray-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #FBBF24;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-card > p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: var(--gradient);
}

.cta-container {
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 64px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-900);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container,
    .solutions-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .features-grid,
    .rates-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .section-header h2,
    .solutions-content h2 {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .hero-visual {
        height: 400px;
    }

    .card-preview {
        width: 300px;
        height: 190px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 20px;
    }

    .features-grid,
    .rates-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rate-card.featured {
        transform: none;
    }

    .rate-card.featured:hover {
        transform: translateY(-4px);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2,
    .solutions-content h2,
    .cta h2 {
        font-size: 28px;
    }

    .rates-grid {
        gap: 24px;
    }

    .rate-card {
        padding: 32px 24px;
    }

    .rate-amount {
        font-size: 44px;
    }

    .hero-visual {
        height: 350px;
    }

    .card-preview {
        width: 280px;
        height: 175px;
        padding: 24px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }
}
