/* assets/css/home_redesign.css - UI/UX redesign for home.php */

:root {
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --primary-glow: rgba(13, 148, 136, 0.12);
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --bg: #f8fafc;
    --bg-dark: #f1f5f9;
    --white: #ffffff;
    --text-main: #0f172a;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    --glass-bg: rgba(248, 250, 252, 0.8);
    --glass-border: rgba(248, 250, 252, 0.3);
    
    /* Brand Colors */
    --paypal: #003087;
    --cashapp: #00d632;
    --venmo: #0085ff;
    --zelle: #6d1ed4;
    --chime: #00a4b4;
    --etransfer: #f15a29;
    --google-pay: #4285f4;
    --apple-pay: #000000;
    --revolut: #0070eb;
    --stripe: #635bff;
    --wise: #00b9ff;
    --skrill: #7a0d8c;
    --payoneer: #ff4800;
    --amazon-pay: #ff9900;
    --bank: #4f5b66;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Outfit', 'Inter', sans-serif; 
    scroll-behavior: smooth; 
}

html, body { 
    background: var(--bg); 
    color: var(--text-main); 
    overflow-x: hidden; 
    width: 100%; 
    margin: 0; 
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Container Wrapper */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.3); }
    70% { box-shadow: 0 0 0 15px rgba(13, 148, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

@keyframes rotateY {
    from { transform: perspective(1000px) rotateY(0deg); }
    to { transform: perspective(1000px) rotateY(360deg); }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s infinite; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background blur elements */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, rgba(13, 148, 136, 0) 70%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.blob-1 { top: -100px; right: -100px; }
.blob-2 { bottom: 100px; left: -200px; background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, rgba(245, 158, 11, 0) 70%); }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.hide {
    transform: translateY(-100%);
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.logo:hover {
    transform: scale(1.02);
}
.nav-links { 
    display: flex; 
    gap: 2.25rem; 
    align-items: center; 
}
.nav-link { 
    text-decoration: none; 
    color: var(--text-light); 
    font-weight: 500; 
    font-size: 0.95rem; 
    transition: color 0.2s ease;
}
.nav-link:hover { 
    color: var(--primary); 
}
.btn-auth {
    padding: 0.65rem 1.4rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
}
.btn-login { 
    color: var(--text-main); 
}
.btn-login:hover {
    color: var(--primary);
}
.btn-register { 
    background: var(--secondary); 
    color: var(--white); 
    border: 1px solid var(--secondary);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}
.btn-register:hover { 
    background: var(--primary); 
    border-color: var(--primary);
    box-shadow: 0 6px 14px var(--primary-glow); 
    transform: translateY(-1px);
}

.hero {
    padding: 5rem 0 2.5rem;
    background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.03) 0%, transparent 60%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
}
.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    color: var(--secondary);
}
.hero-text h1 span { 
    color: var(--primary);
}
.hero-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2.25rem;
}
.hero-cta { 
    display: flex; 
    gap: 1rem; 
}
.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.85rem;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}
.trust-badge i {
    color: var(--primary);
    font-size: 0.95rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid rgba(13, 148, 136, 0.15);
    color: var(--primary-dark);
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-visual { 
    display: flex;
    justify-content: center;
}
.dashboard-mockup {
    background: var(--white);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05), 0 0 0 1px var(--border-light);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float 6s ease-in-out infinite;
    width: 100%;
    max-width: 440px;
}
.dashboard-mockup:hover {
    transform: translateY(-4px);
}

.btn-primary { 
    background: var(--primary); 
    color: var(--white); 
    border: none; 
    padding: 0.8rem 2rem; 
    border-radius: 99px; 
    font-weight: 600; 
    font-size: 0.95rem; 
    cursor: pointer; 
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.btn-primary:hover { 
    background: var(--primary-dark); 
    transform: translateY(-1px); 
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.22); 
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--border-light);
    padding: 0.8rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
    transform: translateY(-1px);
}


/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag { 
    color: var(--primary); 
    font-weight: 700; 
    display: block; 
    margin-bottom: 0.5rem; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    font-size: 0.85rem;
}
.section-header h2 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--secondary);
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.section-header h2 span {
    color: var(--primary);
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

/* Live Freelancer Map Section */
.live-map-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.live-map-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
}

/* Left Side - Live Activity */
.live-activity-side {
    background: var(--secondary);
    border-radius: 20px;
    padding: 1.8rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.activity-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-badge {
    background: var(--danger);
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulse-glow 2s infinite;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.25s ease;
    font-size: 0.88rem;
}

.feed-item:hover {
    background: rgba(255,255,255,0.07);
    transform: translateX(4px);
}

.feed-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--white);
    flex-shrink: 0;
}

.feed-content {
    flex: 1;
    min-width: 0;
}

.feed-name {
    font-weight: 600;
    margin-bottom: 1px;
    color: var(--white);
}

.feed-action {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.feed-time {
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.feed-amount {
    font-weight: 700;
    color: var(--success);
}

.activity-stats-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.mini-stat .stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-light);
}

.mini-stat .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right Side - Map */
.map-side {
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}

#liveMap {
    height: 340px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    border: 1px solid var(--border-light);
    z-index: 1;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: ping 2s ease-out infinite;
}

.marker-active {
    animation: marker-pulse 1.2s infinite alternate ease-in-out;
    z-index: 9999 !important;
}

@keyframes marker-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(2); filter: drop-shadow(0 0 6px var(--primary-light)); }
}

/* ===== PAYMENT GATEWAYS SECTION ===== */
.gateways-section { 
    padding: 5rem 0; 
    background: var(--white);
}

.gateway-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 1.25rem; 
    justify-items: center;
    width: 100%;
}

.gateway-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 1.5rem 0.75rem;
    border-radius: 16px;
    cursor: pointer;
    background: var(--bg);
    border: 1px solid var(--border-light);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.gateway-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.08);
    background: var(--white);
}

.gateway-item span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.more-gateways {
    display: none;
    width: 100%;
    margin-top: 1.25rem;
}
.more-gateways.active {
    display: grid;
    animation: fadeInUp 0.5s ease-out;
}

.btn-more {
    margin: 2rem auto 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1.6rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-more:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

/* Dashboard Showcase Section */
.showcase-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
    overflow: hidden;
}
.showcase-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}
.showcase-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.showcase-features {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 2rem;
}
.showcase-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}
.showcase-feature-item i {
    color: var(--primary);
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}
.showcase-feature-item:hover i {
    transform: scale(1.2);
}
.browser-mockup {
    background: #0b0f19;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    max-height: 320px;
    justify-self: end;
}
.browser-mockup:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 30px 60px rgba(13, 148, 136, 0.15), 0 0 0 1px rgba(13, 148, 136, 0.25);
}
.browser-header {
    height: 38px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.browser-dots {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 14px;
}
.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 3px 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0 auto;
    width: 180px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.browser-content {
    max-height: 282px;
    overflow: hidden;
    background: #0b0f19;
    position: relative;
}
.browser-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, #0b0f19 0%, transparent 100%);
    pointer-events: none;
}
.browser-content img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}
.browser-mockup:hover .browser-content img {
    opacity: 1;
}

/* Features Section */
.features { 
    padding: 6rem 0; 
    background: var(--bg-dark);
}
.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
}
.feature-box {
    background: var(--white);
    padding: 2.5rem 1.8rem;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.feature-box:hover { 
    transform: translateY(-4px); 
    border-color: var(--primary); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.03); 
}
.feature-icon { 
    width: 54px; 
    height: 54px; 
    background: rgba(13, 148, 136, 0.06); 
    color: var(--primary); 
    border-radius: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
}
.feature-box:hover .feature-icon {
    transform: scale(1.05);
    background: var(--primary);
    color: var(--white);
}
.feature-box h3 { 
    font-size: 1.25rem; 
    margin-bottom: 0.75rem; 
    color: var(--secondary);
    font-weight: 700;
}
.feature-box p { 
    font-size: 0.95rem; 
    line-height: 1.6; 
    color: var(--text-light); 
}

/* Merchant Solutions Section */
.merchants-section { 
    padding: 4rem 0; 
    background: var(--white);
}
.merchants-container { 
    display: grid; 
    grid-template-columns: 0.85fr 1.15fr; 
    gap: 2.5rem; 
    align-items: center; 
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 24px;
}
.merchants-content h2 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 1.25rem; 
    color: var(--secondary); 
}
.merchants-content p { 
    font-size: 1.05rem; 
    color: var(--text-light); 
    line-height: 1.6; 
    margin-bottom: 1.75rem; 
}

.merchant-benefits { 
    display: grid; 
    gap: 1rem; 
    margin-bottom: 1.85rem;
}
.m-benefit { 
    display: flex; 
    gap: 12px; 
    padding: 0.85rem 1.15rem;
    border-radius: 16px;
    background: var(--bg);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.m-benefit:hover {
    transform: translateX(4px);
    background: var(--bg-dark);
    border-color: var(--border-light);
}
.m-benefit i { 
    color: var(--primary); 
    font-size: 1.15rem; 
    margin-top: 2px;
}
.m-benefit h4 { 
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--secondary); 
    margin-bottom: 3px; 
}
.m-benefit p { 
    font-size: 0.88rem; 
    color: var(--text-light); 
}

.merchant-card-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04), 0 0 0 1px var(--border-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.merchant-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0.85;
}
.merchant-card-preview:hover { 
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(13, 148, 136, 0.1), 0 0 0 1px rgba(13, 148, 136, 0.2);
}

.m-header { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 1.25rem; 
}
.m-avatar { 
    width: 44px; 
    height: 44px; 
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.15);
}
.m-name { 
    font-weight: 750; 
    font-size: 0.95rem; 
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
}
.m-status { 
    font-size: 0.72rem; 
    color: var(--primary); 
    background: rgba(13, 148, 136, 0.06);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    border: 1px solid rgba(13, 148, 136, 0.12);
}

.m-stats { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.75rem; 
    margin-bottom: 1.5rem; 
    background: rgba(13, 148, 136, 0.03); 
    border: 1px solid rgba(13, 148, 136, 0.05);
    padding: 1rem; 
    border-radius: 16px; 
    text-align: center;
}
.m-stat-item span { 
    display: block; 
    font-weight: 800; 
    color: var(--secondary); 
    font-size: 1.15rem;
}
.m-stat-item label { 
    font-size: 0.65rem; 
    color: var(--text-light); 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}

.m-accounts { 
    display: grid; 
    gap: 8px; 
}
.m-acc { 
    background: var(--bg); 
    border: 1px solid var(--border-light); 
    padding: 0.75rem 1rem; 
    border-radius: 12px; 
    font-size: 0.88rem; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    color: var(--text-main);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.m-acc i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.m-acc:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.06);
    transform: translateX(3px);
}
.m-acc:hover i {
    transform: scale(1.15);
}

/* How it Works Section */
.how { 
    padding: 4rem 0; 
    background: var(--secondary);
    color: var(--white);
}
.how .section-header h2,
.how .section-header p {
    color: var(--white);
}
.how .section-header h2 span {
    color: var(--primary-light);
}
.how-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
}
.step { 
    position: relative;
    padding: 2.5rem 1.8rem;
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.step:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.06);
    border-color: var(--primary-light);
}
.step-num { 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: var(--primary-light);
    opacity: 0.15; 
    position: absolute; 
    top: 12px; 
    right: 20px;
}
.step h3 { 
    font-size: 1.25rem; 
    margin-bottom: 0.75rem; 
    color: var(--white);
    font-weight: 700;
}
.step p { 
    color: var(--text-muted); 
    line-height: 1.6; 
    font-size: 0.92rem; 
}

/* Footer */
footer { 
    padding: 4rem 0 2rem; 
    background: var(--secondary);
    color: var(--white);
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 4rem; 
    padding-bottom: 2.5rem; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
}
.footer-grid p { 
    font-size: 0.92rem; 
    line-height: 1.6; 
    color: var(--text-muted);
}
.footer-grid h4 { 
    font-size: 1.05rem; 
    margin-bottom: 1.25rem; 
    color: var(--white);
}
.footer-grid a { 
    font-size: 0.9rem; 
    margin-bottom: 0.6rem; 
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.footer-grid a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}
.footer-bottom { 
    padding-top: 2rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Loading Animation */
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s, visibility 0.4s;
}
.loading-animation.hide {
    opacity: 0;
    visibility: hidden;
}
.loader {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: rotateY 1.2s infinite linear;
}

/* TrustBox widget */
.trustpilot-card-wrapper {
    margin: 2.5rem 0 1.5rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
.trustpilot-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.3s ease;
}
.trustpilot-card:hover {
    border-color: rgba(0, 182, 122, 0.3);
    background: rgba(255, 255, 255, 0.05);
}
.trustpilot-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    flex-shrink: 0;
}
.trustpilot-brand-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trustpilot-brand-text {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    line-height: 1;
}
.trustpilot-brand-text span {
    color: #00b67a;
}
.trustpilot-stars {
    display: flex;
    gap: 2px;
}
.trustpilot-star {
    fill: #00b67a;
    width: 14px;
    height: 14px;
}
.trustpilot-rating-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 1px;
}
.trustpilot-widget-container {
    flex-grow: 1;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 4px 12px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}
.trustpilot-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00b67a;
    color: var(--white) !important;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 182, 122, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.trustpilot-cta:hover {
    background: #00c282;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 182, 122, 0.45);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 5%;
    }
    .hero-grid {
        gap: 2.5rem;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .live-map-container {
        grid-template-columns: 1fr;
    }
    .gateway-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .feature-grid {
        gap: 1.5rem;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .showcase-content {
        align-items: center;
    }
    .showcase-features {
        justify-items: center;
        margin: 1.25rem 0 1.75rem;
    }
    .merchants-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .merchants-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4.5rem 0;
    }
    .navbar {
        padding: 0.9rem 5%;
    }
    .nav-links .nav-link {
        display: none;
    }
    .nav-links {
        gap: 0.5rem;
    }
    .btn-auth {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .hero {
        padding: 5.5rem 0 3rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-text {
        align-items: center;
    }
    .hero-text h1 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
    }
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .gateway-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .how-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.85rem;
    }
    .trustpilot-card {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem;
    }
    .trustpilot-brand {
        align-items: center;
    }
    .trustpilot-widget-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gateway-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Brand Specific Hover Glows */
.gateway-item[data-brand="cashapp"]:hover { border-color: #00d632 !important; box-shadow: 0 10px 25px rgba(0, 214, 50, 0.12) !important; }
.gateway-item[data-brand="paypal"]:hover { border-color: #003087 !important; box-shadow: 0 10px 25px rgba(0, 48, 135, 0.12) !important; }
.gateway-item[data-brand="venmo"]:hover { border-color: #0085ff !important; box-shadow: 0 10px 25px rgba(0, 133, 255, 0.12) !important; }
.gateway-item[data-brand="zelle"]:hover { border-color: #7414ca !important; box-shadow: 0 10px 25px rgba(116, 20, 202, 0.12) !important; }
.gateway-item[data-brand="chime"]:hover { border-color: #25c974 !important; box-shadow: 0 10px 25px rgba(37, 201, 116, 0.12) !important; }
.gateway-item[data-brand="applepay"]:hover { border-color: #000000 !important; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important; }
.gateway-item[data-brand="etransfer"]:hover { border-color: #f15a29 !important; box-shadow: 0 10px 25px rgba(241, 90, 41, 0.12) !important; }
.gateway-item[data-brand="revolut"]:hover { border-color: #0070eb !important; box-shadow: 0 10px 25px rgba(0, 112, 235, 0.12) !important; }
.gateway-item[data-brand="googlepay"]:hover { border-color: #4285f4 !important; box-shadow: 0 10px 25px rgba(66, 133, 244, 0.12) !important; }
.gateway-item[data-brand="alipay"]:hover { border-color: #1677ff !important; box-shadow: 0 10px 25px rgba(22, 119, 255, 0.12) !important; }
.gateway-item[data-brand="bank"]:hover { border-color: #4f5b66 !important; box-shadow: 0 10px 25px rgba(79, 91, 102, 0.12) !important; }
.gateway-item[data-brand="giftcards"]:hover { border-color: #ff9900 !important; box-shadow: 0 10px 25px rgba(255, 153, 0, 0.12) !important; }

/* Ecosystem Section styling */
.ecosystem-section {
    padding: 6rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.ecosystem-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.015);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.ecosystem-card:hover::before {
    transform: scaleX(1);
}
.ecosystem-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.06);
    background: var(--white);
}
.ecosystem-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 148, 136, 0.06);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    transition: all 0.25s ease;
}
.ecosystem-card:hover .ecosystem-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}
.ecosystem-card h3 {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.ecosystem-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex: 1;
}
.ecosystem-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.ecosystem-link i {
    transition: transform 0.25s ease;
}
.ecosystem-card:hover .ecosystem-link i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .ecosystem-card {
        padding: 2rem 1.5rem;
    }
}

/* Payment logo helper */
.payment-logo {
    width: auto;
    height: 32px;
    max-height: 32px;
    max-width: 80px;
    display: block;
    margin: 0;
    transition: transform 0.3s ease;
}
.gateway-item:hover .payment-logo {
    transform: scale(1.06);
}

/* Premium Features Grid Section */
.premium-features-section {
    padding: 4rem 0;
    background: var(--bg-dark);
}
.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.premium-feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.premium-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.04);
    border-color: var(--primary-light);
}
.p-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}
.premium-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.premium-feature-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .premium-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
