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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { padding-left: 1.2rem; }
ul li { margin-bottom: 0.3rem; }
strong { color: inherit; }

/* ─── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Nav ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  transition: color 0.3s;
}

nav.scrolled .nav-logo { color: #0f172a; }

.logo-dot { color: #10b981; }

.nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  position: relative;
}

nav.scrolled .nav-links a { color: #64748b; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #10b981;
  border-radius: 2px;
  transition: width 0.2s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active { color: #fff; }
nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a.active { color: #0f172a; }

.nav-cta {
  background: #10b981 !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.1s !important;
}

.nav-cta:hover { background: #059669 !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

nav.scrolled .nav-toggle span { background: #0f172a; }

/* ─── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f2027 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-name {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.grad-text {
  background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 696px;
  margin-bottom: 2.2rem;
  line-height: 1.8;
}

.hero-sub strong { color: #fff; }

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: #10b981;
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,185,129,0.35);
}

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16,185,129,0.45);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hs-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hs-label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #475569, transparent);
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Section Utilities ─────────────────────────────────────── */
section { padding: 6rem 0; }

.section-dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
}

.section-alt { background: #f8fafc; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #10b981;
  margin-bottom: 0.75rem;
}

.section-label.light { color: #34d399; }

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-title.light { color: #f1f5f9; }

.section-sub {
  font-size: 1rem;
  color: #64748b;
  max-width: 672px;
  margin-bottom: 3rem;
}

/* ─── About ─────────────────────────────────────────────────── */
#about { border-bottom: 1px solid #f1f5f9; }

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

.about-text-col p {
  color: #475569;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text-col strong { color: #0f172a; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pillar-icon {
  font-size: 1.2rem;
  min-width: 2rem;
  text-align: center;
}

.pillar strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.1rem;
}

.pillar p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 0.9rem 1.4rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #34d399);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.stat-card:hover::before { opacity: 1; }

.featured-stat {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.25);
}

.featured-stat::before { opacity: 1; }

.stat-icon {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.stat-number {
  display: inline;
  font-size: 2rem;
  font-weight: 900;
  color: #10b981;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-suffix {
  display: inline;
  font-size: 1.3rem;
  font-weight: 800;
  color: #10b981;
  vertical-align: super;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.stat-context {
  font-size: 0.65rem;
  color: #475569;
  margin-top: 0.2rem;
  font-style: italic;
}

/* ─── AI Cards ──────────────────────────────────────────────── */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.ai-card {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.ai-card:hover {
  border-color: #10b981;
  box-shadow: 0 8px 30px rgba(16,185,129,0.12);
  transform: translateY(-3px);
}

.ai-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ai-card-inner { padding: 1.6rem; }

.ai-card {
  border-color: rgba(16,185,129,0.25);
  background: linear-gradient(135deg, #f8fffe, #fff);
  box-shadow: 0 4px 20px rgba(16,185,129,0.07);
}

.ai-wide { grid-column: 1 / -1; }

.ai-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.ai-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.08em;
}

.ai-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge-green { background: #dcfce7; color: #166534; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-blue { background: #dbeafe; color: #1e40af; }

.ai-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.ai-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.ai-card ul {
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 1rem;
}

.ai-card ul li { margin-bottom: 0.25rem; }

.ai-footer { margin-top: auto; }

.card-features {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
  margin-top: 0.85rem; padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}
.card-features-label {
  font-size: 0.67rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.08em;
  flex-shrink: 0; margin-right: 0.1rem;
}
.card-feat-pill {
  font-size: 0.72rem; font-weight: 600; color: #475569;
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 100px; padding: 0.18rem 0.65rem;
  text-decoration: none; transition: all 0.15s;
}
.card-feat-pill:hover {
  border-color: #10b981; color: #10b981; background: #f0fdf4;
}

.ai-tech { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* ─── Flagship Project Card ─────────────────────────────────── */
.flagship-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: linear-gradient(135deg, #0f172a 0%, #1a1040 50%, #0f172a 100%);
  border-radius: 20px;
  padding: 2.8rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(99,102,241,0.25);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.flagship-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.flagship-badge {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.flagship-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.flagship-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.flagship-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.flagship-meta-item { font-size: 0.75rem; font-weight: 600; color: #64748b; }
.flagship-meta-sep  { color: #334155; }
.flagship-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.flagship-cta-primary {
  background: #10b981;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}
.flagship-cta-primary:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}
.flagship-cta-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: #94a3b8;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}
.flagship-cta-ghost:hover { border-color: rgba(255,255,255,0.45); color: #e2e8f0; }

/* ─── Feature Showcase (inside flagship) ───────────────────── */
.feature-showcase-label {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  margin-bottom: 0.75rem;
}
.feature-showcase { display: flex; flex-direction: column; gap: 0.55rem; }
.feat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  transition: all 0.2s;
}
.feat-card:hover {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.35);
  transform: translateX(4px);
}
.feat-card-num {
  font-size: 0.6rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 1.6rem;
}
.feat-card-title { font-size: 0.85rem; font-weight: 600; color: #e2e8f0; flex: 1; }
.feat-card-stat  { font-size: 0.7rem; color: #475569; flex-shrink: 0; }
.feat-card-arrow {
  font-size: 0.7rem;
  color: #334155;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.feat-card:hover .feat-card-arrow { opacity: 1; color: #10b981; }

/* ─── Other Projects Grid ───────────────────────────────────── */
.other-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.other-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  text-decoration: none;
  cursor: pointer;
}
.other-card:hover {
  border-color: #10b981;
  box-shadow: 0 6px 24px rgba(16,185,129,0.1);
  transform: translateY(-3px);
}
.other-card-num  { font-size: 0.65rem; font-weight: 700; color: #94a3b8; letter-spacing: 0.06em; margin-bottom: 0.6rem; }
.other-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.other-card-desc  { font-size: 0.83rem; color: #64748b; line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.other-card-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: auto; }

/* ─── AI in Practice Strip ──────────────────────────────────── */
.practice-strip {
  margin-top: 3.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.8rem 2.2rem;
}
.practice-strip-header { margin-bottom: 1.4rem; }
.practice-strip-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 0.3rem;
}
.practice-strip-sub { font-size: 0.875rem; color: #94a3b8; }
.practice-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.practice-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1rem 0.6rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s;
}
.practice-item:hover { border-color: #10b981; box-shadow: 0 3px 12px rgba(16,185,129,0.1); }
.practice-item-icon  { font-size: 1.4rem; line-height: 1; }
.practice-item-name  { font-size: 0.72rem; font-weight: 600; color: #334155; }
.practice-item-tools { font-size: 0.62rem; color: #94a3b8; }

@media (max-width: 900px) {
  .flagship-card        { grid-template-columns: 1fr; gap: 2rem; }
  .other-projects-grid  { grid-template-columns: 1fr 1fr; }
  .practice-items       { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .other-projects-grid  { grid-template-columns: 1fr; }
  .practice-items       { grid-template-columns: repeat(2, 1fr); }
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}

.workflow-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
}

.workflow-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.workflow-item p {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ─── Chips ─────────────────────────────────────────────────── */
.chip {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.6;
  transition: all 0.15s;
}

.chip:hover { background: #e2e8f0; color: #0f172a; }

.chip-gold {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
}

/* ─── Timeline ──────────────────────────────────────────────── */
.timeline {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.3rem;
  flex-shrink: 0;
}

.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.tl-dot.current {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.2);
}

.tl-line {
  width: 2px;
  flex: 1;
  min-height: 2rem;
  background: linear-gradient(to bottom, #e2e8f0, #f1f5f9);
  margin: 4px 0;
}

.tl-card {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.4rem;
  transition: all 0.3s;
}

.tl-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16,185,129,0.1);
  transform: translateX(4px);
}

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tl-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.tl-company {
  font-size: 0.83rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.tl-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  flex-shrink: 0;
}

.tl-date {
  font-size: 0.77rem;
  font-weight: 600;
  color: #10b981;
  white-space: nowrap;
}

.tl-loc {
  font-size: 0.73rem;
  color: #94a3b8;
  white-space: nowrap;
}

.tl-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  line-height: 1.7;
}

.tl-bullets {
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 1rem;
}

.tl-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* ─── Career dark-section overrides ────────────────────────── */
.section-dark .tl-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.section-dark .tl-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(16,185,129,0.4);
  box-shadow: 0 4px 20px rgba(16,185,129,0.12);
}
.section-dark .tl-header h3 { color: #f1f5f9; }
.section-dark .tl-company   { color: #94a3b8; }
.section-dark .tl-desc      { color: #cbd5e1; }
.section-dark .tl-bullets li { color: #94a3b8; }
.section-dark .tl-dot       { background: #1e293b; border-color: #10b981; }
.section-dark .tl-line      { background: rgba(255,255,255,0.1); }

/* ─── Expertise ─────────────────────────────────────────────── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.exp-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  background: #fff;
  transition: all 0.3s;
}

.exp-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16,185,129,0.1);
  transform: translateY(-2px);
}

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

.exp-icon { font-size: 1.2rem; }

.exp-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.exp-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* ─── Cases ─────────────────────────────────────────────────── */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}

.case {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s;
}

.case:hover { border-color: #10b981; box-shadow: 0 4px 16px rgba(16,185,129,0.1); }

.case[open] { border-color: #10b981; }

.case summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.case summary::-webkit-details-marker { display: none; }

.case-summary-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
}

.case-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.case-summary-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.case-summary-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.case-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

.case-tag-badge {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 100px;
  background: #dbeafe;
  color: #1e40af;
  width: fit-content;
}

.case-chevron {
  color: #94a3b8;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.case-body {
  padding: 1.4rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-section h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10b981;
  margin-bottom: 0.4rem;
}

.case-section p, .case-section li {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.7;
}

.case-section ul { padding-left: 1.1rem; }
.case-section li { margin-bottom: 0.3rem; }

.case-stack {
  font-size: 0.8rem;
  color: #94a3b8;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.case-stack strong { color: #64748b; }

/* ─── Impact Stories divider ────────────────────────────────── */
.impact-stories-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
}

.impact-stories-divider::before,
.impact-stories-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.impact-stories-divider span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
  white-space: nowrap;
}

/* Dark-themed case cards (inside dark section) */
.case-dark {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

.case-dark:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(16,185,129,0.4) !important;
  box-shadow: 0 4px 20px rgba(16,185,129,0.15) !important;
}

.case-dark[open] {
  border-color: rgba(16,185,129,0.4) !important;
}

.case-dark .case-summary-inner strong {
  color: #e2e8f0 !important;
}

.case-dark .case-meta { color: #475569 !important; }

.case-dark .case-chevron { color: #475569 !important; }

.case-dark .case-body {
  border-top-color: rgba(255,255,255,0.06) !important;
}

.case-dark .case-section p,
.case-dark .case-section li {
  color: #94a3b8 !important;
}

.case-dark .case-stack {
  border-top-color: rgba(255,255,255,0.06) !important;
  color: #475569 !important;
}

.case-dark .case-stack strong { color: #64748b !important; }

/* ─── Card screenshot ───────────────────────────────────────── */
.card-screenshot {
  display: block;
  margin: 1rem 0 0.75rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.card-screenshot:hover { border-color: #10b981; box-shadow: 0 4px 16px rgba(16,185,129,0.15); }

.card-screenshot img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.card-screenshot:hover img { transform: scale(1.03); }

.screenshot-hint {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.6rem 0.75rem 0.45rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.card-screenshot:hover .screenshot-hint { opacity: 1; }

/* ─── Project group label ───────────────────────────────────── */
.project-group-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.project-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.project-group-label span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}

/* ─── Automation Framework cards ────────────────────────────── */
.frameworks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
}

.fw-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}

.fw-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16,185,129,0.1);
  transform: translateY(-2px);
}

.fw-github {
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0fdf4, #f8fafc);
  border-color: #bbf7d0;
  text-align: center;
}

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

.fw-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #10b981;
  text-transform: uppercase;
}

.fw-stars {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f59e0b;
  margin-left: 0.5rem;
}

.fw-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.fw-card h3 a { color: inherit; transition: color 0.2s; }
.fw-card h3 a:hover { color: #10b981; }

.fw-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}

.fw-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: auto; }

/* ─── Repo link ─────────────────────────────────────────────── */
.repo-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
  margin-left: 0.4rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.repo-link:hover { opacity: 1; }

.card-github-cta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #10b981;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.75rem;
  margin-top: auto;
  transition: gap 0.18s;
}
.other-card:hover .card-github-cta,
.fw-card:hover .card-github-cta { gap: 0.6rem; }

/* ─── OSS Grid ──────────────────────────────────────────────── */
.oss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.oss-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.3s;
}

.oss-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16,185,129,0.1);
  transform: translateY(-3px);
}

.oss-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.oss-lang {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.lang-php { background: #777bb4; }
.lang-java { background: #b07219; }
.lang-python { background: #3572A5; }

.oss-stars {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f59e0b;
}

.oss-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.oss-card h3 a {
  color: inherit;
  transition: color 0.2s;
}

.oss-card h3 a:hover { color: #10b981; }

.oss-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}

.oss-card p a { color: #10b981; }

.oss-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.oss-lang-badge {
  font-size: 0.72rem;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.oss-cta-card {
  background: linear-gradient(135deg, #f0fdf4, #f8fafc);
  border-color: #bbf7d0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.oss-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.oss-cta-icon {
  width: 52px; height: 52px;
  background: #dcfce7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin-bottom: 0.3rem;
}

.oss-cta-inner p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.6;
}

/* ─── Education ─────────────────────────────────────────────── */
.edu-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.edu-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.edu-item:last-child { border-bottom: none; }
.edu-item:hover { background: #f8fafc; }

.edu-icon { font-size: 1.1rem; flex-shrink: 0; }

.edu-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.edu-detail strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.edu-detail span {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

.edu-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: #10b981;
  white-space: nowrap;
}

/* ─── Contact ───────────────────────────────────────────────── */
.contact-section { padding: 7rem 0; }
.contact-inner { position: relative; z-index: 1; }

.contact-sub {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 750px;
  margin: 0.75rem 0 2.5rem;
  line-height: 1.75;
}

.book-meeting-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(99,102,241,0.08));
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 16px;
  padding: 1.6rem 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.book-meeting-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.book-meeting-icon {
  width: 52px; height: 52px;
  background: rgba(16,185,129,0.18);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #34d399; flex-shrink: 0;
}
.book-meeting-text-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}
.book-meeting-text-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
}
.book-meeting-badge {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34d399;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.1rem 0.55rem; border-radius: 100px;
}
.book-meeting-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #10b981; color: #fff;
  padding: 0.7rem 1.5rem; border-radius: 8px;
  font-size: 0.88rem; font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none; flex-shrink: 0;
}
.book-meeting-btn:hover { background: #059669; transform: translateY(-1px); }
@media (max-width: 600px) {
  .book-meeting-cta { flex-direction: column; align-items: flex-start; }
  .book-meeting-btn { width: 100%; justify-content: center; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.contact-card:hover {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.35);
  transform: translateY(-2px);
}

.cc-icon {
  width: 44px; height: 44px;
  background: rgba(16,185,129,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  flex-shrink: 0;
}

.cc-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  display: block;
}

.cc-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  display: block;
  margin-top: 0.1rem;
}

.contact-location {
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
  margin-top: 1rem;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: #020617;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #334155;
}

/* ─── Footer tagline ────────────────────────────────────────── */
.footer-tagline {
  font-style: italic;
  color: #10b981;
  opacity: 0.7;
}

/* ─── Hero two-column (v2) ──────────────────────────────────── */
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-text-side { flex: 1; }

.hero-photo-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-placeholder {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(16,185,129,0.3);
  animation: spinRing 12s linear infinite;
}

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

.photo-inner {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(16,185,129,0.4);
}

.photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.photo-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ─── Beyond Work (v2) ──────────────────────────────────────── */
.beyond-work {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  border-left: 3px solid #10b981;
  border-radius: 0 8px 8px 0;
}

.beyond-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #10b981;
  margin-bottom: 0.4rem;
}

.beyond-work p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* ─── Result callouts (v2) ──────────────────────────────────── */
.result-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.result-callout {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  color: #34d399;
  line-height: 1.4;
}

.result-callout strong { color: #10b981; }

/* ─── Before/After table (v2) ───────────────────────────────── */
.before-after-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

.before-after-table th {
  background: rgba(255,255,255,0.06);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.before-after-table th:last-child { color: #10b981; }

.before-after-table td {
  padding: 0.5rem 0.75rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}

.before-after-table td:first-child { color: #64748b; font-weight: 600; }
.before-after-table td:last-child { color: #6ee7b7; }
.before-after-table tr:last-child td { border-bottom: none; }

/* ─── AI in Practice section (v2) ───────────────────────────── */
.aip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.aip-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem;
  background: #fff;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aip-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16,185,129,0.1);
  transform: translateY(-2px);
}

.aip-icon { font-size: 1.4rem; }

.aip-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.aip-card p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}

.aip-tools { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.25rem; }

/* ─── Fade-in animations ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; color: #e2e8f0; }
  .nav-links a:hover { color: #10b981; }
  .nav-toggle { display: flex; }
  nav.scrolled .nav-links { background: rgba(255,255,255,0.97); }
  nav.scrolled .nav-links a { color: #0f172a; }

  .hero-two-col { grid-template-columns: 1fr; }
  .hero-photo-side { display: none; }
  .result-callouts { grid-template-columns: 1fr; }
  .aip-grid { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-wide { grid-column: 1; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .oss-grid { grid-template-columns: 1fr 1fr; }
  .frameworks-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }

  .tl-header { flex-direction: column; gap: 0.3rem; }
  .tl-meta { align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .oss-grid { grid-template-columns: 1fr; }
  .frameworks-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .aip-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 0.4rem; text-align: center; }
}
