@import url('https://fonts.googleapis.com/css2?family=Arima:wght@100..700&display=swap');

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --text-color: #2C3E50;
    --background-color: #FFFFFF;
    --accent-color: #FFE66D;
}

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

body {
    font-family: "Arima", 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: var(--background-color);
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo span {
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
}

.try-button {
    margin-left: 2rem;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 54px;
    cursor: pointer;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 24rem;
}

.demo-window {
    background: #F8F9FA;
    border-radius: 8px;
    margin-bottom: 1rem;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.demo-window iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.case-card {
    border: solid 0.5px #b9b9b9;
    border-radius: 17px;
    padding: 1rem;
}

.testimonial-card {
    border: solid 0.5px #b9b9b9;
    border-radius: 17px;
    padding: 1rem;
    height: 10rem;
    gap: 3rem;
    display: flex;
    flex-direction: column;
}

.case-grid, .testimonial-grid, .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 4rem;
}

section {
    padding: 4rem 2rem;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

footer {
    background: #F8F9FA;
    padding: 4rem 2rem;
}

.footer-logo {
    width: 40%;
    font-size: 21px;
    font-weight: bold;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    gap: 8rem;
    display: flex;
}

.footer-links {
    display: flex;
    gap: 8rem;
}

.link-column h3 {
    margin-bottom: 1rem;
}

.link-column a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    max-width: 400px;
    margin-top: 0.5rem;
    line-height: 1.4;
}


/* Add these media queries at the end of the file */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .link-column {
        flex: 1 1 150px;
    }
    
    .demo-window {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background-color);
        flex-direction: column;
        align-items: center;
        padding-top: 6rem; /* Add padding from top */
        justify-content: flex-start; /* Align to start instead of center */
        gap: 2rem;
        z-index: 5;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0;
        font-size: 1.2rem;
    }

    .try-button {
        margin: 1rem 0 0 0;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        padding: 0 1rem;
    }

    .demo-container {
        padding: 0 1rem;
    }

    .case-grid, 
    .testimonial-grid, 
    .feature-grid {
        padding: 1rem;
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
        padding: 0 1rem;
    }

    .footer-logo {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 2rem 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    video {
        height: 300px;
    }
}