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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
}

.header {
    text-align: center;
    padding: 24px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.header h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.header p {
    font-size: 1rem;
    opacity: 0.9;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.feature {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.feature h3 {
    color: #667eea;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature p {
    font-size: 0.95rem;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.plan {
    padding: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.plan:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.plan.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.plan.featured h3,
.plan.featured .price {
    color: white;
}

.plan h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #333;
}

.plan .price {
    font-size: 1.75rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 12px;
}

.plan .price span {
    font-size: 0.4em;
    font-weight: normal;
}

.plan ul {
    list-style: none;
    margin: 12px 0;
    text-align: left;
    font-size: 0.9rem;
}

.plan ul li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.plan.featured ul li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.plan ul li:before {
    content: "✓ ";
    color: #28a745;
    margin-right: 10px;
}

.plan.featured ul li:before {
    color: white;
}

.plan ul li.na {
    opacity: 0.7;
}

.plan ul li.na:before {
    content: "✗ ";
    color: #dc3545;
}

.plan.featured ul li.na:before {
    color: #ffb3b3;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn:hover {
    background: #5568d3;
}

.btn.featured {
    background: white;
    color: #667eea;
}

.btn.featured:hover {
    background: #f0f0f0;
}

.form {
    max-width: 500px;
    margin: 24px auto;
    padding: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.form h2 {
    text-align: center;
    margin-bottom: 16px;
    color: #333;
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.form-group input:not(.iti__tel-input),
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-group input.iti__tel-input {
    width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
}

.form-group input.iti__tel-input:focus {
    border-color: #667eea;
}

.iti {
    width: 100%;
}

.iti__country-list,
.iti__dropdown-content {
    z-index: 2001;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    color: #666;
    font-size: 0.9em;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 16px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    float: right;
    font-size: 1.5em;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.loading {
    text-align: center;
    padding: 12px;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}