/* CTVS - Cloud & Tech Vision Solutions */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    padding: 80px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1e40af;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 32px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Sections general */
section { padding: 64px 0; }
section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.section-cta { text-align: center; margin-top: 32px; }

/* Features */
.features { background: var(--bg-alt); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Stats */
.stats { padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.stat-label { display: block; color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* Clients */
.clients { background: var(--bg-alt); }
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    text-align: center;
}
.client-logo {
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Blog */
.blog-grid { display: grid; gap: 24px; }
.blog-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.blog-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.blog-card h3 { margin-bottom: 8px; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; }
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Page specific */
.page-hero {
    background: var(--bg-alt);
    padding: 48px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 2.2rem; }
.page-hero p { color: var(--text-muted); margin-top: 8px; }
.content-section { padding: 48px 0; }
.content-section h2 { font-size: 1.6rem; margin-bottom: 24px; text-align: left; }
.content-section p { margin-bottom: 16px; color: var(--text-muted); max-width: 760px; }
.services-list { display: grid; gap: 32px; max-width: 800px; }
.service-item { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.service-item h3 { margin-bottom: 8px; }
.service-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }

/* Contact form */
.contact-form {
    max-width: 560px;
    display: grid;
    gap: 16px;
}
.contact-form label { font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 20px; gap: 12px; }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 1.6rem; }
    .stats-grid { grid-template-columns: 1fr; }
}
