* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;      /* fill at least the viewport height */
    display: flex;
    flex-direction: column;
}
/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    position: relative;
}
.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c5aa0;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #2c5aa0;
}
.auth-buttons {
    display: flex;
    gap: 12px;
}
.btn-signin {
    padding: 6px 14px;
    border: 2px solid #2c5aa0;
    background: transparent;
    color: #2c5aa0;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.btn-signin:hover {
    background: #2c5aa0;
    color: white;
}
.btn-signup {
    padding: 8px 14px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}
.btn-signup:hover {
    background: #e55a2e;
}
/* Mobile Menu */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.mobile-menu:hover {
    background: #f0f0f0;
}

main {
    flex: 1;        /* takes up remaining space */
}

/* Hero Section - Significantly reduced */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0 25px;
    text-align: center;
    margin-top: 50px;
}
.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 300;
}
.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}
.hero-cta {
    display: inline-block;
    padding: 10px 22px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease;
}
.hero-cta:hover {
    background: #e55a2e;
}
/* Products Section - Reduced padding */
.products-section {
    padding: 25px 0;
    background: #f8f9fa;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 20px;
}
.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 300;
}
.section-subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.4;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.product-card {
    background: white;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-decoration: none;
}
.product-icon {
    width: 42px;
    height: 42px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}
.product-card:nth-child(2) .product-icon { background: #28a745; }
.product-card:nth-child(3) .product-icon { background: #ffc107; }
.product-card:nth-child(4) .product-icon { background: #17a2b8; }
.product-card:nth-child(5) .product-icon { background: #6f42c1; }
.product-card:nth-child(6) .product-icon { background: #fd7e14; }
.product-content {
    flex: 1;
}
.product-name {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}
.product-description {
    color: #666;
    line-height: 1.4;
    font-size: 0.85rem;
}
/* Stats Section - Reduced padding */
.stats-section {
    background: white;
    padding: 20px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}
.stat-item h3 {
    font-size: 1.6rem;
    color: #2c5aa0;
    margin-bottom: 4px;
    font-weight: 600;
}
.stat-item p {
    color: #666;
    font-size: 0.9rem;
}
/* CTA Section - Reduced padding */
.cta-section {
    background: #333;
    color: white;
    padding: 25px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 300;
}
.cta-section p {
    font-size: 0.95rem;
    margin-bottom: 18px;
    opacity: 0.9;
}
/* Footer - Google-style minimal footer */
.footer {
    background: #f2f2f2;
    border-top: 1px solid #e4e4e4;
    padding: 15px 0;
    font-size: 14px;
    color: #70757a;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-location {
    padding: 15px 0;
    border-bottom: 1px solid #dadce0;
    font-size: 15px;
    color: #70757a;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.footer-left {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-links a {
    color: #70757a;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #202124;
}
/* Desktop specific optimizations */
@media (min-width: 1024px) {
    .hero {
        padding: 45px 0 20px;
    }
    
    .hero h1 {
        font-size: 2.1rem;
        margin-bottom: 8px;
    }
    
    .products-section {
        padding: 22px 0;
    }
    
    .section-header {
        margin-bottom: 18px;
    }
    
    .products-grid {
        margin-top: 18px;
    }
    
    .stats-section {
        padding: 18px 0;
    }
    
    .cta-section {
        padding: 22px 0;
    }
}
/* Responsive */
@media (max-width: 1023px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nav-container {
        padding: 8px 20px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links, .auth-buttons {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .product-card {
        flex-direction: column;
        text-align: center;
    }
    
    .product-icon {
        margin: 0 auto 8px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products-section {
        padding: 30px 0;
    }
    
    .stats-section {
        padding: 25px 0;
    }
    
    .cta-section {
        padding: 30px 0;
    }
    
    /* Mobile footer adjustments */
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-left, .footer-right {
        gap: 20px;
    }
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-left, .footer-right {
        flex-direction: column;
        gap: 15px;
    }
}
/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}