/* Global Animated Background */
body {
    background: rgba(0, 0, 0, 0.95);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

.global-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.global-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: globalFloat 8s infinite linear;
    opacity: 0.4;
}

@keyframes globalFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Ultra-Modern eSIM Homepage Styles - Reduced Height */
.hero-section {
    /* Smaller height for better content proportions */
    min-height: 40vh;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-6, 1.5rem) 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.95);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: float 6s infinite linear;
    opacity: 0.6;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-6, 1.5rem) var(--space-4, 1rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 2;
    transform-origin: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
}

.hero-text {
    color: white;
    animation: slideInLeft 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.15) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 2px solid rgba(12, 224, 107, 0.4);
    padding: 12px 24px;
    border-radius: 30px;
    color: var(--primary-green);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 1.2rem;
    animation: badgePulse 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(12, 224, 107, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(12, 224, 107, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(12, 224, 107, 0); }
}

.brand-highlight {
    background: linear-gradient(135deg, var(--primary-green) 0%, #00ff88 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(12, 224, 107, 0.8);
    position: relative;
    display: inline-block;
    animation: brandPulse 3s ease-in-out infinite;
    font-weight: 900;
    letter-spacing: 2px;
    transform: scale(1.1);
}

.brand-highlight::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent, rgba(12, 224, 107, 0.2), transparent);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    animation: brandGlow 4s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% {
        transform: scale(1.1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.15);
        filter: brightness(1.2);
    }
}

@keyframes brandGlow {
    0%, 100% {
        opacity: 0;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: rotate(180deg);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-green) 50%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(12, 224, 107, 0.3);
    letter-spacing: -0.02em;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(12, 224, 107, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(12, 224, 107, 0.8);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    animation: fadeInUp 1s ease-out 0.6s both;
    justify-content: center;
    flex-wrap: wrap;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-green);
    display: block;
    animation: countUp 2s ease-out, statGlow 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(12, 224, 107, 0.8), 0 0 40px rgba(12, 224, 107, 0.4);
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(12, 224, 107, 0.1), transparent);
    border-radius: 8px;
    z-index: -1;
    animation: statPulse 2s ease-in-out infinite;
}

@keyframes statGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(12, 224, 107, 0.6);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 30px rgba(12, 224, 107, 0.9);
        transform: scale(1.05);
    }
}

@keyframes statPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 8px;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary::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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(12, 224, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-weight: 600;
    font-size: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 2px 8px rgba(12, 224, 107, 0.15);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 35px;
    padding: 20px;
    position: relative;
    box-shadow: 
        0 0 50px rgba(12, 224, 107, 0.4),
        inset 0 0 50px rgba(255, 255, 255, 0.08);
    animation: phoneFloat 6s ease-in-out infinite;
}

/* Hero Phone - Darker Color */
.phone-mockup.hero-phone {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    box-shadow: 
        0 0 80px rgba(12, 224, 107, 0.4),
        inset 0 0 80px rgba(255, 255, 255, 0.03);
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

/* Enhanced Phone Interface */
.esim-interface {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(12, 224, 107, 0.2);
}

.carrier {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 12px;
}

.signal {
    font-size: 14px;
    color: var(--primary-green);
}

@keyframes signalPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.esim-card-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esim-card {
    width: 220px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #00ff88 100%);
    border-radius: 15px;
    padding: 15px;
    color: black;
    position: relative;
    overflow: hidden;
    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.qr-code {
    width: 60px;
    height: 60px;
    background: black;
    border-radius: 8px;
    padding: 5px;
    margin: 10px auto;
    position: relative;
}

.qr-pattern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
}

.qr-square {
    background: white;
    border-radius: 1px;
    animation: qrFlicker 3s ease-in-out infinite;
}

.qr-square:nth-child(odd) {
    animation-delay: 0.5s;
}

.qr-square:nth-child(even) {
    animation-delay: 1s;
}

@keyframes qrFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid rgba(12, 224, 107, 0.3);
    white-space: nowrap;
    width: auto;
    min-width: fit-content;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(12, 224, 107, 0.6);
}

@keyframes statusBlink {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 8px rgba(12, 224, 107, 0.6), 0 0 15px rgba(12, 224, 107, 0.3); 
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 12px rgba(12, 224, 107, 0.8), 0 0 20px rgba(12, 224, 107, 0.4); 
    }
}

.network-animation {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-wave {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    opacity: 0;
    animation: waveExpand 3s ease-out infinite;
}

.network-wave:nth-child(1) {
    animation-delay: 0s;
}

.network-wave:nth-child(2) {
    animation-delay: 1s;
}

.network-wave:nth-child(3) {
    animation-delay: 2s;
}

@keyframes waveExpand {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Floating icons removed for cleaner design */

/* Features Section */
.features-section {
    padding: 10px 0;
    background: var(--pure-black);
    position: relative;
    color: white;
    min-height: 35vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(12, 224, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(12, 224, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(12, 224, 107, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.features-section .section-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.features-section .section-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: sectionFloat 8s infinite linear;
    opacity: 0.4;
}

@keyframes sectionFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.features-section > * {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.country-plans-section .section-header {
    text-align: center;
    margin-bottom: 10px;
    padding: 0 20px;
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.how-it-works-section .section-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.country-plans-section .section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.features-section .section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.how-it-works-section .section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.country-plans-section .section-subtitle {
    font-size: 0.8rem;
    color: #ffffff;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.4;
}

.features-section .section-subtitle {
    font-size: 0.8rem;
    color: #ffffff;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.4;
}

.how-it-works-section .section-subtitle {
    font-size: 0.8rem;
    color: #ffffff;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Highlighted words in titles */
.section-title .highlight {
    color: var(--primary-green);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.features-section .features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    align-items: stretch;
    justify-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 15px !important;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.features-section .feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 224, 107, 0.4);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.15);
    background: rgba(255, 255, 255, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--primary-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.25);
}

.features-section .feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
    background: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
    box-shadow: 0 2px 8px rgba(12, 224, 107, 0.25);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.features-section .feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    line-height: 1.2;
}

.feature-description {
    color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
}

.features-section .feature-description {
    color: #ffffff;
    line-height: 1.3;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 18vh;
        padding: 8px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        justify-items: center;
        padding: 12px 15px;
        min-height: 28vh;
    }
    
    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 20vh;
        padding: 8px 0;
    }
    
    .hero-content {
        padding: 15px 12px;
        gap: 25px;
        min-height: 40vh;
    }
    
    /* Hide phone mockup on mobile */
    .hero-visual {
        display: none !important;
    }
    
    /* Ensure country names are visible in dark mode on mobile */
    .hero-search-result .country-name {
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .hero-search-result .country-price {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Mobile hero search results positioning */
    .hero-search-results {
        top: 100% !important;
        bottom: auto !important;
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 15px;
        margin-bottom: 1.2rem;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 220px;
        justify-content: center;
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .feature-card {
        padding: 30px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero-section {
        min-height: 18vh;
        padding: 8px 0;
    }
    
    .hero-content {
        padding: 20px 12px;
        gap: 30px;
        min-height: 45vh;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    /* Enhanced country search visibility on very small screens */
    .hero-search-result .country-name {
        color: #ffffff !important;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
        font-size: 15px;
    }
    
    .hero-search-results {
        background: rgba(0, 0, 0, 0.98) !important;
        border: 2px solid rgba(12, 224, 107, 0.4);
        top: 100% !important;
        bottom: auto !important;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .features-section {
        min-height: 17vh;
    }
    
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 15px !important;
    }
    
    .features-section .feature-card {
        padding: 12px;
    }
    
    .features-section .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .features-section .feature-title {
        font-size: 1.0rem;
    }
    
    .features-section .feature-description {
        font-size: 0.75rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .hero-search-container {
        max-width: 320px;
    }
    
    .hero-country-search {
        margin-top: 18px;
    }
    
    .country-plans-section {
        min-height: 17vh;
    }
    
    .country-plans-section .section-title {
        font-size: 1.5rem;
    }
    
    .country-plans-section .section-subtitle {
        font-size: 0.7rem;
    }
    
    .country-plans-section .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
    
    .country-plans-section .plan-card {
        padding: 12px;
        gap: 10px;
    }
    
    .country-plans-section .plan-flag {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }
    
    .country-plans-section .plan-country {
        font-size: 0.9rem;
    }
    
    .country-plans-section .plan-price {
        font-size: 0.75rem;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 0;
    background: var(--pure-black);
    position: relative;
    color: white;
    min-height: 35vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(12, 224, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(12, 224, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(12, 224, 107, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.how-it-works-section .section-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.how-it-works-section .section-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: sectionFloat 8s infinite linear;
    opacity: 0.4;
}

.how-it-works-section > * {
    position: relative;
    z-index: 1;
}

/* Country Plans Section (Revolutionary eSIM Features) */
.country-plans-section {
    padding: 0;
    background: var(--pure-black);
    position: relative;
    color: white;
    min-height: 12vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.country-plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(12, 224, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(12, 224, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(12, 224, 107, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.country-plans-section .section-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.country-plans-section .section-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: sectionFloat 8s infinite linear;
    opacity: 0.4;
}

.country-plans-section > * {
    position: relative;
    z-index: 1;
}

/* Seamless Section Transitions */
section {
    border-top: none !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.features-section,
.how-it-works-section,
.country-plans-section {
    border: none !important;
    margin: 0 !important;
}

/* Remove any footer borders */
.site-footer {
    border-top: none !important;
    border-bottom: none !important;
    margin-top: 0 !important;
}

.footer-bottom {
    border-top: none !important;
    margin-top: 40px;
    padding-top: 20px;
}

.steps-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.how-it-works-section .steps-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: stretch;
    justify-items: stretch;
}

.step-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.how-it-works-section .step-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(12, 224, 107, 0.4);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.25);
}

.how-it-works-section .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.25);
}

.step-visual {
    margin: 40px 0 30px;
}

.how-it-works-section .step-visual {
    margin: 25px 0 20px;
}

.step-phone {
    width: 200px;
    height: 350px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 30px;
    padding: 15px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.how-it-works-section .step-phone {
    width: 180px;
    height: 300px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 25px;
    padding: 12px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.step-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.how-it-works-section .step-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 18px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Step 1: Plan Selector */
.plan-selector {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    overflow-y: auto;
}

.plan-header {
    text-align: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(12, 224, 107, 0.3);
    margin-bottom: 4px;
}

.plan-title {
    color: var(--primary-green);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.plan-data {
    color: rgba(255, 255, 255, 0.6);
    font-size: 8px;
    font-weight: 400;
}

.plan-flags-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 4px;
}

.flag-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 28px;
}

.flag-option:hover {
    background: rgba(12, 224, 107, 0.1);
    border-color: rgba(12, 224, 107, 0.3);
    transform: scale(1.05);
}

.flag-option.active {
    background: rgba(12, 224, 107, 0.2);
    border-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(12, 224, 107, 0.3);
}

.plan-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-size: 6px;
    transition: all 0.3s ease;
    line-height: 1.1;
}

.plan-option.active {
    background: rgba(12, 224, 107, 0.2);
    border-color: var(--primary-green);
}

.plan-name {
    font-weight: 600;
    font-size: 4px;
}

.plan-price {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 4px;
}

.plan-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 32px;
}

.plan-name {
    color: white;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}

.plan-price {
    color: var(--primary-green);
    font-size: 9px;
    font-weight: 700;
    min-width: 24px;
    text-align: right;
}

/* Step 2: QR Display */
.qr-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-code-large {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 10px;
    padding: 10px;
}

/* Ultra-Modern QR Code Styling */
.ultra-modern-qr-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    width: 100%;
    max-width: 100px;
}

.qr-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.qr-code-realistic {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 6px;
    padding: 8px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* QR Corner Detection Patterns */
.qr-corner-pattern {
    position: absolute;
    width: 28px;
    height: 28px;
    animation: qrCornerPulse 2s ease-in-out infinite;
}

.qr-corner-pattern.top-left {
    top: 12px;
    left: 12px;
}

.qr-corner-pattern.top-right {
    top: 12px;
    right: 12px;
}

.qr-corner-pattern.bottom-left {
    bottom: 12px;
    left: 12px;
}

.corner-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    border-radius: 3px;
    animation: cornerOuterPulse 3s ease-in-out infinite;
}

.corner-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    animation: cornerInnerPulse 3s ease-in-out infinite 0.5s;
}

/* QR Data Grid */
.qr-data-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 2px;
    width: 90px;
    height: 45px;
    position: relative;
    z-index: 2;
}

.qr-module {
    background: transparent;
    border-radius: 1px;
    transition: all 0.3s ease;
    animation: qrModuleFlicker 4s ease-in-out infinite;
}

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

.qr-module:nth-child(2n) {
    animation-delay: 0.1s;
}

.qr-module:nth-child(3n) {
    animation-delay: 0.2s;
}

.qr-module:nth-child(5n) {
    animation-delay: 0.3s;
}

.qr-module:nth-child(7n) {
    animation-delay: 0.4s;
}

/* Scanning Overlay */
.qr-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(12, 224, 107, 0.1) 50%,
        transparent 70%
    );
    animation: qrScanOverlay 3s linear infinite;
    pointer-events: none;
    border-radius: 12px;
}

/* Hero Phone QR Code Styling */
.hero-phone-interface {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-qr-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-qr-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.qr-container-hero {
    position: relative;
    width: 160px;
    height: 160px;
}

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

/* Hero QR Corner Detection Patterns */
.qr-corner-hero {
    position: absolute;
    width: 32px;
    height: 32px;
    animation: qrCornerPulseHero 2.5s ease-in-out infinite;
}

.qr-corner-hero.top-left {
    top: 15px;
    left: 15px;
}

.qr-corner-hero.top-right {
    top: 15px;
    right: 15px;
}

.qr-corner-hero.bottom-left {
    bottom: 15px;
    left: 15px;
}

.corner-outer-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #000;
    border-radius: 4px;
    animation: cornerOuterPulseHero 3.5s ease-in-out infinite;
}

.corner-inner-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    animation: cornerInnerPulseHero 3.5s ease-in-out infinite 0.6s;
}

/* Hero QR Data Grid */
.qr-data-grid-hero {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 2px;
    width: 100px;
    height: 50px;
    position: relative;
    z-index: 2;
}

.qr-module-hero {
    background: transparent;
    border-radius: 1px;
    transition: all 0.4s ease;
    animation: qrModuleFlickerHero 4.5s ease-in-out infinite;
}

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

.qr-module-hero:nth-child(2n) {
    animation-delay: 0.15s;
}

.qr-module-hero:nth-child(3n) {
    animation-delay: 0.3s;
}

.qr-module-hero:nth-child(5n) {
    animation-delay: 0.45s;
}

.qr-module-hero:nth-child(7n) {
    animation-delay: 0.6s;
}

/* Hero QR Scanning Effects */
.qr-scan-line-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-green) 50%, transparent 100%);
    animation: qrScanLineHero 2.5s linear infinite;
}

.qr-scan-overlay-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 25%,
        rgba(12, 224, 107, 0.15) 50%,
        transparent 75%
    );
    animation: qrScanOverlayHero 3.5s linear infinite;
    pointer-events: none;
    border-radius: 15px;
}

.qr-glow-effect-hero {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(circle, rgba(12, 224, 107, 0.4) 0%, transparent 70%);
    border-radius: 25px;
    animation: qrGlowHero 3.5s ease-in-out infinite;
    pointer-events: none;
}

.scan-instruction-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    position: relative;
}

.scan-icon-hero {
    font-size: 20px;
    animation: scanIconBounceHero 2.5s ease-in-out infinite;
}

.scan-text-hero {
    color: var(--primary-green);
    text-shadow: 0 0 15px rgba(12, 224, 107, 0.6);
    font-weight: 700;
}

.scan-pulse-hero {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--primary-green);
    border-radius: 30px;
    animation: scanPulseHero 2.5s ease-in-out infinite;
    opacity: 0;
}

/* Hero Country Search Filter */
.hero-country-search {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    animation: slideInUp 1s ease-out 0.8s both;
    overflow: visible;
}

.hero-search-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    overflow: visible;
}

.hero-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(12, 224, 107, 0.6);
    border-radius: 25px;
    padding: 20px 30px 20px 60px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(12, 224, 107, 0.3), 0 0 0 1px rgba(12, 224, 107, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.hero-search-input:focus {
    background: rgba(12, 224, 107, 0.15);
    border-color: var(--primary-green);
    box-shadow: 0 12px 35px rgba(12, 224, 107, 0.4), 0 0 0 3px rgba(12, 224, 107, 0.2);
    transform: translateY(-3px) scale(1.02);
}

.hero-search-input:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(12, 224, 107, 0.8);
    box-shadow: 0 10px 30px rgba(12, 224, 107, 0.3), 0 0 0 2px rgba(12, 224, 107, 0.15);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    left: 20px;
    color: var(--primary-green);
    font-size: 20px;
    z-index: 2;
    animation: globeRotate 4s linear infinite;
}

.search-icon-right {
    position: absolute;
    right: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    z-index: 2;
    transition: color 0.3s ease;
}

.hero-search-input:focus + .search-icon-right {
    color: var(--primary-green);
}

.hero-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 12px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hero-search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-search-result {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-search-result:last-child {
    border-bottom: none;
}

.hero-search-result:hover {
    background: rgba(12, 224, 107, 0.1);
    transform: translateX(4px);
}

.hero-search-result .flag {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.hero-search-result .country-info {
    flex: 1;
}

.hero-search-result .country-name {
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.hero-search-result .country-price {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.hero-search-result .arrow {
    color: var(--primary-green);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.hero-search-result:hover .arrow {
    transform: translateX(2px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes globeRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.scan-instruction-modern {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 8px;
    font-weight: 600;
    position: relative;
}

.scan-icon {
    font-size: 10px;
    animation: scanIconBounce 2s ease-in-out infinite;
}

.scan-text {
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(12, 224, 107, 0.5);
}

.scan-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    animation: scanPulse 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes qrCornerPulse {
    0%, 100% { 
        border-color: #000;
        transform: scale(1);
    }
    50% { 
        border-color: var(--primary-green);
        transform: scale(1.1);
    }
}

@keyframes qrModuleFlicker {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes qrModuleActive {
    0%, 100% { 
        opacity: 1;
        background: #000;
        transform: scale(1);
    }
    25% { 
        opacity: 0.8;
        background: #333;
        transform: scale(0.95);
    }
    50% { 
        opacity: 0.6;
        background: var(--primary-green);
        transform: scale(1.05);
    }
    75% { 
        opacity: 0.9;
        background: #000;
        transform: scale(1);
    }
}

@keyframes cornerOuterPulse {
    0%, 100% {
        border-color: #000;
        transform: scale(1);
        opacity: 1;
    }
    50% {
        border-color: var(--primary-green);
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes cornerInnerPulse {
    0%, 100% {
        background: #000;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        background: var(--primary-green);
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

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

/* Hero QR Animation Keyframes */
@keyframes qrCornerPulseHero {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

@keyframes cornerOuterPulseHero {
    0%, 100% {
        border-color: #000;
        transform: scale(1);
        opacity: 1;
    }
    50% {
        border-color: var(--primary-green);
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes cornerInnerPulseHero {
    0%, 100% {
        background: #000;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        background: var(--primary-green);
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.6;
    }
}

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

@keyframes qrModuleActiveHero {
    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(--primary-green);
        transform: scale(1.1);
    }
    75% {
        opacity: 0.8;
        background: #000;
        transform: scale(1);
    }
}

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

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

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

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

@keyframes scanPulseHero {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

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

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

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

@keyframes scanPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

/* Step 3: Connection Display */
.connection-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.signal-bars {
    display: flex;
    gap: 4px;
    align-items: end;
}

.bar {
    width: 8px;
    background: var(--primary-green);
    border-radius: 2px;
    animation: signalAnimation 1.5s ease-in-out infinite;
}

.bar:nth-child(1) {
    height: 15px;
    animation-delay: 0s;
}

.bar:nth-child(2) {
    height: 25px;
    animation-delay: 0.2s;
}

.bar:nth-child(3) {
    height: 35px;
    animation-delay: 0.4s;
}

.bar:nth-child(4) {
    height: 45px;
    animation-delay: 0.6s;
}

@keyframes signalAnimation {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.connection-text {
    text-align: center;
}

.carrier-name {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
}

.connection-status {
    color: var(--primary-green);
    font-size: 12px;
    margin-top: 5px;
}

.connection-speed {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    margin-top: 3px;
    font-weight: 500;
}

.world-map {
    position: relative;
    width: 80px;
    height: 40px;
    background: rgba(12, 224, 107, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: connectionPulse 2s ease-in-out infinite;
}

.connection-point:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.connection-point:nth-child(2) {
    left: 50%;
    animation-delay: 0.7s;
}

.connection-point:nth-child(3) {
    right: 20%;
    animation-delay: 1.4s;
}

@keyframes connectionPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(12, 224, 107, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(12, 224, 107, 0);
    }
}

.step-content {
    text-align: center;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.how-it-works-section .step-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.step-description {
    color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
}

.how-it-works-section .step-description {
    color: #ffffff;
    line-height: 1.5;
    font-size: 1rem;
}

/* Country Plans Section */
.country-plans-section {
    padding: 20px 0;
    position: relative;
}

.plans-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Search Container - Plans Style */
.search-container {
    max-width: 900px;
    margin: 2rem auto 1.5rem;
    padding: 0 20px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(12, 224, 107, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(12, 224, 107, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Filter Row - Tab System */
.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem auto 2rem;
    max-width: 900px;
    padding: 0 20px;
}

.filter-chip {
    background: rgba(150, 150, 150, 0.2);
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 25px;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    user-select: none;
}

.filter-chip:hover {
    background: rgba(150, 150, 150, 0.3);
    border-color: rgba(150, 150, 150, 0.5);
    color: white;
    transform: translateY(-2px);
}

.filter-chip.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.25);
}

.filter-chip i {
    font-size: 12px;
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Country Tab Cards - WITH TOK NEON EDGE EFFECT */
.country-tab {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* TOK NEON EDGE EFFECT - Always visible at corners */
.country-tab::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, 
        rgba(12, 224, 107, 0.8) 0%, 
        rgba(12, 224, 107, 0.6) 8%,
        transparent 18%, 
        transparent 82%, 
        rgba(12, 224, 107, 0.6) 92%,
        rgba(12, 224, 107, 0.8) 100%);
    border-radius: 12px;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: -1;
    filter: blur(2px);
}

.country-tab:hover::before {
    opacity: 1;
    filter: blur(3px);
    background: linear-gradient(135deg, 
        rgba(12, 224, 107, 1) 0%, 
        rgba(12, 224, 107, 0.8) 10%,
        transparent 20%, 
        transparent 80%, 
        rgba(12, 224, 107, 0.8) 90%,
        rgba(12, 224, 107, 1) 100%);
}

.country-tab:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 224, 107, 0.5);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.country-tab.active {
    border-color: rgba(12, 224, 107, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(12, 224, 107, 0.25);
}

.country-tab.active::before {
    background: linear-gradient(135deg, 
        rgba(12, 224, 107, 1) 0%, 
        rgba(12, 224, 107, 0.8) 10%,
        transparent 20%, 
        transparent 80%, 
        rgba(12, 224, 107, 0.8) 90%,
        rgba(12, 224, 107, 1) 100%);
}

.country-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 8px 0 5px;
}

.country-price {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* INLINE BADGES - Desktop */
.inline-hot-badge {
    background: #ffd700;
    color: black;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inline-for-you-badge {
    background: var(--primary-green);
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Destinations Categories */
.destinations-category {
    margin: 3rem 0;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Destinations Grid */
.destinations-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 20px;
}

.popular-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.regional-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Destination Cards */
.destination-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.destination-card:hover::before {
    left: 100%;
}

.destination-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 224, 107, 0.4);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.15);
    background: rgba(255, 255, 255, 0.12);
}

.destination-flag {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 30px;
}

.destination-flag .fi {
    font-size: 30px;
    border-radius: 50%;
}

.region-flag {
    font-size: 30px !important;
}

.destination-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 10px 0 8px;
}

.destination-label {
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 500;
    background: rgba(12, 224, 107, 0.15);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

/* Popular cards special styling */
.destination-card.popular {
    border-color: rgba(255, 215, 0, 0.3);
}

.destination-card.popular:hover {
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.destination-card.popular .destination-label {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

/* Regional cards styling */
.destination-card.regional .destination-flag {
    background: rgba(12, 224, 107, 0.15);
}

.country-plans-section .plans-grid {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    justify-items: stretch;
}

.plan-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.country-plans-section .plan-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 224, 107, 0.4);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.15);
    background: rgba(255, 255, 255, 0.12);
}

.country-plans-section .plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(12, 224, 107, 0.4);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.15);
    background: rgba(255, 255, 255, 0.12);
}

.plan-flag {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.plan-flag .fi {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.plan-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: transparent;
    z-index: 1;
}

.country-plans-section .plan-flag {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    aspect-ratio: 1/1;
    border: 2px solid rgba(12, 224, 107, 0.3);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.country-plans-section .plan-flag .fi {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-block;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.country-plans-section .plan-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 55px;
    gap: 25px;
    width: 100%;
}

.plan-country {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.country-plans-section .plan-country {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.plan-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.country-plans-section .plan-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    line-height: 1;
}

.plan-price {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
}

.country-plans-section .plan-price {
    color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.currency {
    font-size: 0.9rem;
    opacity: 0.8;
}

.country-plans-section .currency {
    font-size: 0.75rem;
    opacity: 0.8;
}

.plan-arrow i {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.country-plans-section .plan-arrow i {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    font-size: 18px;
    flex-shrink: 0;
}

.plan-card:hover .plan-arrow i {
    color: var(--primary-green);
    transform: translateX(5px);
}

/* All Countries Button */
.all-countries-section {
    text-align: center;
    margin-top: 60px;
}

.country-plans-section .all-countries-section {
    text-align: center;
    margin-top: 20px;
}

.all-countries-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.25);
}

.country-plans-section .all-countries-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(12, 224, 107, 0.25);
}

.all-countries-btn::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.5s;
}

.all-countries-btn:hover::before {
    left: 100%;
}

.all-countries-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(12, 224, 107, 0.3);
}

.all-countries-btn i:last-child {
    transition: transform 0.3s ease;
}

.all-countries-btn:hover i:last-child {
    transform: translateX(5px);
}

/* Countries Popup */
.countries-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.countries-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.countries-popup {
    background: 
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%),
        radial-gradient(circle at 30% 70%, rgba(12, 224, 107, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(12, 224, 107, 0.05) 0%, transparent 60%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(12, 224, 107, 0.3);
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(12, 224, 107, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.countries-popup-overlay.active .countries-popup {
    transform: scale(1) translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(12, 224, 107, 0.2);
    margin-bottom: 4px;
}

.popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.popup-close {
    background: none;
    border: none;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(12, 224, 107, 0.2);
    color: var(--primary-green);
}

.popup-search {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(12, 224, 107, 0.2);
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 16px;
    padding: 16px 20px;
    gap: 12px;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.1);
}

.search-container i {
    color: var(--primary-green);
    font-size: 18px;
}

.search-container input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    color: white;
    font-weight: 500;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #e9ecef;
    color: #333;
}

.popup-content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 0 30px 30px;
}

.popular-section,
.perfect-section,
.all-countries-section {
    margin-bottom: 30px;
}

.popup-content h4 {
    margin: 20px 0 15px;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.popular-countries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.country-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.country-item:hover::before {
    left: 100%;
}

.country-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(12, 224, 107, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.15);
}

/* REMOVED CONFLICTING FLAG CSS - FLAGS HANDLED BY country-flags.css */

.country-name {
    font-weight: 500;
    color: #ffffff;
}

.country-item:hover .country-name {
    color: #ffffff;
}

.perfect-plan {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.perfect-plan:hover {
    background: rgba(12, 224, 107, 0.1);
}

.plan-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 18px;
}

.plan-details {
    flex: 1;
}

.plan-details h5 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.plan-details p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.hot-deal {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.countries-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(150, 150, 150, 0.2);
    border: 1px solid rgba(150, 150, 150, 0.3);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    background: rgba(150, 150, 150, 0.3);
    border-color: rgba(150, 150, 150, 0.5);
    color: white;
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 224, 107, 0.25);
}

.countries-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .countries-popup-overlay {
        align-items: center;
        justify-content: center;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: fixed;
    }
    
    .countries-popup-overlay.active {
        overflow-y: auto;
    }
    
    .countries-popup {
        width: 95%;
        max-width: calc(100vw - 20px);
        max-height: 85vh;
        height: auto;
        margin: 7.5vh auto;
        border-radius: 20px;
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        box-sizing: border-box;
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(12, 224, 107, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .countries-popup-overlay.active .countries-popup {
        transform: none !important;
    }
    
    /* Fix for mobile browser viewport issues */
    @supports (-webkit-touch-callout: none) {
        /* iOS Safari specific fixes */
        .countries-popup {
            max-width: calc(100vw - 30px);
        }
    }
    
    /* Android Chrome and other mobile browsers */
    @media screen and (max-width: 768px) and (orientation: portrait) {
        .countries-popup {
            max-height: 80vh;
            margin: 10vh auto;
            max-width: calc(100vw - 30px);
        }
    }
    
    @media screen and (max-width: 768px) and (orientation: landscape) {
        .countries-popup {
            max-height: 70vh;
            margin: 5vh auto;
            max-width: calc(100vw - 40px);
        }
    }
    
    /* Ensure content doesn't overflow */
    .popup-content {
        max-height: calc(85vh - 140px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        padding: 0 20px 20px;
    }
    
    /* Fix for mobile zoom issues */
    .popup-search input,
    .search-container input {
        font-size: 16px; /* Prevents iOS Safari zoom */
    }
    
    /* Fix for iPhone X and newer models with notch */
    @supports (padding: max(0px)) {
        .popup-header {
            padding-left: max(20px, env(safe-area-inset-left));
            padding-right: max(20px, env(safe-area-inset-right));
        }
        
        .popup-search {
            padding-left: max(20px, env(safe-area-inset-left));
            padding-right: max(20px, env(safe-area-inset-right));
        }
        
        .popup-content {
            padding-left: max(20px, env(safe-area-inset-left));
            padding-right: max(20px, env(safe-area-inset-right));
        }
    }
    
    /* Small mobile devices */
    @media (max-height: 600px) {
        .countries-popup {
            max-height: 90vh;
            margin: 5vh auto;
        }
        
        .popup-content {
            max-height: calc(90vh - 120px);
        }
    }
    
    /* Very small mobile devices */
    @media (max-width: 480px) {
        .countries-popup {
            width: 95%;
            max-width: calc(100vw - 20px);
            margin: 5vh auto;
        }
        
        .popup-header,
        .popup-search,
        .popup-content {
            padding-left: 15px;
            padding-right: 15px;
        }
        
        .popup-content {
            max-height: calc(85vh - 120px);
        }
    }
    
    /* Fix for mobile browsers that don't support vh properly */
    @media screen and (max-width: 768px) {
        .countries-popup {
            max-height: 80svh; /* Safari 15.4+ support */
        }
        
        .popup-content {
            max-height: calc(80svh - 140px);
        }
    }
}
    
    .popup-content {
        max-height: calc(90vh - 140px);
        padding: 0 20px 20px;
    }
    
    .all-countries-btn {
        padding: 14px 20px !important;
        font-size: 15px !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .all-countries-btn:active {
        transform: scale(0.98) !important;
    }
    
    .popup-header,
    .popup-search,
    .popup-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-search {
        padding: 15px 20px;
    }
    
    .popular-countries,
    .countries-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .countries-tabs {
        justify-content: center;
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .tab-btn {
        font-size: 12px;
        padding: 8px 15px;
        border-radius: 20px;
    }
    
    .country-item {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 10px;
    }
    
    .country-name {
        font-size: 14px;
    }
    
    .perfect-plan {
        padding: 14px;
        gap: 12px;
        border-radius: 10px;
    }
    
    .plan-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .plan-details h5 {
        font-size: 14px;
    }
    
    .plan-details p {
        font-size: 12px;
    }

/* Responsive for new sections */
@media (max-width: 1024px) {
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 25px;
    }
    
    .features-section .feature-card {
        padding: 12px;
        min-height: 100px;
    }
    
    .features-section .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .features-section .feature-title {
        font-size: 1.0rem;
        margin-bottom: 3px;
    }
    
    .features-section .feature-description {
        font-size: 0.8rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 15px !important;
    }
    
    .features-section .feature-card {
        padding: 12px;
        min-height: 90px;
    }
    
    .features-section .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .features-section .feature-title {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }
    
    .features-section .feature-description {
        font-size: 0.6rem;
    }
    
    .how-it-works-section,
    .country-plans-section {
        padding: 0;
    }
    
    .how-it-works-section {
        min-height: 35vh;
        padding: 15px 0;
    }
    
    .how-it-works-section .steps-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 20px !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }
    
    .how-it-works-section .step-card {
        padding: 30px 25px !important;
        min-height: 280px !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .how-it-works-section .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: -20px;
    }
    
    .how-it-works-section .step-phone {
        width: 140px;
        height: 230px;
        border-radius: 20px;
        padding: 10px;
    }
    
    .how-it-works-section .step-screen {
        border-radius: 15px;
        padding: 12px;
    }
    
    /* Ensure single column on all mobile devices */
    .steps-container {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    /* OVERRIDE: Remove the wrapping behavior for filter tabs */
    .filter-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        overflow-x: hidden !important;
        padding: 0 15px !important;
    }
    
    .filter-chip {
        font-size: 13px !important;
        padding: 8px 15px !important;
    }
    
    .how-it-works-section .step-title {
        font-size: 1.2rem;
    }
    
    .how-it-works-section .step-description {
        font-size: 0.9rem;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .step-phone {
        width: 180px;
        height: 320px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card {
        padding: 25px;
    }
    
    .country-plans-section .plans-grid {
        max-width: 100%;
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .country-plans-section .plan-card {
        padding: 10px 8px;
        min-height: 50px;
        gap: 10px;
    }
    
    /* Tab system responsive */
    .search-container {
        padding: 0 15px;
        margin: 1.5rem auto;
    }
    
    .search-input {
        padding: 12px 15px 12px 40px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 15px;
        font-size: 14px;
    }
    
    /* Hide section header text on mobile only - ULTRA HIGH SPECIFICITY */
    body .country-plans-section .section-header .section-title,
    body .country-plans-section .section-header .section-subtitle,
    body .section-header .section-title,
    body .section-header .section-subtitle,
    .country-plans-section .section-header .section-title,
    .country-plans-section .section-header .section-subtitle,
    .section-header .section-title,
    .section-header .section-subtitle {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* ULTRA HIGH SPECIFICITY - HORIZONTAL SCROLLING FILTER TABS ON MOBILE */
    body .country-plans-section .filter-row,
    body .filter-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 10px 15px 15px 15px !important;
        margin: 1rem auto 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    /* Hide all scrollbars */
    body .country-plans-section .filter-row::-webkit-scrollbar,
    body .filter-row::-webkit-scrollbar {
        display: none !important;
        width: 0px !important;
        height: 0px !important;
        background: transparent !important;
    }
    
    /* Force filter chips to stay inline */
    body .country-plans-section .filter-chip,
    body .filter-chip {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        gap: 6px !important;
        min-width: fit-content !important;
        border-radius: 25px !important;
    }

    /* Mobile active filter chip adjustments */
    body .country-plans-section .filter-chip.active,
    body .filter-chip.active {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(12, 224, 107, 0.3) !important;
        z-index: 10 !important;
        position: relative !important;
    }
    
    .filter-chip i {
        font-size: 10px;
    }
    
    /* Touch optimizations for mobile gradient effects */
    .country-tab {
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }
    
    /* Staggered animation delays for visual appeal */
    .country-tab:nth-child(1) { 
        animation-delay: 0s !important; 
    }
    .country-tab:nth-child(1)::before { 
        animation-delay: 0s !important; 
    }
    
    .country-tab:nth-child(2) { 
        animation-delay: 0.3s !important; 
    }
    .country-tab:nth-child(2)::before { 
        animation-delay: 0.5s !important; 
    }
    
    .country-tab:nth-child(3) { 
        animation-delay: 0.6s !important; 
    }
    .country-tab:nth-child(3)::before { 
        animation-delay: 1s !important; 
    }
    
    .country-tab:nth-child(4) { 
        animation-delay: 0.9s !important; 
    }
    .country-tab:nth-child(4)::before { 
        animation-delay: 1.5s !important; 
    }
    
    .country-tab:nth-child(5) { 
        animation-delay: 1.2s !important; 
    }
    .country-tab:nth-child(5)::before { 
        animation-delay: 2s !important; 
    }
    
    .country-tab:nth-child(6) { 
        animation-delay: 1.5s !important; 
    }
    .country-tab:nth-child(6)::before { 
        animation-delay: 2.5s !important; 
    }
    
    .country-tab:nth-child(7) { 
        animation-delay: 1.8s !important; 
    }
    .country-tab:nth-child(7)::before { 
        animation-delay: 3s !important; 
    }
    
    .country-tab:nth-child(8) { 
        animation-delay: 2.1s !important; 
    }
    .country-tab:nth-child(8)::before { 
        animation-delay: 3.5s !important; 
    }
    
    .country-tab:nth-child(n+9) { 
        animation-delay: 2.4s !important; 
    }
    .country-tab:nth-child(n+9)::before { 
        animation-delay: 4s !important; 
    }
    
    /* Countries grid - full width single column - HIGH SPECIFICITY */
    body .country-plans-section .countries-grid,
    .country-plans-section .countries-grid,
    .countries-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        will-change: transform !important;
        transform: translateZ(0) !important;
    }

    /* MOBILE COUNTRY TAB REDESIGN - HORIZONTAL LAYOUT WITH TOK NEON EDGES - HIGH SPECIFICITY */
    body .country-plans-section .countries-grid .country-tab,
    .country-plans-section .countries-grid .country-tab,
    .countries-grid .country-tab,
    .country-tab {
        display: flex !important;
        align-items: center !important;
        padding: 12px 15px !important;
        min-height: 60px !important;
        height: 60px !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: visible !important;
        margin: 0 !important;
        
        /* Clean solid background - more visible */
        background: rgba(255, 255, 255, 0.12) !important;
        
        /* Glass effect */
        backdrop-filter: blur(15px) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        
        /* Smooth transitions */
        transition: all 0.3s ease !important;
    }
    
    /* TOK NEON EDGE EFFECT - Always visible at corners */
    .country-tab::before {
        content: '' !important;
        position: absolute !important;
        top: -3px !important;
        left: -3px !important;
        right: -3px !important;
        bottom: -3px !important;
        background: linear-gradient(135deg, 
            rgba(12, 224, 107, 0.8) 0%, 
            rgba(12, 224, 107, 0.6) 8%,
            transparent 18%, 
            transparent 82%, 
            rgba(12, 224, 107, 0.6) 92%,
            rgba(12, 224, 107, 0.8) 100%) !important;
        border-radius: 12px !important;
        opacity: 1 !important;
        transition: all 0.3s ease !important;
        z-index: 0 !important;
        filter: blur(2px) !important;
    }
    
    .country-tab:active::before {
        opacity: 1 !important;
        filter: blur(3px) !important;
        background: linear-gradient(135deg, 
            rgba(12, 224, 107, 1) 0%, 
            rgba(12, 224, 107, 0.8) 10%,
            transparent 20%, 
            transparent 80%, 
            rgba(12, 224, 107, 0.8) 90%,
            rgba(12, 224, 107, 1) 100%) !important;
    }
    
    /* Active state */
    .country-tab.active {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(12, 224, 107, 0.6) !important;
        box-shadow: 0 4px 15px rgba(12, 224, 107, 0.25) !important;
    }
    
    .country-tab.active::before {
        background: linear-gradient(135deg, 
            rgba(12, 224, 107, 1) 0%, 
            rgba(12, 224, 107, 0.8) 10%,
            transparent 20%, 
            transparent 80%, 
            rgba(12, 224, 107, 0.8) 90%,
            rgba(12, 224, 107, 1) 100%) !important;
    }
    
    /* Ensure content stays above the gradient overlay */
    .country-tab .round-flag-container,
    .country-tab .country-content {
        position: relative !important;
        z-index: 2 !important;
    }
    .country-tab .round-flag-container {
        width: 36px !important;
        height: 36px !important;
        margin-right: 12px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .country-tab .round-flag-container .fi {
        font-size: 24px !important;
    }
    
    /* Content area for name and price */
    .country-tab .country-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
    }
    
    /* Country name styling */
    .country-tab .country-name {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        margin: 0 0 2px 0 !important;
        line-height: 1.2 !important;
        color: white !important;
    }
    
    /* Country price styling */
    .country-tab .country-price {
        font-size: 0.9rem !important;
        margin: 0 !important;
        color: var(--primary-green) !important;
        font-weight: 600 !important;
    }
    
    /* Arrow icon on the right */
    .country-tab::after {
        content: '\f054' !important;
        font-family: 'Font Awesome 5 Free' !important;
        font-weight: 900 !important;
        color: rgba(255, 255, 255, 0.4) !important;
        font-size: 12px !important;
        margin-left: 10px !important;
        flex-shrink: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    /* INLINE BADGES - Next to country names */
    .inline-hot-badge {
        background: #ffd700 !important;
        color: black !important;
        font-size: 9px !important;
        padding: 2px 5px !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
        margin-left: 5px !important;
        display: inline-block !important;
        vertical-align: middle !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .inline-for-you-badge {
        background: var(--primary-green) !important;
        color: white !important;
        font-size: 9px !important;
        padding: 2px 5px !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
        margin-left: 5px !important;
        display: inline-block !important;
        vertical-align: middle !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    /* MOBILE HERO TEXT HIDING - Hide only Viozzo Global Network badge */
    .hero-badge {
        display: none !important;
        visibility: hidden !important;
    }

    /* MOBILE HERO HEIGHT REDUCTION - Compact hero since badge is removed */
    .hero-section {
        min-height: 0vh !important;
        padding: 10px 0 0px 0 !important;
        overflow: visible !important;
    }

    .hero-content {
        gap: 40px !important;
        padding: 0 20px !important;
    }

    /* FOR YOU BADGE STYLING - Mobile support */
    .for-you-badge {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        background: #00ff88 !important;
        color: black !important;
        font-size: 10px !important;
        padding: 2px 6px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        z-index: 10 !important;
    }
    
    /* INLINE BADGES - Next to country names */
    .inline-hot-badge {
        background: #ffd700 !important;
        color: black !important;
        font-size: 10px !important;
        padding: 2px 6px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        margin-left: 6px !important;
        display: inline-block !important;
    }
    
    .inline-for-you-badge {
        background: #00ff88 !important;
        color: black !important;
        font-size: 10px !important;
        padding: 2px 6px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        margin-left: 6px !important;
        display: inline-block !important;
    }

}