/* ============================================================
   BLACKBEARD PAYMENTS — LANDING PAGE STYLES
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --navy: #0a1628;
    --navy-light: #0f2041;
    --navy-mid: #132a4f;
    --blue-deep: #1a3a6b;
    --blue-royal: #1d4ed8;
    --gold: #f5a623;
    --gold-light: #ffc857;
    --gold-dark: #d4891a;
    --teal: #26a69a;
    --white: #ffffff;
    --gray-100: #f7f8fa;
    --gray-200: #e8ebf0;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --font-primary: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(245, 166, 35, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

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

.text-gold {
    color: var(--gold);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 166, 35, 0.3); }
    50% { box-shadow: 0 0 25px rgba(245, 166, 35, 0.6); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}



.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   BUTTON COMPONENT
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn__arrow {
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 166, 35, 0.1);
    transition: background var(--transition);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.header__logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header__brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.header__sub {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.6rem;
    color: var(--gray-300);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-300);
    transition: color var(--transition);
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.header__link:hover {
    color: var(--white);
}

.header__link:hover::after {
    width: 100%;
}

.header__link--cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
}

.header__link--cta::after {
    display: none;
}

.header__link--cta:hover {
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    transform: translateY(-1px);
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--transition);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   SECTION 1: HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    opacity: 0.55;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.3) 50%, rgba(10, 22, 40, 0.5) 100%),
        linear-gradient(180deg, rgba(10, 22, 40, 0.4) 0%, rgba(10, 22, 40, 0.1) 40%, rgba(10, 22, 40, 0.7) 100%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 120px 24px 80px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
}

.hero__main-logo {
    max-width: 300px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
    display: block;
}

.hero__title {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero__highlight {
    color: var(--gold);
    position: relative;
}

.hero__cta {
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding: 18px 42px;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-300);
    font-weight: 400;
}

.footer__trust-group {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__supervised {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.footer__supervised-text {
    font-size: 0.85rem;
    color: var(--gray-300);
    font-family: var(--font-body);
    font-weight: 500;
}

.footer__supervised-logo {
    height: 48px;
    object-fit: contain;
}

/* ============================================================
   SECTION 2: SERVICES
   ============================================================ */
.services {
    background: var(--gray-100);
    padding: 100px 0;
    position: relative;
}

.services__title {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--navy);
    text-align: center;
    margin-bottom: 50px;
}

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

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

.service-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(245, 166, 35, 0.08);
}

.service-card__name {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy);
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Entity Badges (bank/wallet logos) */
.service-card__logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 88px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card__logos.expanded {
    max-height: 600px;
}

.service-card__logos--settlement {
    max-height: none;
}

.logos-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--gold);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.logos-toggle:hover {
    background: rgba(245, 166, 35, 0.08);
}

.logos-toggle__arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.logos-toggle.expanded .logos-toggle__arrow {
    transform: rotate(180deg);
}

.entity-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    overflow: hidden;
}

.entity-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.entity-badge img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.entity-badge span {
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--navy);
    white-space: nowrap;
}

/* Individual entity colors — backgrounds match icon brand colors */
.entity-badge--bcp { background: #003DA5; border-color: #003DA5; }
.entity-badge--bcp span { color: var(--white); }
.entity-badge--interbank { background: #00843D; border-color: #00843D; }
.entity-badge--interbank span { color: var(--white); }
.entity-badge--scotiabank { background: #EC111A; border-color: #EC111A; }
.entity-badge--scotiabank span { color: var(--white); }
.entity-badge--bbva { background: #004481; border-color: #004481; }
.entity-badge--bbva span { color: var(--white); }
.entity-badge--banconacion { background: #1B3A5C; border-color: #1B3A5C; }
.entity-badge--banconacion span { color: var(--white); }
.entity-badge--pichincha { background: #FFD100; border-color: #FFD100; }
.entity-badge--pichincha span { color: #1a1a1a; }
.entity-badge--banbif { background: #005E3A; border-color: #005E3A; }
.entity-badge--banbif span { color: var(--white); }
.entity-badge--mibanco { background: #0072CE; border-color: #0072CE; }
.entity-badge--mibanco span { color: var(--white); }
.entity-badge--crediscotia { background: #C8102E; border-color: #C8102E; }
.entity-badge--crediscotia span { color: var(--white); }
.entity-badge--gnb { background: #0D2240; border-color: #0D2240; }
.entity-badge--gnb span { color: var(--white); }
.entity-badge--falabella { background: #B5D333; border-color: #B5D333; }
.entity-badge--falabella span { color: #1a1a1a; }
.entity-badge--ripley { background: #6B2D8B; border-color: #6B2D8B; }
.entity-badge--ripley span { color: var(--white); }
.entity-badge--alfin { background: #1E3A5F; border-color: #1E3A5F; }
.entity-badge--alfin span { color: var(--white); }
.entity-badge--compartamos { background: #F26522; border-color: #F26522; }
.entity-badge--compartamos span { color: var(--white); }
.entity-badge--oh { background: #FF6600; border-color: #FF6600; }
.entity-badge--oh span { color: var(--white); }
.entity-badge--efectiva { background: #0B6623; border-color: #0B6623; }
.entity-badge--efectiva span { color: var(--white); }
.entity-badge--confianza { background: #2E7D32; border-color: #2E7D32; }
.entity-badge--confianza span { color: var(--white); }
.entity-badge--prexpe { background: #5C2D91; border-color: #5C2D91; }
.entity-badge--prexpe span { color: var(--white); }
.entity-badge--cajametro { background: #1A4C8B; border-color: #1A4C8B; }
.entity-badge--cajametro span { color: var(--white); }
.entity-badge--cajapiura { background: #00529B; border-color: #00529B; }
.entity-badge--cajapiura span { color: var(--white); }
.entity-badge--cajatrujillo { background: #8B1A1A; border-color: #8B1A1A; }
.entity-badge--cajatrujillo span { color: var(--white); }
.entity-badge--cmacarequipa { background: #7B1F3A; border-color: #7B1F3A; }
.entity-badge--cmacarequipa span { color: var(--white); }
.entity-badge--wayki { background: #00838F; border-color: #00838F; }
.entity-badge--wayki span { color: var(--white); }
.entity-badge--cajahuancayo { background: #E65100; border-color: #E65100; }
.entity-badge--cajahuancayo span { color: var(--white); }
.entity-badge--cajaica { background: #1B5E20; border-color: #1B5E20; }
.entity-badge--cajaica span { color: var(--white); }
.entity-badge--cajalosandes { background: #5D4037; border-color: #5D4037; }
.entity-badge--cajalosandes span { color: var(--white); }
.entity-badge--yape { background: #7B2D8D; border-color: #7B2D8D; }
.entity-badge--yape span { color: var(--white); }
.entity-badge--plin { background: #00BFA5; border-color: #00BFA5; }
.entity-badge--plin span { color: var(--white); }
.entity-badge--ligo { background: #1565C0; border-color: #1565C0; }
.entity-badge--ligo span { color: var(--white); }
.entity-badge--dale { background: #FF8C00; border-color: #FF8C00; }
.entity-badge--dale span { color: var(--white); }
.entity-badge--default { background: var(--navy-light); border-color: rgba(255,255,255,0.12); }
.entity-badge--default span { color: var(--white); }

/* Settlement options */
.service-card__logos--settlement {
    grid-template-columns: repeat(2, 1fr);
}

.settlement-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    transition: all var(--transition);
}

.settlement-option:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.settlement-option img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.settlement-option span {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
}

/* Services CTA */
.services__cta {
    text-align: center;
    margin-top: 40px;
}

.services__tagline {
    margin-top: 16px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
}

/* ============================================================
   SECTION 3: INDUSTRIES
   ============================================================ */
.industries {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.industries::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: url('assets/images/network_map2.png') center/contain no-repeat;
    opacity: 0.04;
    pointer-events: none;
}

.industries__title {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--navy);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.2;
}

.industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.industry-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    cursor: default;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.industry-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    object-fit: contain;
}

.industry-card__label {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
}

.industries__footer {
    text-align: center;
}

.industries__logo {
    width: 140px;
    margin: 24px auto 0;
    opacity: 0.7;
}

/* ============================================================
   SECTION 4: MERCHANTS (WHY US)
   ============================================================ */
.merchants {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--navy);
}

.merchants__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.merchants__map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    opacity: 0.4;
}

.merchants__overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(10, 22, 40, 0.8) 0%, rgba(10, 22, 40, 0.3) 50%, rgba(10, 22, 40, 0.5) 100%),
        linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(10, 22, 40, 0.2) 50%, rgba(10, 22, 40, 0.7) 100%);
}

.merchants__content {
    position: relative;
    z-index: 2;
}

.merchants__title {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--white);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 24px;
}

.merchants__divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto 48px;
    border-radius: 2px;
}

.merchants__list {
    list-style: none;
    max-width: 580px;
    margin: 0 auto 48px;
}

.merchants__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.merchants__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0.08));
    border: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.merchants__cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ============================================================
   SECTION 5: PRICING
   ============================================================ */
.pricing {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0f2a5e 0%, #1a3a6b 40%, #0d255a 100%);
    color: var(--white);
}

.pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.pricing__title {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}

.pricing__country {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--navy);
}

.pricing-card__method {
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.pricing-card__sub {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.pricing-card__rate {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 2.8rem;
    color: var(--blue-deep);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-card__pct {
    font-size: 1.4rem;
}

.pricing-card__min {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Info card (Limits, Settlement) */
.pricing-card--info {
    padding-bottom: 20px;
}

.pricing-card__limits {
    list-style: none;
    padding: 0;
}

.pricing-card__limits li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card__limits li:last-child {
    border-bottom: none;
}

/* Pricing CTA */
.pricing__cta {
    text-align: center;
    position: relative;
}

.pricing__note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ============================================================
   SECTION 6: EXPANSION MAP
   ============================================================ */
.expansion {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    background: linear-gradient(160deg, #0d1f4a 0%, #162d5e 40%, #0a1a3e 100%);
}

.expansion__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.expansion__visual {
    max-width: 80%;
    margin: 0 auto;
}

.expansion__map-visual {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   SECTION 7: CONTACT FORM
   ============================================================ */
.contact {
    background: var(--gray-100);
    padding: 100px 0;
}

.contact__card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.contact__logo {
    width: 80px;
    margin: 0 auto 12px;
}

.contact__brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.contact__brand-name {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
    letter-spacing: 3px;
}

.contact__brand-sub {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.6rem;
    color: var(--gray-500);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.contact__title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--navy);
    margin-bottom: 32px;
    line-height: 1.3;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.contact__field input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.contact__field input::placeholder {
    color: var(--gray-500);
}

.contact__field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.contact__submit {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px 36px;
}

.contact__or {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.contact__socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.contact__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    transition: all var(--transition);
}

.contact__social:hover {
    transform: translateY(-3px) scale(1.1);
}

.contact__social svg {
    width: 48px;
    height: 48px;
}

.contact__reply {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: linear-gradient(160deg, #0d1f4a 0%, #162d5e 40%, #0a1a3e 100%);
    border-top: 1px solid rgba(245, 166, 35, 0.1);
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer__logo-col {
    flex-shrink: 0;
}

.footer__logo {
    width: 80px;
    height: auto;
}

.footer__divider {
    width: 1px;
    height: 80px;
    background: rgba(245, 166, 35, 0.3);
    flex-shrink: 0;
}

.footer__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--white);
    transition: color var(--transition);
}

a.footer__contact-item:hover {
    color: var(--gold);
}

.footer__icon {
    font-size: 1rem;
}

.footer__socials {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.footer__social {
    display: flex;
    align-items: center;
    transition: all var(--transition);
}

.footer__social:hover {
    transform: translateY(-2px);
}

.footer__social svg {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    padding: 20px 24px;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .industries__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    /* Header */
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
    }

    .header__nav.open {
        right: 0;
    }

    .header__burger {
        display: flex;
    }

    .header__link {
        font-size: 1.2rem;
    }

    .header__link--cta {
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    /* Services grid */
    .service-card__logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card__logos--settlement {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Industries */
    .industries__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* Pricing */
    .pricing__grid {
        grid-template-columns: 1fr;
    }

    /* Merchants */
    .merchants__item {
        font-size: 1rem;
    }

    /* Expansion */
    .expansion__visual {
        max-width: 100%;
    }

    /* Contact */
    .contact__card {
        padding: 40px 28px;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__divider {
        width: 60px;
        height: 1px;
    }

    .footer__row {
        justify-content: center;
    }

    .footer__socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__content {
        padding: 100px 20px 60px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .service-card {
        padding: 20px;
    }

    .entity-badge {
        padding: 8px 10px;
    }

    .entity-badge span {
        font-size: 0.7rem;
    }

    .industry-card {
        padding: 24px 16px;
    }

    .industry-card__icon {
        width: 48px;
        height: 48px;
    }

    .pricing-card {
        padding: 22px;
    }

    .pricing-card__rate {
        font-size: 2.2rem;
    }

    .contact__card {
        padding: 32px 20px;
    }

    .contact__social svg {
        width: 40px;
        height: 40px;
    }
}

/* ============================================================
   FLOATING SOCIAL BUTTONS
   ============================================================ */
.floating-btns {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-btns.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0;
    width: 56px;
    height: 56px;
    border-radius: 50px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    justify-content: center;
}

.floating-btn:hover {
    width: 170px;
    gap: 10px;
    padding-left: 16px;
    justify-content: flex-start;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.floating-btn--whatsapp {
    background: #25D366;
}

.floating-btn--whatsapp:hover {
    background: #20bd5a;
}

.floating-btn--telegram {
    background: #229ED9;
}

.floating-btn--telegram:hover {
    background: #1e8ec5;
}

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

.floating-btn__label {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    transition: all 0.3s ease;
}

.floating-btn:hover .floating-btn__label {
    opacity: 1;
    max-width: 100px;
}

/* Pulse ring on WhatsApp */
.floating-btn--whatsapp::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 22, 40, 0.85);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: var(--gold);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

/* ============================================================
   SECTION 6: EXPANSION MAP
   ============================================================ */
.expansion {
    background: var(--navy);
    padding: 20px 0; /* Add margin/padding so it's not stuck to other sections */
    position: relative;
    overflow: hidden;
}

.expansion__content {
    width: 95%;
    max-width: 1400px; /* Make the container very large */
    margin: 0 auto;
    padding: 0;
}

.expansion__visual {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.1);
}

.expansion__map-visual {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.45); /* Zoom in to crop out the empty dark borders */
    transform-origin: center center;
}

/* ============================================================
   ENHANCED ANIMATIONS
   ============================================================ */
/* Hero entrance animation */
.hero__title {
    animation: slideInLeft 0.8s ease 0.2s both;
}

.hero__cta {
    animation: scaleIn 0.6s ease 0.6s both;
}

.hero__subtitle {
    animation: fadeInUp 0.6s ease 0.9s both;
}

/* CTA pulse on hero */
.hero__cta {
    animation: scaleIn 0.6s ease 0.6s both;
    position: relative;
}

.hero__cta:hover {
    animation: none;
}

/* Staggered animation delays for cards */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.25s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.35s; }

/* Button shimmer on hover */
.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover::after {
    left: 120%;
}

/* Section divider glow lines */
.services::after,
.industries::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

.services,
.industries {
    position: relative;
}

/* Pricing card counter animation flavor */
.pricing-card__rate {
    transition: color 0.3s ease;
}

.pricing-card:hover .pricing-card__rate {
    color: var(--gold-dark);
}

/* Industry card icon hover */
.industry-card:hover .industry-card__icon {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* Expansion map subtle float */
.expansion__map-visual {
    animation: float 4s ease-in-out infinite;
}

/* Mobile floating buttons */
@media (max-width: 768px) {
    .floating-btns {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn:hover {
        width: 50px;
        padding-left: 0;
        justify-content: center;
        gap: 0;
    }

    .floating-btn:hover .floating-btn__label {
        display: none;
    }

    .scroll-top {
        bottom: 20px;
        left: 16px;
        width: 42px;
        height: 42px;
    }
}
