/* ============================================
   components.css — Cards, buttons, badges,
   form elements, hover effects
   ============================================ */

/* ---------- Nav Links (Desktop) ---------- */
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: #ffffff;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #7b94ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .nav-link {
  color: var(--accent);
}

[data-theme="dark"] .nav-link::after {
  background: #ffffff;
}

[data-theme="dark"] .nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ---------- Nav Links (Mobile) ---------- */
.mobile-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1rem 0 1rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.mobile-nav-link:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Left indicator line */
.mobile-nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.mobile-nav-link i {
  font-size: 1.15rem;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

/* Hover — slide right + left line appears */
.mobile-nav-link:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.mobile-nav-link:hover::before {
  transform: scaleY(1);
}

.mobile-nav-link:hover i {
  opacity: 1;
}

/* Active — same as hover, persists */
.mobile-nav-link.active {
  color: var(--gold);
  transform: translateX(8px);
}

.mobile-nav-link.active::before {
  transform: scaleY(1);
}

.mobile-nav-link.active i {
  opacity: 1;
}

/* Get Free Quote — mobile button style */
.mobile-nav-cta {
  position: relative;
  margin-top: 1.5rem;
  border: none;
  border-radius: 9999px;
  background-color: var(--gold);
  background-image: linear-gradient(90deg, #ffffff, #ffffff);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: #0f1b61 !important;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  opacity: 1 !important;
  transform: none !important;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-size 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.mobile-nav-cta i {
  opacity: 1 !important;
  color: #0f1b61;
}

.mobile-nav-cta:hover,
.mobile-nav-cta:focus-visible {
  background-size: 100% 100%;
  color: #0f1b61 !important;
  transform: none !important;
}

[data-theme="dark"] .mobile-menu-cta {
  background: var(--accent) !important;
  color: #ffffff !important;
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 101;
  transition:
    width 0.3s ease,
    height 0.3s ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
}

[data-theme="dark"] .hamburger span {
  background: var(--accent);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Primary CTA Button ---------- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 16px;
  background-color: var(--gold);
  background-image: linear-gradient(
    90deg,
    var(--accent-hover),
    var(--accent-hover)
  );
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: #ffffff;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-size 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-size: 100% 100%;
  color: #ffffff;
}

[data-theme="dark"] .btn-primary {
  color: #0f1b61;
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
}
[data-theme="dark"] .btn-primary:hover {
  color: var(--text-primary);
}

/* ---------- Hero CTA — white/gold variant ---------- */
.btn-primary.hero-cta-btn {
  background-color: var(--gold);
  background-image: linear-gradient(
    90deg,
    var(--accent-hover),
    var(--accent-hover)
  );
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: var(--accent);
}

.btn-primary.hero-cta-btn:hover,
.btn-primary.hero-cta-btn:focus-visible {
  background-size: 100% 100%;
  color: #ffffff;
}

[data-theme="dark"] .btn-primary.hero-cta-btn {
  color: #0f1b61;
}

[data-theme="dark"] .btn-primary.hero-cta-btn:hover,
[data-theme="dark"] .btn-primary.hero-cta-btn:focus-visible {
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
  color: var(--text-primary);
}

/* ---------- Navbar Button ---------- */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background-color: var(--bg-surface);
  background-image: linear-gradient(
    90deg,
    var(--accent-hover),
    var(--accent-hover)
  );
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-size 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-size: 100% 100%;
  color: var(--bg-surface);
}

[data-theme="dark"] .nav-cta {
  background-color: var(--accent);
  background-image: linear-gradient(90deg, var(--gold), var(--gold));
  color: #ffffff;
}

[data-theme="dark"] .nav-cta:hover,
[data-theme="dark"] .nav-cta:focus-visible {
  color: var(--bg-primary);
}

/* ---------- Availability Badge ---------- */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  color: var(--text-muted);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ---------- Skill Cards ---------- */
.skill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem 1rem;
  position: relative;
  cursor: default;
  transition: background 0.3s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.skill-card:hover {
  background: var(--bg-card);
}

[data-theme="dark"] .skill-card {
  background: var(--bg-surface);
}

[data-theme="dark"] .skill-card:hover {
  background: var(--bg-card);
}

.skill-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* Faded number — top right */
.skill-num {
  font-family: "Inter", sans-serif;
  font-size: 2.55rem;
  font-weight: 800;
  color: #25284535;
  line-height: 1;
  user-select: none;
  transition: color 0.3s ease;
}

.skill-card:hover .skill-num {
  color: var(--accent-mid);
}

.skill-card-title {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
}

/* Progress bar — at bottom, slides in on hover */
.skill-progress-track {
  width: 100%;
  height: 3px;
  background: var(--border);
  overflow: hidden;
  margin-top: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-progress-fill {
  height: 100%;
  width: 0%; /* JS will set this to the data-progress value */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover .skill-progress-track {
  opacity: 1;
}

.skill-card:hover .skill-progress-fill {
  transform: scaleX(1);
}

/* ---------- Portfolio Cards ---------- */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 5px solid var(--accent-light);
  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;
}

.portfolio-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-theme="dark"] .portfolio-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

/* 16:9 image */
.pf-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .pf-img {
  transform: scale(1.04);
}

/* Overlay slides in from left */
.pf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 13, 48, 1) 0%,
    rgba(8, 13, 48, 0.75) 45%,
    rgba(8, 13, 48, 0.55) 75%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  padding: 1.75rem;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .pf-overlay {
  transform: translateX(0);
}

.pf-content {
  max-width: 82%;
}

/* Inner items — quick exit by default */
.pf-title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.pf-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.pf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 4px 12px;
  background-color: #ffffff;
  background-image: linear-gradient(90deg, var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: var(--accent);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-16px);
  overflow: hidden;
  isolation: isolate;
  transition:
    opacity 0.15s ease,
    transform 0.25s ease,
    background-size 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease;
}

.pf-btn:hover,
.pf-btn:focus-visible {
  background-size: 100% 100%;
  color: var(--accent);
}

[data-theme="dark"] .pf-btn {
  background-color: var(--accent);
  background-image: linear-gradient(90deg, var(--gold), var(--gold));
  color: var(--text-primary);
}

[data-theme="dark"] .pf-btn:hover,
[data-theme="dark"] .pf-btn:focus-visible {
  color: var(--bg-primary);
}
/* Staggered entrance on hover */
.portfolio-card:hover .pf-title {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.3s ease 0.3s,
    transform 0.3s ease 0.3s;
}

.portfolio-card:hover .pf-desc {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.3s ease 0.4s,
    transform 0.3s ease 0.4s;
}

.portfolio-card:hover .pf-btn {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.3s ease 0.5s,
    transform 0.3s ease 0.5s,
    background 0.25s ease;
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* No hover lift/shadow on normal cards */
.pricing-card:not(.featured):not(.maintenance):hover {
  border-color: var(--accent-mid);
}

/* Animated border on pricing cards */
.pricing-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 1.1rem;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--accent) 20%,
    transparent 40%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  animation: borderSpin 3s linear infinite;
  transition: opacity 0.4s ease;
}

.pricing-card:not(.featured):not(.maintenance):hover::before {
  opacity: 1;
}

/* --- Featured (Premium) Card --- */
.pricing-card.featured {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #ffffff;
  overflow: visible;
}

.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-feature,
.pricing-card.featured h3 {
  color: rgba(255, 255, 255, 0.95);
}

.pricing-card.featured .pricing-feature {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card.featured .pricing-feature i {
  color: #86efac;
}

.pricing-card.featured .price-highlight {
  color: var(--gold);
}

.pricing-card.featured::before {
  display: none;
}

/* --- Maintenance Card --- */
.pricing-card.maintenance {
  background: linear-gradient(135deg, #065f46 0%, #059669 100%);
  border-color: transparent;
  color: #ffffff;
}

.pricing-card.maintenance .pricing-price,
.pricing-card.maintenance .pricing-label,
.pricing-card.maintenance .pricing-feature,
.pricing-card.maintenance h3 {
  color: rgba(255, 255, 255, 0.95);
}

.pricing-card.maintenance .pricing-feature {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card.maintenance .pricing-feature i {
  color: #bbf7d0;
}

.pricing-card.maintenance .price-highlight {
  color: #d1fae5;
}

.pricing-card.maintenance::before {
  display: none;
}

/* Pricing badge — sits on the top border */
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f9dc5c;
  color: #1a1000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
  z-index: 2;
}

/* Ensure all cards allow badge to overflow top */
.pricing-card {
  overflow: visible;
}

/* ---------- Pricing Card — Outline Button ---------- */
.pricing-btn {
  position: relative;
  width: 100%;
  justify-content: center;
  margin-top: auto;
  background-color: transparent !important;
  background-image: linear-gradient(
    90deg,
    var(--accent),
    var(--accent)
  ) !important;
  background-repeat: no-repeat !important;
  background-position: left top !important;
  background-size: 0% 100% !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  box-shadow: none !important;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-size 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.pricing-btn:hover,
.pricing-btn:focus-visible {
  background-size: 100% 100% !important;
  color: #ffffff !important;
}
/* Featured card button — gold slide */
.pricing-card.featured .pricing-btn {
  color: #ffffff !important;
  border-color: var(--gold) !important;
  background-color: transparent !important;
  background-image: linear-gradient(90deg, var(--gold), var(--gold)) !important;
  background-repeat: no-repeat !important;
  background-position: left top !important;
  background-size: 0% 100% !important;
}

.pricing-card.featured .pricing-btn:hover,
.pricing-card.featured .pricing-btn:focus-visible {
  background-size: 100% 100% !important;
  color: var(--accent) !important;
}

[data-theme="dark"] .pricing-card.featured .pricing-btn:hover,
[data-theme="dark"] .pricing-card.featured .pricing-btn:focus-visible {
  color: var(--bg-primary) !important;
}

/* Maintenance card button — white slide */
.pricing-card.maintenance .pricing-btn {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background-color: transparent !important;
  background-image: linear-gradient(90deg, #ffffff, #ffffff) !important;
  background-repeat: no-repeat !important;
  background-position: left top !important;
  background-size: 0% 100% !important;
}

.pricing-card.maintenance .pricing-btn:hover,
.pricing-card.maintenance .pricing-btn:focus-visible {
  background-size: 100% 100% !important;
  color: #065f46 !important;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ── Testimonials Section Graphics ── */
#testimonials {
  position: relative;
  overflow: hidden;
}

#testimonials .container {
  position: relative;
  z-index: 1;
}

#testimonials .section-subtitle {
  margin-bottom: 0.5rem;
}

.t-bg-graphics {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Large soft blob — top left */
.t-blob {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(78, 70, 229, 0.252) 0%,
    transparent 65%
  );
  border-radius: 50%;
}

/* Smaller blob — bottom left */
.t-blob--sm {
  top: auto;
  left: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.06) 0%,
    transparent 65%
  );
}

/* Dot grids */
.t-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(
    circle,
    rgba(78, 70, 229, 0.265) 1.5px,
    transparent 1.5px
  );
  background-size: 18px 18px;
}

.t-dots--tr {
  top: 24px;
  right: 24px;
}

.t-dots--br {
  bottom: 24px;
  right: 24px;
}

/* Divider accent under subtitle */
.t-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0.75rem auto 2.5rem;
}

.t-divider span:first-child {
  width: 36px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}

.t-divider span:last-child {
  width: 22px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Testimonial Card ── */
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease;
  break-inside: avoid;
  margin-bottom: 16px;
}

.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(79, 70, 229, 0.13);
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.22);
}

/* Large opening quote mark */
.t-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.8;
  display: block;
  margin-bottom: 0.4rem;
}

/* Quote body */
.t-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* Footer: avatar + name + stars */
.t-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: #ffffff;
  flex-shrink: 0;
}

.t-info {
  flex: 1;
  min-width: 0;
}

.t-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.t-stars {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 2px;
}

/* ---------- Form Inputs ---------- */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input:disabled,
.form-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

/* ============================================
   About Layout
   ============================================ */

.about-v2 {
  overflow: hidden;
}

.about-v2-grid {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  gap: 0 2rem;
  align-items: center;
  min-height: 85vh;
}

/* ── Timeline dots (far left) ── */
.about-v2-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2rem 0;
}

.about-v2-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  flex-shrink: 0;
}

.about-v2-timeline-dot--active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(249, 220, 92, 0.5);
}

.about-v2-timeline-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
}

/* ── Left Content ── */
.about-v2-left {
  padding: 3rem 0;
}

.about-v2-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
}

.about-v2-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.about-v2-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.about-v2-accent {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-v2-bio {
  font-size: clamp(0.88rem, 1.3vw, 0.95rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.about-v2-cta {
  margin-bottom: 2.5rem;
  display: inline-flex;
  background-color: var(--gold);
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: var(--accent);
}

.about-v2-cta:hover,
.about-v2-cta:focus-visible {
  background-size: 100% 100%;
  color: #ffffff;
}

[data-theme="dark"] .about-v2-cta {
  color: #0f1b61;
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
}
[data-theme="dark"] .about-v2-cta:hover {
  color: var(--text-primary);
}

/* ── Stats ── */
.about-v2-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.about-v2-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  flex: 1;
  min-width: 120px;
}

.about-v2-stat-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-v2-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.about-v2-stat-number {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-v2-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

/* ── Tech Stack ── */
.about-v2-stack-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
}

.about-v2-stack-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem 1rem;
}

.about-v2-stack-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.043);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  cursor: default;
}

.about-v2-stack-icon:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

/* ── Right Visual ── */
.about-v2-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 1rem 3rem 2rem;
  min-height: 600px;
}

.about-v2-visual-anchor {
  position: relative;
  width: 280px;
  height: 360px;
}

/* Dot grid top-left of right col */
.about-v2-dot-grid {
  position: absolute;
  top: -30px;
  left: -50px;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  pointer-events: none;
  z-index: 0;
}

/* ── Photo ── */
.about-v2-photo-wrap {
  position: relative;
  width: 280px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
  flex-shrink: 0;
}

.about-v2-photo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #4f2d8a 0%, #1a1b6e 60%, #0d0e2e 100%);
}

.about-v2-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  opacity: 0.9;
}

/* ── Floating Cards ── */
.about-v2-card {
  position: absolute;
  z-index: 3;
}

/* Idea card — top right */
.about-v2-card--idea {
  position: absolute;
  top: -30px;
  right: -70px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}

#idea-card-svg {
  /* Slight rotation makes it look more natural */
  transform: rotate(-10deg) translateY(-5px);
  flex-shrink: 0;
  margin-top: 12px;
}

.about-v2-card-idea-text {
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}

.about-v2-card-arrow {
  width: 80px;
  height: 60px;
  transform: rotate(20deg);
  margin-bottom: 0.25rem;
}

/* Code card — bottom right */
.about-v2-card--code {
  position: absolute;
  bottom: 80px;
  right: -100px;
  background: #1a1b2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 8px 12px;
  width: 180px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  animation: fiFloat 4s ease-in-out infinite;
}

.about-v2-code-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 0.6rem;
}

.about-v2-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.about-v2-code-body {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  white-space: pre;
}

.code-keyword {
  color: #c792ea;
}
.code-string {
  color: #c3e88d;
}

/* Mindset card — bottom left overlapping photo */
.about-v2-card--mindset {
  position: absolute;
  bottom: -35px;
  left: -80px;
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 220px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.about-v2-mindset-icon {
  width: 36px;
  height: 36px;
  background: #ede9fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d28d9;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-v2-mindset-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.about-v2-mindset-sub {
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

/* Also ensure the section itself is a positioning context */
.about-v2 {
  position: relative;
}

/* ============================================
   About — Grid Background
   ============================================ */
.about-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  /* Grid lines */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;

  /* Fade: visible on left, gone by center-right */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 25%,
    rgba(0, 0, 0, 0.15) 55%,
    transparent 75%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 25%,
    rgba(0, 0, 0, 0.15) 55%,
    transparent 75%
  );
}

/* Container spacing */
.contact-socials {
  display: flex;
  gap: 15px;
}

/* Base Link Style */
.contact-social-link {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  transition: border-color 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* The Sliding Background */
.contact-social-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;
  height: 100%;
  border-radius: 50%;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother slide */
  z-index: 0;
}

.contact-social-link:hover::before {
  bottom: 0;
}

/* Specific Platform Colors */
.contact-social-link.linkedin::before {
  background: #0077b5;
}
.contact-social-link.x-twitter::before {
  background: #000000;
}
.contact-social-link.whatsapp::before {
  background: #25d366;
}
.contact-social-link.email::before {
  background: #ea4335;
} /* Standard Google Red */

/* The Icon Behavior */
.contact-social-link i {
  position: relative;
  z-index: 1;
  font-size: 20px;
  transition:
    transform 0.5s ease,
    color 0.3s ease;
}

.contact-social-link:hover {
  border-color: transparent;
}

.contact-social-link:hover i {
  transform: rotateY(360deg);
  color: #ffffff;
}

/* ============================================
   Contact — Visual Styles
   ============================================ */

.contact-left-top {
  margin-bottom: 2rem;
}

.contact-heading {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.contact-subheading {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
}

/* Glassmorphism form card */
.contact-glass-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-form-title {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.contact-form-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 0.68rem 0.9rem;
  background: rgba(131, 128, 128, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: rgba(255, 255, 255, 0.471);
  background: rgba(255, 255, 255, 0.063);
}

.contact-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border-radius: 16px;
}

.contact-select option {
  background: #0f1b61;
  top: 10px;

  color: #ffffff;
}

.contact-textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: #ffffff;
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: var(--accent);
  border: none;
  border-radius: 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.25rem;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-size 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus-visible {
  background-size: 100% 100%;
  color: #ffffff;
}

[data-theme="dark"] .contact-submit-btn {
  background-color: var(--gold);
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
  color: var(--bg-primary);
}

[data-theme="dark"] .contact-submit-btn:hover,
[data-theme="dark"] .contact-submit-btn:focus-visible {
  color: #ffffff;
}

.contact-whatsapp-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

.contact-whatsapp-note a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

/* ============================================
   Footer — Visual Styles
   ============================================ */

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulseRing 2s ease-out infinite;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #0d0e1a5d;
  color: var(--bg-primary);
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .whatsapp-tooltip {
  background: #e8eaf60e;
  color: var(--text-primary);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #0d0e1a78;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 27, 97, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Filter Tabs ---------- */
.filter-tab {
  position: relative;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  background-color: var(--bg-card);
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition:
    background-size 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.filter-tab:hover,
.filter-tab:focus-visible {
  background-size: 100% 100%;
  color: #ffffff;
  border-color: var(--accent);
}

.filter-tab.active {
  background-color: var(--accent);
  background-image: linear-gradient(90deg, var(--accent), var(--accent));
  background-size: 100% 100%;
  color: #ffffff;
  border-color: var(--accent);
}

/* ---------- Form Success Message ---------- */
.form-success {
  display: none;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  color: #16a34a;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

[data-theme="dark"] .form-success {
  color: #4ade80;
}

.form-success.show {
  display: block;
}

/* ---------- Sticky Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition:
    padding 0.4s ease,
    top 0.4s ease,
    left 0.4s ease,
    right 0.4s ease,
    border-radius 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.navbar.scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;

  /* Float: pull away from edges */
  top: 12px;
  left: 60px;
  right: 60px;
  border-radius: 36px;

  /* Shrink padding slightly */
  padding: 8px 0;

  /* Glassmorphism */
  background: rgba(15, 27, 97, 0.901);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ── Shrink CTA when navbar is floating ── */

.navbar.scrolled .nav-cta {
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  transition:
    padding 0.4s ease,
    font-size 0.4s ease,
    background-size 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.navbar.scrolled .nav-cta:hover {
  transition: 0.4s ease;
}

.navbar.scrolled .nav-availability {
  font-size: 0.7rem;
  transition: font-size 0.4s ease;
}

.navbar.scrolled .theme-toggle {
  width: 35px;
  height: 35px;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(8, 13, 48, 0.6);
  border-color: rgba(255, 255, 255, 0.07);
}

/* ---------- Dark Mode Toggle ---------- */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2ff1e;
  color: var(--bg-primary);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle {
  color: var(--accent);
  border: 1px solid var(--border);
}

.theme-toggle:hover {
  transform: rotate(20deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}
.theme-toggle .icon-sun {
  display: block;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ---------- Button icon movement ---------- */
.btn-primary i,
.btn-primary svg,
.btn-secondary i,
.btn-secondary svg,
.nav-cta i,
.nav-cta svg,
.contact-submit-btn i,
.contact-submit-btn svg,
.pricing-btn i,
.pricing-btn svg,
.filter-tab i,
.filter-tab svg,
.mobile-nav-cta i,
.mobile-nav-cta svg,
.pf-btn i,
.pf-btn svg {
  transition: transform 0.35s ease;
}

.btn-primary:hover i,
.btn-primary:hover svg,
.btn-secondary:hover i,
.btn-secondary:hover svg,
.nav-cta:hover i,
.nav-cta:hover svg,
.contact-submit-btn:hover i,
.contact-submit-btn:hover svg,
.pricing-btn:hover i,
.pricing-btn:hover svg,
.filter-tab:hover i,
.filter-tab:hover svg,
.mobile-nav-cta:hover i,
.mobile-nav-cta:hover svg,
.pf-btn:hover i,
.pf-btn:hover svg,
.btn-primary:focus-visible i,
.btn-primary:focus-visible svg,
.btn-secondary:focus-visible i,
.btn-secondary:focus-visible svg,
.nav-cta:focus-visible i,
.nav-cta:focus-visible svg,
.contact-submit-btn:focus-visible i,
.contact-submit-btn:focus-visible svg,
.pricing-btn:focus-visible i,
.pricing-btn:focus-visible svg,
.filter-tab:focus-visible i,
.filter-tab:focus-visible svg,
.mobile-nav-cta:focus-visible i,
.mobile-nav-cta:focus-visible svg,
.pf-btn:focus-visible i,
.pf-btn:focus-visible svg {
  transform: translateX(4px);
}

/* ── Responsive ── */

@media (max-width: 767px) {
  .theme-toggle {
    width: 30px;
    height: 30px;
  }

  .theme-toggle .icon-sun,
  .theme-toggle .icon-moon {
    width: 14px;
    height: 14px;
  }

  .btn-primary.hero-cta-btn {
    font-size: 14px;
    padding: 12px 16px;
  }

  .filter-tab {
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.65rem;
  }

  .skill-card:nth-child(2n) {
    border-right: 1px solid var(--border);
  }
  .skill-card {
    border-right: none;
  }

  .skill-num {
    font-size: 2rem;
  }

  .about-v2-stack-icons {
    display: flex;
    padding: 8px 12px;
  }

  .about-v2-stack-icon {
    width: 40px;
    height: 40px;
  }

  /* Stack to single column */
  .about-v2-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Timeline goes horizontal at top */
  .about-v2-timeline {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem 0 0.5rem;
    width: 100%;
  }

  .about-v2-timeline-line {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
  }

  .about-v2-left {
    padding: 1rem 0 1.5rem;
  }

  .about-v2-right {
    min-height: 380px;
    padding: 1rem 0 4rem;
  }

  .about-v2-dot-grid {
    position: absolute;
    top: 10px;
    left: -50px;
  }

  .about-v2-visual-anchor {
    position: relative;
    width: 200px;
    height: 250px;
  }
  .about-v2-photo-wrap {
    top: 50px;
    width: 200px;
    height: 250px;
  }

  /* Idea card */
  .about-v2-card--idea {
    top: 0;
    right: -50px;
  }

  .about-v2-card-idea-text {
    font-size: 14px;
  }

  .about-v2-card-arrow {
    width: 55px;
    height: 42px;
  }

  /* Code card — smaller */
  .about-v2-card--code {
    width: 130px;
    right: -70px;
    bottom: 0;
    padding: 4px 8px;
  }

  .about-v2-code-body {
    font-size: 0.55rem;
  }

  /* Mindset card — smaller */
  .about-v2-card--mindset {
    width: 150px;
    left: -50px;
    bottom: -80px;
    padding: 8px 8px;
  }

  .about-v2-mindset-icon {
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .about-v2-mindset-title {
    font-size: 0.65rem;
  }

  .about-v2-mindset-sub {
    font-size: 0.6rem;
  }

  /* Stats */
  .about-v2-stats {
    gap: 0.5rem;
  }

  .about-v2-stat {
    min-width: 90px;
    padding: 0.6rem 0.7rem;
  }

  .about-v2-stat-number {
    font-size: 18px;
  }

  .testimonial-card {
    /* 1 column mobile */
    flex: 0 0 100%;
  }

  .contact-social-link {
    width: 40px;
    height: 40px;
  }

  .footer-copy {
    font-size: 0.75rem;
  }

  .navbar.scrolled {
    top: 12px;
    left: 16px;
    right: 16px;
    border-radius: 36px;
  }

  .navbar.scrolled .hamburger {
    width: 22px;
    transition:
      width 0.3s ease,
      height 0.3s ease;
  }
  .navbar.scrolled .theme-toggle {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .theme-toggle {
    width: 35px;
    height: 35px;
  }
  .theme-toggle .icon-sun,
  .theme-toggle .icon-moon {
    width: 16px;
    height: 16px;
  }

  .skill-card:nth-child(4n) {
    border-right: 1px solid var(--border);
  }
  .skill-card:nth-child(2n) {
    border-right: none;
  }

  .skill-num {
    font-size: 2rem;
  }

  .about-v2-bio {
    font-size: 14px;
  }

  .about-v2-stack-icons {
    padding: 8px 12px;
  }

  .about-v2-stack-icon {
    width: 32px;
    height: 32px;
  }

  .about-v2-left {
    padding: 1rem 0 1.5rem;
  }

  .about-v2-right {
    min-height: 600px;
    padding: 1rem 0 4rem;
  }

  .about-v2-visual-anchor {
    position: relative;
    width: 200px;
    height: 250px;
  }

  .about-v2-photo-wrap {
    width: 200px;
    height: 250px;
  }

  /* Idea card */
  .about-v2-card--idea {
    right: -50px;
  }

  .about-v2-card-idea-text {
    font-size: 16px;
  }

  .about-v2-card-arrow {
    width: 55px;
    height: 42px;
  }

  /* Code card — smaller */
  .about-v2-card--code {
    width: 130px;
    right: -60px;
    bottom: 50px;
    padding: 4px 8px;
  }

  .about-v2-code-dot {
    width: 8px;
    height: 8px;
  }

  .about-v2-code-body {
    font-size: 0.55rem;
  }

  /* Mindset card — smaller */
  .about-v2-card--mindset {
    width: 150px;
    left: -50px;
    bottom: -25px;
    padding: 8px 8px;
  }

  .about-v2-mindset-icon {
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .about-v2-mindset-title {
    font-size: 0.65rem;
  }

  .about-v2-mindset-sub {
    font-size: 0.6rem;
  }

  /* Stats */
  .about-v2-stats {
    gap: 0.5rem;
  }

  .about-v2-stat {
    min-width: 100px;
    padding: 0.6rem 0.7rem;
  }

  .about-v2-stat-number {
    font-size: 22px;
  }
}
