/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --secondary-color: #8BC34A;
    --accent-yellow: #FFC107;
    --accent-yellow-dark: #FFA000;
    --text-dark: #2C3E2F;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #E8F5E9;
    --bg-lighter: #F1F8F4;
    --border-color: #C8E6C9;
    --white: #FFFFFF;
    --success: #4CAF50;
    --shadow: 0 4px 6px rgba(76, 175, 80, 0.1);
    --shadow-lg: 0 10px 30px rgba(76, 175, 80, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-dark);
}

.logo-text {
    color: var(--text-dark);
    line-height: 1;
}

.logo-highlight {
    color: var(--primary-color);
}

.logo-domain {
    color: var(--text-dark);
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1;
}

.header-phone {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 30px;
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 32px;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--text-dark);
    border-color: var(--accent-yellow);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--accent-yellow-dark);
    border-color: var(--accent-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    width: 100%;
}

/* Promo Banner */
.promo-banner {
    background: var(--accent-yellow);
    color: var(--text-dark);
    text-align: center;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 15px;
    animation: slideDown 0.5s ease;
    border-bottom: 2px solid var(--accent-yellow-dark);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow);
}

.feature-text {
    font-weight: 600;
    color: var(--text-dark);
}

/* Calculator Card */
.calculator-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculator-header {
    margin-bottom: 30px;
}

.calculator-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.zero-percent {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.amount-display,
.term-display {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.amount-display span,
.term-display span {
    color: var(--text-dark);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-light);
    outline: none;
    -webkit-appearance: none;
    margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    border: 3px solid var(--white);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow);
    border: none;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

.payment-info {
    background: var(--bg-lighter);
    border-radius: 8px;
    padding: 24px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.payment-row:last-child {
    margin-bottom: 0;
}

.payment-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.calculator-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 15px;
}

/* Section */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--bg-light);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.advantage-card p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-gray);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: var(--white);
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--accent-yellow);
    color: var(--text-dark);
    border-color: var(--accent-yellow);
    max-width: 400px;
    margin: 0 auto;
}

.cta-section .btn-primary:hover {
    transform: scale(1.05);
    background: var(--accent-yellow-dark);
}

/* Footer */
.footer {
    background: #2C2C2C;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Footer Partners */
.footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    height: 40px;
    width: auto;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top {
    background: var(--accent-yellow);
    color: var(--text-dark);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: var(--accent-yellow-dark);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-partners {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .menu,
    .header-buttons,
    .header-phone {
        display: none;
    }
    
    .burger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-card {
        padding: 30px 20px;
    }
    
    .amount-display,
    .term-display {
        font-size: 28px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* SEO Section */
.seo-section {
    background: var(--bg-lighter);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}

.seo-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.seo-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.seo-advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
}

.seo-advantage-item {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.seo-advantage-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.seo-advantage-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.seo-advantage-item p {
    margin-bottom: 0;
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.seo-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
}

.seo-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.seo-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.comparison-column {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
}

.comparison-column h4 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}

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

.comparison-column li {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.6;
}

.seo-conclusion {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    font-size: 18px;
    text-align: center;
    margin-top: 40px;
    border: 2px solid var(--primary-color);
}

.seo-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.seo-tags h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* SEO Section Responsive */
@media (max-width: 768px) {
    .seo-content h2 {
        font-size: 26px;
    }
    
    .seo-content h3 {
        font-size: 20px;
    }
    
    .seo-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seo-advantage-item {
        padding: 20px;
    }
    
    .tags-list {
        gap: 8px;
    }
    
    .tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}
