/* Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fafafa;
    overflow-x: hidden;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-mark {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: block !important;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow: hidden !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    clip-path: inset(0) !important;
    contain: layout style paint;
}

.logo-image,
.logo-mark img,
#logoImage {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    scale: none !important;
    overflow: hidden !important;
    vertical-align: top !important;
    image-rendering: auto !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-pill {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-copy {
    animation: fadeInUp 0.8s ease-out;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #667eea;
    margin-bottom: 20px;
}

.hero-copy h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 30px;
}

.hero-highlight {
    color: #667eea;
    font-weight: 700;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
}

.hero-badges span {
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    font-size: clamp(11px, 1.2vw, 13px);
    color: #667eea;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image-wrap {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-wrap:hover img {
    transform: scale(1.05);
}

/* Countries Section */
.countries {
    padding: 100px 0;
    background: #fff;
}

.countries-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.countries-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.countries-header p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.country-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.country-bg {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.country-bg.us {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.country-bg.ca {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.country-bg.au {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.country-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.country-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.country-inner {
    padding: 30px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.country-tag-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.country-code {
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.region-pill {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.05);
    color: #4a5568;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.country-inner h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.country-sub {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 16px;
}

.country-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 24px;
    flex-grow: 1;
}

.country-button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-align: center;
    text-decoration: none;
}

.country-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-inner span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 0 20px;
    }
    
    .logo-main {
        font-size: 22px;
    }
    
    .logo-sub {
        font-size: 10px;
    }
    
    .nav-pill {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero {
        padding: 40px 0 60px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-copy h1 {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .hero-badges {
        gap: 5px;
    }
    
    .hero-badges span {
        padding: 3px 8px;
        font-size: 11px;
        border-radius: 10px;
        line-height: 1.3;
    }
    
    .hero-image-wrap {
        height: 300px;
    }
    
    .countries {
        padding: 60px 0;
    }
    
    .countries-header h2 {
        font-size: 32px;
    }
    
    .countries-grid {
        grid-template-columns: 1fr;
    }
    
}
