:root {
    --bg: #020617;
    --card: rgba(255, 255, 255, 0.03);
    --primary: #3b82f6;
    --accent: #22d3ee;
    --text: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-gradient { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Navigation */
.navbar { position: fixed; width: 100%; top: 0; padding: 1.2rem 0; background: rgba(2, 6, 23, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: #fff; }
.nav-links { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dim); transition: 0.3s; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }

/* Sections */
section { padding: 120px 0; scroll-margin-top: 80px; }
.hero { padding: 220px 0 120px; text-align: center; }
h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-sub { font-size: 1.25rem; color: var(--text-dim); max-width: 750px; margin: 0 auto 3rem; }

/* Services Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: var(--card); border: 1px solid var(--border); padding: 3rem; border-radius: 20px; transition: 0.4s; }
.card:hover { border-color: var(--primary); transform: translateY(-8px); background: rgba(255, 255, 255, 0.05); }
.icon-svg { width: 32px; height: 32px; color: var(--primary); margin-bottom: 1.5rem; }
.card h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* Tech Matrix */
.tech-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.tech-col h4 { color: var(--primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; }
.tech-col ul { list-style: none; }
.tech-col li { margin-bottom: 0.8rem; font-size: 1.1rem; font-weight: 600; color: var(--text); padding-left: 1rem; border-left: 1px solid var(--border); }

/* Contact Form */
.contact-box { background: var(--card); border: 1px solid var(--border); padding: 4rem; border-radius: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-form input, .contact-form textarea { width: 100%; padding: 1.1rem; background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 12px; color: #fff; margin-bottom: 1.2rem; outline: none; transition: 0.3s; font-family: inherit; }
.captcha-box { background: rgba(59, 130, 246, 0.08); padding: 1.2rem; border-radius: 12px; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; border: 1px dashed var(--primary); }
#captcha_input { width: 100px; margin-bottom: 0; text-align: center; font-weight: bold; }

/* Buttons */
.btn { padding: 1rem 2.5rem; border-radius: 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; transition: 0.3s; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: #fff; }
.full-width { width: 100%; }

@media (max-width: 900px) { .contact-box { grid-template-columns: 1fr; padding: 2rem; } h1 { font-size: 2.8rem; } }