﻿/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary-dark: #07171D;
    --primary-light: #35D0BA;
    --text-dark: #122226;
    --text-gray: #5e6f75;
    --bg-light: #F2F7F8;
    --bg-white: #ffffff;
    --border-color: #e6ebed;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}


/* Layout Container */

.container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 24px;
}


/* Base Sections */

.section {
    padding: 96px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-tag {
    color: #14806E;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 57.2px;
    letter-spacing: -1.56px;
    vertical-align: middle;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section-title span {
    color: #14806E;
}

.section-desc {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 48px;
    max-width: 600px;
}

.mt-48 {
    margin-top: 48px;
}


/* Header Component */

.header {
    background-color: #07171D;
    padding: 32px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-white-7, #FFFFFF12)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.mobile-nav-logo-item {
    display: none;
}

.header-logo-img {
    height: 36px;
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

.header-demo-button {
    background-color: var(--primary-light);
    color: #000;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s;
}

.header-demo-button:hover {
    background-color: #29B19C;
}


/* Footer Component */

.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 64px 0 24px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    flex: 0 0 30%;
}

.footer-logo-img {
    height: 30px;
    display: block;
}

.footer-desc {
    color: #8FAFB8;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    margin: 16px 0 24px 0;
    max-width: 300px;
}

.app-links {
    display: flex;
    gap: 12px;
}

.app-button {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 13px;
    transition: all 0.3s;
    border-radius: 20px;
}

.app-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-links {
    flex: 1;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #8FAFB8;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 13px;
    color: #8FAFB8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-argede {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #8FAFB8;
}

.footer-argede-icon {
    height: 24px;
    width: auto;
}


/* Responsive */

@media (max-width: 1024px) {
    .footer-top {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px;
    }
    .hamburger {
        display: flex;
    }
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 999;
    }
    .nav-overlay.open {
        display: block;
    }
    .nav-list {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: #07171D;
        padding: 32px;
        transition: right 0.3s ease;
        margin: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-y: auto;
    }
    .nav-list.open {
        right: 0;
    }
    .nav-list li {
        width: 100%;
        margin-bottom: 0;
        padding: 16px 0;
        border-bottom: 1px solid rgba(220, 230, 232, 0.15);
    }
    .nav-list li:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
    .mobile-nav-logo-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 0;
        margin-bottom: 8px !important;
    }
    .mobile-nav-logo {
        height: 32px;
    }
    .close-menu {
        background: transparent;
        border: none;
        cursor: pointer;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .close-menu::before,
    .close-menu::after {
        content: '';
        position: absolute;
        width: 28px;
        height: 3px;
        background-color: white;
        border-radius: 2px;
    }
    .close-menu::before {
        transform: rotate(45deg);
    }
    .close-menu::after {
        transform: rotate(-45deg);
    }
    .nav-link {
        font-size: 16px;
        font-weight: 600;
        display: block;
        width: 100%;
        color: white;
    }
    .nav-action {
        margin-top: 8px;
        width: 100%;
    }
    .header-demo-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 16px;
        font-size: 15px;
    }
    .section-desc {
        font-size: 18px;
        color: var(--text-gray);
        margin-bottom: 18px;
        max-width: 600px;
    }
    /* Footer fixes */
    .footer-brand {
        flex: 1 1 100%;
        width: 100%;
        text-align: left;
    }
    .footer-links {
        flex: 1 1 calc(50% - 16px);
        width: calc(50% - 16px);
        text-align: left;
    }
    .footer-brand .logo-link {
        justify-content: flex-start;
    }
    .footer-desc {
        margin: 16px 0 24px 0;
    }
    .app-links {
        justify-content: flex-start;
        gap: 16px;
    }
    .app-button {
        text-align: center;
        white-space: nowrap;
        line-height: 1.4;
        padding: 10px 24px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        text-align: left;
    }
    .section {
        padding: 64px 0;
    }
    .section-title {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -1px;
    }
}

.mobile-only {
    display: none !important;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: block !important;
    }
    .has-dropdown {
        flex-direction: column;
    }
    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: transparent;
        border: none;
        color: white;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        padding: 0;
    }
    .dropdown-toggle svg {
        transition: transform 0.3s ease;
    }
    .has-dropdown.active .dropdown-toggle svg {
        transform: rotate(180deg);
    }
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-top 0.3s ease;
        padding-left: 16px;
        background-color: transparent;
        width: 100%;
        margin-top: 0;
    }
    .has-dropdown.active .dropdown-menu {
        max-height: 400px;
        margin-top: 8px;
    }
    .sub-link {
        font-size: 14px;
        padding: 8px 16px;
        border-bottom: 1px solid rgba(220, 230, 232, 0.1);
        font-weight: 500;
        display: block;
        color: rgba(255, 255, 255, 0.8);
    }
    .sub-link:hover {
        color: white;
    }
    .sub-link:last-child {
        border-bottom: none;
    }
}