/* Palette: Deep Void, Neon Cyan, White */
:root {
    --bg: #0B1120;
    --card: #151E32;
    --neon: #06B6D4;
    --neon-hover: #22D3EE;
    --text: #E2E8F0;
    --gray: #94A3B8;
    
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

/* Header */
.tech-header { padding: 20px 0; background: rgba(11, 17, 32, 0.95); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(6, 182, 212, 0.2); backdrop-filter: blur(10px); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 2rem; font-weight: 700; letter-spacing: 2px; color: var(--text); }
.neon-dot { color: var(--neon); }

.matrix-nav a { margin-left: 25px; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--gray); }
.matrix-nav a:hover, .matrix-nav a.active { color: var(--neon); text-shadow: 0 0 10px rgba(6, 182, 212, 0.5); }

.menu-trigger { display: none; background: transparent; border: 1px solid var(--neon); color: var(--neon); padding: 5px 15px; font-size: 1.5rem; cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-menu.active { right: 0; }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 2rem; color: var(--neon); cursor: pointer; }
.mobile-menu a { font-family: var(--font-head); font-size: 2rem; margin: 15px 0; font-weight: 700; }

@media (max-width: 900px) {
    .matrix-nav { display: none; }
    .menu-trigger { display: block; }
}

/* Hero */
.hero-cyber { height: 85vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-grid-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 182, 212, 0.1) 1px, transparent 1px); background-size: 50px 50px; opacity: 0.3; perspective: 500px; transform: rotateX(60deg) scale(1.5); transform-origin: top; z-index: -1; }

.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; z-index: 10; }
.code-tag { font-family: var(--font-head); color: var(--neon); background: rgba(6, 182, 212, 0.1); padding: 5px 10px; font-weight: 700; letter-spacing: 2px; display: inline-block; margin-bottom: 20px; }
.hero-text h1 { font-family: var(--font-head); font-size: 4rem; line-height: 1; margin-bottom: 20px; font-weight: 700; text-transform: uppercase; }
.hero-text p { font-size: 1.2rem; color: var(--gray); margin-bottom: 40px; max-width: 500px; }

.btn-neon { background: transparent; border: 2px solid var(--neon); color: var(--neon); padding: 15px 40px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: 0.3s; display: inline-block; box-shadow: 0 0 10px rgba(6, 182, 212, 0.2); }
.btn-neon:hover { background: var(--neon); color: var(--bg); box-shadow: 0 0 20px rgba(6, 182, 212, 0.6); }

.poly-shape { width: 300px; height: 300px; border: 2px solid var(--neon); transform: rotate(45deg); margin: 0 auto; position: relative; animation: float 6s ease-in-out infinite; }
.poly-shape::before { content: ''; position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 2px solid rgba(6, 182, 212, 0.3); }
@keyframes float { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-20px); } }

/* Services */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 10px; }
.neon-line { width: 100px; height: 3px; background: var(--neon); margin: 0 auto; box-shadow: 0 0 10px var(--neon); }
.neon-line.left { margin: 0 0 30px 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { background: var(--card); padding: 40px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; position: relative; overflow: hidden; }
.tech-card:hover { border-color: var(--neon); transform: translateY(-5px); }
.tech-card:hover .icon { color: var(--neon); text-shadow: 0 0 10px var(--neon); }
.icon { font-size: 3rem; margin-bottom: 20px; transition: 0.3s; }
.tech-card h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 10px; }

/* About */
.about-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-txt h1 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 20px; line-height: 1.1; }
.tech-list { list-style: none; margin-top: 30px; font-family: var(--font-head); font-size: 1.2rem; }
.tech-list li { margin-bottom: 10px; color: var(--neon); }
.about-visual img { border: 2px solid var(--neon); box-shadow: 10px 10px 0 rgba(6, 182, 212, 0.2); filter: grayscale(100%) contrast(1.2); }

/* Testimonials */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: var(--card); padding: 30px; border-left: 3px solid var(--gray); }
.review-card.glow { border-left-color: var(--neon); background: rgba(6, 182, 212, 0.05); }
.client-id { font-family: var(--font-head); color: var(--neon); font-weight: 700; margin-bottom: 15px; font-size: 0.9rem; }
.review-card p { font-style: italic; margin-bottom: 20px; color: #cbd5e1; }
.review-card span { font-size: 0.85rem; color: var(--gray); }

/* Contact Terminal */
.contact-terminal { max-width: 800px; margin: 0 auto; background: #000; border: 1px solid #333; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.terminal-head { background: #1a1a1a; padding: 10px 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #333; font-family: monospace; font-size: 0.8rem; color: #666; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.terminal-body { padding: 40px; font-family: monospace; }
.contact-data { margin-bottom: 30px; color: var(--neon); }

.cyber-form .input-line { margin-bottom: 20px; }
.cyber-form label { display: block; color: var(--gray); margin-bottom: 5px; font-size: 0.8rem; }
.cyber-form input, .cyber-form select, .cyber-form textarea { width: 100%; background: #0B1120; border: 1px solid #333; color: var(--neon); padding: 10px; font-family: monospace; }
.cyber-form input:focus { border-color: var(--neon); outline: none; }
.full { width: 100%; margin-top: 10px; }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; background: var(--card); padding: 60px; border: 1px solid rgba(255,255,255,0.05); }

/* Footer */
.tech-footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 60px 0 20px; margin-top: 100px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-info h4 { font-family: var(--font-head); color: var(--neon); margin-bottom: 5px; }
.f-links a { margin-left: 20px; color: var(--gray); font-size: 0.9rem; }
.f-links a:hover { color: var(--neon); }
.copyright { text-align: center; font-size: 0.8rem; color: #64748b; font-family: monospace; }

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .grid-3, .about-layout, .reviews-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; }
    .poly-shape { margin: 40px auto; width: 200px; height: 200px; }
}