/* ==========================================================
   Hamna Maryam — Social Media Manager Portfolio
   Design System & Comprehensive Stylesheet
   ========================================================== */

:root {
  /* Brand Palette */
  --bg-white: #FFFFFF;
  --bg-cream: #FCFAF7;
  --bg-yellow: #FFF375;
  --bg-yellow-light: #FFF9A6;
  --bg-yellow-warm: #FDE047;
  --navy-dark: #0B0F3B;
  --navy-deep: #080C2E;
  --navy-card: #0D1248;
  --navy-card-hover: #131A66;
  --slate-dark: #7E828D;
  --text-dark: #111827;
  --text-muted: #4B5563;
  --text-light: #F9FAFB;
  
  /* Accent Colors */
  --cyan-accent: #06B6D4;
  --green-accent: #10B981;
  --purple-accent: #8B5CF6;
  --orange-accent: #EA580C;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-handwritten: 'Covered By Your Grace', 'Caveat', cursive;
  --font-quote: 'Caveat', cursive;

  /* Spacing & Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 10px 30px rgba(11, 15, 59, 0.08);
  --shadow-hover: 0 20px 40px rgba(11, 15, 59, 0.14);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Global Custom Scrollbar System */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
  border: 2px solid #F1F5F9;
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

::-webkit-scrollbar-thumb:active {
  background: var(--navy-dark);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox scrollbar standard */
* {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   NAVIGATION BAR
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--navy-dark);
  border-radius: 2px;
}

.btn-connect {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--navy-dark);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-connect:hover {
  background-color: var(--navy-dark);
  color: var(--bg-white);
  transform: translateY(-1px);
}

/* ==========================================================
   MOBILE NAVIGATION HAMBURGER & SLIDE-OUT DRAWER
   ========================================================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  z-index: 101;
  margin-left: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2.2px;
  background-color: var(--navy-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Mobile Slide-Out Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-white);
  z-index: 10001;
  box-shadow: none;
  visibility: hidden;
  pointer-events: none;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
  box-shadow: -10px 0 30px rgba(11, 15, 59, 0.2);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 59, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: none;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #F3F4F6;
  background: var(--bg-yellow);
}

.mobile-nav-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
}

.mobile-nav-brand span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4B5563;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 15, 59, 0.1);
  color: var(--navy-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
  background: var(--navy-dark);
  color: var(--bg-white);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 4px;
  flex: 1;
}

.mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-link svg,
.mobile-nav-link i {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  color: var(--navy-dark);
  flex-shrink: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: #FEF08A;
  color: var(--navy-dark);
  transform: translateX(4px);
}

.mobile-nav-link.mobile-nav-highlight {
  margin-top: 8px;
  background: var(--navy-dark);
  color: var(--bg-yellow);
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(11, 15, 59, 0.2);
}

.mobile-nav-link.mobile-nav-highlight svg,
.mobile-nav-link.mobile-nav-highlight i {
  color: var(--bg-yellow);
}

.mobile-nav-link.mobile-nav-highlight:hover {
  background: #131A66;
  color: #FFF;
  transform: none;
}

.mobile-nav-footer {
  padding: 16px;
  border-top: 1px solid #F3F4F6;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  word-break: break-all;
}

.mobile-nav-contact-item svg,
.mobile-nav-contact-item i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--navy-dark);
}

/* Ensure mobile sidebar is NEVER shown on desktop */
@media (min-width: 769px) {
  .mobile-menu-btn,
  .mobile-nav-drawer,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  padding: 60px 0 50px;
  background-color: var(--bg-white);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.platform-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.platform-tag {
  background: #F3F4F6;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #E5E7EB;
  display: inline-flex;
  align-items: center;
}

.hero-greeting {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.btn-yellow {
  display: inline-block;
  background-color: var(--bg-yellow);
  color: var(--navy-dark);
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 12px 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.15s ease;
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
}

.btn-yellow:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

/* Hero Portrait Arch */
.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-wrapper {
  position: relative;
  display: inline-block;
}

.portrait-arch {
  width: 320px;
  height: 400px;
  border-radius: 160px 160px 140px 140px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
  border: 4px solid #F3F4F6;
  background: #F3F4F6;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-smooth);
}

.portrait-wrapper:hover .portrait-img {
  transform: scale(1.05);
}

/* ==========================================================
   PAGE LOADER SCREEN (Butter Yellow Portfolio Themed)
   ========================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  pointer-events: auto;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loading-cat-anim {
  width: 140px;
  height: 100px;
}

.loader-cat-svg {
  width: 100%;
  height: 100%;
}

/* Loader Cat Keyframes */
.loading-cat-body {
  animation: cat-bounce 0.6s ease-in-out infinite alternate;
  transform-origin: bottom center;
}

@keyframes cat-bounce {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.cat-shadow-anim {
  animation: shadow-scale 0.6s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes shadow-scale {
  0% { transform: scale(1); opacity: 0.2; }
  100% { transform: scale(0.75); opacity: 0.08; }
}

.loader-tail {
  transform-origin: 24px 60px;
  animation: tail-wag 0.8s ease-in-out infinite alternate;
}

@keyframes tail-wag {
  0% { transform: rotate(-15deg); }
  100% { transform: rotate(15deg); }
}

.cat-leg.leg-1, .cat-leg.leg-3 {
  animation: leg-step-1 0.4s ease-in-out infinite alternate;
  transform-origin: top center;
}

.cat-leg.leg-2, .cat-leg.leg-4 {
  animation: leg-step-2 0.4s ease-in-out infinite alternate;
  transform-origin: top center;
}

@keyframes leg-step-1 {
  0% { transform: rotate(-10deg); }
  100% { transform: rotate(10deg); }
}

@keyframes leg-step-2 {
  0% { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}

.loader-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.loader-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4B5563;
  margin-top: 2px;
}

.dot-1, .dot-2, .dot-3 {
  animation: dot-pulse 1.4s infinite;
  display: inline-block;
}

.dot-2 { animation-delay: 0.2s; }
.dot-3 { animation-delay: 0.4s; }

@keyframes dot-pulse {
  0%, 20% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

.loader-progress-track {
  width: 180px;
  height: 4px;
  background: rgba(11, 15, 59, 0.12);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 8px;
}

.loader-progress-bar {
  width: 40%;
  height: 100%;
  background: var(--navy-dark);
  border-radius: 99px;
  animation: loader-bar-anim 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loader-bar-anim {
  0% { transform: translateX(-100%); width: 20%; }
  50% { width: 70%; }
  100% { transform: translateX(200%); width: 30%; }
}

/* ==========================================================
   ORANGE PEEPING CAT (Hero Avatar Peep & Pop)
   ========================================================== */
.peeping-cat-wrapper {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  width: 105px;
  height: 95px;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}

.peeping-cat {
  width: 100%;
  height: 100%;
  transform-origin: bottom center;
  animation: cat-peep-pop 5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  filter: drop-shadow(0 6px 12px rgba(11, 15, 59, 0.2));
  transition: transform var(--transition-smooth);
}

@keyframes cat-peep-pop {
  0%, 100% {
    transform: translateY(24px) scale(0.96);
  }
  15%, 45% {
    transform: translateY(0px) scale(1);
  }
  50%, 65% {
    transform: translateY(3px) rotate(-4deg);
  }
  70%, 85% {
    transform: translateY(2px) rotate(4deg);
  }
  92% {
    transform: translateY(26px) scale(0.94);
  }
}

.peeping-cat-wrapper:hover .peeping-cat {
  animation: none;
  transform: translateY(-8px) scale(1.1);
}

.peeping-cat-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Ears twitch */
.peep-ears {
  transform-origin: center 30px;
  animation: ear-twitch 3s ease-in-out infinite alternate;
}

@keyframes ear-twitch {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(-3deg); }
  90% { transform: rotate(3deg); }
}

/* Kawaii Blinking */
.peep-eyes {
  transform-origin: 70px 48px;
  animation: peep-eye-blink 4.2s infinite;
}

@keyframes peep-eye-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.1); }
}

/* Speech bubble */
.peep-speech-bubble {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy-dark);
  color: var(--bg-yellow);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 30;
}

.peep-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0;
  border-style: solid;
  border-color: var(--navy-dark) transparent transparent transparent;
}

.peeping-cat-wrapper:hover .peep-speech-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================
   404 ERROR PAGE STYLES (Butter Yellow Themed)
   ========================================================== */
.error-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-cream);
}

.error-main-container {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.error-card {
  background: var(--bg-yellow);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.error-cat-illustration {
  display: flex;
  justify-content: center;
}

.error-cat-svg {
  width: 100%;
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(11, 15, 59, 0.1));
}

.error-cat-head-group {
  animation: confused-bob 2.8s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes confused-bob {
  0% { transform: rotate(-3deg) translateY(0px); }
  50% { transform: rotate(2deg) translateY(-3px); }
  100% { transform: rotate(-2deg) translateY(0px); }
}

.error-badge {
  display: inline-block;
  background: var(--navy-dark);
  color: var(--bg-yellow);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  margin-bottom: 14px;
}

.error-desc {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  background: var(--bg-white);
  color: var(--navy-dark);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--navy-dark);
  transition: all var(--transition-fast);
}

.btn-secondary-custom:hover {
  background: var(--navy-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.error-quick-links {
  border-top: 1px dashed rgba(11, 15, 59, 0.25);
  padding-top: 20px;
}

.quick-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-pill {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 15, 59, 0.15);
  transition: all var(--transition-fast);
}

.quick-pill:hover {
  background: var(--navy-dark);
  color: #FFF;
  transform: translateY(-1px);
}

.error-footer {
  background: #FFF;
  border-top: 1px solid #E5E7EB;
  padding: 24px 0;
}

@media (max-width: 768px) {
  .error-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }
  .error-actions {
    justify-content: center;
  }
  .quick-pills {
    justify-content: center;
  }
}

.deco-sparkle {
  position: absolute;
  top: 10px;
  right: -25px;
  font-size: 1.8rem;
  color: #B45309;
  letter-spacing: 4px;
  animation: pulse-sparkle 2.5s infinite alternate;
}

.deco-hatch {
  position: absolute;
  bottom: 20px;
  left: -25px;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.6rem;
  color: #111827;
  letter-spacing: 2px;
}

@keyframes pulse-sparkle {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.15) rotate(8deg); opacity: 1; }
}

/* ==========================================================
   HANDWRITTEN HEADINGS & ABOUT ME
   ========================================================== */
.handwritten-title-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-bottom: -18px;
  z-index: 2;
  padding-right: 24px;
}

.handwritten-title {
  font-family: var(--font-handwritten);
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 400;
  color: var(--navy-dark);
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  user-select: none;
}

.play-frenzy-heading {
  transform: rotate(-2deg);
}

.about-section {
  padding: 20px 0 60px;
}

.about-card {
  background-color: var(--bg-yellow);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.about-headline {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.about-text {
  font-size: 1.05rem;
  color: #1F2937;
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 24px;
}

.about-meta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1.5px dashed rgba(0, 0, 0, 0.15);
  padding-top: 20px;
}

.meta-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.meta-pill strong {
  display: block;
  font-size: 0.8rem;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-pill span {
  font-size: 0.9rem;
  color: #1F2937;
  font-weight: 600;
}

/* ==========================================================
   KEY STATS & BY THE NUMBERS (4 Metric Cards)
   ========================================================== */
.stats-overview-section {
  padding: 20px 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box-card {
  background: #FFF;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.stat-box-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-dark);
  box-shadow: 0 12px 30px rgba(11, 15, 59, 0.08);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy-dark);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================
   PAGES I RUN SECTION (3 Deep Navy Cards)
   ========================================================== */
.contents-section {
  padding: 40px 0 80px;
  background-color: var(--bg-white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 500;
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.content-card {
  background-color: var(--navy-card);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(13, 18, 72, 0.2);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg-yellow);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.content-card:hover {
  transform: translateY(-8px);
  background-color: var(--navy-card-hover);
  box-shadow: 0 16px 36px rgba(13, 18, 72, 0.35);
}

.content-card:hover::before,
.content-card.featured-card::before {
  opacity: 1;
}

.card-number {
  font-family: var(--font-handwritten);
  font-size: 3.2rem;
  color: var(--bg-yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.card-platform-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--bg-yellow);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.92rem;
  color: #D1D5DB;
  line-height: 1.55;
  margin-bottom: 20px;
}

.card-link-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-dark);
  background: var(--bg-yellow);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.card-link-btn:hover {
  background: #FFF;
  transform: translateX(3px);
}

/* ==========================================================
   CASE STUDY: TECHY GLOBE (Instagram Management)
   ========================================================== */
.frenzy-section {
  padding: 40px 0 80px;
}

.frenzy-main-card {
  background-color: var(--bg-yellow);
  border-radius: var(--radius-xl);
  padding: 56px 44px;
  box-shadow: var(--shadow-medium);
}

.frenzy-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.frenzy-subheading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
  max-width: 480px;
}

.curved-dashed-line {
  width: 160px;
  height: 60px;
  margin-right: 40px;
}

.frenzy-intro-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 50px;
}

/* Phone Mockup */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 2px #374151;
  position: relative;
}

.phone-notch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 18px;
  margin-bottom: 4px;
}

.phone-speaker {
  width: 48px;
  height: 4px;
  background: #262626;
  border-radius: 2px;
}

.phone-camera {
  width: 7px;
  height: 7px;
  background: #1e1e1e;
  border-radius: 50%;
}

.ig-screen {
  background: #000;
  color: #FFF;
  border-radius: 30px;
  padding: 16px 14px;
  font-size: 0.8rem;
  overflow: hidden;
}

.ig-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.ig-account-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

.ig-badge-verified {
  background: #3B82F6;
  color: #FFF;
  font-size: 0.65rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ig-top-icons {
  display: flex;
  gap: 12px;
}

.ig-top-icons i {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.ig-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.ig-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #06B6D4;
  border: 2px solid #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.ig-stats-row {
  display: flex;
  flex: 1;
  justify-content: space-around;
  text-align: center;
}

.stat-num {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
}

.stat-label {
  font-size: 0.68rem;
  color: #9CA3AF;
}

.ig-bio {
  margin-bottom: 12px;
  font-size: 0.74rem;
  line-height: 1.35;
}

.bio-name {
  font-weight: 700;
  margin-bottom: 2px;
}

.bio-desc {
  color: #E5E7EB;
}

.bio-link {
  color: #60A5FA;
  font-weight: 600;
  display: inline-block;
  margin-top: 2px;
}

.ig-action-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.btn-ig-edit {
  flex: 1;
  background: #262626;
  color: #FFF;
  padding: 6px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.btn-ig-share {
  background: #262626;
  color: #FFF;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-ig-share i {
  width: 14px;
  height: 14px;
}

.ig-highlights-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  margin-bottom: 10px;
}

.ig-highlights-scroll::-webkit-scrollbar {
  display: none;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.hl-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #4B5563;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.hl-icon {
  font-size: 1rem;
}

.hl-title {
  font-size: 0.62rem;
  color: #D1D5DB;
}

.ig-tabs {
  display: flex;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
  margin-bottom: 8px;
}

.ig-tab {
  flex: 1;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  color: #6B7280;
}

.ig-tab.active {
  color: #FFF;
  border-bottom: 1.5px solid #FFF;
}

.ig-tab i {
  width: 16px;
  height: 16px;
}

.ig-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 10px;
}

.mini-post {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.mini-post:hover {
  transform: scale(0.96);
  opacity: 0.9;
}

.mini-img-post {
  padding: 0 !important;
  background: #000;
}

.mini-img-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast);
}

.mini-img-post:hover img {
  transform: scale(1.1);
}

.bg-yellow-dark { background: #EAB308; color: #000; }
.bg-yellow-light { background: #FEF08A; color: #000; }
.bg-yellow { background: #FACC15; color: #000; }
.bg-black { background: #111827; color: #FFF; }
.text-yellow { color: #FACC15; }

.ig-bottom-bar {
  display: flex;
  justify-content: space-around;
  padding-top: 6px;
  color: #9CA3AF;
}

.ig-bottom-bar i {
  width: 16px;
  height: 16px;
}

/* Narrative & Quotes */
.frenzy-narrative {
  padding-left: 10px;
}

.frenzy-text {
  font-size: 1.1rem;
  color: #1F2937;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 36px;
}

.handwritten-quote-wrapper {
  margin-top: 24px;
}

.handwritten-quote {
  font-family: var(--font-quote);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Badges */
.work-badge-row {
  display: flex;
  justify-content: center;
  margin: 40px 0 32px;
}

.badge-pill {
  display: inline-block;
  background-color: var(--bg-yellow);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 10px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

/* 8-Card Work Grids */
.frenzy-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.work-card {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #0B0F3B;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-smooth);
  display: block;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-smooth);
}

.work-card:hover img {
  transform: scale(1.05);
}

/* Card Hover Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 59, 0.95) 0%, rgba(11, 15, 59, 0.4) 55%, transparent 100%);
  color: #FFF;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.card-overlay h4 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.25;
}

.card-overlay p {
  font-size: 0.78rem;
  color: #D1D5DB;
  margin-bottom: 10px;
}

.btn-inspect {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-yellow);
  color: var(--navy-dark);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Styled Creative Art Boxes for Cards */
.creative-art-box {
  width: 100%;
  height: 100%;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bg-art-tech1 { background: linear-gradient(135deg, #0F172A, #020617); color: #FFF; }
.bg-art-tech2 { background: linear-gradient(135deg, #1E1B4B, #0F172A); color: #FFF; }
.bg-art-tech3 { background: #FFF7ED; color: #7C2D12; }
.bg-art-tech4 { background: linear-gradient(135deg, #0369A1, #075985); color: #FFF; }

.bg-art-pk1 { background: linear-gradient(135deg, #064E3B, #022C22); color: #FFF; }
.bg-art-pk2 { background: linear-gradient(135deg, #14532D, #052E16); color: #FFF; }
.bg-art-pk3 { background: linear-gradient(135deg, #78350F, #451A03); color: #FFF; }
.bg-art-pk4 { background: linear-gradient(135deg, #312E81, #1E1B4B); color: #FFF; }

.art-tag {
  background: #06B6D4;
  color: #FFF;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.art-tag.tag-pk {
  background: #10B981;
}

.art-headline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}

.art-headline .highlight {
  color: #38BDF8;
}

.art-headline .highlight-pk {
  color: #34D399;
}

.art-sub {
  font-size: 0.72rem;
  color: #9CA3AF;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.art-icons-row {
  font-size: 1.2rem;
  display: flex;
  gap: 8px;
}

/* ==========================================================
   HOW THE DAY RUNS & WORKFLOW SECTION
   ========================================================== */
.workflow-section {
  padding: 50px 0 80px;
  background-color: var(--bg-white);
}

.workflow-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

.workflow-card {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.workflow-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy-dark);
  box-shadow: 0 14px 30px rgba(11, 15, 59, 0.08);
}

.wf-step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
  margin-bottom: 12px;
}

.wf-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.wf-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.wf-tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-yellow);
  color: var(--navy-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* Tools Container */
.tools-container {
  background: var(--bg-yellow);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.tools-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.tools-pills-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.tool-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15);
}

.tool-pill i {
  width: 18px;
  height: 18px;
}

/* ==========================================================
   FOOTER BANNER & CLEAN WHITE CONTACT BAR
   ========================================================== */
.footer-banner-section {
  background-color: var(--navy-dark);
  color: #FFF;
  padding-top: 80px;
}

.footer-banner-container {
  text-align: left;
  padding-bottom: 60px;
}

.footer-top-tag {
  font-size: 1.1rem;
  font-weight: 600;
  color: #E5E7EB;
  margin-bottom: 16px;
  display: block;
}

.footer-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  color: var(--bg-yellow);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.footer-handwritten-bye {
  font-family: var(--font-handwritten);
  font-size: 4rem;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: rotate(-2deg);
}

.hatch-slashes {
  letter-spacing: 2px;
}

/* White Contact Info Bar */
.contact-info-bar {
  background: #FFF;
  color: var(--navy-dark);
  padding: 24px 0;
  border-top: 1px solid #E5E7EB;
}

.contact-links-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-pill-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.contact-pill-link:hover {
  background: #F3F4F6;
  color: var(--orange-accent);
}

.contact-pill-link i {
  width: 20px;
  height: 20px;
}

/* ==========================================================
   FLOATING "AVAILABLE FOR HIRE" WIDGET
   ========================================================== */
.floating-hire-widget {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  animation: slide-up-float 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-up-float {
  0% { transform: translate(-50%, 60px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

.widget-inner {
  background: rgba(28, 30, 39, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.widget-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--bg-yellow);
}

.widget-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFF;
  white-space: nowrap;
}

.btn-hire-action {
  background: #FFF;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-hire-action:hover {
  background: var(--bg-yellow);
  transform: scale(1.04);
}

.btn-close-widget {
  color: #9CA3AF;
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 4px;
  transition: color var(--transition-fast);
}

.btn-close-widget:hover {
  color: #FFF;
}

/* ==========================================================
   TOAST NOTIFICATION
   ========================================================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy-dark);
  color: #FFF;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--bg-yellow);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================
   MODALS (Resume, Hire, Story)
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-card.modal-lg {
  max-width: 780px;
}

.modal-header {
  padding: 24px 28px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F3F4F6;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.btn-close-modal {
  font-size: 1.6rem;
  color: #6B7280;
  line-height: 1;
  transition: color var(--transition-fast);
}

.btn-close-modal:hover {
  color: #111827;
}

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 15, 59, 0.22) transparent;
}

/* Modal Custom Scrollbar */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(11, 15, 59, 0.22);
  border-radius: 999px;
  transition: background var(--transition-fast);
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--navy-dark);
}

.modal-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #F3F4F6;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-dark);
}

.btn-submit-form,
.btn-primary {
  background: var(--navy-dark);
  color: #FFF;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: background var(--transition-fast);
}

.btn-submit-form:hover,
.btn-primary:hover {
  background: var(--navy-card-hover);
}

.btn-secondary {
  background: #F3F4F6;
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

/* Resume Document Styling */
.resume-sheet {
  background: #FFF;
  font-size: 0.9rem;
}

.resume-top h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy-dark);
  font-weight: 800;
}

.resume-role {
  font-weight: 700;
  color: var(--orange-accent);
  margin: 4px 0 8px;
}

.resume-contact-inline {
  font-size: 0.8rem;
  color: #4B5563;
  margin-bottom: 14px;
}

.resume-section {
  margin-top: 18px;
}

.resume-section h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
  border-bottom: 2px solid var(--bg-yellow);
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.resume-job {
  margin-bottom: 14px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.resume-job ul {
  padding-left: 20px;
  color: #374151;
  font-size: 0.82rem;
  line-height: 1.5;
}

.resume-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resume-skills-grid span {
  background: #F3F4F6;
  color: var(--navy-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Story Modal */
.story-modal-card {
  background: #000;
  color: #FFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.story-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}

.story-progress-fill {
  width: 0%;
  height: 100%;
  background: #FFF;
  animation: story-progress-anim 5s linear forwards;
}

@keyframes story-progress-anim {
  0% { width: 0%; }
  100% { width: 100%; }
}

.story-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.story-user-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06B6D4;
}

.story-modal-header .btn-close-modal {
  color: #FFF;
}

.story-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ==========================================================
   RESPONSIVE DESIGN (Tablets, Mobiles & Small Phones)
   ========================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .platform-tags-row {
    justify-content: center;
  }

  .hero-subtext {
    margin: 0 auto 28px;
  }

  .hero-cta-wrapper {
    display: flex;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .frenzy-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .frenzy-narrative {
    padding-left: 0;
    text-align: center;
  }

  .frenzy-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .workflow-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .header-container {
    height: 60px;
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

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

  .mobile-nav-drawer {
    display: flex;
  }

  .mobile-nav-backdrop {
    display: block;
  }

  .brand-logo {
    font-size: 1.15rem;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
  }

  .site-header .btn-connect {
    display: none;
  }

  .hero-section {
    padding: 36px 0 30px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 7.5vw, 3.2rem);
    line-height: 1.1;
  }

  .hero-subtext {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .portrait-arch {
    width: 250px;
    height: 310px;
    border-radius: 125px 125px 105px 105px;
    border-width: 3px;
  }

  .deco-sparkle {
    right: -10px;
    font-size: 1.4rem;
  }

  .deco-hatch {
    left: -10px;
    font-size: 1.3rem;
  }

  .about-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .about-headline {
    font-size: 1.35rem;
  }

  .about-text {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .about-meta-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .meta-pill {
    padding: 12px 14px;
  }

  .frenzy-main-card {
    padding: 32px 18px;
    border-radius: 24px;
  }

  .frenzy-header-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .curved-dashed-line {
    display: none;
  }

  .frenzy-subheading {
    font-size: 1.65rem;
    max-width: 100%;
  }

  .phone-frame {
    max-width: 290px;
    width: 100%;
    border-radius: 34px;
    padding: 10px;
  }

  .ig-screen {
    border-radius: 26px;
    padding: 12px 10px;
  }

  .ig-profile-header {
    gap: 10px;
  }

  .ig-avatar-ring {
    width: 52px;
    height: 52px;
  }

  .ig-avatar-img {
    width: 44px;
    height: 44px;
  }

  .stat-num {
    font-size: 0.85rem;
  }

  .stat-label {
    font-size: 0.58rem;
  }

  .frenzy-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .handwritten-quote {
    font-size: 1.4rem;
  }

  .badge-pill {
    font-size: 1rem;
    padding: 8px 24px;
  }

  .frenzy-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .work-card {
    border-radius: 12px;
  }

  .card-overlay {
    padding: 14px 10px;
    opacity: 1;
    background: linear-gradient(to top, rgba(11, 15, 59, 0.95) 0%, rgba(11, 15, 59, 0.25) 50%, transparent 100%);
  }

  .card-overlay h4 {
    font-size: 0.82rem;
    margin-bottom: 2px;
  }

  .card-overlay p {
    font-size: 0.68rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .btn-inspect {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .workflow-section {
    padding: 40px 0 60px;
  }

  .workflow-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .wf-step-num {
    font-size: 1.8rem;
  }

  .wf-title {
    font-size: 1.15rem;
  }

  .wf-desc {
    font-size: 0.88rem;
  }

  .tools-container {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .tools-title {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .tools-pills-row {
    gap: 10px;
  }

  .tool-pill {
    padding: 8px 16px;
    font-size: 0.84rem;
  }

  .footer-banner-section {
    padding-top: 50px;
  }

  .footer-banner-container {
    padding-bottom: 40px;
    text-align: center;
  }

  .footer-hero-heading {
    font-size: clamp(1.8rem, 6.5vw, 2.8rem);
  }

  .footer-handwritten-bye {
    font-size: 3rem;
    justify-content: center;
  }

  .contact-info-bar {
    padding: 18px 0;
  }

  .contact-links-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .contact-pill-link {
    justify-content: center;
    width: 100%;
    padding: 12px;
    font-size: 0.92rem;
    border: 1px solid #E5E7EB;
  }

  /* Modals on Mobile */
  .modal-card {
    width: 95%;
    max-height: 92vh;
    border-radius: 20px;
  }

  .modal-header {
    padding: 18px 20px 14px;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: 18px 20px;
  }

  .modal-footer {
    padding: 14px 20px;
    flex-direction: column;
    gap: 8px;
  }

  .modal-footer .btn-primary,
  .modal-footer .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Prevent iOS zoom on input focus */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }

  /* Floating Hire Widget */
  .floating-hire-widget {
    bottom: 14px;
    width: calc(100% - 28px);
    max-width: 360px;
  }

  .widget-inner {
    padding: 6px 12px 6px 8px;
    gap: 8px;
    justify-content: space-between;
  }

  .widget-text {
    font-size: 0.76rem;
  }

  .btn-hire-action {
    padding: 5px 12px;
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .header-container {
    height: 56px;
    gap: 8px;
  }

  .brand-logo {
    font-size: 1.05rem;
  }

  .btn-connect {
    font-size: 0.74rem;
    padding: 5px 12px;
  }

  .hero-greeting {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .btn-yellow {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.98rem;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-box-card {
    padding: 18px 10px;
    border-radius: 12px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.74rem;
  }

  .frenzy-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .portrait-arch {
    width: 220px;
    height: 275px;
    border-radius: 110px 110px 95px 95px;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    font-size: 0.95rem;
  }

  .btn-connect {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .frenzy-work-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}