:root {
    --electric-blue: #0022FF;
    --electric-blue-hover: #0019CC;
    --text-dark: #0B0E14;
    --text-grey: #6B7280;
    --bg-white: #FFFFFF;
    --bg-offwhite: #FFFFFF;
    --badge-bg: #EAEBFF;
    --track-bg: #E5E7EB;
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-white);
    font-family: var(--font-main);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
}

/* Base Buttons */
.btn {
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-main);
    text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background-color: var(--electric-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--electric-blue-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid #D1D5DB;
}

.btn-outline:hover {
    background-color: #F9FAFB;
    border-color: var(--text-dark);
}

.full-width { width: 100%; }

/* HEADER & NAVIGATION */
.header {
    border-bottom: 1px solid #F3F4F6;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 120px; 
}

.desktop-logo { display: none !important; }

.mobile-logo {
    display: block !important;
    height: 32px;
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
}

.icon-globe-svg {
    width: 22px;
    height: 22px;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.2s ease;
    display: block;
}

.icon-globe-svg:hover { color: var(--electric-blue); }

.desktop-nav { display: none; gap: 2.5rem; }

.desktop-nav a {
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.desktop-nav a:hover { color: var(--electric-blue); }

/* MAIN CONTENT */
.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    padding-bottom: 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.badge {
    display: inline-block;
    background-color: var(--badge-bg);
    color: var(--electric-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.headline {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.highlight { color: var(--electric-blue); }

.description {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.scarcity-meter { max-width: 500px; }

.scarcity-text {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 0.8rem;
}

.count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--electric-blue);
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: var(--track-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--electric-blue);
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 1;
}

.page-section { 
    padding: 4rem 0; 
    scroll-margin-top: 90px; /* Prevents the sticky header from hiding the section title */
}

.bg-light-grey {
    background-color: #F9FAFB;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.rounded-section { border-radius: 30px; }

.section-badge {
    display: inline-block;
    border: 1px solid #D1D5DB;
    color: var(--electric-blue);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 600px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.phone-mockup-large {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.phone-mockup-large img {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.feature-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* 1. PAY DIRECTLY (COIN SYSTEM) */
.floating-coins-container {
    position: relative;
    display: inline-block;
    margin-top: 2rem;
}

.main-phone {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.15));
}

.floating-coin {
    position: absolute;
    z-index: 3;
    width: 80px; 
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

@keyframes float-coin {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -15px, 0) rotate(5deg); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.coin-pos-1 { top: 5%; right: -15%; animation: float-coin 4s ease-in-out infinite; }
.coin-pos-2 { top: 30%; left: -20%; animation: float-coin 5s ease-in-out infinite 1s; width: 60px; }
.coin-pos-3 { bottom: 25%; left: -15%; animation: float-coin 4.5s ease-in-out infinite 0.5s; width: 90px; }
.coin-pos-4 { bottom: 5%; right: -10%; animation: float-coin 5.5s ease-in-out infinite 1.5s; }

/* =========================================
   GET YOUR CARD TODAY (BADGE SYSTEM)
   ========================================= */

.card-phone-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.floating-badge {
    position: absolute;
    width: 120px; /* Base size for the badges */
    height: auto;
    z-index: 3;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    animation: float-light 6s ease-in-out infinite;
}

/* Specific Badge Placement */
.badge-1 { /* Google Pay - Top Left */
    top: 15%; 
    left: -40%; 
    animation-delay: 0s; 
}
.badge-2 { /* ATM - Top Right */
    top: 5%; 
    right: -30%; 
    animation-delay: 1.5s; 
}
.badge-3 { /* Apple Pay - Bottom Right */
    bottom: 25%; 
    right: -25%; 
    animation-delay: 3s; 
}

/* =========================================
   SPEND WITHOUT LIMITS (SCATTERED TRANSACTIONS)
   ========================================= */

.transaction-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px; 
    margin: 0 auto;
}

.base-phone-tx {
    width: 100%;
    height: auto;
    z-index: 2; /* Sandwiched in the middle for depth */
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.15));
}

/* Base styling for the scattered transactions */
.floating-tx {
    position: absolute;
    width: 85%; /* Proportional scaling relative to the phone */
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
    animation: float-light 6s ease-in-out infinite;
}

/* Very light, premium breathing animation shared by badges and tx */
@keyframes float-light {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -12px, 0) scale(1.02); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Organic placement around the phone */
.tx-1 { 
    top: 25%; 
    right: -25%; 
    z-index: 3; /* Floating in front */
    animation-delay: 0s; 
}
.tx-2 { 
    top: 45%; 
    left: -35%; 
    z-index: 1; /* Tucked behind the phone for 3D depth */
    animation-delay: 2s; 
}
.tx-3 { 
    bottom: 15%; 
    right: -15%; 
    z-index: 3; /* Floating in front */
    animation-delay: 4s; 
}

/* Mobile Safeguards */
@media (max-width: 767px) {
    .badge-1 { left: -10%; }
    .badge-2 { right: -10%; }
    .badge-3 { right: -5%; }
    .floating-badge { width: 90px; }
    
    .tx-1 { right: -10%; }
    .tx-2 { left: -10%; }
    .tx-3 { right: -5%; }
    .floating-tx { width: 80%; }
}

/* STEPS & FEATURES */
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.highlight-card { 
    background: #F4F5F8; /* Matched to the deeper grey in the screenshot */
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--electric-blue);
    line-height: 1;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--badge-bg);
    color: var(--electric-blue);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.step-desc {
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1.6;
}

/* Vertical Tag Stack for the Highlight Card */
.tag-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 1.5rem 0 2rem 0;
    flex-grow: 1;
}

.mini-tag {
    background: var(--bg-white);
    padding: 0.6rem 1rem;
    border-radius: 8px; /* Sharper corners to match screenshot */
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    color: var(--text-grey);
}

.mini-tag svg {
    color: var(--electric-blue);
}

.highlight-card .btn {
    margin-top: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-visual-wrap {
    height: 120px; 
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.transparent-bg { background: transparent !important; }

.feature-visual-wrap img {
    height: 100%;
    width: auto;
    max-width: 120px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--text-grey);
    font-size: 0.95rem;
}

/* =========================================
   PRICING
   ========================================= */
.pricing-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    margin-top: 3rem;
}

.pricing-card {
    background: #F9FAFB;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.premium-card {
    background: var(--bg-white);
    border: 1px solid #E5E7EB; /* Clean, subtle grey border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); /* Same flat shadow as the rest */
}

.pricing-visual {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.card-visual-shadow img {
    height: 100%;
    width: auto;
    border-radius: 12px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1)); 
}

/* Combined Modern Title & Badge */
.pricing-title {
    display: flex;
    align-items: center;
    gap: 0.75rem; 
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.tier-badge-modern {
    background: #EAEBFF; /* Soft tint blue */
    color: #0500FF; /* Trust Wallet Blue */
    padding: 0.35rem 0.8rem;
    border-radius: 20px; /* Perfect pill shape */
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pricing-desc {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--track-bg);
    padding-bottom: 2rem;
    width: 100%;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--text-dark);
}

.price-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-grey);
}

.pricing-features {
    list-style: none;
    width: 100%;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-grey);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.pricing-features li::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 6L9 17L4 12" stroke="%230022FF" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn { margin-top: auto; }


/* =========================================
   METAL CARD - TRUE PREMIUM STYLING
   ========================================= */
.super-premium-card {
    background: var(--text-dark); /* Sleek dark background */
    border: 1px solid #2C2C2C;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Force text to white/light grey inside the dark card */
.super-premium-card .pricing-title,
.super-premium-card .price-value,
.super-premium-card .price-currency {
    color: var(--bg-white);
}

.super-premium-card .pricing-desc,
.super-premium-card .price-period,
.super-premium-card .pricing-features li {
    color: #9CA3AF; /* Professional slate grey for readability */
}

/* Change the checkmarks to Trust Wallet Green for high contrast */
.super-premium-card .pricing-features li::before {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 6L9 17L4 12" stroke="%2348FF91" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* Invert the button so it pops against the dark background */
.super-premium-card .btn-primary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--bg-white);
}

.super-premium-card .btn-primary:hover {
    background: #EAEBFF; /* Subtle tint on hover */
    color: var(--electric-blue);
}

/* Make the Metal card slightly larger on desktop to assert dominance */
@media (min-width: 1024px) {
    .super-premium-card {
        transform: scale(1.04);
        z-index: 2;
    }
    .super-premium-card:hover {
        transform: translateY(-5px) scale(1.04);
    }
}


/* FAQ Accordion */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #F9FAFB;
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-icon {
    color: var(--electric-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-grey);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 250px;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

/* NEW CTA HIGHFIVE SECTION */
.cta-highfive-section {
    background-color: var(--electric-blue);
    border-radius: 30px;
    max-width: var(--max-width);
    margin: 0 auto 4rem auto;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    color: var(--bg-white);
}

.cta-highfive-content { flex: 1; }

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    max-width: 400px;
}

.btn-outline-white {
    background: transparent;
    color: var(--bg-white);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 30px;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--bg-white);
}

.cta-highfive-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-highfive-visual img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* FOOTER SECTION */
.site-footer {
    background-color: #F4F5F7;
    padding: 4rem 1.5rem;
    margin-bottom: 80px; 
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-social {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-social h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    border-radius: 8px;
    transition: transform 0.2s ease, background-color 0.2s;
}

.social-icons a:hover {
    transform: translateY(-2px);
    background-color: var(--electric-blue);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.footer-column a {
    text-decoration: none;
    color: var(--text-grey);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-column a:hover { color: var(--electric-blue); }

.badges-column { flex-direction: row; gap: 1rem; }
.iso-badge { height: 60px; width: auto; }

.footer-downloads { text-align: center; }

.footer-downloads h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-downloads p {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.download-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-download {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 320px;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--electric-blue);
    border-radius: 30px;
    color: var(--electric-blue);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-download:hover { background-color: var(--badge-bg); }

.footer-logo-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.footer-inline-logo { height: 50px; width: auto; }

/* Bottom Nav (Mobile) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #F3F4F6;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-grey);
    font-size: 0.75rem;
    font-weight: 500;
    gap: 0.3rem;
}

.nav-item.active { color: var(--electric-blue); }
.nav-icon { font-size: 1.5rem; }

.desktop-only { display: none; }
.mobile-only { display: block; }

/* =========================================
   RESPONSIVE DESIGN (TABLET & DESKTOP)
   ========================================= */

@media (max-width: 767px) {
    /* Mobile constraint for the transaction stack to stop horizontal overflow */
    .transaction-stack {
        right: -10%;
        width: 90%;
    }
}

@media (min-width: 768px) {
    .mobile-logo { display: none !important; }
    .desktop-logo {
        display: block !important;
        height: 36px;
        width: auto;
        object-fit: contain;
        margin: 0;
    }
    
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .headline { font-size: 4rem; }
    .actions { flex-direction: row; }
    .btn { flex: 0 1 auto; min-width: 160px; }

    .bg-light-grey {
        margin-left: 0;
        margin-right: 0;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    /* Alternating Rhythm Layout logic */
    .feature-split {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .feature-text-left { flex: 1; padding-right: 2rem; }
    .feature-visual-right { flex: 1; display: flex; justify-content: center; }

    /* Flips the structure so the visual is on the left */
    .feature-split.reverse {
        flex-direction: row-reverse;
    }
    
    .feature-split.reverse .feature-text-left {
        padding-right: 0;
        padding-left: 4rem;
    }

    .steps-grid, .features-grid, .pricing-container {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }

    .cta-highfive-section {
        flex-direction: row;
        text-align: left;
        padding: 4rem 6rem;
    }
    
    .cta-highfive-visual { justify-content: flex-end; }
    .footer-links-grid { grid-template-columns: repeat(3, 1fr); }
    .badges-column { flex-direction: column; }

    .download-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-download { width: auto; min-width: 260px; }

    .bottom-nav { display: none; }
    .site-footer { margin-bottom: 0; }
    .desktop-nav { display: flex; }
    .desktop-only { display: inline-flex; }
    .mobile-only { display: none; }
}

@media (min-width: 1024px) {
    .hero-grid { gap: 6rem; }
    .headline { font-size: 4.5rem; }
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    .features-grid.six-features { grid-template-columns: repeat(3, 1fr); }
    .pricing-container.grid-pricing { grid-template-columns: repeat(3, 1fr); }
    
    .coin-pos-2 { left: -30%; }
    .coin-pos-1 { right: -25%; }

    .footer-links-grid {
        grid-template-columns: repeat(5, 1fr) auto;
    }
}

/* ADDITIVE PERFORMANCE FIX: Hardware acceleration for floating animations */
.floating-badge, 
.floating-tx, 
.floating-coin {
    will-change: transform;
    transform: translateZ(0); /* Offloads rendering to the GPU */
    backface-visibility: hidden;
}

/* TRUST STATS SECTION STYLES */
.trust-stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    width: 100%;
}

.trust-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.stat-title {
    color: var(--text-dark);
}

.stat-value {
    color: var(--electric-blue);
}

.top-reviews {
    margin-top: 0.5rem;
}

.stars {
    color: var(--electric-blue);
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .trust-stats-row {
        gap: 4rem;
    }
}


/* =========================================
   PERFECT MOBILE CAROUSEL & UI POLISH
   ========================================= */
@media (max-width: 767px) {
    /* 1. Hero Visual (Restored & Polished) */
    .hero-visual-block { 
        display: flex; 
        justify-content: center;
        margin-top: 1rem; 
        width: 100%;
    }
    .hero-main-image {
        width: 100%;
        max-width: 280px; 
        height: auto;
        filter: drop-shadow(0 15px 35px rgba(0,0,0,0.15)); 
    }
    
    /* 2. Typography & Spacing */
    .headline { font-size: 2.5rem; line-height: 1.1; letter-spacing: -1px; }
    .section-title { font-size: 2.2rem; line-height: 1.15; }
    .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
    .main-container { padding: 1.5rem 1.2rem; }
    
    /* 3. The Premium Mobile Carousel */
    .pricing-container.grid-pricing {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1.2rem;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        padding: 2rem 5vw 3rem 5vw;
        scroll-padding-left: 5vw; /* Perfectly aligns the first card on snap */
        scrollbar-width: none; 
    }
    .pricing-container.grid-pricing::-webkit-scrollbar { display: none; }
    
    /* 4. The Card UI */
    .pricing-card {
        flex: 0 0 88vw; /* Slightly wider, leaves exactly 12% for the next card to peek */
        scroll-snap-align: start; /* Snaps firmly to the left edge */
        padding: 2.2rem 1.8rem; /* Premium, airy padding */
        margin: 0;
        max-width: none;
        border-radius: 32px; /* Super smooth Apple-style corners */
        display: flex;
        flex-direction: column;
    }

    .pricing-visual {
        height: auto !important;
        min-height: 180px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2rem; /* More breathing room */
    }
    .pricing-visual img {
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: contain !important;
        flex-shrink: 0; 
        filter: drop-shadow(0 12px 24px rgba(0,0,0,0.12)); /* Adds native depth to the card images */
    }

    /* 5. Mobile Typography Tuning */
    .pricing-title { font-size: 1.6rem; margin-bottom: 0.8rem; }
    .pricing-desc { font-size: 1rem; margin-bottom: 1.5rem; }
    .price-value { font-size: 2.8rem; }
    .pricing-features { margin-bottom: 2rem; }
    .pricing-features li { font-size: 1rem; margin-bottom: 1.2rem; }

    /* Prevent hover jitters on touch screens */
    .pricing-card:hover { transform: none !important; box-shadow: none !important; }

    /* 6. Touch Targets */
    .btn { padding: 1.2rem 1.5rem; width: 100%; justify-content: center; font-size: 1.05rem; border-radius: 100px; }
}


/* =========================================
   PREMIUM WALLET CONNECTION MODAL
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 14, 20, 0.5); /* Slightly darker for better focus */
    backdrop-filter: blur(8px); /* Sleek glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #FFFFFF;
    width: 100%;
    max-width: 440px;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-close {
    background: #F3F4F6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    background: #E5E7EB;
    transform: scale(1.05);
}

.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    flex-grow: 1;
    margin-right: 36px; /* Offsets the close button for true centering */
}

/* Modal Steps List */
.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.modal-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #9CA3AF;
}

.modal-step.active {
    background: var(--badge-bg); 
    color: var(--electric-blue);
}

.step-circle {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    flex-shrink: 0;
}

.step-circle.active-circle {
    border: none;
    background: var(--electric-blue);
    box-shadow: 0 0 0 4px rgba(5, 0, 255, 0.15);
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Network Buttons */
.network-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.network-btn {
    display: flex;
    align-items: center;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.network-btn:hover {
    border-color: var(--electric-blue);
    background: #F9FAFB;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(5, 0, 255, 0.08);
}

.network-btn:active {
    transform: translateY(0);
}



.network-icon {
    width: 42px; 
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
    /* Global padding removed to control each icon individually below */
    box-sizing: border-box; 
}

.network-icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    display: block;
}

/* Base backgrounds and precise icon sizing */
.eth-bg { 
    background: #FFFFFF; /* Fixed: Changed from gray to white */
    border: 1px solid #E5E7EB; 
    padding: 8px; /* Perfect spacing for the ETH diamond */
}

.bnb-bg { 
    background: #F3BA2F; 
    border: 1px solid transparent; /* Keeps border-box math identical to others */
    padding: 2px; /* Fixed: Reduced padding to zoom the BNB logo in */
} 

.tron-bg { 
    background: #FFFFFF; 
    border: 1px solid #E5E7EB; 
    padding: 8px; /* Fixed: Centers and scales the Tron logo correctly */
}
.network-btn * {
    pointer-events: none;
}



.network-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.network-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.network-action {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
}

.network-arrow {
    color: #9CA3AF;
    transition: transform 0.2s, color 0.2s;
}

.network-btn:hover .network-arrow {
    transform: translateX(4px);
    color: var(--electric-blue);
}

.modal-footer-text {
    text-align: center;
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 500;
}


/* =========================================
   HERO IMAGE DISPLAY LOGIC & SPACING (FIXED)
   ========================================= */
/* 1. Make the white background transparent */
.blend-image {
    mix-blend-mode: multiply; 
    filter: none !important; 
}

/* 2. DESKTOP (PC) VIEW */
@media (min-width: 768px) {
    /* Kill the mobile image so you don't see two! */
    .mobile-only-visual { 
        display: none !important; 
    }
    /* Ensure the desktop image shows up perfectly on the right */
    .desktop-only-visual { 
        display: flex; 
        justify-content: center;
        align-items: center;
    }
}

/* 3. MOBILE VIEW */
@media (max-width: 767px) {
    /* Kill the desktop image so it doesn't double up */
    .desktop-only-visual { 
        display: none !important; 
    }
    
    /* Show and position the mobile image perfectly under the title */
    .mobile-only-visual {
        display: flex;
        justify-content: center;
        margin: -0.5rem 0 1rem 0 !important; 
        width: 100%;
    }
    
    /* Make the mobile image slightly smaller */
    .mobile-only-visual .hero-main-image {
        max-width: 240px !important;
        height: auto;
    }

    /* Tighten up all the vertical spacing */
    .headline { margin-bottom: 0 !important; }
    .description { margin-bottom: 1.5rem !important; font-size: 1rem; }
    .actions { margin-bottom: 1.8rem !important; }
}

/* =========================================
   TIGHTER MOBILE HERO SPACING
   ========================================= */
@media (max-width: 767px) {
    /* Removes all bottom margin from the title */
    .headline {
        margin-bottom: 0 !important; 
    }

    /* Negative top margin (-0.5rem) pulls the image up even closer to the text */
    .mobile-only-visual {
        margin: -0.5rem 0 1rem 0 !important; 
    }
    
    /* Makes the hero image a bit smaller (reduced from 280px to 240px) */
    .mobile-only-visual .hero-main-image {
        max-width: 240px !important;
    }

    /* Brings the description text up higher */
    .description {
        margin-bottom: 1.5rem !important; 
        font-size: 1rem;
    }

    /* Brings the "Get Card" buttons and scarcity meter right into immediate view */
    .actions {
        margin-bottom: 1.8rem !important; 
    }
}

/* =========================================
   MODAL MOBILE OPTIMIZATIONS
   ========================================= */
@media (max-width: 767px) {
    .modal-overlay {
        padding: 0.8rem; /* Maximizes available screen space */
        align-items: flex-end; /* Snaps the modal toward the bottom for easier thumb reach */
    }
    
    .modal-container {
        padding: 1.5rem 1.2rem; /* Reduces thick desktop padding */
        border-radius: 24px;
        max-height: 90vh; /* Failsafe: Forces modal to stay within the screen height */
        overflow-y: auto; /* Allows scrolling inside the modal if the screen is super tiny */
        transform: translateY(100%); /* Updates entry animation for bottom-snap */
    }

    .modal-overlay.show .modal-container {
        transform: translateY(0) scale(1);
    }

    .modal-header {
        margin-bottom: 1.2rem;
    }

    .modal-header h2 {
        font-size: 1.2rem; /* Slightly smaller title */
    }

    /* Shrink the Steps Tracker */
    .modal-steps {
        gap: 0.4rem; 
        margin-bottom: 1.2rem;
    }

    .modal-step {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .step-circle {
        width: 18px; 
        height: 18px;
    }

    .modal-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    /* Compress the Crypto Buttons */
    .network-list {
        gap: 0.6rem; 
        margin-bottom: 1.2rem;
    }

    .network-btn {
        padding: 0.8rem 1rem;
        border-radius: 16px;
    }

    /* Scale down the icons proportionally */
    .network-icon {
        width: 36px;
        height: 36px;
        margin-right: 1rem;
    }
    
    /* Adjusted padding to keep our previous ETH/BNB/TRON centering perfect at the new smaller size */
    .eth-bg { padding: 6px; }
    .bnb-bg { padding: 2px; }
    .tron-bg { padding: 6px 4px 6px 8px; }

    .network-name {
        font-size: 1rem;
    }

    .network-action {
        font-size: 0.75rem;
    }

    .modal-footer-text {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
}

/* =========================================
   LANGUAGE SWITCHER
   ========================================= */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid #E5E7EB;
    border-radius: 30px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-trigger:hover,
.lang-trigger.active {
    border-color: var(--electric-blue);
    color: var(--electric-blue);
    background: #EAEBFF;
}

.lang-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.lang-trigger.active .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    padding: 6px;
    min-width: 160px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.lang-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.15s ease, color 0.15s ease;
    text-align: left;
}

.lang-option:hover {
    background: #F3F4F6;
    color: var(--electric-blue);
}

.lang-option.active {
    background: #EAEBFF;
    color: var(--electric-blue);
    font-weight: 700;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}