/* ============================================
   TECHDEPLOYERS - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg-primary: #050a0f;
  --bg-secondary: #080e15;
  --bg-card: rgba(255, 255, 255, 0.03);
  --accent-cyan: #00d4ff;
  --accent-blue: #0077ff;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --text-primary: #f0f4f8;
  --text-secondary: #8899aa;
  --text-muted: #4a5568;
  --border: rgba(0, 212, 255, 0.12);
  --border-hover: rgba(0, 212, 255, 0.4);
  --gradient-main: linear-gradient(135deg, #00d4ff 0%, #0077ff 100%);
  --gradient-dark: linear-gradient(180deg, #050a0f 0%, #080e15 100%);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.2);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--accent-cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: screen;
}
.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.cursor.hovered { width: 20px; height: 20px; }
.cursor-follower.hovered { width: 56px; height: 56px; border-color: var(--accent-cyan); }

/* ── Noise Texture Overlay ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
  opacity: 0.4;
}

/* ── Grid Background ── */
.grid-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 10px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
p { color: var(--text-secondary); font-weight: 300; font-size: 1.05rem; }
a { text-decoration: none; color: inherit; }

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.btn:hover::before { width: 300px; height: 300px; }

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1.5px solid var(--accent-cyan);
}
.btn-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 65px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span { color: var(--accent-cyan); }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: rgba(8, 14, 21, 0.97);
  backdrop-filter: blur(30px);
  border-left: 1px solid var(--border);
  z-index: 999;
  padding: 100px 40px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-menu.open { right: 0; }
.mobile-menu .nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.mobile-menu .nav-links a {
  font-size: 1.1rem;
}

/* ── Section Styles ── */
section { position: relative; z-index: 1; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-header p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.1rem;
}

/* ── Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.4);
}
.card:hover::before { transform: scaleX(1); }

/* ── Stats ── */
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ── Footer ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 5% 30px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links li a:hover { color: var(--accent-cyan); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 1rem;
}
.social-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--accent-glow);
  transform: translateY(-3px);
}

/* ── Contact Form ── */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: #0d1a26; }

/* ── Animations ── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-left.visible { opacity: 1; transform: translateX(0); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-right.visible { opacity: 1; transform: translateX(0); transition: opacity 0.7s ease, transform 0.7s ease; }

[data-delay="1"] { transition-delay: 0.1s !important; }
[data-delay="2"] { transition-delay: 0.2s !important; }
[data-delay="3"] { transition-delay: 0.3s !important; }
[data-delay="4"] { transition-delay: 0.4s !important; }
[data-delay="5"] { transition-delay: 0.5s !important; }
[data-delay="6"] { transition-delay: 0.6s !important; }

/* ── Glowing Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.orb-cyan { background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%); }
.orb-blue { background: radial-gradient(circle, rgba(0,119,255,0.12) 0%, transparent 70%); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}

/* ── Page Hero Shared ── */
.page-hero {
  padding: 160px 5% 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero p {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.15rem;
}

/* ── Alert/Toast ── */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 10px;
}
.alert.success {
  display: flex;
  background: rgba(0, 255, 150, 0.1);
  border: 1px solid rgba(0, 255, 150, 0.3);
  color: #00ff96;
}
.alert.error {
  display: flex;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff5050;
}

/* ── Loading Bar ── */
#page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-main);
  border-radius: 2px;
  animation: load 1.2s ease forwards;
}
@keyframes load {
  to { width: 100%; }
}
