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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    overflow-x: hidden;
}

.hero {
    min-height: 100vh;
    background-image: url('/static/hatter_desktop.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 2rem 5%;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    text-align: center;
    padding: 2.5rem;
    margin-left: 5%;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: #f0f0f0;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 520px;
    width: 100%;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-yellow {
    background: #f5c518;
    color: #1a1a1a;
}

.btn-with-avatar {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    gap: 1rem;
}

.btn-with-avatar .btn-text {
    flex: 1;
    text-align: center;
}

.btn-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e6b800;
    flex-shrink: 0;
}

.btn-green {
    background: #2ecc71;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 1.1rem 2.5rem;
}

.pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.6);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(245, 197, 24, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
    }
}

.block {
    padding: 4rem 2rem;
}

.block-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.block p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.block-empathy {
    background: #fff8e1;
}

.block-how {
    background: #ffffff;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #f5c518;
    color: #1a1a1a;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}

.step p {
    font-size: 1.05rem;
    color: #333;
    padding-top: 0.4rem;
}

.steps-note {
    margin-top: 1rem;
    font-weight: 600;
    color: #2ecc71 !important;
    font-size: 1.05rem !important;
}

.block-offer {
    background: #f0faf0;
    padding: 5rem 2rem;
}

.block-offer .block-inner {
    max-width: 960px;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.offer-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.offer-card-featured {
    border-color: #2ecc71;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(46, 204, 113, 0.2);
}

.offer-card-featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.offer-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.offer-minutes {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e2d;
    margin-bottom: 0.3rem;
    margin-top: 0.5rem;
}

.offer-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 1rem;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.offer-list li {
    font-size: 1rem;
    color: #333;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.offer-list li:last-child {
    border-bottom: none;
}

.offer-card .btn-green {
    width: 100%;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
}

@media (max-width: 768px) {
    .offer-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .offer-card-featured {
        transform: none;
        order: -1;
    }

    .offer-card-featured:hover {
        transform: translateY(-4px);
    }
}

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

.chat-overlay.active {
    display: flex;
}

.chat-container {
    background: #fff;
    width: 90%;
    max-width: 460px;
    height: 70vh;
    max-height: 600px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.chat-header {
    background: #f5c518;
    color: #1a1a1a;
    padding: 1rem 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a1a;
    line-height: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #fafafa;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.message.ilona {
    background: #e8f5e9;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: #f5c518;
    color: #1a1a1a;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.typing {
    font-style: italic;
    color: #999;
}

.chat-input-area {
    display: flex;
    border-top: 1px solid #eee;
    padding: 0.75rem;
    gap: 0.5rem;
    background: #fff;
}

.chat-input-area input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
}

.chat-input-area input:focus {
    border-color: #f5c518;
}

.send-btn {
    padding: 0.7rem 1.2rem;
    background: #f5c518;
    color: #1a1a1a;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
}

.send-btn:hover {
    background: #e6b800;
}

@media (max-width: 768px) {
    .hero {
        background-image: url('/static/hatter_mobile.jpg');
        background-attachment: scroll;
        align-items: flex-start;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.5rem;
        margin-left: 0;
        max-width: 100%;
        margin-top: 0;
    }

    .hero-content .subtitle {
        margin-bottom: 0.75rem;
    }

    .hero-content h1 {
        margin-bottom: 0.8rem;
    }

    .btn {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }

    .block {
        padding: 3rem 1.5rem;
    }

    .block h2 {
        font-size: 1.4rem;
    }

    .chat-container {
        height: 85vh;
        max-height: none;
        width: 95%;
    }
}

.site-footer {
    background: #2c3e2d;
    padding: 2rem;
    text-align: center;
}

.footer-inner {
    max-width: 720px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}