:root {
    --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --default-font-family: var(--font-sans);
    
    /* Custom colors */
    --foreground: #333333;
    --background: #FFFFFF;
    
    /* LegBye brand colors */
    --brand-primary: #F94744;
    --brand-secondary: #A9A9A9;
    --brand-primary-light: #FFEAEA;
    --brand-primary-dark: #D13030;
    
    /* Additional colors */
    --color-success: #2ED47A;
    --color-info: #4D95CF;
    --color-warning: #FFA755;
    --color-error: #FA5252;

    --primary-main: #F94744;
    --primary-light: #FFEAEA;
    --primary-dark: #D13030;
    
    --secondary-main: #A9A9A9;
    --secondary-light: #E5E5E5;
    --secondary-dark: #7A7A7A;
    
    --text-primary: #333333;
    --text-secondary: #666666;

    --logo-animation-duration: 0.3s;
    --logo-hover-scale: 1.05;
}

*, :after, :before {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family);
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--foreground);
    background-color: var(--background);
}

button {
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

img, svg {
    vertical-align: middle;
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: inherit;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 56px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
}

.nav-links button {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--foreground);
    padding: 0.25rem 0.5rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links button:hover {
    color: var(--brand-primary);
}

.nav-links button.active {
    color: var(--brand-primary);
}

.nav-links button.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-primary);
    border-radius: 2px;
}

/* Hero Section Styles */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, rgba(249, 71, 68, 0.05), rgba(255, 255, 255, 1) 70%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text-container {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-main), var(--secondary-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--primary-main);
    -webkit-text-fill-color: var(--primary-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
}

.floating-logo {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    height: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Product Info Section Styles */
.product-info {
    padding: 6rem 0;
    background-color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-main), var(--secondary-main));
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-main);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary-main);
}

/* Features Section Styles */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(249, 71, 68, 0.03), rgba(255, 255, 255, 0.5));
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    padding: 2rem;
    height: 100%;
    border-top: 5px solid var(--primary-main);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(249, 71, 68, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-main);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshots Section Styles */
.screenshots {
    padding: 6rem 0;
    background-color: var(--primary-light);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.screenshot-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    scroll-snap-align: center;
    background-color: white;
    min-width: 250px;
}

.screenshot-container:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
}

.screenshot-caption {
    text-align: center;
    padding: 0.8rem 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(249, 71, 68, 0.2);
    transition: all 0.3s ease;
}

.scroll-dot.active {
    width: 25px;
    border-radius: 5px;
    background-color: var(--brand-primary);
}

/* Animations */
.fadeInUp {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fadeInUp.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section Styles */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-light), white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    padding: 4rem 0 2rem;
    background-color: #333;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    line-height: 1.6;
    color: #bbb;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bbb;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-main);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact p {
    color: #bbb;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #888;
}

/* Responsive logo sizes */
@media (max-width: 768px) {
    .nav-logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text-container {
        order: 2;
        max-width: 100%;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        margin: 0;
        justify-content: space-around;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links button {
        font-size: 0.8rem;
        padding: 0.5rem;
        white-space: nowrap;
    }

    .screenshots-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0;
    }

    .screenshot-container {
        min-width: 280px;
        flex-shrink: 0;
    }
}
