:root {
    --bg: #020617;
    --card-bg: rgba(15, 23, 42, 0.6);
    --accent: #22c55e;
    --accent-blue: #0ea5e9;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.15);
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    margin: 0; font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    background: radial-gradient(circle at top left, #1e293b 0, #020617 40%);
    color: var(--text); line-height: 1.6; overflow-x: hidden;
}

.glow-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -10%, rgba(34, 197, 94, 0.1), transparent 60%);
    pointer-events: none; z-index: 0;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(15px); border-bottom: 1px solid var(--border);
}

.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; }
.accent-text { color: var(--accent); }

.pill-nav {
    display: flex; gap: 8px; background: rgba(0,0,0,0.4);
    padding: 6px; border-radius: 999px; border: 1px solid var(--border);
}

.pill-nav a {
    text-decoration: none; color: var(--muted); padding: 8px 18px;
    font-size: 0.8rem; border-radius: 999px; transition: 0.3s;
}

.pill-nav a:hover, .pill-nav a.active { color: white; background: rgba(255,255,255,0.05); }
.contact-pill { background: var(--accent) !important; color: #052e16 !important; font-weight: 700; }

.hero { padding: 120px 5% 60px; text-align: center; position: relative; z-index: 1; }
.pill-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 999px; font-size: 0.75rem; color: var(--accent); margin-bottom: 30px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

h1 { font-family: 'Montserrat', sans-serif; font-size: 4rem; margin: 0; line-height: 1.1; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(to right, var(--accent), var(--accent-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { color: var(--muted); max-width: 650px; margin: 25px auto 45px; font-size: 1.1rem; }

.btn-primary { background: var(--accent); color: #052e16; padding: 16px 32px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: 0.3s; display: inline-block; cursor:pointer;}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4); }
.btn-ghost { border: 1px solid var(--border); color: white; padding: 16px 32px; border-radius: 999px; text-decoration: none; transition: 0.3s; display: inline-block; }

.marquee-container {
    background: #000; padding: 25px 0; border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent); overflow: hidden; position: relative; z-index: 1;
}

.marquee-content { display: flex; gap: 50px; animation: scroll 40s linear infinite; white-space: nowrap; width: max-content; }
.marquee-content span { color: var(--accent); font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; font-weight: 700; opacity: 0.8; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.trust-bar { padding: 60px 0; border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.2); position: relative; z-index: 1; }
.trust-content { display: flex; justify-content: center; gap: 100px; text-align: center; }
.stat strong { display: block; font-size: 2.5rem; color: var(--accent); font-family: 'Montserrat', sans-serif; }
.stat span { color: var(--muted); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; }

.section { padding: 100px 5%; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 60px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }

.card {
    background: var(--card-bg); border: 1px solid var(--border); padding: 40px;
    border-radius: 24px; position: relative; overflow: hidden; backdrop-filter: blur(10px);
}
.tech-num { color: var(--accent); font-weight: 800; font-size: 0.8rem; margin-bottom: 10px; display: block; opacity: 0.6; }

.project-case { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 50px; background: rgba(255,255,255,0.02); padding: 40px; border-radius: 32px; border: 1px solid var(--border); }
.project-case.reverse { direction: rtl; }
.project-case.reverse .project-info { direction: ltr; }
.tech-tag { display: inline-block; padding: 4px 12px; background: rgba(34, 197, 94, 0.1); color: var(--accent); font-size: 0.7rem; font-weight: 700; border-radius: 999px; margin-bottom: 15px; }
.tech-tag.blue { background: rgba(14, 165, 233, 0.1); color: var(--accent-blue); }
.spec-list { list-style: none; padding: 0; margin-top: 20px; }
.spec-list li { font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; padding-left: 20px; position: relative; }
.spec-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.spec-list span { color: var(--text); font-weight: 600; }
.project-img-placeholder { width: 100%; height: 350px; border-radius: 20px; object-fit: cover; border: 1px dashed var(--accent); }

.calc-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: var(--card-bg); padding: 40px; border-radius: 32px; border: 1px solid var(--border); max-width: 1000px; margin: 0 auto; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.input-group input, .input-group select { width: 100%; padding: 14px; background: #000; border: 1px solid var(--border); color: white; border-radius: 12px; }
.calc-results { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.result-box { padding: 20px; background: rgba(255,255,255,0.03); border-radius: 16px; border: 1px solid var(--border); text-align: center; }
.res-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; }

.footer { padding: 80px 5% 40px; border-top: 1px solid var(--border); background: #000; position: relative; z-index: 1; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 50px; }
.contact-details p { margin: 5px 0; color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    .trust-content { flex-direction: column; gap: 40px; }
    .project-case { grid-template-columns: 1fr; }
    .calc-container { grid-template-columns: 1fr; }
}