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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: #2d363f;
    background-color: #ffffff;
}

.container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Header Styles */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: 50px;
}

.header-container {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.logo img {
    height: 21px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 17px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-link {
    border: 2px solid #ffffff;
}

/* Hero Section */
.hero {
    background-color: #090044;
    height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    padding: 238px 0 188px;
    max-width: 530px;
}

.hero-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 600;
    line-height: 46px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-description {
    color: #ffffff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 44px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
}

.hero-wave img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Button Styles */
.btn {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 72px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
    line-height: 24px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: #071bce;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0616a8;
}

.btn-outline {
    background-color: transparent;
    color: #071bce;
    border: 2px solid #071bce;
}

.btn-outline:hover {
    background-color: #071bce;
    color: #ffffff;
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #14cb8d;
}

.btn-outline-light:hover {
    background-color: #14cb8d;
    border-color: #14cb8d;
}

/* Section Styles */
.section {
    padding: 90px 0;
}

.section-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 36px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    color: #080d38;
    margin-bottom: 30px;
}

.section-description {
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 64px;
}

/* Payments Section */
.payments-section {
    background-image: url('assets/payments-bg.png');
    background-repeat: no-repeat;
    background-position: 85% 70%;
    background-size: 35.08% 70%;
}

.payments-section .section-title {
    color: #080d38;
    margin-bottom: 40px;
}

.payments-content {
    max-width: 585px;
    padding-left: 15px;
}

.features-list {
    list-style: none;
    margin-bottom: 35px;
}

.feature-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 24px;
    color: #2d363f;
}

.feature-item::before {
    content: "▪";
    position: absolute;
    left: 8px;
    color: #14cb8d;
    font-size: 16.8px;
}

/* Marketing Section */
.marketing-section {
    background-color: #090044;
    background-image: url('assets/marketing-bg.png');
    background-repeat: no-repeat;
    background-position: 0% 101%;
    background-size: 100% 49.26%;
    padding-bottom: 480px;
}

.marketing-section .section-title {
    color: #ffffff;
}

.marketing-section .section-description {
    color: #ffffff;
    max-width: 780px;
    margin: 0 auto 60px;
}

.marketing-section .section-container {
    text-align: center;
}

/* Big Data Section */
.bigdata-section {
    background-color: #fcfcfc;
    background-image: url('assets/bigdata-bg.png');
    background-repeat: no-repeat;
    background-position: 0% 100%;
    background-size: 100% 120.2%;
    padding-bottom: 210px;
    padding-top: 120px;
}

.bigdata-section .section-title {
    color: #080d38;
}

.bigdata-section .section-description {
    color: #2d363f;
    max-width: 585px;
    margin: 0 auto 64px;
}

.bigdata-section .section-container {
    text-align: center;
}

/* Affiliation Section */
.affiliation-section {
    padding-bottom: 120px;
}

.affiliation-section .section-title {
    color: #080d38;
    margin-bottom: 20px;
}

.affiliation-section .section-description {
    color: #2d363f;
    margin-bottom: 48px;
}

.affiliation-section .section-container {
    text-align: center;
}

/* Footer */
.footer {
    max-width: 1170px;
    margin: 0 auto;
    padding: 60px 15px 0;
    height: 188px;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 44px;
}

.footer-logo img {
    height: 21px;
    width: 170px;
}

.social-links {
    display: flex;
    gap: 5.3px;
}

.social-link {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link img {
    width: 20px;
    height: 20.5px;
    transform: scaleY(-1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #2d363f;
}

.copyright {
    color: #2d363f;
}

.designer-credit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.designer-credit span {
    color: #222222;
}

.designer-credit img {
    width: 30px;
    height: 19px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

/* Close Menu Button - Hidden by default */
.close-menu {
    display: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-container,
    .header-container {
        max-width: 960px;
    }
}

/* Tablet styles */
@media (max-width: 768px) {
    .header-container {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 40px;
    }
    
    .section-title {
        font-size: 30px;
        line-height: 34px;
    }
}

@media (max-width: 940px) {
    /* Header Styles */
    .header {
        padding-top: 50px;
    }
    
    .header-container {
        padding: 0 15px 7px;
        height: auto;
        max-width: 90%;
    }
    
    .logo {
        width: auto;
        padding: 0;
    }
    
    .logo img {
        width: 170px;
        height: 21px;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Navigation Mobile */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000000;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: start;
        height: 100%;
        gap: 20px;
        padding: 0;
        padding-top: 110px;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 20px;
        font-weight: 400;
        letter-spacing: 0.1em;
        padding: 10px 30px;
        display: inline-block;
        width: auto;
    }
    
    .nav-link.contact-link {
        padding: 12px 80px;
    }
    
    /* Close Menu Button */
    .close-menu {
        display: flex;
        position: absolute;
        top: 50px;
        right: 30px;
        background: none;
        border: none;
        cursor: pointer;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }
    
    .close-menu span {
        position: absolute;
        width: 30px;
        height: 2px;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }
    
    .close-menu span:first-child {
        transform: rotate(45deg);
    }
    
    .close-menu span:last-child {
        transform: rotate(-45deg);
    }
    
    /* Hero Section Mobile */
    .hero {
        background-color: #080d38;
        height: 540px;
    }
    
    .hero-content {
        padding: 178px 15px 128px;
        max-width: 390px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 34px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        margin-bottom: 34px;
    }
    
    .hero-wave {
        height: 21px;
    }
    
    /* Section Mobile Styles */
    .section {
        padding: 90px 0;
    }
    
    .section-container {
        max-width: 390px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 30px;
    }
    
    .section-subtitle {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .section-description {
        margin-bottom: 30px;
    }
    
    /* Payments Section Mobile */
    .payments-section {
        background-image: url('assets/payments-bg.png');
        background-size: 80% 24.08%;
        background-position: 50% 95%;
        padding-bottom: 312px;
    }
    
    .payments-content {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .payments-content .section-subtitle br {
        display: none;
    }
    
    .features-list {
        margin-bottom: 20px;
    }
    
    .feature-item {
        margin-bottom: 15px;
    }
    
    .feature-item br {
        display: none;
    }
    
    /* Marketing Section Mobile */
    .marketing-section {
        background-color: #080d38;
        background-image: url('assets/marketing-bg.png');
        background-size: 200% 26.13%;
        background-position: 50% 101%;
        padding-bottom: 205px;
        text-align: center;
    }
    
    .marketing-section .section-title {
        margin-bottom: 30px;
    }
    
    .marketing-section .section-title br {
        display: block;
    }
    
    .marketing-section .section-description {
        margin-bottom: 40px;
    }
    
    .marketing-section .section-description br {
        display: none;
    }
    
    /* Big Data Section Mobile */
    .bigdata-section {
        background-size: 410.26% 104.95%;
        background-position: 50% 100%;
        padding-bottom: 180px;
        padding-top: 120px;
    }
    
    .bigdata-section .section-title br {
        display: block;
    }
    
    .bigdata-section .section-description {
        margin-bottom: 44px;
    }
    
    .bigdata-section .section-description br {
        display: none;
    }
    
    /* Affiliation Section Mobile */
    .affiliation-section {
        padding-bottom: 90px;
        text-align: center;
    }
    
    .affiliation-section .section-description {
        margin-bottom: 48px;
    }
    
    .affiliation-section .section-description br {
        display: none;
    }
    
    /* Footer Mobile */
    .footer {
        max-width: 390px;
        height: 246px;
        padding: 60px 15px 0;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 19.5px;
        margin-bottom: 30px;
        align-items: center;
    }
    
    .footer-logo {
        width: 170px;
        display: flex;
        justify-content: center;
    }
    
    .social-links {
        gap: 5.3px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    /* Button Mobile Adjustments */
    .btn {
        min-width: 250px;
        padding: 8px 72px;
    }
}

/* Popup Modal Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

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

.popup-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.popup-close:hover {
    color: #333;
}

.popup-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #080d38;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.popup-content p {
    font-size: 16px;
    color: #2d363f;
    margin-bottom: 10px;
}

.email-link {
    display: inline-block;
    font-size: 18px;
    color: #071bce;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #f0f4ff;
    border-radius: 5px;
    margin: 10px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.email-link:hover {
    background-color: #e0e8ff;
    color: #0616a8;
}

.email-hint {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

/* Mobile adjustments for popup */
@media (max-width: 480px) {
    .popup-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .popup-content h3 {
        font-size: 20px;
    }
    
    .email-link {
        font-size: 16px;
    }
}