/* Global Variables */
:root {
    --primary: #007aff;
    --text: #202328;
    --bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

html, body, h1, h2, h3, h4, h5, h6, p, span, a, button, input, textarea, select, label {
    font-family: 'DM Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease, transform .6s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform, opacity;
}

.animate-on-scroll[data-animate="slide-left"] { transform: translateX(48px); }
.animate-on-scroll[data-animate="slide-right"] { transform: translateX(-48px); }
.animate-on-scroll[data-animate="slide-up"] { transform: translateY(40px); }
.animate-on-scroll[data-animate="zoom-in"] { transform: scale(0.94); }
.animate-on-scroll[data-animate="fade-in"] { transform: none; }
.animate-on-scroll.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Header - App Bar */
.app-bar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(255, 255, 255, 1);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: box-shadow .3s ease, border-radius .3s ease, background-color .3s ease;
    backdrop-filter: saturate(180%) blur(6px);
    z-index: 1000;
}

.app-bar.elevated {
    background: rgba(255, 255, 255, .75);
    box-shadow: var(--shadow);
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.left {
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    margin-right: 8px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #0264FD;
    color: #fff;
    font-weight: 900;
    letter-spacing: .5px;
    margin-right: 10px;
}

.brand-text {
    font-weight: 900;
    color: var(--primary);
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    margin-left: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: background-color .2s, color .2s;
    margin: 0 4px;
}



.nav-link:hover {
    background: #f6f7f9;
}

.right {
    display: flex;
    align-items: center;
}

.call {
    display: flex;
    align-items: center;
    margin-right: 16px;
    color: var(--text);
    font-size: 14px;
}

.call .label {
    font-weight: 600;
    margin-right: 6px;
}

.tel {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
}

/* Buttons */
.btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}

.btn.text {
    background: transparent;
    color: var(--text);
}

.btn.text i {
    color: var(--primary);
    margin-right: 8px;
}

.btn.text:hover {
    background: #f1f5ff;
}

.btn.primary {
    background: linear-gradient(90deg, #00C6FF, #0264FD);
    color: #fff;
    box-shadow: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .3s ease, opacity .3s ease;
}

.btn.primary:hover {
    background: linear-gradient(90deg, #00b0e6, #0056d6);
    opacity: .9;
}

.btn.primary.block {
    width: 100%;
}

.btn.outline {
    background: transparent;
    color: var(--text);
    border: 1px solid #d8dde6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

.btn.outline:hover {
    background: #f6f7f9;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.play-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
}

.play-badge i {
    position: relative;
    left: 1px;
    font-size: 10px;
}

.icon-btn {
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
}

.icon-btn:hover {
    background: #f1f5ff;
}

/* Drawer */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 998;
}

.backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 1000;
    padding: 12px;
}

.drawer.open {
    transform: none;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.drawer-link {
    padding: 12px 8px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.drawer-link.active {
    color: var(--primary) !important;
    background: #E0EFFF !important;
    font-weight: 700 !important;
}

.drawer-link--cta {
    margin-top: 8px;
    background: var(--primary);
    color: #fff !important;
    text-align: center;
    border-radius: 999px;
    padding: 12px 0;
}

.drawer-link--cta:hover {
    background: #0a6cff;
}

.drawer-actions {
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.drawer-call {
    font-size: 14px;
}

/* Responsive Header */
@media (max-width: 990px) {
    .nav-links { display: none; }
    .call, .btn.text, .hide-mobile { display: none; }
    .icon-btn.menu { display: inline-flex; }
}

/* Utilities */
.gradient-text {
    background: linear-gradient(90deg, #0264FD, #00C6FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 992px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(18px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 24px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-content {
    position: relative;
    width: min(90%, 640px);
    border-radius: 28px;
    padding: 56px 48px 128px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    height: 100%;
}

.modal-title {
    margin: 0;
    font-weight: 800;
    font-size: 24px;
    color: #1b2735;
}

.subtitle-wrap {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subtitle {
    opacity: 1;
    color: #1b2735;
    font-size: 16px;
    transition: opacity .2s;
}

.modal-actions {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 28px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0;
}

.btn.dark {
    background: #202328;
    color: #fff;
}

.btn.dark:hover {
    background: #2d3436;
}

.btn.danger {
    background: #d63031;
    color: #fff;
}

.text-danger {
    color: #d63031;
}

.btn.danger:hover {
    background: #b71c1c;
}

.icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #2d3436;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

/* Audio Wave Animation */
#audioWave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    height: 100px;
    overflow: hidden;
    padding: 0 12px;
    margin: 0 auto 12px;
}

.wave-bar {
    width: 8px;
    margin: 0 2px;
    background: linear-gradient(180deg, rgb(103, 161, 248), #0264FD);
    border-radius: 0;
    opacity: .9;
    animation: pulse 1.5s ease-in-out infinite;
    transition: height .7s cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes pulse {
    0%, 100% { transform: scaleY(1); opacity: .9; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

@media (max-width: 640px) {
    .modal-content { padding: 48px 28px 110px; border-radius: 22px; }
    .modal-title { font-size: 22px; }
    #audioWave { height: 140px; padding: 0 6px; }
    .modal-actions { bottom: 20px; gap: 10px; }
}

@media (max-width: 420px) {
    .modal-content { padding: 40px 20px 100px; gap: 20px; }
    .modal-actions { position: static; transform: none; margin-top: 16px; width: 100%; flex-direction: column; }
}

/* Footer */
.site-footer {
    background: #071a2d;
    color: #fff;
    padding: 64px 24px 24px;
    margin-top: 0;
    clear: both;
    position: relative;
    z-index: 2;
}

.site-footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 32px 0;
}

.site-footer__main {
    padding: 0 0 32px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
}

.site-footer__column--logo {
    max-width: 320px;
}

.site-footer__logo-link {
    display: inline-block;
    margin-bottom: 20px;
    transition: opacity .2s ease;
    background: transparent;
    text-decoration: none;
}

.site-footer__logo-link:hover {
    opacity: 0.9;
}

.site-footer__logo-text {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    display: inline-block;
    background: linear-gradient(90deg, #4a9eff, #4dd4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity .2s ease;
}

.site-footer__logo-link:hover .site-footer__logo-text {
    opacity: 0.9;
}

.site-footer__description {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.6;
}

.site-footer__heading {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__links li {
    display: flex;
    align-items: center;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
}

.site-footer__links a:hover {
    color: #80b3ff;
    transform: translateX(4px);
}

.site-footer__contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.site-footer__contact-info i {
    color: #7faafc;
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.site-footer__contact-info a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__contact-info a:hover {
    color: #80b3ff;
}

.site-footer__consultation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f46343, #e65233);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    margin-top: 20px;
    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(244, 99, 67, 0.25);
    width: fit-content;
}

.site-footer__consultation-btn:hover {
    background: linear-gradient(135deg, #e65233, #d54422);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 99, 67, 0.35);
}

.site-footer__socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.site-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all .2s ease;
}

.site-footer__social:hover {
    background: rgba(128, 179, 255, 0.2);
    color: #80b3ff;
    transform: translateY(-2px);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 0;
}

.site-footer__copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__brand {
    color: #80b3ff;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__brand:hover {
    color: #a0c7ff;
    text-decoration: underline;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s ease;
}

.site-footer__legal a:hover {
    color: #80b3ff;
}

.site-footer__separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .site-footer__column--logo {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 56px 20px 24px;
        margin-top: 0;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .site-footer__column--logo {
        max-width: 100%;
    }
    .site-footer__socials {
        justify-content: flex-start;
    }
    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 48px 16px 20px;
        margin-top: 0;
    }
    .site-footer__grid {
        gap: 28px;
    }
    .site-footer__heading {
        font-size: 15px;
        margin-bottom: 16px;
    }
    .site-footer__links {
        gap: 10px;
    }
    .site-footer__contact-info {
        gap: 12px;
    }
    .site-footer__socials {
        gap: 12px;
    }
    .site-footer__social {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .site-footer__logo-text {
        font-size: 24px;
    }
}
