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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar {
    background: #ffffff;
    padding: 24px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1100px;
    width: calc(100% - 48px);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-icon {
    width: auto;
    height: 61px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-left: 0.5rem;
}

/* Dark mode logo text */
[data-theme="dark"] .logo-text {
    color: #e0e0e0;
}

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

.nav-link {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link.login {
    color: #4a4a4a;
    font-weight: 500;
}

.btn-primary {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #000000;
    transform: translateY(-1px);
}

.hero {
    margin-top: 92px;
    background: #ffffff;
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    overflow: visible;
}

.hero-container {
    background: #1e1a2429;
    border-radius: 16px;
    padding: 40px;
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: visible;
    position: relative;
}

.hero-content {
    max-width: 100%;
}

.hero-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 16px;
    color: #5a5a5a;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-cta {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.hero-cta:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    overflow: visible;
    z-index: 2;
}

.hero-image img {
    width: auto;
    max-width: none;
    height: 582px;
    object-fit: contain;
    margin: 0;
    margin-right: -10px;
    position: relative;
    z-index: 2;
}



@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px;
        max-width: 1100px;
        overflow: hidden;
    }
    
    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-image {
        justify-content: center;
        overflow: hidden;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 485px;
        height: 388px;
        margin-right: 0;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
}

.mobile-nav-menu.active {
    display: block;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

.mobile-nav-menu a:hover {
    color: #1a1a1a;
}

.mobile-nav-menu .btn-primary {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        width: calc(100% - 32px);
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        margin-top: 92px;
        padding: 40px 0;
        overflow: hidden;
    }
    
    .hero-container {
        width: calc(100% - 32px);
        padding: 32px 20px;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta,
    .hero-buttons .btn-demo {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        text-align: center;
        max-width: 280px;
    }

    .hero-image img {
        width: 100%;
        max-width: 371px;
        height: auto;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-container {
        width: calc(100% - 24px);
        padding: 24px 16px;
        gap: 24px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .hero-image img {
        max-width: 307px;
        height: auto;
    }
}