/* Global layout and typography */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #0f172a;
    background: #f1f5f9;
}

/* Remove default list styling in nav and other lists */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Basic link style */
a {
    text-decoration: none;
}

/* Top navigation bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.4);
}

.navbar .logo {
    font-weight: bold;
    letter-spacing: 0.05em;
    font-size: 1rem;
}

.navbar ul {
    display: flex;
    gap: 18px;
}

.navbar a {
    color: #e5e7eb;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #ffffff;
}

/* Hero section */
.hero {
    padding: 80px 40px;
    background: radial-gradient(circle at top left, #38bdf8 0%, #0f172a 55%, #020617 100%);
    color: #f9fafb;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 520px;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-highlight {
    margin-top: 10px;
    font-weight: bold;
    color: #a5f3fc;
}

/* Hero buttons */
.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #38bdf8;
    color: #0f172a;
    border-radius: 999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #e5e7eb;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

/* Right side hero card */
.hero-right {
    max-width: 380px;
    margin-top: 30px;
}

.hero-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

.hero-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #e0f2fe;
}

.hero-card p {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #e5e7eb;
}

/* Key features section */
.features {
    padding: 40px;
    background: #f9fafb;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(148, 163, 184, 0.35);
    border-top: 4px solid #38bdf8;
}

.feature-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #0f172a;
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
}

/* Products/category section on homepage */
.products-section {
    padding: 40px;
    background: #e2e8f0;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.products-section p {
    text-align: center;
    margin-bottom: 24px;
    color: #4b5563;
}

/* Category cards grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(148, 163, 184, 0.3);
}

.category-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #0f172a;
}

.category-card p {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.category-card a {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 18px 40px;
    background: #0f172a;
    color: #e5e7eb;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        flex-direction: column;
    }

    .navbar {
        padding: 14px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
    }
}