:root {
    --primary: #667eea;
    --primary-dark: #5a6fe0;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #1e293b;
    overflow-x: hidden;
}

.navbar-brand { font-size: 1.4rem; }

/* ===== NEW HERO ===== */
.hero-new {
    position: relative;
    padding: 80px 0;
    background: #0f172a;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1400&h=700&fit=crop') center/cover no-repeat;
    opacity: 0.25;
}

.hero-new .container { position: relative; z-index: 2; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 16px 0;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea, #a78bfa, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.7;
}

.btn-hero-primary {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-hero-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 8px 25px rgba(102,126,234,0.4); }

.btn-hero-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .stat-item strong { display: block; color: #fff; font-size: 1.4rem; }
.hero-stats .stat-item span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-height: 420px;
    object-fit: cover;
}

.min-vh-50 { min-height: 50vh; }

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-title {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 4px;
    color: #0f172a;
}

.section-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ===== COUNTRY CARDS WITH IMAGES ===== */
.country-card-new {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f1f5f9;
    height: 100%;
}

.country-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    color: inherit;
}

.country-image {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.country-card-new:hover .country-image img {
    transform: scale(1.08);
}

.country-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea20, #764ba220);
}

.country-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
}

.country-emoji {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 1.2rem;
}

.country-info {
    padding: 14px 16px;
}

.country-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #1e293b;
}

.country-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.country-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.country-price small {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.75rem;
}

.country-pkgs {
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f8fafc;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ===== FEATURES ===== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.feature-card-new {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
    height: 100%;
}

.feature-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

.feature-card-new h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card-new p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ===== STEPS ===== */
.steps-section {
    padding: 80px 0;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-item h5 { font-weight: 700; margin-bottom: 4px; }
.step-item p { margin-bottom: 0; }

/* ===== PACKAGE CARDS ===== */
.package-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
}

.package-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(102,126,234,0.15);
    transform: translateY(-2px);
}

.package-card .volume { font-size: 2rem; font-weight: 800; color: var(--primary); }
.package-card .duration { color: #64748b; font-size: 0.9rem; }
.package-card .price { font-size: 1.6rem; font-weight: 700; color: #1e293b; }

.package-card .speed {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-buy {
    background: var(--gradient);
    border: none;
    color: #fff;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-buy:hover { opacity: 0.9; color: #fff; transform: translateY(-1px); }

/* ===== DESTINATION HERO ===== */
.destination-hero {
    background: var(--gradient);
    padding: 40px 0;
    color: #fff;
}

.destination-hero .emoji { font-size: 4rem; }

/* ===== SEARCH ===== */
.search-box { max-width: 500px; margin: 0 auto; }
.search-box .form-control {
    border-radius: 50px;
    padding: 14px 24px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}
.search-box .form-control::placeholder { color: rgba(255,255,255,0.6); }
.search-box .form-control:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
    color: #fff;
}

/* ===== LOOKUP ===== */
.lookup-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 48px;
}
.footer h5, .footer h6 { color: #fff; margin-bottom: 16px; }
.footer a { color: #94a3b8; text-decoration: none; line-height: 2; }
.footer a:hover { color: #fff; }
.footer hr { border-color: rgba(255,255,255,0.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-new { padding: 50px 0; }
    .hero-stats { gap: 20px; }
    .section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .country-image { height: 110px; }
}

/* ===== DESTINATIONS PAGE (update) ===== */
.country-item .country-card-new { height: 100%; }

/* ===== ESIM INTRO SECTION ===== */
.esim-intro-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 100%);
}

.esim-intro-content .lead {
    font-size: 1.2rem;
    line-height: 1.7;
}

.esim-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #475569;
}

.highlight-item i {
    font-size: 1.2rem;
}

.esim-intro-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 380px;
    background: #0f172a;
    border-radius: 36px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-demo {
    text-align: center;
    padding: 20px;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 80px 0;
    background: #fff;
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rating-summary .stars {
    color: #f59e0b;
    font-size: 1.4rem;
}

.rating-summary .rating-text {
    color: #64748b;
    font-size: 0.95rem;
}

.review-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.review-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.review-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== FAQ + CONTACT SECTION ===== */
.faq-contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 100px;
}

.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-features {
    margin-top: 24px;
    text-align: left;
}

.cf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
}

.cf-item:last-child {
    border-bottom: none;
}

.cf-item i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .esim-highlights {
        grid-template-columns: 1fr;
    }
    .phone-mockup {
        width: 220px;
        height: 300px;
    }
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
    max-height: 400px;
    overflow-y: auto;
    min-width: 160px;
}

.lang-dropdown .dropdown-item {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.lang-dropdown .dropdown-item.active {
    background: var(--primary);
    color: #fff;
}
