/* --- 1. Global Reset & Typography --- */
:root {
    --primary: #0f172a;       /* Deep Navy */
    --accent: #2563eb;        /* Tech Blue */
    --accent-hover: #1d4ed8;  /* Darker Blue */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* --- 2. Navigation --- */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 32px; /* Adjust based on your logo shape */
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

/* --- 3. Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 6rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

/* Subtle pattern overlay */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#334155 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.primary-btn {
    background-color: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* --- 4. Products Section --- */
.products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    margin: 1rem auto;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.icon-box {
    width: 50px;
    height: 50px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    flex-grow: 1; /* Pushes the link to the bottom */
}

.text-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.text-link:hover {
    gap: 0.8rem;
    color: var(--accent-hover);
}

/* --- 5. Footer --- */
footer {
    background-color: var(--white);
    border-top: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 1rem; }
}