/* ═══════════════════════════════════════════════════
   GTICKX — DESIGN SYSTEM
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

/* ── CSS Variables ── */
:root {
  --color-bg: #0a0d14;
  --color-bg-2: #111827;
  --color-bg-3: #1a2234;
  --color-surface: #151d2e;
  --color-surface-2: #1e2b3f;
  --color-border: rgba(37, 99, 235, 0.15);
  --color-border-hover: rgba(37, 99, 235, 0.4);
  --color-text: #f0f4ff;
  --color-text-muted: #9CA3AF;
  --color-text-faint: #4b5563;
  --color-accent: #2563EB;
  --color-accent-light: #3b82f6;
  --color-accent-glow: rgba(37, 99, 235, 0.3);
  --color-accent-2: #06b6d4;
  --color-white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-primary: 'Poppins', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-h: 72px;
}

[data-theme="light"] {
  --color-bg: #f8fafc;
  --color-bg-2: #f1f5f9;
  --color-bg-3: #e8edf5;
  --color-surface: #ffffff;
  --color-surface-2: #f0f4ff;
  --color-border: rgba(37, 99, 235, 0.12);
  --color-border-hover: rgba(37, 99, 235, 0.35);
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-faint: #94a3b8;
  --color-accent-glow: rgba(37, 99, 235, 0.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { color: var(--color-text-muted); }

.mono { font-family: var(--font-mono); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

section { padding: clamp(4rem, 8vw, 8rem) 0; }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

[data-theme="light"] #navbar.scrolled {
  background: rgba(248, 250, 252, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-g { color: var(--color-white); }
.logo-tick { color: var(--color-accent); }
.logo-x { color: var(--color-accent-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 2px;
  background: var(--color-accent);
  transition: right 0.3s ease;
}

.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { right: 0; }

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

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition);
  background: var(--color-surface);
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h); left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}

.mobile-menu .btn-primary { margin-top: 1rem; text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  font-family: var(--font-primary);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--color-border-hover);
  color: var(--color-text);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; border-radius: var(--radius-lg); }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header .badge { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-glow-1, .hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--color-accent);
  top: -100px; right: -100px;
}

.hero-glow-2 {
  width: 400px; height: 400px;
  background: var(--color-accent-2);
  bottom: -100px; left: -50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--color-accent-2);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease both;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent-2);
  animation: pulse 2s infinite;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-content h1 span { color: var(--color-accent); }
.hero-accent-word {
  position: relative;
  display: inline-block;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.stat-num span { color: var(--color-accent); }
.stat-label { font-size: 0.8rem; color: var(--color-text-muted); }

.hero-visual {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  animation: fadeInRight 1s ease 0.2s both;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  min-width: 320px;
  backdrop-filter: blur(10px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.card-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.card-dot.red { background: #ff5f57; }
.card-dot.yellow { background: #ffbd2e; }
.card-dot.green { background: #28c840; }

.hero-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.code-line { display: flex; gap: 1rem; }
.code-num { color: var(--color-text-faint); min-width: 20px; }
.code-key { color: #7dd3fc; }
.code-val { color: #86efac; }
.code-str { color: #fbbf24; }
.code-op { color: var(--color-text-muted); }

/* ── Services ── */
#services { background: var(--color-bg-2); position: relative; overflow: hidden; }

.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(37,99,235,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
}

.service-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 1.25rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: var(--color-bg-3);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.service-arrow {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.75rem;
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: rotate(45deg);
}

/* ── Portfolio ── */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.project-img {
  height: 200px;
  background: var(--color-bg-3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0.15;
}

.project-img-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.project-img-icon {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-link-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transform: translateY(10px);
  transition: var(--transition);
}

.project-card:hover .project-link-btn { transform: translateY(0); }

.project-info { padding: 1.5rem; }
.project-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-2);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.project-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.project-info p { font-size: 0.875rem; margin-bottom: 1rem; }

/* ── About ── */
#about { position: relative; overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.about-main-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
}

.about-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-mini {
  text-align: center;
  padding: 1.25rem;
  background: var(--color-bg-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.stat-mini-num { font-size: 1.75rem; font-weight: 800; color: var(--color-accent); }
.stat-mini-label { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 0.25rem; }

.about-floating-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--color-accent);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.about-badge-num { font-size: 1.5rem; font-weight: 800; display: block; }

.about-content .badge { margin-bottom: 1rem; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1.25rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.value-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
}

.value-item h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.2rem; }
.value-item p { font-size: 0.78rem; }

/* ── Team ── */
#team { background: var(--color-bg-2); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  opacity: 0.5;
}

.team-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; color: var(--color-accent-2); font-family: var(--font-mono); margin-bottom: 0.75rem; }
.team-bio { font-size: 0.825rem; }

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.team-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.team-socials a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.1);
}

/* ── Expertise ── */
#expertise { position: relative; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.expertise-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.expertise-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card);
}

.expertise-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.expertise-icon {
  font-size: 1.75rem;
  width: 52px; height: 52px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-header h3 { font-size: 1.05rem; }
.expertise-header p { font-size: 0.8rem; }

.skill-bars { display: flex; flex-direction: column; gap: 1rem; }

.skill-bar-item { display: flex; flex-direction: column; gap: 0.4rem; }

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.skill-bar-track {
  height: 6px;
  background: var(--color-bg-3);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tech Stack */
.tech-stack-section { text-align: center; }
.tech-stack-section h3 { margin-bottom: 2.5rem; }

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 90px;
  transition: var(--transition);
  cursor: default;
}

.tech-logo-item:hover {
  border-color: var(--color-accent);
  background: var(--color-surface-2);
  transform: translateY(-3px);
}

.tech-logo-icon { font-size: 1.75rem; }
.tech-logo-name { font-size: 0.7rem; font-weight: 600; color: var(--color-text-muted); }

/* ── Testimonials ── */
#testimonials { background: var(--color-bg-2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.15;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem; left: 1.5rem;
}

.testimonial-text {
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  color: var(--color-text-muted);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name { font-size: 0.9rem; font-weight: 700; }
.author-role { font-size: 0.75rem; color: var(--color-text-muted); }

.stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.star { color: #f59e0b; font-size: 0.875rem; }

/* ── Contact ── */
#contact { background: var(--color-bg-2); position: relative; overflow: hidden; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-label { font-size: 0.75rem; color: var(--color-text-muted); }
.contact-item-value { font-size: 0.875rem; font-weight: 600; }

/* Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form h3 { margin-bottom: 0.5rem; }
.contact-form > p { margin-bottom: 2rem; font-size: 0.875rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group select option { background: var(--color-bg-2); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 0.95rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.5rem; }

/* ── CTA Banner ── */
#cta-banner {
  background: linear-gradient(135deg, var(--color-accent), #1d4ed8);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 24px 24px;
}

#cta-banner .container { position: relative; z-index: 1; }
#cta-banner h2 { color: white; margin-bottom: 1rem; }
#cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--color-accent);
  font-weight: 700;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ── Footer ── */
footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; max-width: 260px; margin-bottom: 1.5rem; }

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.1);
}

.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-col ul a:hover { color: var(--color-text); transform: translateX(3px); display: inline-block; }

/* ── Footer Newsletter ── */
.footer-newsletter h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer-newsletter p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-newsletter-form input {
  padding: 0.6rem 0.9rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  outline: none;
  transition: var(--transition);
}
.footer-newsletter-form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.footer-newsletter-form input::placeholder { color: var(--color-text-faint); }
.footer-newsletter-form button {
  padding: 0.6rem;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}
.footer-newsletter-form button:hover { background: var(--color-accent-hover); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: var(--color-accent); }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a { font-size: 0.8rem; color: var(--color-text-muted); }
.footer-bottom-links a:hover { color: var(--color-text); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--navbar-h) + 4rem) 0 4rem;
  background: var(--color-bg-2);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-content .badge { margin-bottom: 1rem; }
.page-hero-content h1 { margin-bottom: 1rem; }
.page-hero-content p { font-size: 1.05rem; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Skeleton Loading ── */
.skeleton {
  background: linear-gradient(90deg,
    var(--color-surface) 25%,
    var(--color-surface-2) 50%,
    var(--color-surface) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-wave {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Scroll to top ── */
#scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { transform: translateY(-3px); background: var(--color-accent-light); }

/* ── Notification Toast ── */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 9999;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { display: none; }
  .hero-visual { display: none; }
  .hero-stats { gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-primary { display: none; }

  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  /* Footer — centered on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-social { justify-content: center; }
  .footer-col ul { align-items: center; }
  .footer-col ul a:hover { transform: none; }
  .footer-newsletter-form { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
