/* ==============================================
   ENHANCED VERSION WITH ADVANCED PSEUDO HOVER EFFECTS
   ============================================== */

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #4895ef;
    --secondary: #7209b7;
    --accent: #f72585;
    --success: #4cc9f0;
    --warning: #f8961e;
    --danger: #f94144;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --light: #f8f9fa;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-primary-reverse: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-light: linear-gradient(135deg, #f0f4ff 0%, #f8faff 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    --gradient-glass-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    --gradient-banner: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(114, 9, 183, 0.05) 100%);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 10px 30px rgba(67, 97, 238, 0.3);
    --shadow-glow: 0 0 50px rgba(67, 97, 238, 0.2);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --radius-glass: 20px;
}

/* CSS Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: var(--shadow-primary);
    }

    50% {
        box-shadow: var(--shadow-glow);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.phone-input-wrapper.has-input {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.phone-input-wrapper.focused.has-input {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Enhanced card hover with pseudo-elements */
.card {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: var(--radius-xl);
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

/* Glow border effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

/* Shimmer effect overlay */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}

.card:hover::after {
    left: 100%;
}

/* Enhanced hover for buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary::after {
    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.7s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

/* Enhanced section hover effects */
section {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

section .floating-shapes {
    position: absolute;
    width: 100%;
    margin: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

section .floating-shapes div {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s infinite linear;
}

section:hover .floating-shapes div {
    animation-duration: 10s;
}

/* Enhanced country card hover */
.country-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-card .country-flag-wrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.country-card .country-flag-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.country-card:hover .country-flag-wrapper::before {
    opacity: 0.2;
}

.country-card .country-flag-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.7s ease;
    z-index: 2;
}

.country-card:hover .country-flag-wrapper::after {
    left: 100%;
}

/* Enhanced feature card hover */
.feature-icon-wrapper {
    position: relative;
    overflow: hidden;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover .feature-icon-wrapper::before {
    opacity: 0.1;
}

/* Enhanced step card hover */
.step-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.step-card .step-number {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-card .step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.step-card:hover .step-number::before {
    opacity: 0.1;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced recharge box hover */
.recharge-box {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recharge-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.recharge-box:hover::before {
    opacity: 0.5;
}

.recharge-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(67, 97, 238, 0.05) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.recharge-box:hover::after {
    opacity: 1;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--gradient-banner);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--gradient-banner);
    padding: 0 0 30px;
}

@media (max-height: 700px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 90px 0 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 30px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(114, 9, 183, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    margin-top: -60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-primary);
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-container {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        gap: 25px;
    }
}

/* Content Slider */
.content-slider {
    position: relative;
    overflow: hidden;
    padding-right: 20px;
}

@media (max-width: 992px) {
    .content-slider {
        padding-right: 0;
        max-width: 600px;
        margin: 0 auto;
    }
}

.slider-slide {
    animation: fadeIn 0.8s ease;
    padding: 10px;
    display: none;
}

.slider-slide.active {
    display: block;
}

.slider-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slider-icon::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.7s ease;
}

.content-slider:hover .slider-slide.active .slider-icon::before {
    left: 100%;
}

@media (max-width: 992px) {
    .slider-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .slider-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .slider-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
}

.slider-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.slider-title span {
    color: var(--primary);
    display: inline;
    position: relative;
}

.slider-title span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.content-slider:hover .slider-slide.active .slider-title span::after {
    width: 100%;
}

@media (max-width: 992px) {
    .slider-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .slider-title {
        font-size: 1.7rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .slider-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .slider-title {
        font-size: 1.3rem;
    }
}

.slider-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.slider-description::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-slider:hover .slider-slide.active .slider-description::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .slider-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .slider-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
}

.slider-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .slider-features {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .slider-features {
        gap: 6px;
        margin-top: 12px;
    }
}

.slider-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.slider-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.content-slider:hover .slider-slide.active .slider-feature::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

@media (max-width: 768px) {
    .slider-feature {
        font-size: 0.8rem;
        gap: 6px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .slider-feature {
        font-size: 0.75rem;
        gap: 5px;
    }
}

.slider-feature i {
    color: var(--primary);
    font-size: 0.85rem;
    min-width: 14px;
    transition: all 0.3s ease;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    position: relative;
}

@media (max-width: 992px) {
    .slider-controls {
        justify-content: center;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .slider-controls {
        gap: 10px;
        margin-top: 20px;
    }
}

.slider-btn {
    width: 32px;
    height: 32px;
    background: white;
    backdrop-filter: blur(10px);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.slider-btn:hover::before {
    opacity: 1;
}

.slider-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.slider-btn:hover i {
    color: white;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

.slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.5);
}

.slider-dot.active::before {
    transform: scale(1);
}

.slider-dot:hover::before {
    transform: scale(1);
}

/* Recharge Box */
.recharge-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 25px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.8s ease;
    max-width: 100%;
    width: 100%;
    margin: auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

@media (min-width: 993px) {
    .recharge-box {
        max-width: 450px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .recharge-box {
        max-width: 500px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .recharge-box {
        max-width: 100%;
        width: 100%;
        padding: 30px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .recharge-box {
        padding: 25px 20px;
        border-radius: var(--radius-lg);
        margin: 0;
        width: calc(100% + 24px);
        max-width: none;
        margin-left: -12px;
    }
}

@media (max-width: 360px) {
    .recharge-box {
        padding: 20px 16px;
        border-radius: var(--radius);
        width: calc(100% + 24px);
        margin-left: -12px;
    }
}

.box-header {
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .box-header {
        margin-bottom: 16px;
    }
}

.box-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    animation: fadeIn 0.6s ease 0.4s both;
    transition: all 0.3s ease;
    position: relative;
}

.box-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.recharge-box:hover .box-title::after {
    width: 85px;
}

@media (max-width: 768px) {
    .box-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .box-title {
        font-size: 1.3rem;
    }
}

.box-subtitle {
    color: var(--gray-500);
    font-size: 0.85rem;
    animation: fadeIn 0.6s ease 0.6s both;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .box-subtitle {
        font-size: 0.9rem;
    }
}

/* Country Selector */
.country-selector {
    margin-bottom: 16px;
    animation: fadeIn 0.6s ease 0.8s both;
    position: relative;
    z-index: 1000;
}

@media (max-width: 480px) {
    .country-selector {
        margin-bottom: 12px;
    }
}

.country-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.country-label i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.recharge-box:hover .country-label i {
    transform: rotate(360deg);
    color: blue;
    scale: 1.1;
}

.country-selected {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    position: relative;
    z-index: 1001;
}

.country-selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.country-selected:hover::before {
    opacity: 0.05;
}

@media (max-width: 480px) {
    .country-selected {
        padding: 8px;
        min-height: 44px;
    }
}

.country-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.country-flag {
    width: 24px;
    height: 18px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.country-flag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.7s ease;
}

.country-selected:hover .country-flag::after {
    left: 100%;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .country-name {
        font-size: 0.9rem;
        max-width: 150px;
    }
}

.country-code {
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

/* Country Dropdown */
.country-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-height: 250px;
    overflow: hidden;
    z-index: 99999;
    display: none;
    border: 1px solid var(--gray-200);
}

.country-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.country-search {
    padding: 10px;
    border-bottom: 1px solid var(--gray-200);
    background: white;
    position: sticky;
    top: 0;
    z-index: 99999;
}

.country-search input {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.country-search input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.country-list {
    padding: 5px 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99999;
}

.country-option {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-100);
    min-height: 45px;
    z-index: 99999;
    position: relative;
    overflow: hidden;
}

.country-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.country-option:hover::before {
    opacity: 0.05;
}

.country-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.country-option:hover::after {
    left: 100%;
}

/* Phone Input */
.phone-input {
    margin-bottom: 16px;
    animation: fadeIn 0.6s ease 1s both;
}

.phone-input-wrapper {
    display: flex;
    gap: 0;
    position: relative;
    margin-bottom: 7px;
    background: white;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
    min-height: 52px;
}

.phone-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-input {
    width: 100%;
    padding: 14px 15px;
    font-size: 16px;
    background: transparent;
    border: none;
    outline: none;
    color: transparent;
    caret-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 2;
}

.phone-display {
    padding: 14px 15px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    position: relative;
    min-height: 52px;
    cursor: text;
}

.phone-display .country-code {
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 7px;
    user-select: none;
}

.phone-display .placeholder-digit {
    color: #ddd;
    transition: color 0.2s ease;
}

.phone-display .user-digit {
    color: #333;
    font-weight: 600;
}

.phone-display .format-char {
    color: #999;
    user-select: none;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: #667eea;
    animation: blink 1s infinite;
    position: relative;
    top: -1px;
    vertical-align: middle;
}

.phone-input-wrapper:not(:focus-within) .cursor {
    display: none !important;
}

/* Recharge Button */
.recharge-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 48px;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease 1.2s both;
}

.recharge-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.7s ease;
}

.recharge-btn:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .recharge-btn {
        padding: 16px;
        font-size: 1rem;
        height: 52px;
    }
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: all 0.5s ease;
}

.section-bg.pattern {
    background:
        radial-gradient(circle at 20% 30%, rgba(67, 97, 238, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(114, 9, 183, 0.03) 0%, transparent 50%);
}

.section-bg.light {
    background: var(--gradient-light);
}

.section-bg.white {
    background: white;
}

.section-container {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 30px;
    }
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 6px 16px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(67, 97, 238, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.section-subtitle:hover::before {
    left: 100%;
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
    transition: all 0.3s ease;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 80px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }
}

.section-description {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.section-description::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-description:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .section-description {
        font-size: 0.95rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .section-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* Cards Grid */
.cards-grid {
    display: grid;
    gap: 20px;
    transition: all 0.3s ease;
}

.cards-grid.countries {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.cards-grid.operators {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.cards-grid.services,
.cards-grid.features {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.cards-grid.testimonials {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 768px) {
    .cards-grid.countries {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .cards-grid.operators,
    .cards-grid.services,
    .cards-grid.features,
    .cards-grid.testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cards-grid.countries {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cards-grid {
        gap: 15px;
    }
}

.card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card .card-icon::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.7s ease;
}

.card:hover .card-icon::before {
    left: 100%;
}

.card .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.card .card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.card:hover .card-title::after {
    width: 40px;
}

.card .card-text {
    color: var(--gray-600);
    line-height: 1.6;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Country Card */
.country-card {
    text-align: center;
    cursor: pointer;
    padding: 15px 10px;
}

.country-flag-wrapper {
    width: 60px;
    height: 40px;
    margin: 0 auto 12px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.country-flag-wrapper img {
    object-fit: fill;
    width: 100%;
    height: 100%;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.step-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Features Section */
.features-section {
    background: var(--gradient-light);
}

.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.feature-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0.1;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.feature-icon {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-list {
    list-style: none;
    margin-top: 15px;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-600);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.feature-list li:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.feature-list i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: gradientShift 10s ease infinite;
    background-size: 200% 200%;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: linear-gradient(to right, white, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, white, var(--primary-light));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.cta-title:hover::after {
    width: 80px;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
}

.cta-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Notification */
.notification {
    position: fixed;
    top: 80px;
    right: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    max-width: 300px;
    border-left: 4px solid var(--primary);
    font-size: 0.85rem;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Extra Info Styles */
.extra-info {
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    padding: 15px;
    margin-top: 15px;
    border-left: 4px solid var(--primary);
}

.extra-info-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.extra-info-content {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Animation Delays */
.delay-1 {
    animation-delay: 0.1s !important;
}

.delay-2 {
    animation-delay: 0.2s !important;
}

.delay-3 {
    animation-delay: 0.3s !important;
}

.delay-4 {
    animation-delay: 0.4s !important;
}

.delay-5 {
    animation-delay: 0.5s !important;
}

/* Scrollbar Styling */
.country-list::-webkit-scrollbar {
    width: 5px;
}

.country-list::-webkit-scrollbar-track {
    background: var(--gray-200);
}

.country-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.example-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}

.example-btn {
    width: 50%;
    padding: 8px 12px;
    font-size: 13px;
    font-family: monospace;
    transition: all 0.2s ease;
    color: #2004f5ff;
    text-align: center;
}

.example-btn:hover {
    color: black;
}

.format-hint {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

.character-count {
    font-size: 11px;
    color: #888;
    text-align: right;
    margin-top: 5px;
    font-family: monospace;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    .example-buttons {
        flex-direction: column;
    }

    .example-btn {
        width: 100%;
        min-width: auto;
    }
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}