/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007bff;     /* Electric Blue */
    --secondary-color: #00e5ff;   /* Cyber Cyan */
    --dark-bg: #0f172a;           /* Deep Industrial Slate */
    --card-bg: #1e293b;           /* Lighter Slate for contrast */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --font-stack: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Header & Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #334155;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.logo span {
    color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--secondary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.btn-outline {
    border: 2px solid var(--text-muted);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

/* --- Hero Section --- */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(15,23,42,0.9) 30%, rgba(0,123,255,0.15)), 
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content .highlight {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Section Design --- */
.features-container {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
}

/* --- Grid & Cards --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 15px;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    color: var(--secondary-color);
}

/* --- Banner Section --- */
.banner {
    background: linear-gradient(90deg, #1e40af, #0369a1);
    padding: 60px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #334155;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    header { padding: 20px 4%; flex-direction: column; gap: 15px; }
    nav ul { gap: 15px; }
    .hero-content h1 { font-size: 32px; }
    .banner { flex-direction: column; text-align: center; }
}