:root {
  --bg: #060810; --bg2: #0d1120; --bg3: #111827;
  --accent: #00e5b0; --accent2: #6c63ff; --accent3: #ff6b6b;
  --text: #f0f4ff; --muted: #8892a4;
  --border: rgba(255,255,255,0.08); --card: rgba(255,255,255,0.04);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(6,8,16,0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: #060810;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.logo-icon::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2)); }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; position: relative; padding-bottom: 3px;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--accent); color: #060810; border: none;
  padding: 0.55rem 1.4rem; border-radius: 8px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: #00ffcc; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,229,176,0.3); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px; z-index: 200;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 65px; left: 0; right: 0; bottom: 0;
  background: rgba(6,8,16,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); text-decoration: none; font-family: 'Syne', sans-serif;
  font-size: 1.6rem; font-weight: 700; transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }
.mobile-menu .mobile-cta {
  background: var(--accent); color: #060810; padding: 0.8rem 2.5rem;
  border-radius: 10px; font-size: 1rem; margin-top: 1rem;
}

/* BUTTONS */
.btn-primary {
  background: var(--accent); color: #060810;
  padding: 0.85rem 2rem; border-radius: 10px; border: none;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all 0.25s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #00ffcc; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,229,176,0.3); }
.btn-ghost {
  background: transparent; color: var(--text);
  padding: 0.85rem 2rem; border-radius: 10px; border: 1px solid var(--border);
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: var(--card); }

/* SECTIONS */
.section-label { font-size: 0.78rem; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 0.8rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 500px; line-height: 1.7; margin-top: 0.7rem; }
.page-hero-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.page-hero-title span { color: var(--accent); }
.page-hero-sub { color: var(--muted); font-size: 1rem; max-width: 560px; line-height: 1.7; margin-top: 1rem; }

/* CARDS */
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,229,176,0.05) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { border-color: rgba(0,229,176,0.25); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.tag { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--muted); font-size: 0.75rem; padding: 3px 10px; border-radius: 50px; }
.tech-chip { font-size: 0.7rem; padding: 2px 8px; background: rgba(255,255,255,0.06); border-radius: 4px; color: var(--muted); }

/* PROJECT CARDS */
.project-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.project-card:hover { border-color: rgba(0,229,176,0.3); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.project-thumb { height: 210px; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-body { padding: 1.5rem; }
.project-type { font-size: 0.75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.project-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
.project-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 8px; }
.project-tech { display: flex; gap: 6px; flex-wrap: wrap; }
.project-link { color: var(--accent); font-size: 0.8rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.project-link:hover { text-decoration: underline; }

/* CONTACT */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; transition: border-color 0.2s; }
.contact-item:hover { border-color: rgba(0,229,176,0.3); }
.ci-icon { font-size: 1.2rem; flex-shrink: 0; }
.ci-label { font-size: 0.75rem; color: var(--muted); }
.ci-value { font-size: 0.9rem; font-weight: 500; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem 1rem;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.92rem; outline: none; transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg2); }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 5% 2rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand { max-width: 280px; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin-top: 0.8rem; }
.footer-links h5 { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-socials { display: flex; gap: 1rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.8rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }
.tagline-ribbon {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-family: 'Syne', sans-serif; font-weight: 700; letter-spacing: 1px;
}

/* TEAM */
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; transition: all 0.3s; }
.team-card:hover { border-color: rgba(0,229,176,0.25); transform: translateY(-3px); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; color: #060810; }
.team-card h4 { font-size: 1rem; font-weight: 700; }
.team-card .role { font-size: 0.82rem; color: var(--accent); margin-top: 3px; }

/* PRICING */
.pricing-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: 0.5rem; transition: all 0.3s; }
.pricing-card.featured { border-color: var(--accent); background: rgba(0,229,176,0.05); }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-badge { font-size: 0.7rem; color: var(--accent); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; }
.pricing-name { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; }
.pricing-price { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin: 0.5rem 0; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.pricing-features li { font-size: 0.88rem; color: var(--muted); display: flex; gap: 8px; }
.pricing-features li::before { content: '→'; color: var(--accent); flex-shrink: 0; }

/* TIMELINE */
.tl-item { display: flex; gap: 2rem; padding-bottom: 2.5rem; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 7px; top: 20px; bottom: 0; width: 1px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 4px; box-shadow: 0 0 0 6px rgba(0,229,176,0.1); }
.tl-year { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--accent); margin-bottom: 3px; }
.tl-title { font-weight: 600; font-size: 1rem; }
.tl-desc { color: var(--muted); font-size: 0.88rem; margin-top: 4px; line-height: 1.5; }

/* FILTER */
.filter-btn { background: var(--card); border: 1px solid var(--border); color: var(--muted); padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: #060810; border-color: var(--accent); font-weight: 700; }

/* SERVICE ROW */
.service-row { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem 2rem; display: grid; grid-template-columns: 50px 1fr auto; gap: 1.5rem; align-items: center; transition: all 0.3s; }
.service-row:hover { border-color: rgba(0,229,176,0.3); background: rgba(255,255,255,0.06); }
.service-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: rgba(255,255,255,0.08); }
.service-row-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-row-content p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.8rem; }
.service-arrow { color: var(--accent); font-size: 1.5rem; opacity: 0.5; transition: all 0.2s; }
.service-row:hover .service-arrow { opacity: 1; transform: translateX(4px); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── DROPDOWN MENU ── */
.nav-dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: rgba(13,17,32,0.98); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 0.5rem; min-width: 180px; list-style: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4); z-index: 200;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; background: rgba(13,17,32,0.98);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.dropdown-menu.open { display: block; }
.dropdown-menu li a {
  display: block; padding: 0.55rem 1rem; border-radius: 8px;
  color: var(--muted); font-size: 0.88rem; font-weight: 500; text-decoration: none;
  transition: all 0.2s; white-space: nowrap;
}
.dropdown-menu li a:hover, .dropdown-menu li a.active { background: rgba(0,229,176,0.1); color: var(--accent); }
.dropdown-menu li a::after { display: none; }
.dropdown-toggle.open { color: var(--accent); }
.dropdown-arrow { display: inline-block; transition: transform 0.25s; font-size: 0.7rem; }
.dropdown-toggle.open .dropdown-arrow { transform: rotate(180deg); }

/* ── DESKTOP: hide hamburger ── */
.hamburger { display: none; }

/* ── PROJECT IMAGE: show full screenshot, no zoom crop ── */
.project-thumb img { width:100%; height:100%; object-fit: contain; background:#0d1120; display:block; transition: transform 0.4s ease; }
.project-card:hover .project-thumb img { transform: scale(1.03); }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .service-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .service-num { display: none; }
  .service-arrow { display: none; }

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  nav { padding: 0.9rem 4%; }
  .logo-text { font-size: 0.95rem; }
}
