/* ===== RESET & VARIABLES ===== */
:root {
    --primary-yellow: #FFD700;
    --yellow-dark: #FFA500;
    --bg-light: #FFF8E1;
    --card-bg: #ffffff;
    --text-dark: #1A1A1A;
    --shadow: 0 10px 30px rgba(0,0,0,0.12);
    --telegram-blue: #2AABEE;
    --telegram: #2AABEE;
}

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

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--card-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.header-logo {
    height: 38px;
    width: 38px;
    object-fit: cover;
}

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

/* Hamburger menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    background: none;
    border: none;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 3px;
    transition: transform 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    top: 70px;
    right: 14px;
    width: 260px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: translateY(-15px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 1000;
    overflow: hidden;
}

.mobile-drawer.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer a {
    display: block;
    padding: 18px 20px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    background: #eee;
}

.mobile-drawer a:hover {
    background: #f5f5f5;
}

.mobile-drawer a:last-child {
    border-bottom: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-dark));
    color: #fff;
    text-align: center;
    padding: 1.2rem 0 0.8rem;
}

.hero h1 {
    font-size: 1.1rem;
    margin: 0.2rem 0 0.4rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.hero-main-img {
    max-width: 150px;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    margin: 0.5rem auto;
    display: block;
}

.hero p {
    max-width: 750px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* Buttons */
.buttons-row {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    background: var(--primary-yellow);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-4px);
}

.btn-full {
    display: block;
    max-width: 420px;
    margin: 1rem auto 0;
    text-align: center;
}

.telegram-btn {
    display: block;
    text-align: center;
    background: var(--telegram-blue);
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-top: 14px;
    text-decoration: none;
    font-weight: 600;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
}

.pros-cons-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 10px auto 0;
    max-width: 900px;
}

.pros-cons-table th {
    padding: 12px;
    text-align: left;
    background: var(--primary-yellow);
    color: #fff;
}

.pros-cons-table th:first-child {
    width: 50%;
}

.pros-cons-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.pros-cons-table tr:nth-child(even) {
    background: #faf7e6;
}

.pros-cons-table tr:last-child td {
    border-bottom: none;
}

/* ===== CARDS ===== */
.card {
    background: #fff;
    padding: 26px;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

/* ===== FORMS ===== */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

button.submit {
    background: var(--primary-yellow);
    border: none;
    padding: 12px 20px;
    margin-top: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    margin-top: 18px;
    font-size: 14px;
}

footer a {
    color: #FFD700;
    margin: 0 10px;
    text-decoration: none;
}

/* ===== PERFORMANCE & MEDIA QUERIES ===== */
section {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1rem;
        line-height: 1.25;
    }
}