/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Clarika, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
        "Noto Sans", sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #fff;
    color: #333;
}

/* Fonts */
@font-face {
    font-family: Clarika;
    src: url(/distribution-map/assets/font/clarika/ClarikaGeoRegular.woff2);
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Clarika;
    src: url(/distribution-map/assets/font/clarika/ClarikaGeoMedium.woff2);
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Clarika;
    src: url(/distribution-map/assets/font/clarika/ClarikaGeoDemiBold.woff2);
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: Clarika;
    src: url(/distribution-map/assets/font/clarika/ClarikaGeoBold.woff2);
    font-weight: 700;
    font-display: swap;
}

/* CTA button (used by navbar) */
.cta-btn {
    background-color: #0286fb;
    color: #fff;
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    box-shadow:
        6px 6px 14px rgba(2, 134, 251, 0.35),
        -3px -3px 10px rgba(255, 255, 255, 0.7),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    background-color: #0270d4;
    color: #fff;
    box-shadow:
        4px 4px 10px rgba(2, 134, 251, 0.3),
        -2px -2px 8px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

.telegram-icon {
    vertical-align: middle;
    margin-right: 2px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.section {
    padding-top: 120px;
    margin-bottom: 30px;
    text-align: center;
    overflow: hidden;
}

.section h1 {
    text-align: center;
    margin-bottom: 0;
}

.section > p {
    margin-bottom: 50px;
    text-align: center;
}

/* Packages */
.packages {
    border: 2px dashed #ededed;
    border-radius: 20px;
    padding: 10px 20px 30px;
    margin-top: 30px;
}

.list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.package-card {
    border-radius: 20px;
    margin: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 4px solid #dbdbdb;
    box-shadow:
        0.3px 0.4px 0.3px rgba(0, 0, 0, 0.018),
        0.9px 1.3px 1.1px rgba(0, 0, 0, 0.022),
        4px 6px 5px rgba(0, 0, 0, 0.03);
    cursor: default;
    transition: all .1s ease-in-out;
    text-align: left;
    padding-bottom: 40px;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.package-card:hover {
    transform: scale(1.02);
    box-shadow:
        0.3px 0.4px 0.3px rgba(0, 0, 0, 0.028),
        0.9px 1.3px 1.1px rgba(0, 0, 0, 0.042),
        4px 6px 5px rgba(0, 0, 0, 0.07);
}

.package-card.active {
    border-color: #6db9ff;
    transform: scale(1.05);
}

.package-card.active:hover {
    transform: scale(1.07);
}

.lite {
    background: rgb(250, 250, 250);
    background: linear-gradient(349deg, rgba(250, 250, 250, 1) 0%, rgba(250, 250, 250, 1) 48%, rgba(209, 209, 209, 1) 100%);
}

.monthly {
    background: rgb(250, 250, 250);
    background: linear-gradient(349deg, rgba(250, 250, 250, 1) 0%, rgba(250, 250, 250, 1) 48%, rgba(252, 176, 69, 1) 100%);
}

.monthly::before {
    content: '🔥';
    position: absolute;
    left: 5%;
    top: -10px;
    rotate: 5deg;
    transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
    opacity: 0.2;
    font-size: 7rem;
}

.ribbon {
    display: block;
    background-color: #fff;
    position: absolute;
    font-weight: bold;
    rotate: -20deg;
    padding: 0 10px;
    padding-right: 25px;
    right: -15px;
    bottom: -10px;
    width: 300px;
    text-align: right;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.08);
}

.packageTitle {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.packagePrice {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    width: 200px;
    margin: 10px auto 25px;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.9px);
    -webkit-backdrop-filter: blur(10.9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.packageFeatures ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
}

.packageFeatures li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.packageFeatures li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.feature-text {
    border-bottom: 1px dashed transparent;
    transition: border-color 0.2s;
}

.feature-text:hover {
    border-bottom: 1px dashed #aaa;
}

/* CSS Tooltip */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    background: #222;
    color: #eee;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    margin-bottom: 8px;
    z-index: 10;
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* Buttons */
.action-area {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #0286fb;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-weight: 600;
    box-shadow:
        6px 6px 14px rgba(2, 134, 251, 0.35),
        -3px -3px 10px rgba(255, 255, 255, 0.7),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #0270d4;
    color: #fff;
    box-shadow:
        4px 4px 10px rgba(2, 134, 251, 0.3),
        -2px -2px 8px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

.btn-pro {
    background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
    background-size: 300% 300%;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-weight: 600;
    animation: animatedgradient 3s ease infinite alternate;
    box-shadow:
        6px 6px 14px rgba(0, 0, 0, 0.15),
        -3px -3px 10px rgba(255, 255, 255, 0.7),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.btn-pro:hover {
    color: #fff;
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.12),
        -2px -2px 8px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

.arrow {
    font-size: 0.8rem;
    margin-left: 4px;
}

.smallText {
    font-size: 0.8rem;
    margin-top: 10px;
    color: rgba(107, 114, 128, 1);
    text-align: center;
    margin-bottom: 0;
}

.acceptedPayment {
    display: block;
    height: 12px;
    margin: 20px auto 0;
}

/* FAQ */
.faqSection {
    padding: 60px 0 30px;
    background: #fff;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

.faqSection h2 {
    font-size: 2.15rem;
    font-weight: 400;
    color: #2d3748;
    text-align: center;
    margin-bottom: 8px;
}

.faqSummary {
    font-size: 1.1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 36px;
}

.faqGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.faqItem h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
}

.faqItem p {
    font-size: 1rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.faqItem a {
    color: #4692da;
    text-decoration: none;
}

/* Language switcher */
.lang-switcher {
    text-align: center;
}

.lang-switcher p {
    display: inline;
    margin-right: 8px;
    color: #6c757d;
    font-size: 14px;
}

.lang-btn {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    text-decoration: none;
    margin: 3px 2px;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}

.lang-btn:hover {
    border-color: #0286fb;
    color: #0286fb;
    background: #f0f8ff;
}

/* Animations */
@keyframes animatedgradient {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Responsive */
@media only screen and (max-width: 800px) {
    .list {
        flex-direction: column;
        align-items: center;
    }

    .package-card,
    .package-card.active {
        transform: scale(1);
        margin-left: 0;
        width: 100%;
    }

    .package-card:hover,
    .package-card.active:hover {
        transform: scale(1.02);
    }

    .acceptedPayment {
        height: auto;
        width: 100%;
    }

    .packagePrice {
        backdrop-filter: initial;
        -webkit-backdrop-filter: initial;
    }
}

@media screen and (max-width: 768px) {
    .faqGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media only screen and (max-width: 767.5px) {
    .btn {
        width: 100%;
        display: block;
        text-align: center;
    }
}
