@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;700&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #6d6d6d;
    --accent-blue: #007bff;
    --brand-green: #01c26f;
    --text-dark: #1c1c1c;
    --bg-light: #ffffff;
    --bg-blue-light: rgba(191, 215, 234, 0.25);
    --bg-blue-lighter: rgba(191, 215, 234, 0.35);
    --font-main: 'Josefin Sans', Arial, sans-serif;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    color: var(--secondary-color);
}

ul, ol {
    padding-left: 2rem;
    padding-top: 1rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

.mobile-only {
    display: none;
}

/* Utilities */
.container {
    width: var(--container-width);
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.btn-primary {
    background-color: var(--brand-green);
    color: white;
    border: none;
    border-radius: 8px;
    height: 60px;
    max-width: 250px;
    padding: 16px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-primary .btn-content {
    margin-bottom: -4px;
}

.btn-primary:hover {
    background-color: #01a860;
}

.btn-small {
    height: 40px;
    max-width: 120px;
    width: 100%;
    padding: 16px 32px;
    font-size: 14px;
}

.btn-small .btn-content {
    margin-bottom: -3px;
}

.hamburger-button {
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Mobile Menu Styling */
.mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 100;
    overflow: hidden;
    height: 8rem;
    transition: height 0.2s;
}

.mobile-menu.hidden {
    height: 0 !important;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-link {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    background-color: #f9f9f9;
}

/* Header */
.header {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    max-width: var(--container-width);
    width: 90%;
    height: 60px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px 0px rgba(214, 214, 214, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    transition: border-bottom-left-radius 0.3s, border-bottom-right-radius 0.3s, top 0.3s;
}

.header.menu-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.header.scrolled {
    top: 20px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 12px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 200px;
    padding-bottom: 100px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 450px;
}

.hero-title {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-image {
    max-width: 500px;
    width: 45%;
    height: auto;
    object-fit: contain;
}

/* What is Arithmus Section */
.about-section {
    margin: 80px 0;
    background-color: var(--bg-blue-lighter);
    border-radius: 16px;
    padding: 60px;
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-title {
    font-size: 40px;
    margin-bottom: 50px;
    line-height: 40px;
    font-weight: 400;
}

.about-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    padding: 0 2vw;
    align-items: center;
}

.about-text {
    max-width: 400px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 00;
}

.about-image {
    max-width: 450px;
    width: 45%;
    height: auto;
    object-fit: contain;
}

/* Footer Section */
.footer-cta {
    margin-bottom: 50px;
    background-color: var(--bg-blue-light);
    border-radius: 16px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copyright {
    text-align: center;
    font-size: 11px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 20px;
    margin-bottom: 40px;
    padding: 0 4rem;
}

/* Decoration */
.top-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    object-fit: cover;
    background: linear-gradient(to bottom, #BFD7EA80, #BFD7EA00);
    z-index: -1;
}

.corner-circle {
    position: absolute;
    top: 0;
    right: 0;
    width: 35vw;
    height: 35vw;
    z-index: -1;
    pointer-events: none;
}

@media screen and (max-width: 1100px) {
    .about-section {
        padding: 60px 20px;
    }

    .about-title {
        text-align: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        max-width: 400px;
        width: 100%;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(30px);
}

.slide-left {
    transform: translateX(-50px);
}

.slide-right {
    transform: translateX(50px);
}

.scale-up {
    transform: scale(0.95);
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Privacy Policy */
.privacy-policy-title {
    margin-bottom: 2rem;
}

.privacy-policy-subtitle {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.privacy-policy-text {
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: .5rem;
}

@media screen and (max-width: 800px) {
    :root {
        --container-width: 100%; 
    }

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }

    .hero {
        padding-top: 175px;
        flex-direction: column;
        padding-bottom: 0;
    }

    .hero-content {
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 2.5rem;
        text-align: center;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
        padding: 2rem 0;
    }
}