/*------------ Responsive Styles ------------*/
/*------------ Mobile First Approach ------------*/

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

/* Force hide hamburger on desktop screens (768px and above) */
@media screen and (min-width: 768px) {
    .hamburger {
        display: none !important;
    }

    .header-nav-links {
        display: flex !important;
    }
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #438AF7 !important;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
    /* Override global span gradient styling */
    background-image: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Hamburger animation when active */
.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(7px, -6px);
}

/* Tablet Styles: 768px - 1023px */
@media screen and (max-width: 1023px) {
    .container {
        font-size: 16px;
        padding: 0 30px;
    }

    h2 {
        font-size: 36px;
    }

    /* Header */
    .header {
        margin-bottom: 200px;
    }

    .header-nav nav .logo {
        font-size: 32px;
    }

    .header-nav nav .logo img {
        width: 40px;
    }

    .header-nav-links a {
        margin-right: 30px;
    }

    .btn {
        font-size: 16px;
        padding: 8px 12px;
    }

    .btn--blue_box {
        width: 160px;
        height: 36px;
    }

    .btn--blue_box-title {
        height: 40px;
        width: 240px;
    }

    .header-bottom {
        margin-top: 80px;
    }

    .header-bottom div {
        max-width: 600px;
        font-size: 20px;
    }

    .header-bottom div p {
        margin: 40px auto;
        font-size: 16px;
        max-width: 450px;
    }

    /* About Bot Section */
    .about_bot h2 {
        width: 100%;
        font-size: 36px;
    }

    .about_bot-block {
        flex-direction: column;
        align-items: center;
    }

    .about_bot-block_info {
        width: 100%;
        margin: 60px 0;
        font-size: 20px;
    }

    .about_bot-block_massage {
        margin-top: 40px;
    }

    .about_bot-block_massage img {
        width: 100%;
        max-width: 400px;
    }

    /* Advantages Section */
    .advantages {
        margin-top: 100px;
    }

    .advantages-block {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .advantages-blue_box {
        width: 45%;
        min-width: 280px;
    }

    /* Bot Setup Section */
    .bot_setup {
        margin-top: 150px;
    }

    .bot-setup-info span {
        font-size: 100px;
        margin-right: 20px;
    }

    .bot-setup-info_step {
        width: 500px;
        height: 120px;
    }

    .bot-setup-info_step-info {
        width: 300px;
        height: 130px;
    }

    .bot-setup-info-step1 {
        margin-left: 50px;
    }

    .bot-setup-info-step2 {
        margin-left: 150px;
    }

    .bot-setup-info-step3 {
        margin-left: 250px;
    }

    /* Tariffs Section */
    .tariffs h2 {
        font-size: 70px;
    }

    .tariffs-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .tariffs-blue-box {
        width: 45%;
        min-width: 300px;
    }

    /* Questions Section */
    .questions-block {
        margin-top: 100px;
    }

    .questions-block-container-section {
        width: 90%;
        font-size: 20px;
    }

    /* Footer */
    .footer {
        height: auto;
        padding: 50px 0;
    }

    .footer-container-wraper {
        height: auto;
    }

    .footer-info {
        width: 100%;
    }

    .footer-block-links {
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile Styles: 320px - 767px */
@media screen and (max-width: 767px) {
    .wraper {
        background-image: none;
    }

    .container {
        font-size: 14px;
        padding: 0 20px;
    }

    h2 {
        font-size: 28px;
    }

    /* Header Navigation */
    .header {
        margin-bottom: 150px;
    }

    .header-nav nav {
        flex-wrap: wrap;
        position: relative;
    }

    .header-nav nav .logo {
        font-size: 24px;
        z-index: 1001;
    }

    .header-nav nav .logo img {
        width: 30px;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Hide navigation links by default on mobile */
    .header-nav-links {
        display: none !important;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 10px;
    }

    .header-nav-links.active {
        display: flex !important;
    }

    .header-nav-links a {
        margin: 10px 0;
        padding: 10px;
        text-align: center;
    }

    /* Header buttons */
    .header-nav nav > div:last-child {
        display: none;
    }

    .btn {
        font-size: 14px;
        padding: 6px 10px;
    }

    .btn--blue_box {
        max-width: 280px;
        height: 44px;
    }

    .btn--blue_box-title {
        height: 48px;
        width: 100%;
        max-width: 280px;
    }

    /* Header Bottom */
    .header-bottom {
        margin-top: 60px;
    }

    .header-bottom div {
        max-width: 100%;
        font-size: 18px;
    }

    .header-bottom div h1 {
        font-size: 24px;
    }

    .header-bottom div p {
        margin: 30px auto;
        font-size: 14px;
        max-width: 100%;
    }

    /* About Bot Section */
    .about_bot h2 {
        width: 100%;
        font-size: 28px;
    }

    .about_bot img {
        width: 50px;
    }

    .about_bot-block {
        flex-direction: column;
    }

    .about_bot-block_info {
        width: 100%;
        margin: 40px 0;
        font-size: 16px;
        flex-direction: column;
        text-align: center;
    }

    .about_bot-block_info p {
        margin-left: 0;
        margin-top: 20px;
    }

    .about_bot-block_massage {
        text-align: center;
        margin-top: 30px;
    }

    .about_bot-block_massage img {
        width: 100%;
        max-width: 300px;
    }

    /* Advantages Section */
    .advantages {
        margin-top: 80px;
    }

    .advantages-block {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .advantages-blue_box {
        width: 100%;
        max-width: 320px;
    }

    /* Bot Setup Section */
    .bot_setup {
        margin-top: 100px;
    }

    .bot_setup h2 {
        font-size: 24px;
    }

    .bot-setup-info {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
    }

    .bot-setup-info span {
        font-size: 60px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .bot-setup-info_step {
        width: 100%;
        max-width: 350px;
        height: auto;
        min-height: 120px;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .bot-setup-info_step-title {
        width: 100%;
        margin-bottom: 20px;
        font-size: 18px;
    }

    .bot-setup-info_step-info {
        position: static;
        width: 90%;
        height: auto;
        min-height: 140px;
        margin-top: 20px;
    }

    .bot-setup-info_step-info div {
        width: 100%;
        height: auto;
        min-height: 80px;
        padding: 15px;
    }

    .bot-setup-info_step-info div p {
        width: 100%;
        font-size: 14px;
    }

    .bot-setup-info-step1,
    .bot-setup-info-step2,
    .bot-setup-info-step3 {
        margin-left: 0;
    }

    /* Tariffs Section */
    .tariffs {
        margin-top: 80px;
    }

    .tariffs h2 {
        font-size: 42px;
    }

    .tariffs > p {
        width: 100%;
        font-size: 14px;
    }

    .tariffs-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .tariffs-blue-box {
        width: 100%;
        max-width: 330px;
    }

    .tariffs-info-box {
        font-size: 20px;
    }

    .tariffs-info-box p {
        font-size: 28px;
        margin: 30px 0;
    }

    .tariffs-ul-box {
        font-size: 16px;
        margin-left: 40px;
    }

    /* Questions Section */
    .questions-block {
        margin-top: 80px;
    }

    .questions-block-title p {
        font-size: 14px;
    }

    .questions-block-container-section {
        font-size: 16px;
        height: auto;
        min-height: 60px;
        padding: 15px;
    }

    .questions-block-container-section div {
        flex: 1;
    }

    .questions-block-container-section img {
        width: 30px;
        flex-shrink: 0;
    }

    /* Footer */
    .footer {
        height: auto;
        margin-top: 80px;
        padding: 40px 0;
    }

    .footer-block {
        font-size: 18px;
    }

    .footer-container-wraper {
        height: auto;
        align-items: flex-start;
        padding-top: 40px;
    }

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

    .footer-logo svg {
        width: 50px;
        height: 50px;
    }

    .footer-info {
        width: 100%;
        font-size: 16px;
    }

    .footer-block-links {
        flex-direction: column;
        gap: 20px;
        font-size: 14px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-links a {
        margin-right: 0;
        font-size: 14px;
    }
}

/* Extra Small Mobile: 320px - 479px */
@media screen and (max-width: 479px) {
    h2 {
        font-size: 24px;
    }

    .header-bottom div h1 {
        font-size: 20px;
    }

    .bot_setup h2 {
        font-size: 20px;
    }

    .tariffs h2 {
        font-size: 36px;
    }

    .advantages-blue_box {
        width: 100%;
    }

    .tariffs-blue-box {
        width: 100%;
    }
}
