/* ===== CSS Variables ===== */
:root {
    --primary-green: #22c55e;
    --dark-green: #166534;
    --light-green: #dcfce7;
    --accent-orange: #f97316;
    --dark-orange: #ea580c;
    --bg-primary: #f0fdf4;
    --bg-secondary: #ffffff;
    --bg-dark: #064e3b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 16px 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-cookie-accept {
    background: var(--primary-green);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.btn-cookie-accept:hover {
    background: var(--dark-green);
}

.btn-cookie-decline {
    background: transparent;
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 500;
    transition: var(--transition);
}

.btn-cookie-decline:hover {
    background: rgba(255,255,255,0.1);
}

/* ===== Header ===== */
.header {
    background: rgba(240, 253, 244, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary-green);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
    background: var(--light-green);
}

.lang-option img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.btn-signin {
    background: var(--accent-orange);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-signin:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    padding: 20px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ===== Main Content ===== */
.main-content {
    padding: 24px 0 60px;
}

.content-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

/* ===== Sidebar ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Tabs */
.tabs {
    display: flex;
    background: rgba(255,255,255,0.5);
    border-radius: var(--radius-lg);
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
}

.tab-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* Service Selector */
.service-selector,
.rank-selector,
.country-selector {
    background: var(--dark-green);
    border-radius: var(--radius-lg);
    padding: 20px;
    color: white;
}

.selector-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.step-number {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.selector-title {
    font-size: 14px;
    font-weight: 500;
}

.info-icon {
    opacity: 0.7;
    cursor: help;
}

.service-search,
.country-search {
    position: relative;
    margin-bottom: 12px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.service-search input,
.country-search input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: var(--radius-md);
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.service-search input::placeholder,
.country-search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.service-search input:focus,
.country-search input:focus {
    background: rgba(255,255,255,0.15);
}

.service-dropdown {
    display: none;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.service-dropdown.show {
    display: block;
}

.service-item {
    padding: 12px 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.service-item:hover {
    background: var(--light-green);
}

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

.service-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.service-icon:hover,
.service-icon.active {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.service-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.support-text {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

.support-text a {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* Rank Selector */
.rank-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 4px;
}

.rank-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.rank-btn.active {
    background: rgba(255,255,255,0.2);
    color: white;
}

.rank-btn:hover:not(.active) {
    color: white;
}

/* Sort Options */
.sort-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.sort-btn.active {
    color: var(--accent-orange);
}

.sort-btn:hover:not(.active) {
    color: white;
}

/* ===== Main Panel ===== */
.main-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Country List */
.country-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.country-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.country-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.country-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-flag {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.country-name {
    font-size: 14px;
    font-weight: 500;
}

.country-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.country-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-green);
}

.country-actions {
    display: flex;
    gap: 8px;
}

.btn-buy {
    padding: 8px 20px;
    background: var(--primary-green);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--dark-green);
}

.btn-select {
    padding: 8px 16px;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.btn-select:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.view-more-btn {
    padding: 14px;
    background: white;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.view-more-btn:hover {
    color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.promo-slide {
    display: none;
}

.promo-slide.active {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.promo-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-read {
    padding: 12px 32px;
    background: var(--accent-orange);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-read:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
}

.promo-images {
    display: flex;
    gap: -20px;
}

.gmail-icon {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.promo-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 32px;
    height: 4px;
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-orange);
}

/* Monetize Section */
.monetize-section {
    margin-top: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-orange);
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step-card {
    background: linear-gradient(135deg, var(--dark-green) 0%, #15803d 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: white;
    text-align: center;
}

.step-num {
    font-size: 12px;
    text-transform: lowercase;
    opacity: 0.8;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.about-content .section-title {
    text-align: left;
    color: var(--dark-green);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-orange);
    font-weight: 700;
}

.sim-cards-decoration {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
}

.sim-card {
    width: 140px;
    height: 90px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.sim-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 8px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
}

.sim-card:nth-child(2) {
    transform: translateY(-30px) rotate(5deg);
}

.sim-card:nth-child(3) {
    transform: translateY(30px) rotate(-5deg);
}

/* Suitable Section */
.suitable-section {
    margin-bottom: 40px;
}

.suitable-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 15px;
}

.suitable-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.suitable-card {
    background: linear-gradient(135deg, var(--dark-green) 0%, #15803d 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    color: white;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suitable-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.suitable-card p {
    font-size: 14px;
    opacity: 0.9;
}

.btn-read-more {
    display: block;
    margin: 0 auto;
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--dark-green);
    color: var(--dark-green);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-read-more:hover {
    background: var(--dark-green);
    color: white;
}

/* Advantages Section */
.advantages-section {
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 24px;
}

.adv-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--light-green);
    border-radius: 50%;
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Statistics Section */
.statistics-section {
    background: rgba(255,255,255,0.5);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 40px;
}

.stats-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.green {
    background: var(--primary-green);
}

.legend-color.orange {
    background: var(--accent-orange);
}

.stats-chart {
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.testimonial-badge.client {
    background: #dbeafe;
    color: #1e40af;
}

.testimonial-badge.partner {
    background: var(--light-green);
    color: var(--dark-green);
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
}

.login-to-review {
    text-align: center;
    margin-top: 24px;
    color: var(--text-light);
    font-size: 14px;
}

/* Calculator Section */
.calculator-section {
    margin-bottom: 40px;
}

.calc-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.custom-select select,
.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.custom-select select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.btn-calculate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent-orange);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-calculate:hover {
    background: var(--dark-orange);
}

.btn-calculate svg {
    width: 20px;
    height: 20px;
}

.calc-result {
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-green) 0%, #15803d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px;
    position: relative;
}

.result-circle::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}

.result-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-bottom: 16px;
}

.result-text {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Auth Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-color);
    transition: var(--transition);
}

.modal-close:hover {
    background: #dc2626;
    color: white;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.auth-tabs {
    display: flex;
    background: var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--primary-green);
    color: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.forgot-password {
    display: block;
    text-align: left;
    font-size: 13px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-auth-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-green);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-auth-submit:hover {
    background: var(--dark-green);
}

.social-login {
    margin-top: 24px;
}

.social-divider {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.social-divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-light);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 100;
}

.chat-widget:hover {
    transform: scale(1.1);
    background: var(--dark-green);
}

.chat-widget svg {
    width: 28px;
    height: 28px;
    color: white;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 320px 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .main-panel {
        order: 1;
    }
    
    .suitable-cards {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .sim-cards-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.show {
        display: block;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 32px;
    }
    
    .promo-slide.active {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-images {
        margin-top: 24px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .country-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .country-actions {
        width: 100%;
        justify-content: center;
    }
    
    .service-icons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .modal-content {
        padding: 24px;
        margin: 16px;
    }
}
