
:root {
    --primary-green: #13b89b;
    --primary-green-hover: #0f9a82;
    --primary-blue: #3973a6;
    --primary-blue-hover: #2e5d87;
    --text-black: #1d1e20;
    --text-gray: #4d4d4d;
    --bg-white: #ffffff;
    --bg-light-gray: #f8fafc;
    --container-width: 1200px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-black);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, .logo {
    font-family: 'Poppins', sans-serif;
}

/* Promo Bar */
header {
    background: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 40px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #13b89b 0%, #0d9488 100%);
    color: #fff;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.hero-content {
    flex: 1.2;
}

.hero-image {
    flex: 0.8;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero h1 {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    color: #fff;
}

.hero h1 .highlight {
    color: #facc15; /* Yellow highlight from example */
}

.hero p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 400;
}

.platform {
    position: relative;
    padding-bottom: 40px;
}

.platform::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-green);
    padding: 20px 50px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cta-button:hover {
    background-color: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: var(--primary-green-hover);
}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

/* Country Selector */
.country-selector {
    background-color: var(--bg-light-gray);
    padding: 100px 0;
    text-align: center;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.badge {
    background: linear-gradient(90deg, #16365f 0%, #5d48a6 100%);
    color: white;
    padding: 6px 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.country-selector h2 {
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: 800;
}

.country-selector .subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.country-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.country-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 220px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.country-card img {
    width: 80px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.country-card span {
    display: block;
    font-weight: 700;
    font-size: 18px;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: #ffffff;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}

.reviews-header p {
    color: #64748b;
    font-size: 18px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.review-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

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

.review-author {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin-top: auto;
}

.review-disclaimer {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 40px;
}

/* Footer */
footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 80px 0 40px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-company-info {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
    border-top: 1px solid #1e293b;
    padding-top: 40px;
}

.disclaimer {
    margin-top: 30px;
    font-style: italic;
    color: #475569;
}

/* Responsive */
@media (max-width: 992px) {
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        display: flex;
        padding: 0 15px; /* Prevent text from touching edges */
    }
    
    .hero h1 {
        font-size: 32px;
        margin-bottom: 10px; /* Reduced to bring image closer */
        line-height: 1.2;
    }
    
    .hero-image {
        width: 100%;
        max-width: 425px;
        margin: 0 auto 20px; /* Reduced bottom margin */
    }

    .hero-image img {
        max-width: 85%; /* Reduced size by 15% */
        margin: 0 auto;
    }
    
    .hero p {
        margin: 0 auto 32px;
        font-size: 16px; /* Slightly smaller for mobile */
        padding: 0 10px;
    }

    .cta-button {
        margin: 0 auto !important;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    

    .country-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .country-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-window {
    background: #ffffff;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 24px;
    position: relative;
    padding: 50px;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #475569;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
}

.modal-content-section {
    display: none;
}

.modal-content-section.active {
    display: block;
}

.modal-window h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.modal-window h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 25px 0 15px;
}

.modal-window p, .modal-window li {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

.modal-window ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .modal-window {
        padding: 30px 20px;
        width: 95%;
        max-height: 90vh;
    }
}
