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

/* Google Material 3 Expressive Tokens */
:root {
  --md-sys-color-surface: #f8f9ff;
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #f2f4fc;
  --md-sys-color-surface-container: #eceff9;
  --md-sys-color-surface-container-high: #e6eaf6;
  --md-sys-color-on-surface: #1b1b1f;
  --md-sys-color-on-surface-variant: #44474e;
  --md-sys-color-outline: #74777f;
  --md-sys-color-outline-variant: #c4c6d0;

  --md-sys-color-primary: #1a73e8;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d3e3fd;
  --md-sys-color-on-primary-container: #041e49;

  --md-sys-color-secondary-container: #e8def8;
  --md-sys-color-on-secondary-container: #1d192b;

  --md-sys-color-tertiary-container: #ffd8e4;
  --md-sys-color-on-tertiary-container: #31111d;

  --md-sys-color-green-container: #c4eed0;
  --md-sys-color-on-green-container: #072711;

  --md-sys-color-amber-container: #fef0c7;
  --md-sys-color-on-amber-container: #3d2200;

  --md-sys-shape-card: 28px;
  --md-sys-shape-pill: 9999px;
  --md-sys-motion-expressive: cubic-bezier(0.2, 0.0, 0, 1.0);

  /* Map existing variables */
  --bg: var(--md-sys-color-surface);
  --bg-elev: var(--md-sys-color-surface-container-lowest);
  --bg-card: var(--md-sys-color-surface-container-lowest);
  --border: rgba(116, 119, 127, 0.22);
  --border-strong: rgba(26, 115, 232, 0.35);
  --text: var(--md-sys-color-on-surface);
  --muted: var(--md-sys-color-on-surface-variant);
  --subtle: #5f6368;
  --accent: var(--md-sys-color-primary);
  --accent-bright: #1a73e8;
  --cyan: #006a6a;
  --emerald: #137333;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  background-image:
    radial-gradient(ellipse 60% 42% at 10% 4%, rgba(66, 133, 244, 0.14), transparent 62%),
    radial-gradient(ellipse 55% 40% at 90% 8%, rgba(234, 67, 53, 0.11), transparent 60%),
    radial-gradient(ellipse 50% 38% at 52% 32%, rgba(251, 188, 4, 0.11), transparent 64%),
    radial-gradient(ellipse 50% 40% at 15% 74%, rgba(52, 168, 83, 0.11), transparent 62%),
    radial-gradient(ellipse 50% 40% at 88% 80%, rgba(161, 66, 244, 0.11), transparent 62%);
}

.grid-bg {
  display: none;
}

/* Soft M3 Expressive Abstract Ambient Blobs */
.paint-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.paint-blob {
  position: absolute;
  border-radius: 46% 54% 60% 40% / 44% 52% 48% 56%;
  filter: blur(72px);
  opacity: 0.28;
  animation: m3drift 24s var(--md-sys-motion-expressive) infinite alternate;
}

.blob-coral {
  width: 480px;
  height: 420px;
  top: -120px;
  right: 8%;
  background: #ea4335;
}

.blob-cobalt {
  width: 540px;
  height: 460px;
  top: -100px;
  left: -100px;
  background: #4285f4;
  animation-delay: -6s;
}

.blob-marigold {
  width: 420px;
  height: 360px;
  top: 40%;
  left: 34%;
  background: #fbbc04;
  opacity: 0.2;
  animation-delay: -11s;
}

.blob-magenta {
  width: 460px;
  height: 400px;
  bottom: -100px;
  right: -80px;
  background: #a142f4;
  opacity: 0.2;
  animation-delay: -8s;
}

.blob-teal {
  width: 460px;
  height: 400px;
  bottom: 6%;
  left: -100px;
  background: #34a853;
  opacity: 0.2;
  animation-delay: -15s;
}

@keyframes m3drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28px, -20px) scale(1.06); }
}

/* Material 3 Display & Headline Typography (Google Sans-inspired Outfit) */
h1,
h2,
h3,
.metric-val,
.offering-price,
.brand {
  font-family: 'Outfit', 'Roboto', -apple-system, sans-serif;
  color: var(--md-sys-color-on-surface);
  letter-spacing: -0.025em;
}

/* Top App Bar (M3 Surface Container) */
header {
  background: rgba(248, 249, 255, 0.88);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.brand {
  color: var(--md-sys-color-on-surface);
  font-weight: 700;
  font-size: 17px;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border: 2px solid var(--md-sys-color-primary);
}

.nav-links a {
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--md-sys-shape-pill);
  transition: background-color 0.2s var(--md-sys-motion-expressive), color 0.2s;
}

.nav-links a:hover {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

/* Material 3 Filled & Tonal Pill Buttons */
.btn {
  border-radius: var(--md-sys-shape-pill) !important;
  font-family: 'Outfit', 'Roboto', sans-serif;
  font-weight: 600;
  transition: all 0.22s var(--md-sys-motion-expressive);
}

.btn-primary {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.25);
}

.btn-primary:hover {
  background: #1557b0;
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.34);
  transform: translateY(-1px);
  filter: none;
}

.btn-secondary {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-color: transparent;
}

.btn-secondary:hover {
  background: #c2d7fa;
  border-color: transparent;
}

/* Hero */
.hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(248, 249, 255, 0.94) 0%, rgba(248, 249, 255, 0.82) 48%, rgba(248, 249, 255, 0.5) 100%),
    linear-gradient(180deg, rgba(248, 249, 255, 0.25) 0%, rgba(248, 249, 255, 0.1) 50%, #f8f9ff 100%),
    url('/sayooj-hero.jpg');
  opacity: 0.36;
  filter: saturate(1.08);
}

.hero-avatar {
  width: 88px;
  height: 88px;
  padding: 3px;
  background: conic-gradient(from 45deg, #4285f4, #34a853, #fbbc04, #ea4335, #4285f4);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.2);
}

.hero-name {
  font-family: 'Outfit', 'Roboto', sans-serif;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--md-sys-color-on-surface);
}

.gradient-text {
  background: linear-gradient(110deg, #1a73e8 0%, #a142f4 55%, #ea4335 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-family: 'Outfit', 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  margin-top: 6px;
}

.hero-bio {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.72;
  color: #303134;
  margin-bottom: 26px;
  max-width: 620px;
}

.hero-bio strong {
  color: var(--md-sys-color-on-surface);
  font-weight: 700;
}

.hero-bio a {
  color: var(--md-sys-color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(26, 115, 232, 0.35);
  transition: border-color 0.15s, background-color 0.15s;
}

.hero-bio a:hover {
  border-bottom-color: var(--md-sys-color-primary);
  background: var(--md-sys-color-primary-container);
  border-radius: 4px;
}

.hero-meta {
  color: var(--md-sys-color-on-surface-variant);
}

/* M3 Expressive Interactive Pillar Card + Segmented Buttons */
.pillar-card {
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-card);
  padding: 26px;
  box-shadow: 0 10px 32px rgba(27, 27, 31, 0.06);
}

.tabs {
  background: var(--md-sys-color-surface-container);
  border: none;
  border-radius: var(--md-sys-shape-pill);
  padding: 4px;
}

.tab-btn {
  border-radius: var(--md-sys-shape-pill);
  color: var(--md-sys-color-on-surface-variant);
  font-family: 'Outfit', 'Roboto', sans-serif;
  font-weight: 600;
  padding: 9px 10px;
}

.tab-btn.active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.28);
}

.pillar-kicker {
  color: var(--md-sys-color-primary);
  font-weight: 700;
}

.pillar-list {
  color: var(--md-sys-color-on-surface-variant);
}

.pillar-list li::before {
  color: #137333;
}

/* M3 Tonal Metric Cards */
.metric-card {
  border-radius: 24px;
  border: none;
  padding: 22px 24px;
  box-shadow: none;
}

.metric-card:nth-child(1) {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}
.metric-card:nth-child(2) {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.metric-card:nth-child(3) {
  background: var(--md-sys-color-green-container);
  color: var(--md-sys-color-on-green-container);
}
.metric-card:nth-child(4) {
  background: var(--md-sys-color-amber-container);
  color: var(--md-sys-color-on-amber-container);
}

.metric-card .metric-val,
.metric-card .metric-lbl {
  color: inherit;
}

.metric-card .metric-lbl {
  opacity: 0.85;
}

/* Section Kickers */
.section-kicker {
  color: var(--md-sys-color-primary);
  font-family: 'Outfit', 'Roboto', sans-serif;
}

/* M3 Offering Cards */
.offering-card {
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-card);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(27, 27, 31, 0.04);
  transition: transform 0.22s var(--md-sys-motion-expressive), box-shadow 0.22s;
}

.offering-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 115, 232, 0.12);
  border-color: rgba(26, 115, 232, 0.4);
}

.offering-card.featured {
  background: linear-gradient(165deg, #ffffff 30%, #edf3ff 100%);
  border: 2px solid var(--md-sys-color-primary);
  box-shadow: 0 12px 34px rgba(26, 115, 232, 0.14);
}

/* M3 Assist Chips / Badges */
.badge {
  border-radius: var(--md-sys-shape-pill);
  padding: 5px 12px;
  font-family: 'Outfit', 'Roboto', sans-serif;
}

.badge-indigo {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.badge-cyan {
  background: var(--md-sys-color-tertiary-container);
  color: var(--md-sys-color-on-tertiary-container);
}

.badge-emerald {
  background: var(--md-sys-color-green-container);
  color: var(--md-sys-color-on-green-container);
}

.checklist {
  color: var(--md-sys-color-on-surface-variant);
}

.checklist li::before {
  color: #137333;
}

/* M3 Project Cards */
.project-card {
  background: var(--md-sys-color-surface-container-lowest) !important;
  border: 1px solid var(--md-sys-color-outline-variant) !important;
  border-radius: var(--md-sys-shape-card);
  padding: 26px;
  box-shadow: 0 4px 14px rgba(27, 27, 31, 0.04);
  transition: transform 0.22s var(--md-sys-motion-expressive), box-shadow 0.22s;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(27, 27, 31, 0.09);
}

.project-card.span-2 {
  background: linear-gradient(155deg, #ffffff 40%, #f3ecff 100%) !important;
  border-color: rgba(161, 66, 244, 0.35) !important;
}

.tech-tag {
  border-radius: var(--md-sys-shape-pill);
  padding: 4px 11px;
  background: var(--md-sys-color-surface-container);
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 500;
}

/* M3 Track Record Cards */
.proof-card {
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(27, 27, 31, 0.03);
}

.proof-co {
  color: var(--md-sys-color-primary);
}

.proof-card a {
  color: var(--md-sys-color-primary) !important;
  font-weight: 600;
}

.company-icon {
  border-radius: 14px;
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
}

.earlier-card {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 20px;
}

/* Bottom CTA Banner (M3 Expressive Tonal Container) */
.cta-banner {
  background: linear-gradient(135deg, #e8f0fe 0%, #f3e8fd 55%, #fef7e0 100%);
  border: none;
  border-radius: 32px;
  padding: 44px;
  box-shadow: 0 12px 36px rgba(26, 115, 232, 0.1);
}

.cta-photo-wrap {
  border-radius: 24px;
  border: 4px solid #ffffff;
  box-shadow: 0 18px 40px rgba(27, 27, 31, 0.16);
}

.cta-photo-wrap::after {
  background: linear-gradient(180deg, transparent 65%, rgba(27, 27, 31, 0.18) 100%);
}

/* M3 FAQ Accordions */
details {
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 20px;
  padding: 20px 24px;
}

summary {
  color: var(--md-sys-color-on-surface);
  font-family: 'Outfit', 'Roboto', sans-serif;
}

summary::after {
  color: var(--md-sys-color-primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container-low);
  color: var(--md-sys-color-on-surface-variant);
}

.footer-links a:hover {
  color: var(--md-sys-color-primary);
}
