/**
 * Viozzo Country Category Template Styles
 * Theme Colors - viozzo.com/yeni
 * Primary: #007bff (Blue)
 * Background: #F4F7FF (Light Blue-White)
 * Text Primary: #222222 (Dark Gray)
 * Text Secondary: #4A4A4A (Medium Gray)
 * Divider: #E0E6F5 (Light Gray-Blue)
 */

/* ============================================================================
   CSS VARIABLES - THEME COLORS
   ============================================================================ */

:root {
    --viozzo-primary: #007bff;
    --viozzo-primary-dark: #0056b3;
    --viozzo-orange: #FF8400;
    --viozzo-orange-dark: #e67700;
    --viozzo-background: #F4F7FF;
    --viozzo-text-primary: #222222;
    --viozzo-text-secondary: #4A4A4A;
    --viozzo-divider: #E0E6F5;
    --viozzo-white: #ffffff;
    --viozzo-success: #28a745;
    --viozzo-hot: #cf2e2e;
}

/* ============================================================================
   HIDE WOOCOMMERCE DEFAULT ELEMENTS - Sadece kategori sayfalarında
   ============================================================================ */

/* Category başlığını gizle - SADECE kategori sayfalarında */
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_cat .page-title,
body.tax-product_cat h1.woocommerce-products-header__title {
    display: none !important;
}

body.tax-product_cat .woocommerce-products-header {
    display: none !important;
}

/* WooCommerce default ürün listesini gizle - NUCLEAR OPTION */
body.tax-product_cat .products,
body.tax-product_cat ul.products,
body.tax-product_cat .products.columns-4,
body.tax-product_cat ul.products.columns-4,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_cat .woocommerce-pagination,
body.tax-product_cat nav.woocommerce-pagination,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-notices-wrapper,
body.archive.tax-product_cat ul.products:not(.viozzo-country-category *),
body.tax-product_cat li.product,
body.tax-product_cat .type-product {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ============================================================================
   GLOBAL SECTION STYLING - FULL WIDTH BACKGROUND + FIXED CONTENT
   ============================================================================ */

/* Set background on body for full-width effect */
body.tax-product_cat {
    background: var(--viozzo-background, #F4F7FF);
}

.viozzo-country-category {
    color: var(--viozzo-text-primary);
    min-height: 100vh;
    padding-bottom: 100px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    /* Ensure sticky children can work */
    overflow: visible !important;
    transform: none !important;
}

/* ============================================================================
   MODERN HERO SECTION - HOMEPAGE INSPIRED WITH ANIMATIONS
   ============================================================================ */

.viozzo-hero-country {
    background: var(--viozzo-background);
    min-height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    width: 100%;
}

.hero-country-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--viozzo-background);
    opacity: 1;
    z-index: 1;
}

.hero-country-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-country-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 0.5fr;
    gap: 40px;
    align-items: center;
}

/* Sol taraf - Text Content */
.hero-country-text {
    color: var(--viozzo-text-primary);
    text-align: left;
}

/* Ülke Bayrağı + Badge */
.hero-country-badge {
    display: none;
}

.hero-country-badge .fi {
    display: none;
}

.hero-country-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--viozzo-text-primary);
    letter-spacing: -0.02em;
}

.hero-country-title .title-esim {
    background: linear-gradient(135deg, var(--viozzo-primary) 0%, #4da6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--viozzo-text-secondary);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-country-subtitle {
    display: none;
}

.hero-country-features {
    display: none;
}

.hero-feature {
    display: none;
}

.hero-feature i {
    display: none;
}

/* Sağ taraf - Animated QR Visual */
.hero-country-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
    transform: scale(0.65);
    margin-right: -40px;
}

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

/* Animated Globe/QR Container */
.hero-country-animation {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* QR Code Animation - Same as homepage */
.country-qr-container {
    position: relative;
    width: 240px;
    height: 240px;
}

.country-qr-code {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow:
        0 20px 60px rgba(0, 123, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-corner-country {
    position: absolute;
    width: 40px;
    height: 40px;
}

.qr-corner-country.top-left { top: 16px; left: 16px; }
.qr-corner-country.top-right { top: 16px; right: 16px; }
.qr-corner-country.bottom-left { bottom: 16px; left: 16px; }

.corner-outer-country {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #000;
    border-radius: 5px;
}

.corner-inner-country {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 3px;
    transform: translate(-50%, -50%);
}

.qr-data-grid-country {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 2.5px;
    width: 160px;
    height: 160px;
    position: relative;
    z-index: 2;
}

.qr-module-country {
    background: transparent;
    border-radius: 2px;
    animation: qrModuleFlicker 4.5s ease-in-out infinite;
}

.qr-module-country.active {
    background: #000;
    animation: qrModuleActive 4.5s ease-in-out infinite;
}

@keyframes qrModuleFlicker {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50% { opacity: 0.7; transform: scale(1); }
}

@keyframes qrModuleActive {
    0%, 100% { opacity: 1; background: #000; transform: scale(1); }
    25% { opacity: 0.7; background: #333; transform: scale(0.9); }
    50% { opacity: 0.5; background: var(--viozzo-primary); transform: scale(1.1); }
    75% { opacity: 0.8; background: #000; transform: scale(1); }
}

.qr-scan-line-country {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--viozzo-primary) 50%, transparent 100%);
    animation: qrScanLine 2.5s linear infinite;
}

@keyframes qrScanLine {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(240px); opacity: 0; }
}

.qr-scan-overlay-country {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 25%, rgba(0, 123, 255, 0.15) 50%, transparent 75%);
    animation: qrScanOverlay 3.5s linear infinite;
    pointer-events: none;
    border-radius: 24px;
}

@keyframes qrScanOverlay {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 0.9; }
    100% { transform: translateX(100%); opacity: 0; }
}

.qr-glow-effect-country {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3) 0%, transparent 70%);
    border-radius: 32px;
    animation: qrGlow 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes qrGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

/* ============================================================================
   TAB NAVIGATION - SCROLL TO SECTIONS
   ============================================================================ */

.viozzo-country-tabs {
    background: var(--viozzo-white);
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--viozzo-divider);
    width: 100%;
}

.tab-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-button {
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--viozzo-text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.tab-button:hover {
    color: var(--viozzo-text-primary);
    background: rgba(0, 123, 255, 0.05);
}

.tab-button.active {
    border-bottom-color: var(--viozzo-primary);
    color: var(--viozzo-primary);
    background: rgba(0, 123, 255, 0.08);
    font-weight: 700;
}

.tab-content {
    display: block;
    padding: 48px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--viozzo-background);
    scroll-margin-top: 20px;
}

.tab-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

/* ============================================================================
   PLANS SECTIONS - CATEGORIZED BY DURATION
   ============================================================================ */

.plans-section {
    margin-bottom: 40px;
}

.plans-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--viozzo-divider);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================================
   PLANS GRID - VIOZZO MODERN STYLE
   ============================================================================ */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.plan-card {
    background: var(--viozzo-white);
    border: 1px solid var(--viozzo-divider);
    border-radius: 8px;
    padding: 16px;
    height: 85px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    overflow: visible;
}

.plan-card:hover {
    background: #F8FAFF;
    border-color: var(--viozzo-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.plan-card.popular {
    background: linear-gradient(135deg, var(--viozzo-primary) 0%, #4da6ff 100%);
    border-color: var(--viozzo-primary);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.35);
}

.plan-card.popular:hover {
    background: linear-gradient(135deg, #0056b3 0%, var(--viozzo-primary) 100%);
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.45);
}

.plan-card.popular .plan-data,
.plan-card.popular .plan-validity,
.plan-card.popular .plan-price,
.plan-card.popular .plan-per-gb {
    color: var(--viozzo-white);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #FFCC00;
    color: #000;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.plan-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.plan-data {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    line-height: 1.1;
}

.plan-validity {
    font-size: 0.85rem;
    color: var(--viozzo-primary);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.plan-card.popular .plan-validity {
    color: rgba(255, 255, 255, 0.95);
}

.plan-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.plan-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    line-height: 1.1;
}

.plan-per-gb {
    font-size: 0.6rem;
    color: var(--viozzo-text-secondary);
    font-weight: 600;
    background: rgba(0, 123, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.plan-card.popular .plan-per-gb {
    color: var(--viozzo-white);
    background: rgba(255, 255, 255, 0.2);
}

/* Monthly Plans - White background like featured plans */
.plans-section[data-category="monthly"] .plan-card {
    border-color: var(--viozzo-divider);
    background: var(--viozzo-white);
}

/* Monthly Plans hover - Keep white background */
.plans-section[data-category="monthly"] .plan-card:hover {
    border-color: var(--viozzo-primary);
    background: var(--viozzo-white);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.2);
}

/* Monthly Plans - Data & Validity text color (BLUE for all) */
.plans-section[data-category="monthly"] .plan-data {
    color: var(--viozzo-primary);
}

.plans-section[data-category="monthly"] .plan-validity {
    color: var(--viozzo-primary);
}

/* Monthly plans için özel fiyat renkleri (ORANGE for all) */
.plans-section[data-category="monthly"] .plan-price {
    color: var(--viozzo-orange);
}

/* Monthly plans için özel per-gb renkleri (ORANGE for all) */
.plans-section[data-category="monthly"] .plan-per-gb {
    color: var(--viozzo-orange-dark);
    background: rgba(255, 132, 0, 0.12);
}

/* Monthly plans için turuncu checkmark */
.plans-section[data-category="monthly"] .plan-checkmark {
    background: var(--viozzo-orange);
    box-shadow: 0 2px 8px rgba(255, 132, 0, 0.4);
}

/* Monthly plans için Best Value badge - ORANGE */
.plans-section[data-category="monthly"] .popular-badge {
    background: linear-gradient(135deg, var(--viozzo-orange) 0%, #ffad33 100%);
    color: var(--viozzo-white);
    box-shadow:
        0 4px 12px rgba(255, 132, 0, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Featured plans (normal cards, not popular) - BLUE for data */
.plans-section[data-category="featured"] .plan-card:not(.popular) .plan-data {
    color: var(--viozzo-primary);
}

/* Featured plans (normal cards, not popular) - BLUE for validity */
.plans-section[data-category="featured"] .plan-card:not(.popular) .plan-validity {
    color: var(--viozzo-primary);
}

/* Featured plans (normal cards, not popular) - ORANGE for price */
.plans-section[data-category="featured"] .plan-card:not(.popular) .plan-price {
    color: var(--viozzo-orange);
}

/* Featured plans (normal cards, not popular) - ORANGE for per-gb */
.plans-section[data-category="featured"] .plan-card:not(.popular) .plan-per-gb {
    color: var(--viozzo-orange-dark);
    background: rgba(255, 132, 0, 0.12);
}

/* Featured plans (normal cards, not popular) için turuncu checkmark */
.plans-section[data-category="featured"] .plan-card:not(.popular) .plan-checkmark {
    background: var(--viozzo-orange);
    box-shadow: 0 2px 8px rgba(255, 132, 0, 0.4);
}

.plan-features {
    display: none;
}

.plan-button {
    display: none;
}

.plan-card.selected {
    border-color: var(--viozzo-primary);
    background: #F8FAFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.25);
}

.plan-card.popular.selected {
    background: linear-gradient(135deg, #0056b3 0%, var(--viozzo-primary) 100%);
    border-color: #0056b3;
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.5);
}

.plan-checkmark {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--viozzo-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--viozzo-white);
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
    border: 3px solid var(--viozzo-white);
    z-index: 10;
}

.plan-card.selected .plan-checkmark {
    display: flex;
    animation: checkPop 0.3s ease;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ============================================================================
   DETAILS TABLE
   ============================================================================ */

.details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
    background: var(--viozzo-white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--viozzo-divider);
}

.details-table th,
.details-table td {
    padding: 16px 24px;
    text-align: left;
}

.details-table th {
    background: var(--viozzo-background);
    color: var(--viozzo-primary);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--viozzo-divider);
}

.details-table tbody tr {
    border-bottom: 1px solid var(--viozzo-divider);
}

.details-table tbody tr:last-child {
    border-bottom: none;
}

.details-table td {
    color: var(--viozzo-text-primary);
    font-size: 0.875rem;
}

.details-table tbody tr:nth-child(even) {
    background: var(--viozzo-background);
}

/* ============================================================================
   DETAILS CARDS - MODERN CARD GRID
   ============================================================================ */

.details-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.detail-card {
    background: var(--viozzo-white);
    border: 1px solid var(--viozzo-divider);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--viozzo-primary), #4da6ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.15);
    border-color: var(--viozzo-primary);
}

.detail-card:hover::before {
    transform: scaleX(1);
}

.detail-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.detail-card:hover .detail-card-icon {
    background: linear-gradient(135deg, var(--viozzo-primary) 0%, #4da6ff 100%);
    transform: scale(1.1);
}

.detail-card-icon i {
    font-size: 24px;
    color: var(--viozzo-primary);
    transition: all 0.3s ease;
}

.detail-card:hover .detail-card-icon i {
    color: var(--viozzo-white);
}

.detail-card-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.detail-card-content p {
    font-size: 0.85rem;
    color: var(--viozzo-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Details Cards - Responsive */
@media (max-width: 1024px) {
    .details-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .details-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .detail-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .detail-card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .detail-card-icon i {
        font-size: 20px;
    }

    .detail-card-content h4 {
        font-size: 0.85rem;
    }

    .detail-card-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .details-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .detail-card {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .detail-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .detail-card-icon i {
        font-size: 18px;
    }

    .detail-card-content h4 {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .detail-card-content p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.how-step {
    background: var(--viozzo-white);
    border: 1px solid var(--viozzo-divider);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.how-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.1);
    border-color: var(--viozzo-primary);
}

.how-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--viozzo-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--viozzo-white);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.how-step-icon {
    font-size: 3rem;
    color: var(--viozzo-primary);
    margin: 20px 0 15px;
}

.how-step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    margin-bottom: 10px;
}

.how-step p {
    font-size: 0.85rem;
    color: var(--viozzo-text-secondary);
    line-height: 1.5;
}

/* ============================================================================
   REVIEWS
   ============================================================================ */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.review-card {
    background: var(--viozzo-white);
    border: 1px solid var(--viozzo-divider);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.1);
    border-color: var(--viozzo-primary);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--viozzo-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--viozzo-white);
}

.review-author h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    margin: 0 0 5px 0;
}

.review-stars {
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    font-size: 0.85rem;
    color: var(--viozzo-text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--viozzo-text-secondary);
}

/* ============================================================================
   APP SECTION
   ============================================================================ */

.app-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    padding: 40px;
    background: var(--viozzo-white);
    border-radius: 15px;
    align-items: center;
    border: 1px solid var(--viozzo-divider);
}

.app-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--viozzo-text-primary);
    margin-bottom: 15px;
}

.app-content p {
    font-size: 0.95rem;
    color: var(--viozzo-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--viozzo-primary);
    border: none;
    border-radius: 10px;
    color: var(--viozzo-white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-button:hover {
    background: var(--viozzo-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.app-button i {
    font-size: 24px;
}

.app-qr {
    text-align: center;
}

.app-qr-code {
    width: 200px;
    height: 200px;
    background: var(--viozzo-white);
    border-radius: 15px;
    padding: 15px;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    border: 1px solid var(--viozzo-divider);
}

.app-qr-code img {
    width: 100%;
    height: 100%;
}

.app-qr p {
    font-size: 0.85rem;
    color: var(--viozzo-text-secondary);
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */

.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: var(--viozzo-white);
    border: 1px solid var(--viozzo-divider);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--viozzo-primary);
}

.faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--viozzo-background);
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    color: var(--viozzo-primary);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--viozzo-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================================
   BOTTOM BAR
   ============================================================================ */

.viozzo-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--viozzo-white);
    border-top: 1px solid var(--viozzo-divider);
    padding: 18px 20px;
    z-index: 1000;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.bottom-bar-info {
    flex: 1;
}

.bottom-bar-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--viozzo-text-primary);
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
}

.bottom-bar-info p {
    font-size: 0.85rem;
    color: var(--viozzo-text-secondary);
    margin: 0;
    font-weight: 400;
}

.bottom-bar-button {
    padding: 16px 48px;
    background: var(--viozzo-primary);
    border: none;
    border-radius: 30px;
    color: var(--viozzo-white);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.bottom-bar-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.bottom-bar-button:hover::before {
    left: 100%;
}

.bottom-bar-button:hover {
    background: var(--viozzo-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(0, 123, 255, 0.5);
}

.bottom-bar-button:active {
    transform: translateY(-1px);
}

/* ============================================================================
   RESPONSIVE DESIGN - HAYU INSPIRED
   ============================================================================ */

@media (max-width: 1024px) {
    .viozzo-hero-country {
        min-height: 280px;
        padding: 32px 24px;
    }

    .hero-country-content {
        gap: 30px;
        grid-template-columns: 1.3fr 0.7fr;
    }

    .hero-country-visual {
        transform: scale(0.8);
    }

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

    .how-it-works-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .app-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tab-navigation {
        gap: 6px;
    }

    .tab-button {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .viozzo-country-header {
        padding: 30px 0 40px;
    }

    .country-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0 20px;
        margin-bottom: 24px;
    }

    .currency-selector {
        width: 100%;
        justify-content: space-between;
    }

    .country-header-content {
        padding: 0 20px;
    }

    .country-header-info h1 {
        font-size: 2rem;
    }

    .country-header-info h1::before {
        font-size: 0.8rem;
    }

    .tab-content {
        padding: 24px 20px 48px;
    }

    .tab-content h3 {
        font-size: 1.25rem;
        margin: 32px 0 16px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .plan-card {
        padding: 14px 12px;
    }

    .plan-data {
        font-size: 1.25rem;
    }

    .plan-price {
        font-size: 1.125rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .how-it-works-steps {
        gap: 32px;
    }

    .app-section {
        padding: 32px 20px;
    }

    .app-buttons {
        flex-direction: column;
        width: 100%;
    }

    .app-button {
        justify-content: center;
        width: 100%;
    }

    .bottom-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 0 20px;
    }

    .bottom-bar-button {
        width: 100%;
        padding: 14px 32px;
    }

    .details-table th,
    .details-table td {
        padding: 14px 16px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .viozzo-country-header {
        padding: 16px 0;
    }

    .country-flag-large {
        width: 65px;
        height: 48px;
    }

    .country-flag-large .fi {
        font-size: 65px;
    }

    .country-header-info h1 {
        font-size: 1.5rem;
    }

    .country-header-info p {
        font-size: 0.85rem;
    }

    .back-button {
        padding: 8px 14px;
        font-size: 12px;
    }

    .viozzo-country-tabs {
        /* Keep sticky position on mobile */
    }

    .tab-navigation {
        padding: 6px 8px;
        justify-content: flex-start;
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tab-navigation::-webkit-scrollbar {
        display: none;
    }

    .tab-button {
        padding: 9px 13px;
        font-size: 11.5px;
        flex-shrink: 0;
        border-radius: 4px 4px 0 0;
        border-bottom-width: 2px;
    }

    .tab-content {
        padding: 20px 16px 35px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .plan-card {
        padding: 22px;
    }

    .plan-data {
        font-size: 1.8rem;
    }

    .plan-price {
        font-size: 1.7rem;
    }

    .plan-button {
        padding: 13px 18px;
        font-size: 13.5px;
    }

    .app-section {
        padding: 24px 18px;
    }

    .app-content h3 {
        font-size: 1.6rem;
    }

    .app-qr-code {
        width: 160px;
        height: 160px;
    }

    .bottom-bar-button {
        padding: 13px 28px;
        font-size: 14px;
    }

    .details-table th,
    .details-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .faq-question {
        padding: 16px;
    }

    .faq-question h4 {
        font-size: 0.95rem;
    }

    .plans-section {
        margin-bottom: 32px;
    }

    .plans-section-title {
        font-size: 14px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .plan-card {
        padding: 14px 12px;
        height: 80px;
    }

    .plan-data {
        font-size: 1rem;
    }

    .plan-validity {
        font-size: 0.6rem;
    }

    .plan-price {
        font-size: 0.95rem;
    }

    .plan-per-gb {
        font-size: 0.55rem;
    }
}

@media (max-width: 576px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .plans-section {
        margin-bottom: 28px;
    }

    .plan-card {
        height: 75px;
        padding: 12px;
    }
}

/* ============================================================================
   BOTTOM BAR - CART FUNCTIONALITY
   ============================================================================ */

.viozzo-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--viozzo-primary) 0%, #0056b3 100%);
    padding: 8px 20px;
    box-shadow: 0 -4px 24px rgba(0, 123, 255, 0.25);
    z-index: 1000;
    transition: transform 0.3s ease;
    border-top: 2px solid rgba(0, 123, 255, 0.4);
}

.bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.bottom-bar-info {
    flex: 1;
}

.bottom-bar-info h4 {
    color: var(--viozzo-white);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 1px;
    line-height: 1.1;
}

.bottom-bar-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    margin: 0;
    line-height: 1.2;
}

.bottom-bar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-price-display {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.cart-price-display .price-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.cart-price-display .price-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--viozzo-white);
    line-height: 1;
}

.bottom-bar-button {
    padding: 10px 28px;
    background: var(--viozzo-white);
    border: none;
    border-radius: 50px;
    color: var(--viozzo-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bottom-bar-button:disabled {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    opacity: 0.6;
}

.bottom-bar-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.bottom-bar-button:not(:disabled):hover::before {
    left: 100%;
}

.bottom-bar-button:not(:disabled):hover {
    background: #f8f9fa;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 32px rgba(255, 255, 255, 0.5);
    color: var(--viozzo-primary-dark);
}

.bottom-bar-button:not(:disabled):active {
    transform: translateY(0) scale(0.98);
}

@media (max-width: 768px) {
    .viozzo-hero-country {
        min-height: auto;
        padding: 4px 16px;
    }

    .hero-country-content {
        grid-template-columns: 2.5fr 0.5fr;
        gap: 4px;
    }

    .hero-country-text {
        text-align: left;
    }

    .hero-country-visual {
        transform: scale(0.25);
        margin-left: 0;
        margin-right: -40px;
    }

    .hero-country-title {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }

    .hero-subtitle {
        font-size: 0.65rem;
    }

    .tab-content {
        padding: 6px 20px 48px;
    }

    .plans-section {
        margin-bottom: 10px;
    }

    .tab-content h3 {
        margin: 6px 0 6px;
    }

    .bottom-bar-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .bottom-bar-info {
        text-align: center;
    }

    .bottom-bar-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .cart-price-display {
        align-items: center;
    }

    .bottom-bar-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .viozzo-hero-country {
        min-height: auto;
        padding: 2px 12px;
    }

    .hero-country-content {
        gap: 2px;
        grid-template-columns: 3fr 0.3fr;
    }

    .hero-country-visual {
        transform: scale(0.15);
        margin-left: 0;
        margin-right: -45px;
    }

    .country-qr-container {
        width: 140px;
        height: 140px;
    }

    .country-qr-code {
        width: 140px;
        height: 140px;
        padding: 10px;
        border-radius: 12px;
    }

    .qr-data-grid-country {
        width: 100px;
        height: 100px;
        gap: 1.5px;
    }

    .qr-corner-country {
        width: 24px;
        height: 24px;
    }

    .qr-corner-country.top-left { top: 8px; left: 8px; }
    .qr-corner-country.top-right { top: 8px; right: 8px; }
    .qr-corner-country.bottom-left { bottom: 8px; left: 8px; }

    .corner-outer-country {
        border-width: 2.5px;
    }

    .corner-inner-country {
        width: 10px;
        height: 10px;
    }

    .hero-country-title {
        font-size: 1.3rem;
        margin-bottom: 0;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.55rem;
        line-height: 1.2;
    }

    .tab-navigation {
        padding: 4px 8px;
        gap: 2px;
    }

    .tab-button {
        padding: 7px 10px;
        font-size: 10px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tab-content {
        padding: 4px 16px 35px;
    }

    .plans-section {
        margin-bottom: 8px;
    }

    .tab-content h3 {
        font-size: 0.95rem;
        margin: 4px 0 4px;
    }

    .bottom-bar-info h4 {
        font-size: 1rem;
    }

    .bottom-bar-info p {
        font-size: 13px;
    }

    .cart-price-display .price-amount {
        font-size: 22px;
    }
}
