/* style.css */
/* 1. Глобальні змінні (вартості) */
:root {
    --primary: #2E7D32; /* Темно-зелений */
    --secondary: #F57C00; /* Помаранчевий */
    --text: #333; /* Темно-сірий для тексту */
    --bg: #f8f9fa; /* Світлий фон сторінки */
    --white: #fff; /* Білий */
    --shadow: 0 4px 12px rgba(0,0,0,0.1); /* Більш виразна тінь */
    --highlight-bg: #E8F5E9; /* Світло-зелений для активних елементів */
    --dark-green: #246B28; /* Темніший зелений для ховер ефектів */
    --sale-color: #d32f2f; /* Колір для акційних цін */
    --border-color: #e0e0e0; /* Колір рамок */
    --hover-bg: #f5f5f5; /* Колір фону при наведенні */
}

/* 2. Базові стилі HTML-елементів */
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

h1, h2, h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* - Акційний банер - */
.promo-banner {
    background-color: #F57C00;
    color: white;
    text-align: center;
    padding: 0.8rem 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.promo-banner strong {
    display: inline-block;
    transform: translateY(-1px);
}

/* - Hero Section - */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1b5e20 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero .slogan {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    margin-top: 3rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn-hero:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* - Product Description Section (#description) - */
.product-description-section {
    padding: 3.5rem 1rem;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-description-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.product-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.product-text {
    flex: 1 1 600px;
    min-width: 300px;
}

.product-image {
    flex: 1 1 300px;
    min-width: 250px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Стилі для таблиці */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    width: 100%;
}

table th, table td {
    white-space: normal;
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

table th {
    background-color: #e0f2f1;
    font-weight: 600;
    color: var(--primary);
}

table tr:nth-child(even) {
    background-color: var(--hover-bg);
}

/* - Benefits Section (#benefits) - */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--highlight-bg);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: var(--highlight-bg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 0.8rem;
    text-align: left;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

/* - Trust Section (#trust) - */
#trust {
    padding: 3.5rem 1rem;
    background-color: var(--white);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: left;
    border: 1px solid var(--border-color);
}

.trust-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.trust-item h3 i {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* - Calculator Section (#calculator) - */
.calc-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.calc-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.5rem 0;
}

.radio-group label {
    background: var(--hover-bg);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.radio-group label:hover {
    background: var(--highlight-bg);
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group input[type="radio"]:checked + label {
    background: var(--highlight-bg);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 0 2px var(--primary);
}

.radio-group input[type="radio"]:checked + label::before {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

#energyClassInfo {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

#energyClassInfo:hover {
    text-decoration: underline;
}

.btn-calc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-calc:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.results-wrapper {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--highlight-bg);
    border-radius: 12px;
    border: 1px solid #c8e6c9;
    display: none;
}

.results-wrapper.active {
    display: block;
}

.results-wrapper h3 {
    color: var(--primary);
    margin-top: 0;
}

.results-text {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.results-text strong {
    color: var(--primary);
}

.results-text .price {
    color: var(--sale-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.results-text .discount {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* - Modal Styles - */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    max-width: 600px;
    width: 90%;
    animation: fadeIn 0.3s ease-out;
    border: 1px solid var(--border-color);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: black;
    background: #e0e0e0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* - CTA Section (#final-cta) - */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #1b5e20 100%);
    color: var(--white);
    padding: 4rem 1rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.cta-contact-options {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-contact-options p {
    margin: 0 0 1rem 0;
    color: rgba(255,255,255,0.9);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.social-links a i {
    font-size: 1.2rem;
}

/* - Шапка та навігація - */
header {
    background: var(--primary);
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
}

.header-logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.slogan {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.contact-info .phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

/* - Навігація (уніфікована для всіх сторінок) - */
.top-menu {
    background-color: var(--dark-green);
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: var(--secondary);
}

/* Стиль для активного посилання в навігації */
.menu li a.active {
    color: var(--secondary);
    font-weight: 700;
}

/* Мобільне меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-green);
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
}

.menu.active li {
    margin: 0.5rem 0;
}

/* - Футер - */
footer {
    background: #1e1e1e;
    color: #e0e0e0;
    padding: 3rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.footer-column p {
    color: #b0b0b0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-column a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    display: block;
    padding: 0.2rem 0;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-social-icons a i {
    font-size: 1.2rem;
}

.footer-qr-code {
    display: inline-block;
    text-align: center;
    margin-top: 0.5rem;
}

.footer-qr-code img {
    max-width: 100px;
    height: auto;
    border: 2px solid #444;
    border-radius: 6px;
}

.qr-label {
    font-size: 0.8rem;
    color: #b0b0b0;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

/* - Вкладки на сторінці documentation.html - */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab {
    padding: 0.8rem 1.5rem;
    background: #f5f5f5;
    color: #666;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 150px;
}

.tab:hover {
    background: var(--highlight-bg);
    border-color: var(--primary);
}

.tab.active {
    border-color: var(--primary);
    background: var(--highlight-bg);
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

/* Стилі для контенту вкладок та елементів завантаження */
.tab-content {
    display: none;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
}

.tab-content.active {
    display: block;
}

.download-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--hover-bg);
    transition: all 0.3s ease;
}

.download-item:hover {
    background: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.download-info {
    flex: 1 1 300px;
    min-width: 200px;
}

.download-info strong {
    color: var(--primary);
}

.download-info small {
    color: #666;
}

.btn-download {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

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

.download-count {
    color: #666;
    font-size: 0.9rem;
    margin-left: auto;
    white-space: nowrap;
}

/* Стилі для кнопок додатків (Google Play, App Store) на documentation.html */
.btn-download-app {
    padding: 0.5rem 1rem;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-download-app .fab {
    font-size: 1.2em;
}

.btn-download-app[href*="apple.com"] {
    background: #000;
}

.btn-download-app[href*="apple.com"]:hover {
    background: #333;
}

.btn-download-app[href*="google.com"]:hover {
    background: #388E3C;
}

/* Стиль для тексту "iOS версія відсутня" */
.no-ios-version-text {
    color: #666;
    font-size: 0.9rem;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}

/* Стилі для QR-коду */
.app-qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.app-qr-code img {
    max-width: 80px;
    height: auto;
    border: 2px solid var(--border-color);
    border-radius: 4px;
}

.app-qr-code small {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.2rem;
    text-align: center;
}

/* Стиль для кнопки Приєднатися (email) */
.email-link {
    margin: 1rem auto;
    display: flex;
    width: fit-content;
    justify-content: center;
}

/* Стилі для df-messenger (перенесено з index.html) */
df-messenger {
    width: 100%;
    max-width: 1000px;
    height: 600px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 2rem auto;
    display: block;
}

/* - Адаптивність (Медіа-запити) - */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero .slogan {
        font-size: 1.3rem;
    }
    /* Product Section для планшетів та середніх екранів */
    #description .product-content {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    #description .product-text {
        flex: 1 1 100%;
        order: 2;
        text-align: center;
        max-width: 700px;
    }
    #description .product-image {
        flex: 1 1 100%;
        order: 1;
    }
    .calc-container {
        padding: 2rem;
    }
    .results-wrapper {
        padding: 1.2rem;
    }
    .section-cta {
        padding: 3rem 1rem;
    }
    .cta-actions {
        gap: 1.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-qr-code {
        margin-left: auto;
        margin-right: auto;
    }
    .table-wrapper {
        overflow-x: auto;
    }
    table {
        min-width: 400px;
    }
    .trust-content {
        padding: 1rem;
    }
    .modal-content {
        width: 95%;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }
    h1 {
        font-size: 2.3rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .slogan {
        font-size: 1.1rem;
    }
    .product-content {
        flex-direction: column;
    }
    .product-text, .product-image {
        flex: 1 1 100%;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-item {
        text-align: center;
        align-items: center;
    }
    .benefit-item h3 {
        text-align: center;
    }
    .trust-content {
        grid-template-columns: 1fr;
    }
    .trust-item {
        width: 100%;
        min-width: unset;
    }
    .calc-container {
        padding: 2rem;
    }
    .results-wrapper {
        padding: 1.2rem;
    }
    .section-cta {
        padding: 3rem 1rem;
    }
    .cta-actions {
        gap: 1.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-qr-code {
        margin-left: auto;
        margin-right: auto;
    }
    .tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .tab {
        width: 90%;
        max-width: 300px;
    }
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 1rem;
    }
    .download-info {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .btn-download {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    .download-count {
        margin-top: 0.5rem;
    }
    .app-qr-code {
        margin-top: 0.5rem;
    }
    .no-ios-version-text {
        text-align: center;
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .radio-group label {
        width: 100%;
        text-align: left;
    }
    .modal-content {
        width: 95%;
        padding: 2rem;
    }
}

@media (min-width: 769px) {
    .download-item .no-ios-version-text {
        margin-left: auto;
        flex-basis: auto;
        text-align: right;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .slogan {
        font-size: 1rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .btn-hero, .btn-primary, .btn-calc {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    .mobile-menu-btn {
        display: block;
    }
    .menu {
        display: none;
    }
    .menu.active {
        display: flex;
    }
    .table-wrapper {
        overflow-x: auto;
    }
    table {
        min-width: 300px;
    }
    .product-image img {
        max-width: 100%;
        height: auto;
    }
    .hero-image img {
        max-width: 100%;
        height: auto;
    }
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    .close {
        top: 0.5rem;
        right: 0.5rem;
        width: 25px;
        height: 25px;
        font-size: 20px;
    }
}