/* Homepage Styles - Clean Fintech Design */
.homepage-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fbf9f7;
    width: 100%;
    max-width: 100%;
}

.homepage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.homepage-logo {
    height: 48px;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #1e293b;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-start {
    background: #1e293b;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.homepage-main {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    flex: 1;
    min-height: 0;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-button {
    background: #1e293b;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.hero-button:hover {
    background: #334155;
    transform: translateY(-1px);
}

/* Visual Section */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.payment-cards-stack {
    position: relative;
    width: 320px;
    height: 200px;
}

.payment-card {
    width: 300px;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
    position: absolute;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.payment-card:nth-child(1) {
    transform: rotate(-5deg) translateY(-10px);
    z-index: 3;
}

.payment-card:nth-child(2) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    transform: rotate(3deg) translateY(10px) translateX(20px);
    z-index: 2;
}

.payment-card:nth-child(3) {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    transform: rotate(-2deg) translateY(30px) translateX(-10px);
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-logo {
    font-size: 1rem;
    font-weight: 600;
}

.card-type {
    font-size: 0.7rem;
    opacity: 0.8;
}

.card-amount {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.card-number {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.8rem;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-name {
    font-size: 0.8rem;
}

.card-date {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Trust Logos Section */
.trust-section {
    padding: 2rem 0 1rem 0;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.trust-title {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logo {
    color: #cbd5e1;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.7;
}

/* Path Selection */
.path-selector {
    margin-top: 2rem;
}

.path-title {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.path-options {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.path-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.path-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    transition: all 0.2s ease;
}

.path-option:first-child::before {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.path-option:last-child::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.path-option:hover {
    border-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.path-option:hover::before {
    width: 10px;
}

.path-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.path-content h4 {
    margin: 0 0 0.3rem 0;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
}

.path-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.homepage-footer {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .payment-card {
        width: 260px;
        height: 160px;
        padding: 18px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .homepage-header {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .homepage-main {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .path-options {
        gap: 0.8rem;
        flex-direction: column;
    }
    
    .path-option {
        padding: 1rem;
        width: 100%;
        max-width: none;
    }
    
    .path-icon {
        font-size: 1.5rem;
    }
    
    .trust-logos {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .payment-card {
        width: 200px;
        height: 130px;
        padding: 14px;
    }
    
    .trust-section {
        padding: 1.5rem 0 0.5rem 0;
    }
    
    .card-stack {
        gap: 0.5rem;
    }
}
