/*
Theme Name: eSIM Ultra Modern Theme
Description: Ultra modern, minimalist WordPress theme for eSIM services with modular CSS architecture
Author: Custom Development
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: esim-modern-theme
*/

/* ============================================================================
   MODULAR CSS IMPORTS
   ============================================================================ */

/* Modular CSS imports removed - causing 404 errors */
/* All styles moved inline below */
@import url('css/components/hero-responsive.css?v=2.3.0');
@import url('css/components/woocommerce-notices.css?v=2.0.0');

/* Legacy CSS - Remaining styles to be modularized */

/* Legacy typography styles - moved to base/typography.css */
/* DOUBLE SCROLLBAR FIX: Separate scroll responsibilities */
html {
    overflow-x: hidden;
    overflow-y: scroll;
}
body {
    overflow: hidden;
    margin: 0;
    padding: 0;
}
/* Container - Wider for modern look */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Ultra Modern */
.site-header {
    background: var(--pure-white);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top {
    background: var(--gray-50);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 20px 0;
}

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

.site-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pure-black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--pure-black);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--neon-green);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Legacy button styles - moved to components/buttons.css */

/* Hero Section - Ultra Modern with Responsive Scaling */
.hero-section {
    background: var(--pure-black);
    color: var(--pure-white);
    padding: clamp(40px, 8vh, 70px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(12, 224, 107, 0.1);
    border: 1px solid rgba(12, 224, 107, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3rem;
    color: var(--neon-green);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(1.6rem, 3.2vw, 2.8rem);
    margin-bottom: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 1.6vw, 1rem);
    margin-bottom: clamp(1.3rem, 2.8vw, 1.9rem);
    opacity: 0.8;
    line-height: 1.5;
    max-width: clamp(400px, 65vw, 600px);
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-200);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neon-green);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Search Box - Ultra Modern */
.search-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

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

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

.search-btn {
    background: var(--neon-green);
    color: var(--pure-black);
    border: none;
    padding: 18px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--neon-green);
    transform: translateY(-1px);
    box-shadow: var(--glow-green);
}

.popular-destinations {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.destination-tag {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.destination-tag:hover {
    background: rgba(12, 224, 107, 0.2);
    border-color: rgba(12, 224, 107, 0.3);
    color: var(--neon-green);
}

/* Features Section - Ultra Modern */
.features-section {
    padding: 120px 0;
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pure-black);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gray-900);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--pure-white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--neon-green);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--pure-black);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--pure-white);
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--neon-green);
    color: var(--pure-black);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--pure-black);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--gray-900);
    line-height: 1.6;
    opacity: 0.8;
    font-size: 15px;
}

/* How It Works Section - Ultra Modern */
.how-it-works {
    padding: 120px 0;
    background: var(--gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--neon-green);
    color: var(--pure-black);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-light);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--pure-black);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step-description {
    color: var(--gray-900);
    line-height: 1.6;
    opacity: 0.8;
    font-size: 15px;
}

/* Trust Section - Ultra Modern */
.trust-section {
    padding: 100px 0;
    background: var(--pure-white);
    text-align: center;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--neon-green);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--pure-black);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    background: var(--neon-green);
    color: var(--pure-black);
}

/* Footer - Ultra Modern */
.site-footer {
    background: var(--pure-black);
    color: var(--pure-white);
    padding: 80px 0 40px;
    position: relative;
    border-top: none;
}

.site-footer::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;
}

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

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

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--pure-white);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--neon-green);
    transform: translateX(4px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--neon-green);
}

/* Responsive Design - Ultra Modern */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* MOBILE OPTIMIZATION: Hide section header text */
    .section-header .section-title,
    .section-header .section-subtitle,
    .country-plans-section .section-header .section-title,
    .country-plans-section .section-header .section-subtitle {
        display: none !important;
    }
    
    /* MOBILE OPTIMIZATION: Horizontal scrollable filter tabs - ULTRA HIGH SPECIFICITY */
    .country-plans-section .filter-row,
    .filter-row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        justify-content: flex-start !important;
        padding: 0 15px !important;
        margin: 1rem auto 1.5rem !important;
        gap: 8px !important;
        /* Force horizontal layout */
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hide scrollbars completely */
    .country-plans-section .filter-row::-webkit-scrollbar,
    .filter-row::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Force chips to stay in single line */
    .country-plans-section .filter-chip,
    .filter-chip {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        gap: 6px !important;
        min-width: auto !important;
        display: inline-flex !important;
    }
    
    .hero-section {
        padding: 35px 0;
        min-height: 25vh;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    .search-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        padding: 2rem 1.5rem;
    }
    
    .main-nav ul {
        display: none; /* Will be replaced with mobile menu */
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        display: flex;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .search-input, .search-btn {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
}
