:root {
    --bg-color: #f0f2f5;
    --text-secondary: #65676b;
    --border-color: #dddfe2;
    --h5-color: #00BFFF;
    
    --hero-gap: 60px;
}

html {
    overflow-x: hidden;
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    overflow-x: hidden;
    box-sizing: border-box;
}

main {
    background-color: var(--bg-color);
    padding-top: 90px;
}

.animate-on-scroll { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.6s ease-out, 
    transform 0.6s ease-out; 
}

.animate-on-scroll.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Navigation */

.navbar { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background-color: rgba(240, 242, 245, 0.8); 
    -webkit-backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--border-color); 
    backdrop-filter: blur(10px); 
    padding: 12px 250px;
    box-sizing: border-box;
    z-index: 1000; 
} 

.nav-main { 
    font-size: 1.5rem; 
    font-weight: 700; 
    background: linear-gradient(45deg, #00BFFF, #1E3A8A); 
    -webkit-background-clip: text; 
    background-clip: text; color: transparent; 
} 

.nav-menu { 
    display: flex; 
    gap: 2rem; 
    list-style: none; 
} 

.nav-menu a { 
    color: black; 
    text-decoration: none; 
    font-weight: 500; 
}

/* Main Content */

/* Main */

.hero-section { 
    text-align: center; 
    padding: 136px 0 60px;
    position: relative;
    line-height: 1.1;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.hero-section h2 {
    font-size: 56px;
    margin: 0;
}

.hero-section p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.btn-primary {
    font-size: 20px;
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(45deg, #00BFFF, #1E3A8A);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
}

/* What is it */

.visual-card-container {
    background-color: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.visual-card {
    display: flex;
    gap: 40px;
    align-items: center;
}

.visual-card-text h4 {
    font-size: 28px;
    margin: 0;
}

.visual-card-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.visual-card-image {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card-image img {
    max-width: 150%;
    height: auto;
    border-radius: 16px;
}

/* How does it work */

.container-heading {
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.container-heading h4{
    font-size: 32px;
    margin: 0;
}

.container-heading p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 10px 0 0 0;
    line-height: 1.6;
}

.container-base {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.mockup {
    flex: 0 0 35%;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup video {
    max-width: 70%;
    height: auto;
    border-radius: 16px;
}

.steps {
    flex: 1;
    padding: 80px;
}

.step {
    margin-bottom: 30px;
}

.step h5 {
    font-size: 22px;
    margin: 0 0 10px 0;
    background: black;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.step p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ */

.faq-container {
    background-color: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-heading {
    text-align: center;
    margin-bottom: 40px;
}

.faq-heading h4 {
    font-size: 32px;
    margin: 0;
}

.faq-heading p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 10px 0 0 0;
    line-height: 1.6;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #00BFFF;
    box-shadow: 0 2px 8px rgba(0, 191, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background-color: #f0f2f5;
}

.faq-text {
    font-size: 18px;
    font-weight: 500;
    color: black;
}

.faq-icon {
    font-size: 28px;
    color: #00BFFF;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    background-color: white;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Why it's effective */

.why-effective-container {
    background-color: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    padding: 32px 24px;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 191, 255, 0.15);
    border-color: #00BFFF;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, #00BFFF, #1E3A8A);
    border-radius: 12px;
    margin: 0 auto 16px;
    color: white;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-card h5 {
    font-size: 18px;
    margin: 16px 0 12px 0;
    color: black;
    font-weight: 600;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* CTA (Call To Action) */

.cta-container {
    background-color: white;
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    color: #1E3A8A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f2f5;
}

.cta-container h3 {
    font-size: 36px;
    margin: 0 0 20px 0;
    font-weight: 700;
    color: black;
}

.cta-container p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.btn-cta {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(45deg, #00BFFF, #1E3A8A);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 191, 255, 0.3);
}

/* Footer */

.footer{
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

/* Try it Yourself */


.container .phone {
    width: 300px;
    height: 600px;
    border: 8px solid #212121;
    border-radius: 36px;
    background-image: url('../image/tg-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.container .phone-header {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    height: 48px;
    position: relative;
    z-index: 10;
    background-color: transparent;
}

.tg-icon-back,
.tg-icon-image,
.tg-btn-back,
.tg-bot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.tg-btn-back .tg-contour,
.tg-bot-icon .tg-contour {
    background-color: #1c1d1f;
    border-radius: 50%;
    border: 2px solid #2e3039;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.tg-bot-name .tg-contour {
    background-color: #1c1d1f;
    border-radius: 16px;
    border: 2px solid #2e3039;

    width: 180px;
    height: 32px;
}

.tg-btn-back img {
    width: 18px;
    height: 18px;
    padding-right: 3px;
}

.tg-bot-icon img {
    width: 24px;
    height: 24px;
}

.tg-btn-back img {
    filter: invert(100%) brightness(200%);
}

.tg-bot-icon img {
    border-radius: 50%;
}

.tg-bot-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
}

.tg-bot-name span:first-child {
    font-size: 14px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tg-bot-name span:last-child {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Phone footer */

.phone-footer {
    margin-top: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    background-color: transparent;
    padding: 0 8px;
}

.phone-footer .start-btn {
    padding: 10px 20px;
    background-color: #2ea5ff;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    width: 260px;
    cursor: pointer;
}

/* Phone chat */

.chat {
    flex: 1;
    overflow-y: hidden;
    padding: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-start {
    align-self: flex-end;
    background-color: #e5f3ff;
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 80%;
    word-break: break-word;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.message-start.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.message-start div {
    font-size: 15px;
    color: #0084ff;
    font-weight: 500;
}

.bot-answer {
    align-self: flex-start;
    background-color: #f0f0f0;
    border-radius: 16px;
    padding: 0;
    max-width: 85%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.bot-answer.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.bot-answer > div:first-child {
    padding: 12px 14px;
}

.bot-answer p {
    font-size: 15px;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.inline-keyboard {
    padding: 0 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inline-btn {
    background-color: #e5e5ea;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    font-weight: 500;
}

.inline-btn:active {
    background-color: #d0d0d5;
}

.inline-btn.secondary {
    background-color: #31a24c;
    color: white;
    font-weight: 600;
}

.inline-btn.secondary:active {
    background-color: #2a8a40;
}

.successful-subscription {
    align-self: flex-start;
    background-color: #d4edda;
    border-radius: 16px;
    padding: 12px 14px;
    max-width: 85%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.successful-subscription.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.successful-subscription p {
    font-size: 15px;
    color: #155724;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    margin: 0;
    flex: 1;
    width: 100%;
}

.input-icon-left,
.input-icons-right > svg,
.input-icon-mic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #2ea5ff;
    cursor: pointer;
    flex-shrink: 0;
}

.message-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    padding: 0;
}

.message-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-icons-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Responsive Design */

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }

    .navbar {
        padding: 12px 100px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 15px !important;
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }

    .nav-main {
        font-size: 1.1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 12px;
        flex-wrap: wrap;
    }

    .nav-menu a {
        padding: 0 5px;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-section h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 16px;
        max-width: 100%;
    }

    .btn-primary {
        font-size: 16px;
        padding: 14px 36px;
    }

    .visual-card {
        flex-direction: column;
        gap: 20px;
    }

    .visual-card-text h4 {
        font-size: 22px;
    }

    .visual-card-text p {
        font-size: 14px;
    }

    .visual-card-image {
        flex: 0 0 100%;
    }

    .container-base {
        flex-direction: column;
        gap: 20px;
    }

    .mockup {
        flex: 0 0 100%;
    }

    .steps {
        flex: 1;
        padding: 40px 0;
    }

    .step {
        margin-bottom: 20px;
    }

    .step h5 {
        font-size: 18px;
    }

    .step p {
        font-size: 14px;
    }

    .faq-container {
        padding: 30px 20px;
    }

    .faq-heading h4 {
        font-size: 24px;
    }

    .faq-heading p {
        font-size: 14px;
    }

    .faq-question {
        padding: 16px 12px;
    }

    .faq-text {
        font-size: 15px;
    }

    .faq-icon {
        font-size: 22px;
    }

    .why-effective-container {
        padding: 30px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card {
        padding: 24px 16px;
    }

    .benefit-card h5 {
        font-size: 16px;
    }

    .benefit-card p {
        font-size: 13px;
    }

    .cta-container {
        padding: 40px 20px;
    }

    .cta-container h3 {
        font-size: 24px;
    }

    .cta-container p {
        font-size: 14px;
    }

    .btn-cta {
        padding: 12px 36px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }

    .nav-main {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 0.8rem;
        font-size: 12px;
    }

    .nav-menu a {
        padding: 5px 10px;
    }

    .hero-section {
        padding: 60px 15px 30px;
    }

    .hero-section h2 {
        font-size: 26px;
    }

    .hero-section p {
        font-size: 14px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 12px 30px;
    }

    .container {
        width: 100%;
        padding: 30px 15px;
    }

    .visual-card-container {
        padding: 20px 15px;
    }

    .visual-card-text h4 {
        font-size: 18px;
    }

    .visual-card-image {
        max-width: 100%;
    }

    .visual-card-image img {
        max-width: 100%;
    }

    .mockup video {
        max-width: 90%;
    }

    .steps {
        padding: 20px 0;
    }

    .step {
        margin-bottom: 15px;
    }

    .step h5 {
        font-size: 16px;
    }

    .step p {
        font-size: 13px;
    }

    .faq-container {
        padding: 20px 15px;
    }

    .faq-heading h4 {
        font-size: 20px;
    }

    .faq-heading p {
        font-size: 12px;
    }

    .faq-question {
        padding: 12px 10px;
    }

    .faq-text {
        font-size: 13px;
    }

    .faq-icon {
        font-size: 18px;
    }

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

    .why-effective-container {
        padding: 20px 15px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefit-card {
        padding: 20px 12px;
    }

    .benefit-card h5 {
        font-size: 15px;
        margin: 12px 0 8px 0;
    }

    .benefit-card p {
        font-size: 12px;
    }

    .benefit-icon {
        width: 52px;
        height: 52px;
        margin: 0 auto 12px;
    }

    .benefit-icon svg {
        width: 26px;
        height: 26px;
    }

    .cta-container {
        padding: 30px 15px;
        border: 1px solid #f0f2f5;
    }

    .cta-container h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .cta-container p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .btn-cta {
        padding: 10px 30px;
        font-size: 12px;
    }

    .footer {
        padding: 1rem 15px;
        font-size: 0.75rem;
    }
}