/* ============================================================
   Atif Raza — Site CSS
   Design: Clean · Light Mode · No Gradients
   Typography: Syne (headings) + Inter (body)
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  --color-bg:           #FFFFFF;
  --color-surface:      #F8FAFC;
  --color-surface-2:    #F1F5F9;
  --color-border:       #E2E8F0;
  --color-primary:      #0F172A;
  --color-accent:       #2563EB;
  --color-accent-light: #DBEAFE;
  --color-text:         #1E293B;
  --color-muted:        #64748B;
  --color-success:      #16A34A;
  --color-danger:       #DC2626;
  --color-warning:      #D97706;

  --font-heading: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.10);

  --nav-h: 68px;
  --container: 1200px;
  --section-py: 88px;
}

/* ── Dark Theme Design Tokens ── */
[data-theme="dark"] {
  --color-bg:           #090D16;
  --color-surface:      #0F172A;
  --color-surface-2:    #1E293B;
  --color-border:       #1E293B;
  --color-primary:      #F8FAFC;
  --color-accent:       #38BDF8;
  --color-accent-light: rgba(56, 189, 248, 0.12);
  --color-text:         #E2E8F0;
  --color-muted:        #94A3B8;
  --color-success:      #22C55E;
  --color-danger:       #EF4444;
  --color-warning:      #F59E0B;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 4px 16px rgba(0,0,0,.55);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.75);
}

[data-theme="dark"] .navbar {
  background: rgba(9, 13, 22, 0.94);
  border-color: #1E293B;
}
[data-theme="dark"] .navbar-nav.open {
  background: #0F172A;
  border-color: #1E293B;
}
[data-theme="dark"] .navbar-toggle span {
  background: #F8FAFC;
}
[data-theme="dark"] .hero {
  border-color: #1E293B;
}
[data-theme="dark"] .hero-img-box {
  border-color: #1E293B;
  box-shadow: 0 16px 36px rgba(0,0,0,.6);
}
[data-theme="dark"] .hero-badge-float {
  background: rgba(15, 23, 42, 0.9);
  border-color: #334155;
  color: #F8FAFC;
}
[data-theme="dark"] .hero-badge-float div span {
  color: #94A3B8;
}
[data-theme="dark"] .section-alt {
  background: #0B101D;
}
[data-theme="dark"] .service-card,
[data-theme="dark"] .service-full-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .process-step,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-form-wrap,
[data-theme="dark"] .about-photo-box,
[data-theme="dark"] .about-highlight,
[data-theme="dark"] .skill-item {
  background: #0D1322;
  border-color: #1E293B;
}
[data-theme="dark"] .project-card:hover,
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .service-full-card:hover,
[data-theme="dark"] .testimonial-card:hover,
[data-theme="dark"] .process-step:hover {
  border-color: #38BDF8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.2);
}
[data-theme="dark"] .project-thumb {
  background: #090D16;
}
[data-theme="dark"] .project-overlay {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(5px);
}
[data-theme="dark"] .project-overlay-btn {
  background: #1E293B !important;
  color: #38BDF8 !important;
  border: 1px solid #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .project-overlay-btn:hover {
  background: #38BDF8 !important;
  color: #090D16 !important;
  border-color: #38BDF8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
}
[data-theme="dark"] .project-body h3 {
  color: #F8FAFC;
}
[data-theme="dark"] .project-body p {
  color: #94A3B8;
}
[data-theme="dark"] .tag {
  background: rgba(56, 189, 248, 0.12);
  color: #7DD3FC;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
[data-theme="dark"] .partner-item {
  background: #111827;
  border-color: #1F2937;
  color: #F1F5F9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .partner-item:hover {
  background: #1E293B;
  border-color: #38BDF8;
  color: #38BDF8;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}
[data-theme="dark"] .partner-logo-wrap img {
  filter: brightness(0) invert(1) opacity(0.85);
  transition: filter 0.22s ease, opacity 0.22s ease;
}
[data-theme="dark"] .partner-item:hover .partner-logo-wrap img {
  filter: brightness(0) invert(1) opacity(1);
}
[data-theme="dark"] .partners-marquee-section {
  background: #0B1120;
  border-color: #1E293B;
}
[data-theme="dark"] .partners-marquee-label {
  color: #94A3B8;
}
[data-theme="dark"] .form-control {
  background: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
}
[data-theme="dark"] .form-control:focus {
  border-color: #38BDF8;
  background: #0F172A;
}
[data-theme="dark"] .skills-tab {
  background: #1E293B;
  color: #94A3B8;
}
[data-theme="dark"] .skills-tab.active {
  background: #38BDF8;
  color: #090D16;
}
[data-theme="dark"] .cta-section {
  background: #0B1120;
  border-color: #1E293B;
}
[data-theme="dark"] .faq-section {
  background: #090D16;
  border-color: #1E293B;
}
[data-theme="dark"] .faq-cta-card {
  background: #0D1322;
  border-color: #1E293B;
}
[data-theme="dark"] .faq-icon-wrap {
  background: #1E293B;
  border-color: #334155;
}
[data-theme="dark"] .faq-item.open .faq-icon-wrap {
  background: #38BDF8;
  border-color: #38BDF8;
}
[data-theme="dark"] .faq-item.open .faq-icon-wrap i {
  color: #090D16;
}
[data-theme="dark"] .btn-outline {
  color: #F8FAFC;
  border-color: #334155;
}
[data-theme="dark"] .btn-outline:hover {
  background: #1E293B;
  border-color: #38BDF8;
  color: #38BDF8;
}
[data-theme="dark"] .filter-btn {
  border-color: #1E293B;
  color: #94A3B8;
  background: #0D1322;
}
[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
  background: #38BDF8;
  color: #090D16;
  border-color: #38BDF8;
}
[data-theme="dark"] .process-num {
  color: #1E293B;
}
[data-theme="dark"] .process-step:hover .process-num {
  color: rgba(56, 189, 248, 0.25);
}
[data-theme="dark"] .process-icon {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
}
[data-theme="dark"] .testimonial-content {
  color: #CBD5E1;
}
[data-theme="dark"] .testimonial-name {
  color: #F8FAFC;
}
[data-theme="dark"] .testimonial-client {
  border-top-color: #1E293B;
}
[data-theme="dark"] .testimonial-avatar {
  border-color: #1E293B;
}
[data-theme="dark"] .recruiter-nav-btn {
  background: #111827;
  border-color: #1F2937;
  color: #F8FAFC;
}
[data-theme="dark"] .recruiter-nav-btn:hover {
  background: #1E293B;
  border-color: #38BDF8;
  color: #38BDF8;
}
[data-theme="dark"] .term-nav-btn {
  background: #111827;
  border-color: #1F2937;
  color: #38BDF8;
}
[data-theme="dark"] .term-nav-btn:hover {
  background: #1E293B;
  border-color: #38BDF8;
}
[data-theme="dark"] .theme-toggle-btn {
  background: #111827;
  border-color: #1F2937;
  color: #F59E0B;
}
[data-theme="dark"] .theme-toggle-btn:hover {
  background: #1E293B;
  border-color: #F59E0B;
  color: #FBBF24;
}
[data-theme="dark"] .footer {
  background: #050811;
}

/* Dark Theme Overrides for AI Assistant & Tools */
[data-theme="dark"] .ai-chat-drawer {
  background: #090D16;
  border-color: #1E293B;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.1);
}
[data-theme="dark"] .ai-drawer-header {
  background: #0F172A;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-session-pill {
  background: #1E293B;
  border-color: #334155;
  color: #94A3B8;
}
[data-theme="dark"] .ai-sessions-panel {
  background: #090D16;
}
[data-theme="dark"] .ai-sessions-header {
  background: #0F172A;
  border-color: #1E293B;
  color: #F8FAFC;
}
[data-theme="dark"] .ai-session-item {
  background: #0D1322;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-session-item:hover {
  background: #1E293B;
  border-color: #38BDF8;
}
[data-theme="dark"] .ai-session-item.active {
  background: #1E293B;
  border-color: #38BDF8;
}
[data-theme="dark"] .ai-session-title {
  color: #F8FAFC;
}
[data-theme="dark"] .ai-sessions-footer {
  background: #0F172A;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-clear-all-btn {
  border-color: #334155;
  color: #94A3B8;
}
[data-theme="dark"] .ai-msg-bot .ai-msg-bubble {
  background: #111827;
  border-color: #1F2937;
  color: #E2E8F0;
}
[data-theme="dark"] .ai-msg-avatar {
  background: #0F172A;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-chip {
  background: #111827;
  border-color: #1F2937;
  color: #CBD5E1;
}
[data-theme="dark"] .ai-chip:hover {
  background: #1E293B;
  border-color: #38BDF8;
  color: #38BDF8;
}
[data-theme="dark"] .ai-tool-card {
  background: #0D1322;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-tool-input {
  background: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
}
[data-theme="dark"] .ai-tool-btn-secondary {
  background: #111827;
  border-color: #1F2937;
  color: #F8FAFC;
}
[data-theme="dark"] .ai-est-item {
  background: #111827;
  border-color: #1F2937;
}
[data-theme="dark"] .ai-rec-card {
  background: #0D1322;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-rec-name {
  color: #F8FAFC;
}
[data-theme="dark"] .ai-rec-tech {
  background: #1E293B;
  color: #7DD3FC;
}
[data-theme="dark"] .ai-quick-tools-bar {
  background: #0B101E;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-quick-tool-btn {
  background: #111827;
  border-color: #1F2937;
  color: #94A3B8;
}
[data-theme="dark"] .ai-quick-tool-btn:hover {
  background: #1E293B;
  border-color: #38BDF8;
  color: #38BDF8;
}
[data-theme="dark"] .ai-input-form {
  background: #0F172A;
  border-color: #1E293B;
}
[data-theme="dark"] .ai-input {
  background: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
}


/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--color-text); line-height: 1.75; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ── Section Label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* ── Section Title ── */
.section-title { margin-bottom: 8px; }
.section-subtitle {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 48px;
}

/* ── Badge / Tag ── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -.01em;
}
.navbar-brand span { color: var(--color-accent); }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color .15s;
  position: relative;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width .2s ease;
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--color-primary); }
.navbar-nav a:hover::after, .navbar-nav a.active::after { width: 100%; }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all .2s;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--color-border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.hero-badge i { color: var(--color-success); font-size: .7rem; }
.hero-title { margin-bottom: 20px; }
.hero-title .name-highlight { color: var(--color-accent); }
.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.hero-desc {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-stat-label { font-size: .82rem; color: var(--color-muted); font-weight: 500; margin-top: 4px; }

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-box {
  width: 340px;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
.hero-img-box img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge-float {
  position: absolute;
  bottom: -16px;
  left: -12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}
.hero-badge-float i { color: var(--color-accent); font-size: 1.2rem; }
.hero-badge-float strong { font-family: var(--font-heading); font-size: .9rem; display: block; }
.hero-badge-float span { font-size: .75rem; color: var(--color-muted); }

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--color-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--color-accent);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { color: var(--color-muted); font-size: .92rem; line-height: 1.65; margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 6px; }
.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--color-text);
}
.service-feature i { color: var(--color-accent); font-size: .75rem; flex-shrink: 0; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-accent);
  transition: gap .15s;
}
.service-link:hover { gap: 10px; }

/* ═══════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════ */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 7px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  transition: all .15s;
  background: none;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow .2s, transform .2s;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.project-thumb {
  height: 210px;
  overflow: hidden;
  background: var(--color-surface);
  position: relative;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity .2s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay-btn {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  font-size: .92rem;
  transition: all .2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.project-overlay-btn:hover { 
  background: var(--color-accent); 
  color: #FFFFFF; 
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}
.project-body { padding: 24px; }
.project-category {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.project-body h3 { font-size: 1rem; margin-bottom: 8px; }
.project-body p { font-size: .875rem; color: var(--color-muted); margin-bottom: 16px; line-height: 1.6; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; }

/* ═══════════════════════════════════════
   SKILLS
═══════════════════════════════════════ */
.skills-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
}
.skills-tab {
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .15s;
}
.skills-tab.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.skill-item { display: flex; flex-direction: column; gap: 8px; }
.skill-header { display: flex; justify-content: space-between; align-items: center; }
.skill-name { font-weight: 500; font-size: .92rem; }
.skill-pct { font-size: .82rem; font-weight: 600; color: var(--color-accent); }
.skill-bar {
  height: 6px;
  background: var(--color-surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 999px;
  transition: width .8s cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════
/* ═══════════════════════════════════════
   TESTIMONIALS & ANIMATING MARQUEE
═══════════════════════════════════════ */
.testimonials-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 16px 0 24px;
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent);
}

.testimonials-track {
  display: flex;
  width: max-content;
  user-select: none;
}

.testimonials-group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  animation: marquee-slide 32s linear infinite;
  will-change: transform;
}

.testimonials-marquee-container:hover .testimonials-group {
  animation-play-state: paused;
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

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

.testimonial-quote-icon {
  font-size: 1.3rem;
  color: var(--color-accent);
  opacity: .35;
  margin-bottom: 8px;
}

.testimonial-stars { display: flex; gap: 4px; margin-bottom: 14px; }
.testimonial-stars i { color: #F59E0B; font-size: .85rem; }

.testimonial-content {
  font-size: .94rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: normal;
  flex: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-accent-light);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-accent);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--color-primary);
}

.testimonial-title {
  font-size: .78rem;
  color: var(--color-muted);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .testimonial-card {
    width: 300px;
    padding: 22px;
  }
  .testimonials-marquee-container {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-section {
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--color-muted); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
}
.about-photo-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.about-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.about-highlights { display: flex; gap: 24px; flex-wrap: wrap; margin: 28px 0 36px; }
.about-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
}
.about-highlight i { color: var(--color-accent); }
.about-desc { color: var(--color-muted); margin-bottom: 16px; line-height: 1.75; }
.timeline { margin-top: 48px; }
.timeline-item { display: flex; gap: 20px; padding-bottom: 36px; position: relative; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-light);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: .85rem;
}
.timeline-year {
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-title { font-weight: 600; margin-bottom: 4px; }
.timeline-desc { font-size: .875rem; color: var(--color-muted); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-info-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: 4px; }
.contact-info-val { font-weight: 500; font-size: .95rem; }
.contact-social { display: flex; gap: 10px; margin-top: 28px; }
.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: .9rem;
  transition: all .15s;
}
.social-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-control.is-invalid { border-color: var(--color-danger); }
.invalid-feedback { font-size: .8rem; color: var(--color-danger); margin-top: 4px; }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Alert */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid;
}
.alert-success { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.alert-danger  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }

/* ═══════════════════════════════════════
   SERVICES PAGE (full)
═══════════════════════════════════════ */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.service-full-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow .2s, transform .2s;
}
.service-full-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* ═══════════════════════════════════════
   PROJECT DETAIL
═══════════════════════════════════════ */
.project-detail-header { padding: 60px 0 40px; border-bottom: 1px solid var(--color-border); }
.project-detail-meta { display: flex; gap: 24px; flex-wrap: wrap; margin: 20px 0; }
.project-meta-item { font-size: .875rem; color: var(--color-muted); }
.project-meta-item strong { color: var(--color-primary); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.project-detail-body { padding: 60px 0; }
.project-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; }
.project-detail-content h2 { font-size: 1.4rem; margin-bottom: 16px; margin-top: 36px; }
.project-detail-content p { color: var(--color-muted); margin-bottom: 16px; line-height: 1.8; }
.project-sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.project-sidebar-card h4 { margin-bottom: 16px; font-size: .95rem; }

/* ═══════════════════════════════════════
   SERVICE DETAIL
═══════════════════════════════════════ */
.service-detail-header {
  padding: 68px 0 52px;
  border-bottom: 1px solid var(--color-border);
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.06), transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.05), transparent 50%);
}
.service-detail-header-inner {
  max-width: 860px;
}
.service-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.service-detail-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-primary);
}
.service-detail-lead {
  color: var(--color-muted);
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.service-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.service-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--color-text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.service-meta-pill i {
  color: var(--color-accent);
}
.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.service-detail-body {
  padding: 60px 0 80px;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.service-content-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.03);
}
.service-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.service-markdown-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.service-markdown-content h3:first-child {
  margin-top: 0;
}
.service-markdown-content p {
  color: var(--color-muted);
  line-height: 1.8;
  font-size: 0.96rem;
  margin-bottom: 16px;
}
.service-markdown-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-markdown-content ul li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text);
  font-size: 0.94rem;
  line-height: 1.65;
}
.service-markdown-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.service-deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.service-deliverable-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.deliverable-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.deliverable-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.deliverable-text span {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.service-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.timeline-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.timeline-step:hover {
  border-color: var(--color-accent);
}
.timeline-step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.timeline-step-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.timeline-step-body p {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s ease;
}
.service-tech-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.service-advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .service-advantages-grid { grid-template-columns: 1fr; }
}
.service-adv-card {
  padding: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.adv-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}
.service-adv-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.service-adv-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}
.service-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-faq-item {
  padding: 18px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.service-faq-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.service-faq-item p {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.service-sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.03);
}
.sidebar-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.sidebar-card-title i {
  color: var(--color-accent);
}
.service-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-border);
}
.service-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.spec-label {
  color: var(--color-muted);
}
.spec-val {
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}
.ai-sidebar-highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(14, 165, 233, 0.05));
  border-color: rgba(99, 102, 241, 0.25);
}
.ai-avatar-mini {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  overflow: hidden;
  flex-shrink: 0;
}
.other-services-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.other-service-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  color: var(--color-text);
  text-decoration: none;
}
.other-service-link:hover {
  background: var(--color-bg);
  transform: translateX(3px);
}
.other-service-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.other-service-info {
  flex: 1;
  min-width: 0;
}
.other-service-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.other-service-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.other-service-arrow {
  font-size: 0.72rem;
  color: var(--color-muted);
}
.service-related-projects {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--color-border);
}

/* ═══════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════ */
.page-header {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { color: var(--color-muted); font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb i { font-size: .65rem; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand span { color: var(--color-accent); }
.footer-desc { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: all .15s;
}
.footer-social a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.footer-col-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.footer-bottom a { color: var(--color-accent); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-image-wrap  { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-photo-box  { max-width: 340px; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .project-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .navbar-nav, .navbar-actions { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border); padding: 20px 24px; gap: 20px; }
  .hero { padding: 60px 0 48px; }
  h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-accent  { color: var(--color-accent); }
.text-muted   { color: var(--color-muted); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; } .gap-2 { gap: 12px; } .align-center { align-items: center; }
.hidden { display: none; }

/* ═══════════════════════════════════════
   PARTNERS & CLIENTS MARQUEE
═══════════════════════════════════════ */
.partners-marquee-section {
  padding: 44px 0 48px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.partners-marquee-header {
  text-align: center;
  margin-bottom: 24px;
}

.partners-marquee-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.partners-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  user-select: none;
}

.partners-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  animation: partners-marquee-slide 28s linear infinite;
  will-change: transform;
}

.partners-marquee-container:hover .partners-group {
  animation-play-state: paused;
}

@keyframes partners-marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  flex-shrink: 0;
  transition: all .22s ease;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  cursor: pointer;
}

.partner-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-accent);
}

.partner-logo-wrap {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.partner-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .75;
  transition: filter .22s ease, opacity .22s ease;
}

.partner-item:hover .partner-logo-wrap img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-name {
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   WORK PROCESS
═══════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.process-step {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.process-step:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.process-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-surface-2);
  line-height: 1;
  user-select: none;
}
.process-step:hover .process-num { color: var(--color-accent-light); }
.process-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--color-accent);
}
.process-step h3 { margin-bottom: 10px; font-size: 1.1rem; }
.process-step p { color: var(--color-muted); font-size: .92rem; line-height: 1.65; }

/* ── Homepage timeline (centered, capped width) ── */
.timeline-home { max-width: 720px; margin-top: 48px; }

/* ═══════════════════════════════════════
   FREQUENTLY ASKED QUESTIONS (FAQ)
═══════════════════════════════════════ */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 100px;
}

.faq-sidebar .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.faq-sidebar h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.faq-sidebar p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.faq-cta-card {
  padding: 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faq-cta-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.faq-cta-card p {
  font-size: .88rem;
  margin-bottom: 8px;
  color: var(--color-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: var(--color-accent);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12);
  background: var(--color-bg);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  user-select: none;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-item.open .faq-num {
  background: var(--color-accent);
  color: #FFFFFF;
}

.faq-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-icon-wrap i {
  font-size: .8rem;
  color: var(--color-muted);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}

.faq-item.open .faq-icon-wrap {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.faq-item.open .faq-icon-wrap i {
  transform: rotate(180deg);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 26px 24px 74px;
}

.faq-answer p {
  color: var(--color-muted);
  font-size: .95rem;
  line-height: 1.75;
  border-left: 2px solid var(--color-accent-light);
  padding-left: 16px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-sidebar {
    position: static;
  }
  .faq-answer-inner {
    padding: 0 22px 20px 22px;
  }
}

/* ═══════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════ */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  cursor: pointer;
  font-size: 1.05rem;
  transition: all .25s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: var(--color-surface-2);
  color: var(--color-accent);
  transform: rotate(20deg) scale(1.06);
  border-color: var(--color-accent);
}

/* ═══════════════════════════════════════
   ANIMATIONS & SCROLL REVEAL
═══════════════════════════════════════ */
@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-badge-float {
  animation: floatBadge 4s ease-in-out infinite;
}

/* Scroll reveal classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-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; }

/* Interactive Hover Micro-Interactions */
.service-card,
.project-card,
.service-full-card,
.process-step,
.about-highlight,
.contact-card {
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.service-card:hover,
.project-card:hover,
.service-full-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.process-step:hover,
.about-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.btn {
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* ═══════════════════════════════════════
   CUSTOM MAGNETIC CURSOR
═══════════════════════════════════════ */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-100px, -100px, 0);
  margin-top: -4px;
  margin-left: -4px;
  transition: opacity 0.2s ease, transform 0.05s linear;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(37, 99, 235, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate3d(-100px, -100px, 0);
  margin-top: -17px;
  margin-left: -17px;
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.custom-cursor-ring.cursor-hover {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  border-color: var(--color-accent);
  background-color: rgba(37, 99, 235, 0.08);
}

[data-theme="dark"] .custom-cursor-ring {
  border-color: rgba(56, 189, 248, 0.4);
}
[data-theme="dark"] .custom-cursor-ring.cursor-hover {
  border-color: #38BDF8;
  background-color: rgba(56, 189, 248, 0.12);
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* ═══════════════════════════════════════
   NAVBAR EXTENSIONS: TERMINAL & RECRUITER
═══════════════════════════════════════ */
.term-nav-btn,
.recruiter-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0 14px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
}

.term-nav-btn {
  width: 38px;
  padding: 0;
  font-family: var(--font-mono, monospace);
}

.term-nav-btn:hover,
.recruiter-nav-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.recruiter-nav-btn i {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .recruiter-nav-btn span {
    display: none;
  }
  .recruiter-nav-btn {
    width: 38px;
    padding: 0;
  }
}

/* ═══════════════════════════════════════
   OPENROUTER AI PORTFOLIO ASSISTANT (CIRCULAR)
═══════════════════════════════════════ */
.ai-launcher-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.ai-launcher-btn {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.45), 0 0 20px rgba(56, 189, 248, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
}

.ai-launcher-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.6), 0 0 28px rgba(56, 189, 248, 0.55);
}

.ai-circle-text-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: aiRotateText 14s linear infinite;
  transform-origin: center center;
}

.ai-launcher-btn:hover .ai-circle-text-svg {
  animation-duration: 8s;
}

.ai-rotating-text {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 8.6px;
  font-weight: 800;
  fill: #FFFFFF;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

@keyframes aiRotateText {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-launcher-icon {
  width: 38px;
  height: 38px;
  background: #1E293B;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease;
}

.ai-launcher-btn:hover .ai-launcher-icon {
  transform: scale(1.05);
}

.ai-close-icon {
  display: none;
  font-size: 1.25rem;
  color: #FFFFFF;
}

.ai-launcher-btn.ai-launcher-open {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.ai-launcher-btn.ai-launcher-open .ai-launcher-icon img,
.ai-launcher-btn.ai-launcher-open .ai-circle-text-svg {
  display: none;
}

.ai-launcher-btn.ai-launcher-open .ai-close-icon {
  display: block;
}

.ai-launcher-wrapper.drawer-open .ai-launcher-bubble {
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
}

.ai-pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.65);
  animation: aiPulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes aiPulse {
  0% { transform: scale(0.96); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 0.2; }
  100% { transform: scale(1.22); opacity: 0; }
}

.ai-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 8px #10B981;
  z-index: 3;
}

/* Chat Drawer Container */
.ai-chat-drawer {
  position: fixed;
  bottom: 110px;
  right: 28px;
  width: 430px;
  max-width: calc(100vw - 36px);
  height: 600px;
  max-height: calc(100vh - 130px);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), 0 0 1px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  font-family: var(--font-body);
  animation: aiDrawerIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes aiDrawerIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-drawer-header {
  padding: 14px 18px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.2;
}

.ai-session-pill {
  font-size: .68rem;
  padding: 2px 7px;
  background: var(--color-surface-2);
  color: var(--color-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-subtitle {
  font-size: .75rem;
  color: #10B981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.ai-status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.ai-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .86rem;
  position: relative;
  transition: all 0.2s ease;
}

.ai-action-btn:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border);
  color: var(--color-primary);
}

.ai-sessions-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-surface);
}

/* ── Sessions Panel Overlay ── */
.ai-sessions-panel {
  position: absolute;
  top: 67px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 10;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  animation: sessionPanelSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ai-sessions-header {
  padding: 12px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--color-primary);
}

.ai-new-chat-small-btn {
  padding: 5px 12px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s ease;
}
.ai-new-chat-small-btn:hover {
  opacity: 0.9;
}

.ai-sessions-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-session-item {
  padding: 10px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-session-item:hover {
  background: var(--color-surface-2);
  border-color: var(--color-accent);
}

.ai-session-item.active {
  background: var(--color-surface-2);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.ai-session-icon {
  color: var(--color-accent);
  font-size: .9rem;
}

.ai-session-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-session-title {
  font-size: .84rem;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-session-sub {
  font-size: .72rem;
  color: var(--color-muted);
}

.ai-session-del-btn {
  background: transparent;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  font-size: .8rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.ai-session-del-btn:hover {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.1);
}

.ai-sessions-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
}

.ai-clear-all-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: .76rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-clear-all-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: #EF4444;
}

/* ── Messages Wrap ── */
.ai-messages-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-msg-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ai-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
}

.ai-msg-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-msg-bubble {
  padding: 12px 15px;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.6;
}

.ai-msg-bot .ai-msg-bubble {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  border-top-left-radius: 4px;
}

.ai-msg-bot .ai-msg-bubble p { margin: 0; }
.ai-msg-bot .ai-msg-bubble p + p { margin-top: 8px; }
.ai-msg-bot .ai-msg-bubble strong { color: var(--color-accent); }
.ai-msg-bot .ai-msg-bubble code {
  background: rgba(0,0,0,0.06);
  padding: 2px 5px;
  border-radius: 4px;
  font-family: monospace;
  font-size: .85em;
}

.ai-msg-user {
  flex-direction: row-reverse;
}

.ai-msg-user .ai-msg-bubble {
  background: var(--color-accent);
  color: #FFFFFF;
  border-top-right-radius: 4px;
  margin-left: auto;
  max-width: 85%;
}

/* ── Message meta (timestamp + model badge) ── */
.ai-msg-meta {
  font-size: .66rem;
  color: var(--color-muted);
  opacity: .75;
  user-select: none;
}

.ai-msg-user .ai-msg-meta {
  text-align: right;
  margin-right: 4px;
}

.ai-model-badge {
  font-weight: 600;
  color: var(--color-accent);
}

/* ── Retry button (failed sends) ── */
.ai-retry-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-retry-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ── Markdown list/code polish inside bubbles ── */
.ai-msg-bot .ai-msg-bubble ul {
  margin: 8px 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-msg-bot .ai-msg-bubble pre {
  background: rgba(0,0,0,0.06);
  padding: 10px 12px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
}

.ai-msg-bot .ai-msg-bubble pre code {
  background: transparent;
  padding: 0;
}

.ai-msg-bot .ai-msg-bubble a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ── Interactive Action Tools Widgets ── */
.ai-tool-card {
  margin-top: 6px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: toolFadeIn 0.25s ease;
}

@keyframes toolFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-tool-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--color-primary);
}

.ai-tool-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ai-tool-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-tool-field label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.ai-tool-input {
  width: 100%;
  padding: 7px 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-size: .82rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease;
}

.ai-tool-input:focus {
  border-color: var(--color-accent);
}

.ai-tool-btn {
  padding: 8px 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.ai-tool-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.ai-tool-btn-secondary {
  padding: 8px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ai-tool-btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.ai-tool-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.ai-tool-desc {
  font-size: .8rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

.ai-tool-feedback {
  font-size: .78rem;
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 4px;
}
.ai-tool-feedback.error {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.ai-tool-success-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10B981;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: .82rem;
  line-height: 1.5;
}

.ai-tool-success-badge i {
  font-size: 1.1rem;
  margin-top: 2px;
}
.ai-tool-success-badge p {
  margin: 2px 0 0;
  color: var(--color-primary);
}

/* CV Card */
.ai-cv-details {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-cv-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ai-cv-sub {
  font-size: .72rem;
  color: var(--color-muted);
}

/* Estimate Grid */
.ai-estimate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ai-est-item {
  padding: 8px 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ai-est-type {
  font-size: .68rem;
  color: var(--color-muted);
  font-weight: 500;
}
.ai-est-time {
  font-size: .82rem;
  color: var(--color-accent);
}

/* ── Project Recommendations ── */
.ai-project-recommendations {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-rec-title {
  font-size: .74rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ai-rec-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-rec-card {
  padding: 10px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.2s ease;
}

.ai-rec-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.ai-rec-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-rec-cat {
  font-size: .68rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.ai-rec-tech {
  font-size: .66rem;
  padding: 1px 6px;
  background: var(--color-surface-2);
  border-radius: 4px;
  color: var(--color-accent);
}

.ai-rec-name {
  font-size: .85rem;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.35;
}

.ai-rec-link {
  font-size: .74rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 2px;
}

/* ── Chips ── */
.ai-prompt-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.ai-chip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  color: var(--color-primary);
  font-size: .82rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-chip:hover {
  background: var(--color-surface-2);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateX(3px);
}

/* ── Typing Indicator ── */
.ai-typing-wrap {
  padding: 0 16px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--color-muted);
}

.ai-typing-dots {
  display: flex;
  gap: 4px;
}

.ai-typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.ai-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* ── Quick Tools Bar ── */
.ai-quick-tools-bar {
  padding: 6px 14px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.ai-quick-tools-bar::-webkit-scrollbar { display: none; }

.ai-quick-tool-btn {
  padding: 4px 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ai-quick-tool-btn i {
  color: var(--color-accent);
}

.ai-quick-tool-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-surface-2);
}

/* ── Input Form ── */
.ai-input-form {
  padding: 10px 14px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.ai-input {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 9px 15px;
  font-size: .86rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ai-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ai-send-btn:hover {
  transform: scale(1.06);
}

/* ═══════════════════════════════════════
   RECRUITER 30-SECOND VIEW MODAL
═══════════════════════════════════════ */
.rec-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 25, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
}

.rec-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 40px);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-body);
  animation: recModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes recModalIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.rec-modal-header {
  padding: 20px 24px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rec-header-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rec-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
  flex-shrink: 0;
}

.rec-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.2;
}

.rec-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.rec-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.rec-role-subtitle {
  font-size: .84rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.rec-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .95rem;
  transition: all 0.2s ease;
}

.rec-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
}

.rec-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rec-section-label {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.rec-pitch-text {
  font-size: .94rem;
  line-height: 1.7;
  color: var(--color-primary);
  margin: 0;
}

.rec-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rec-kpi-card {
  padding: 14px 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rec-kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.rec-kpi-title {
  font-size: .74rem;
  color: var(--color-muted);
  font-weight: 600;
}

.rec-skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rec-projects-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-project-item {
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s ease;
}

.rec-project-item:hover {
  border-color: var(--color-accent);
}

.rec-proj-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rec-proj-header strong {
  font-family: var(--font-heading);
  font-size: .94rem;
  color: var(--color-primary);
}

.rec-proj-badge {
  font-size: .72rem;
  font-family: monospace;
  background: var(--color-surface-2);
  color: var(--color-accent);
  padding: 2px 8px;
  border-radius: 4px;
}

.rec-proj-desc {
  font-size: .85rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
}

.rec-proj-link {
  font-size: .8rem;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  margin-top: 2px;
}

.rec-modal-footer {
  padding: 16px 24px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rec-btn-action {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}


@media (max-width: 640px) {
  .rec-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════
   DEVELOPER INTERACTIVE TERMINAL (CLI)
═══════════════════════════════════════ */
.term-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 10, 20, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10002;
}

.term-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 840px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 40px);
  background: #0B0F19;
  border: 1px solid #1E293B;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  z-index: 10003;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  animation: termIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.term-window.term-fullscreen {
  width: calc(100vw - 32px);
  height: calc(100vh - 32px);
  border-radius: 8px;
}

@keyframes termIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.term-chrome {
  height: 42px;
  background: #090D16;
  border-bottom: 1px solid #1E293B;
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  user-select: none;
}

.term-traffic-lights {
  display: flex;
  gap: 8px;
  align-items: center;
}

.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.term-dot-red    { background: #FF5F56; }
.term-dot-yellow { background: #FFBD2E; }
.term-dot-green  { background: #27C93F; }

.term-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  color: #94A3B8;
  letter-spacing: .5px;
}

.term-actions-right {
  margin-left: auto;
}

.term-hint-pill {
  font-size: .72rem;
  color: #64748B;
}

.term-hint-pill code {
  background: #1E293B;
  padding: 1px 5px;
  border-radius: 4px;
  color: #38BDF8;
}

.term-matrix-canvas {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  height: calc(100% - 42px);
  z-index: 1;
  pointer-events: none;
}

.term-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  color: #E2E8F0;
  font-size: .88rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.term-ascii-art {
  font-size: 10px;
  color: #38BDF8;
  margin: 0 0 12px;
  line-height: 1.15;
  user-select: none;
}

.term-cmd-highlight {
  color: #38BDF8;
  font-weight: 700;
}

.term-prompt-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.term-user-host {
  font-size: .88rem;
  white-space: nowrap;
}
.term-user { color: #34D399; font-weight: 700; }
.term-host { color: #38BDF8; }
.term-path { color: #A78BFA; }

.term-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  color: #FFFFFF;
  caret-color: #38BDF8;
}

.term-line-echo {
  display: flex;
  gap: 8px;
  align-items: center;
}
.term-cmd-text {
  color: #F8FAFC;
}

.term-cmd-output {
  color: #CBD5E1;
  padding-left: 4px;
}

.term-table {
  border-collapse: collapse;
  margin-top: 6px;
  width: 100%;
}
.term-table td {
  padding: 4px 12px 4px 0;
  vertical-align: top;
  font-size: .84rem;
}
.term-table td:first-child {
  width: 160px;
}

@media (max-width: 640px) {
  .ai-launcher-wrapper {
    bottom: 18px;
    right: 18px;
    gap: 8px;
  }
  .ai-launcher-btn {
    width: 60px;
    height: 60px;
  }
  .ai-launcher-icon {
    width: 32px;
    height: 32px;
  }
  .ai-rotating-text {
    font-size: 7.5px;
    letter-spacing: 1.4px;
  }
  .ai-launcher-bubble {
    font-size: .78rem;
    padding: 6px 12px;
  }
  .ai-chat-drawer {
    bottom: 86px;
    right: 16px;
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
  }
}



