:root {
  --primary: #2563eb;
  --primary-rgb: 37, 99, 235;
  --primary-dark: #1d4ed8;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --bg: #f8faff;
  --bg-dark: #0a0b14;
  --surface: #ffffff;
  --surface-dark: #111322;
  --text: #0f172a;
  --text-muted: #5d6b82;
  --border: rgba(37, 99, 235, 0.12);
  --border-light: rgba(15, 23, 42, 0.06);
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(37, 99, 235, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 44px rgba(37, 99, 235, 0.13), 0 4px 12px rgba(0, 0, 0, 0.04);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --whatsapp: #25D366;
}

[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-rgb: 59, 130, 246;
  --bg: #090a12;
  --surface: #121424;
  --surface-dark: #0c0d18;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.09);
  --border-light: rgba(255, 255, 255, 0.04);
  --gradient-soft: linear-gradient(135deg, rgba(59, 130, 246, 0.14) 0%, rgba(124, 58, 237, 0.14) 100%);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.65);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: var(--font-body); 
  background: var(--bg); 
  color: var(--text); 
  overflow-x: hidden; 
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* PAGE SYSTEM */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* NAVBAR */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  height: 80px;
  display: flex; align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] nav.scrolled {
  background: rgba(15, 15, 28, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
nav.nav-hidden {
  transform: translateY(-100%);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--text);
  cursor: pointer; text-decoration: none;
  transition: all 0.3s ease;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 600; color: var(--text);
  padding: 0.5rem 0.9rem; border-radius: 100px;
  cursor: pointer; transition: all 0.25s; text-decoration: none;
}
nav.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--primary) !important; background: rgba(37, 99, 235,0.08); }
[data-theme="dark"] .nav-links a:hover, [data-theme="dark"] .nav-links a.active { color: var(--accent-light) !important; background: rgba(124,58,237,0.15); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  transform: scale(1.08) rotate(12deg);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(37, 99, 235,0.15);
}
.theme-toggle svg { width: 18px; height: 18px; stroke-width: 2; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-cta {
  background: var(--gradient) !important; color: white !important;
  padding: 0.6rem 1.4rem !important; border-radius: 100px;
  font-weight: 700 !important; font-size: 0.875rem !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235,0.25);
  display: inline-flex; align-items: center; text-decoration: none;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235,0.35); }

/* MOBILE MENU */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { 
  display: none; position: fixed; top: 68px; left: 0; right: 0; 
  background: var(--surface); border-bottom: 1px solid var(--border); 
  padding: 1.25rem 2rem; z-index: 999; 
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0.6rem; animation: slideDown 0.25s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu a { padding: 0.75rem 1rem; border-radius: 10px; color: var(--text-muted); font-weight: 600; cursor: pointer; text-decoration: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); background: rgba(37, 99, 235,0.08); }
.mobile-menu-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }

/* HERO */
.hero {
  padding: 140px 2rem 100px;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.25);
  color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 0.4rem 0.95rem; border-radius: 100px; margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.125rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; max-width: 490px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  padding: 0.9rem 1.8rem; border-radius: 14px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  border: none; text-decoration: none; font-family: var(--font-body);
  letter-spacing: -0.01em;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; flex-shrink: 0; }
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 4px 20px rgba(37, 99, 235,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37, 99, 235,0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid rgba(37, 99, 235,0.3); }
[data-theme="dark"] .btn-outline { color: var(--accent-light); border-color: rgba(167, 139, 250, 0.4); }
.btn-outline:hover { background: rgba(37, 99, 235,0.06); border-color: var(--primary); }
[data-theme="dark"] .btn-outline:hover { background: rgba(124, 58, 237, 0.12); border-color: var(--accent-light); }
.btn-fb { background: #1877F2; color: white; }
.btn-fb:hover { background: #1565d8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(24,119,242,0.35); }
.btn-wa { background: #25D366; color: white; }
.btn-wa:hover { background: #20ba59; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }

/* HERO VISUAL */
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-orb {
  width: 420px; height: 420px; border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid rgba(124,58,237,0.18);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)} }
.hero-orb::before {
  content: ''; position: absolute; inset: 20px;
  border-radius: 50%; border: 1px dashed rgba(37, 99, 235,0.25);
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-orb-inner {
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: white;
  letter-spacing: -0.03em;
  box-shadow: 0 20px 50px rgba(37, 99, 235,0.35), inset 0 0 40px rgba(255,255,255,0.2);
  border: 4px solid rgba(255,255,255,0.15);
  text-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.hero-float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow); font-size: 0.85rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.85rem;
  backdrop-filter: blur(10px);
}
.hero-float-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gradient-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .hero-float-icon { color: var(--accent-light); }
.hero-float-icon svg { width: 20px; height: 20px; }
.hero-float-card .label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.hero-float-card.card-1 { top: 12%; left: -20px; animation: float 5s ease-in-out infinite 1s; }
.hero-float-card.card-2 { bottom: 18%; right: -20px; animation: float 7s ease-in-out infinite 0.5s; }
.hero-float-card.card-3 { bottom: 8%; left: 5%; animation: float 6s ease-in-out infinite 2s; }
.stat-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--primary); }
[data-theme="dark"] .stat-num { color: var(--accent-light); }

/* SECTIONS */
section { padding: 90px 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800; line-height: 1.18; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-subtitle { font-size: 1.0625rem; color: var(--text-muted); max-width: 580px; line-height: 1.7; }
.section-header { margin-bottom: 3.5rem; }

/* CARDS GRID */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-lg); 
  border-color: rgba(37, 99, 235,0.25); 
}
[data-theme="dark"] .card:hover {
  border-color: rgba(167,139,250,0.3);
}
.card > * { position: relative; z-index: 1; }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--gradient-soft); border: 1px solid var(--border);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.35s ease;
}
[data-theme="dark"] .card-icon { color: var(--accent-light); }
.card-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.card:hover .card-icon {
  background: var(--gradient); color: white;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 10px 20px rgba(37, 99, 235,0.25);
}
.card:hover .card-icon svg { stroke: white; }
.card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.65rem; }
.card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.card-btn {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 700; color: var(--primary); cursor: pointer;
  border: none; background: none; font-family: var(--font-body);
  transition: gap 0.2s;
  padding: 0;
}
[data-theme="dark"] .card-btn { color: var(--accent-light); }
.card-btn:hover { gap: 0.8rem; }
.card-btn::after { content: '→'; font-size: 1.1rem; }

/* WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.why-card {
  display: flex; gap: 1.25rem; padding: 1.75rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); align-items: flex-start;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}
.why-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235,0.25); }
.why-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradient); color: white;
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.why-card h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.why-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* CTA BANNER */
.cta-banner {
  background: var(--gradient); border-radius: var(--radius-lg); padding: 4.5rem 3rem;
  text-align: center; color: white; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(37, 99, 235,0.3);
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -40%; left: -10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.btn-white { background: white; color: var(--primary); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* PROJECTS GRID & CARDS */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.project-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.project-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235,0.25);
}
.project-thumb {
  height: 200px; position: relative; overflow: hidden;
  background: var(--gradient-soft);
  display: flex; flex-direction: column;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.project-mock-window {
  width: 100%; height: 100%;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
[data-theme="dark"] .project-mock-window {
  background: #18182d;
}
.project-mock-bar {
  height: 26px; background: rgba(0,0,0,0.03);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
}
[data-theme="dark"] .project-mock-bar {
  background: rgba(255,255,255,0.03);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }
.project-mock-content {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; text-align: center; padding: 1rem;
}
.project-mock-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient); color: white;
  display: flex; align-items: center; justify-content: center;
}
.project-mock-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.project-mock-badge {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary); letter-spacing: 0.05em;
  background: rgba(37, 99, 235,0.08); padding: 0.2rem 0.6rem; border-radius: 100px;
}
[data-theme="dark"] .project-mock-badge { color: var(--accent-light); background: rgba(124,58,237,0.15); }
.project-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(37, 99, 235,0.08); color: var(--primary);
  padding: 0.25rem 0.7rem; border-radius: 100px; margin-bottom: 0.75rem;
  width: fit-content;
}
[data-theme="dark"] .project-tag { background: rgba(124,58,237,0.15); color: var(--accent-light); }
.project-info h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-info p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; flex: 1; }

/* MODAL */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(9, 9, 18, 0.75); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.modal {
  background: var(--surface); border-radius: var(--radius-lg); max-width: 680px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: scaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
@keyframes scaleIn { from{opacity:0;transform:scale(0.92)} to{opacity:1;transform:scale(1)} }
.modal-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.modal-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gradient); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; flex-shrink: 0;
}
.modal-icon svg { width: 28px; height: 28px; stroke-width: 2; stroke: white; }
.modal-title-wrap { flex: 1; }
.modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.modal-subtitle { font-size: 0.875rem; color: var(--text-muted); }
.modal-close {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(37, 99, 235,0.06); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--text-muted); flex-shrink: 0;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(37, 99, 235,0.15); color: var(--text); }
.modal-body { padding: 2rem; }
.modal-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.modal-section-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.875rem; color: var(--text); }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; }
.feature-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.92rem; color: var(--text-muted);
}
.feature-list li::before { content: '✓'; color: var(--primary); font-weight: 800; flex-shrink: 0; }
[data-theme="dark"] .feature-list li::before { color: var(--accent-light); }
.modal-footer { padding: 1.5rem 2rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 1rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tech-tag {
  font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.75rem;
  background: rgba(124,58,237,0.08); color: var(--accent);
  border: 1px solid rgba(124,58,237,0.2); border-radius: 8px;
}
[data-theme="dark"] .tech-tag {
  background: rgba(124,58,237,0.18); color: var(--accent-light);
}

/* ABOUT PAGE */
.about-hero { padding: 140px 2rem 80px; max-width: 1200px; margin: 0 auto; }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 5rem; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 5rem; }
.mv-card { 
  background: var(--surface); border: 1px solid var(--border); 
  border-radius: var(--radius); padding: 2.25rem; 
  box-shadow: var(--shadow);
}
.mv-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
[data-theme="dark"] .mv-icon { color: var(--accent-light); }
.mv-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.mv-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.mv-card h3 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mv-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card { 
  background: var(--surface); border: 1px solid var(--border); 
  border-radius: var(--radius); padding: 2rem; text-align: center; 
  box-shadow: var(--shadow); transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-5px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gradient); margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235,0.25);
}
.team-card h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: 0.25rem; }
.team-card p { font-size: 0.875rem; color: var(--text-muted); }

/* PAGE HERO GENERIC */
.page-hero { 
  padding: 160px 2rem 90px; 
  background: var(--bg); 
  color: var(--text); 
  text-align: center; 
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.page-hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 1.125rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* FEATURES SECTION */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-item { padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: rgba(37, 99, 235,0.2); margin-bottom: 0.5rem; }
[data-theme="dark"] .feature-num { color: rgba(167,139,250,0.25); }
.feature-item h4 { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.feature-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* CONTACT PAGE & INTERACTIVE FORM */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start;
}
.contact-info-card {
  display: flex; flex-direction: column; gap: 1.75rem;
}
.contact-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all 0.25s;
}
.contact-item:hover { border-color: rgba(37, 99, 235,0.3); transform: translateX(4px); }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .contact-item-icon { color: var(--accent-light); }
.contact-item-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.contact-item-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-item-val { color: var(--text-muted); font-size: 0.9rem; }

.contact-form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.form-subtitle { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 2rem; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group.full { grid-column: span 2; }
.form-label { font-size: 0.825rem; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.85rem 1rem;
  border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text);
  font-family: var(--font-body); font-size: 0.92rem;
  transition: all 0.25s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235,0.12);
}
[data-theme="dark"] .form-input, [data-theme="dark"] .form-select, [data-theme="dark"] .form-textarea {
  background: #0d0d1b;
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-alert {
  display: none; padding: 1rem 1.25rem; border-radius: 12px;
  font-size: 0.9rem; margin-bottom: 1.5rem; font-weight: 500;
}
.form-alert.success {
  display: flex; align-items: center; gap: 0.65rem;
  background: #e6fcf5; color: #087f5b; border: 1px solid #b2f2bb;
}
[data-theme="dark"] .form-alert.success {
  background: rgba(12, 166, 120, 0.15); color: #63e6be; border-color: rgba(12, 166, 120, 0.3);
}

.quick-connect-divider {
  display: flex; align-items: center; text-align: center;
  margin: 1.75rem 0; color: var(--text-muted); font-size: 0.8rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.quick-connect-divider::before, .quick-connect-divider::after {
  content: ''; flex: 1; border-bottom: 1px solid var(--border);
}
.quick-connect-divider span { padding: 0 1rem; }
.direct-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* FOOTER */
footer { background: var(--bg-dark); color: white; padding: 4.5rem 2rem 2.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.875rem; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 300px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; margin-bottom: 1.25rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.45); margin-bottom: 0.75rem; cursor: pointer; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.825rem; color: rgba(255,255,255,0.4); }

/* FADE IN ANIMATION */
.fade-in { opacity: 0; transform: translateY(24px); transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* FILTER TABS */
.filter-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 3rem; justify-content: center; }
.filter-tab {
  padding: 0.6rem 1.4rem; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text-muted); transition: all 0.2s;
}
.filter-tab.active, .filter-tab:hover { background: var(--gradient); color: white; border-color: transparent; box-shadow: 0 4px 15px rgba(37, 99, 235,0.2); }

/* SCROLL TO TOP */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: white; border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all 0.25s;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scroll-top svg { width: 20px; height: 20px; stroke-width: 2.5; stroke: white; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .cards-grid, .projects-grid, .features-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 120px 1.5rem 60px; gap: 3rem; }
  .hero-visual { display: none; }
  .about-intro, .contact-wrap, .mission-vision { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .direct-actions { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .cards-grid, .projects-grid, .features-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 60px 1.5rem; }
  .cta-banner { padding: 3rem 1.5rem; }
  .cta-banner h2 { font-size: 1.75rem; }
  .contact-form-box { padding: 2rem 1.5rem; }
}
