/* ==========================================================================
   Tip Will Sigmon - Styles (Refreshed)
   Typography: Sora + Plus Jakarta Sans
   Color: Teal-shifted green, warmer palette
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Fonts */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Backgrounds - richer, deeper */
  --bg-primary: #0c0c10;
  --bg-secondary: #141418;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  /* Green - teal-shifted, warmer */
  --accent: #2dd4bf;
  --accent-soft: #5eead4;
  --accent-glow: rgba(45, 212, 191, 0.3);

  /* Secondary - softer violet */
  --accent-secondary: #a78bfa;

  /* Text - better contrast */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Borders - subtler */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Focus */
  --focus-ring: rgba(45, 212, 191, 0.6);
}

body {
  font-family: var(--font-body);
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}

/* Animated gradient background - vibrant pulsing */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(45, 212, 191, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 90% 90%, rgba(167, 139, 250, 0.15) 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(45, 212, 191, 0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Floating accent orb */
body::after {
  content: '';
  position: fixed;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 12s ease-in-out infinite;
  filter: blur(60px);
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-30px, 20px);
  }
  66% {
    transform: translate(20px, -15px);
  }
}

/* Secondary floating orb (violet) */
.page-wrapper::before {
  content: '';
  position: fixed;
  bottom: 30%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 15s ease-in-out infinite reverse;
  filter: blur(50px);
}

/* ==========================================================================
   Focus Styles - Accessibility
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Visited Link Styles
   ========================================================================== */

a:visited {
  color: inherit;
}

.footer-links a:visited {
  color: var(--text-secondary);
}

.project-card:visited .project-name {
  color: var(--text-secondary);
}

/* ==========================================================================
   Entrance Animations - Refined
   ========================================================================== */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Layout - Slightly wider
   ========================================================================== */

.page-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header / Logo
   ========================================================================== */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  animation: fadeIn 0.6s ease-out;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.logo:hover .logo-mark {
  box-shadow: 0 6px 24px var(--accent-glow);
  transform: rotate(-3deg);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.header-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   Hero Section - No shimmer animation
   ========================================================================== */

/* ==========================================================================
   Profile Photo
   ========================================================================== */

.profile-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(45, 212, 191, 0.4);
  box-shadow:
    0 0 0 4px rgba(45, 212, 191, 0.1),
    0 8px 32px rgba(45, 212, 191, 0.2),
    0 0 60px rgba(45, 212, 191, 0.15);
  animation: photoGlow 4s ease-in-out infinite, scaleIn 0.6s ease-out;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-photo:hover img {
  transform: scale(1.05);
}

@keyframes photoGlow {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(45, 212, 191, 0.1),
      0 8px 32px rgba(45, 212, 191, 0.2),
      0 0 60px rgba(45, 212, 191, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(45, 212, 191, 0.15),
      0 12px 40px rgba(45, 212, 191, 0.3),
      0 0 80px rgba(45, 212, 191, 0.2);
  }
}

.hero {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-hook {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 32px;
}

.hero-hook strong {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   Primary CTA - Shine on hover only
   ========================================================================== */

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--accent) 0%, #0d9488 100%);
  color: #0c0c10;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 8px 32px var(--accent-glow);
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.5s ease-out 0.2s both;
}

.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.primary-cta:hover::before {
  left: 100%;
}

.primary-cta:active {
  transform: translateY(-1px);
}

.primary-cta svg {
  width: 22px;
  height: 22px;
}

.cta-subline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  animation: fadeIn 0.5s ease-out 0.4s both;
}

/* ==========================================================================
   Stats Bar - New section
   ========================================================================== */

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 24px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.5s ease-out 0.3s both;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Section - Command-style headers
   ========================================================================== */

section {
  margin-bottom: 32px;
  animation: fadeInUp 0.5s ease-out both;
}

section:nth-child(3) { animation-delay: 0.1s; }
section:nth-child(4) { animation-delay: 0.15s; }
section:nth-child(5) { animation-delay: 0.2s; }
section:nth-child(6) { animation-delay: 0.25s; }
section:nth-child(7) { animation-delay: 0.3s; }

.section-header {
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.section-microcopy {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   Tip Options - Simplified
   ========================================================================== */

.tip-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.tip-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.tip-amount:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.15);
}

.tip-amount-icon {
  font-size: 24px;
  transition: transform 0.2s ease;
}

.tip-amount:hover .tip-amount-icon {
  transform: scale(1.15);
}

.tip-amount-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.tip-amount-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Highlight middle tier */
.tip-amount:nth-child(2) {
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.05);
}

.tip-amount:nth-child(2)::after {
  content: 'Popular';
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 3px 8px;
  background: var(--accent);
  color: #0c0c10;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0 16px 0 8px;
}

.tip-methods {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.tip-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tip-method:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.tip-method svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.tip-method:hover svg {
  transform: scale(1.1);
}

.tip-method.primary {
  background: linear-gradient(135deg, #00D632 0%, #00a328 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 214, 50, 0.25);
}

.tip-method.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 214, 50, 0.35);
}

/* PayPal styling */
.tip-method.paypal:hover {
  background: rgba(0, 69, 124, 0.1);
  border-color: #00457C;
  color: #00457C;
}

.tip-method.paypal:hover img {
  filter: brightness(1.2);
}

/* ==========================================================================
   Projects - Left accent bar on hover
   ========================================================================== */

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Left accent bar */
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.project-card:hover::before {
  opacity: 1;
}

/* Project-specific accent colors */
.project-card:has(.leavn):hover::before {
  background: #10b981;
}

.project-card:has(.wsigstack):hover::before {
  background: #8b5cf6;
}

.project-card:has(.leavn):hover {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

.project-card:has(.wsigstack):hover {
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
}

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover .project-icon {
  transform: scale(1.05);
}

.project-icon.leavn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.project-card:hover .project-icon.leavn {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.project-icon.wsigstack {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.project-card:hover .project-icon.wsigstack {
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Project logos (actual images) */
.project-icon.project-logo {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-icon.leavn-logo {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.project-card:hover .project-icon.leavn-logo {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* sigstack custom SVG icon */
.project-icon.sigstack-logo {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  color: white;
}

.project-icon.sigstack-logo svg {
  width: 28px;
  height: 28px;
}

.project-card:hover .project-icon.sigstack-logo {
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Tool icons with actual logos */
.project-icon.tool-logo {
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}

.project-icon.tool-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.project-card:hover .project-icon.tool-logo {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

/* Typeless has a wordmark logo */
.project-icon.tool-logo.typeless-logo {
  background: linear-gradient(135deg, #1a2030 0%, #0f1520 100%);
  padding: 12px 8px;
}

.project-icon.tool-logo.typeless-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.project-info {
  flex: 1;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.project-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.project-badge.github {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--accent-secondary);
}

.project-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.project-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.project-card:hover .project-arrow {
  transform: translateX(4px);
  color: var(--text-secondary);
}

/* ==========================================================================
   Tools Grid - Sigstack style
   ========================================================================== */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.tool-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: white;
  transition: transform 0.2s ease;
}

.tool-card:hover .tool-icon {
  transform: scale(1.1);
}

.tool-img {
  object-fit: cover;
}

/* Custom icons for Leavn and Sigstack */
.leavn-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.sigstack-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.tool-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.tool-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

/* ==========================================================================
   Connect / Social - Compact 44px icons
   ========================================================================== */

.social-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
}

.social-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-item a:hover {
  transform: translateY(-3px);
}

.social-item svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.social-item a:hover svg {
  transform: scale(1.1);
}

/* X / Twitter */
.social-item:nth-child(1) a:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: #000;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* YouTube */
.social-item:nth-child(2) a:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
  color: #ff0000;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

/* Instagram */
.social-item:nth-child(3) a:hover {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.15) 0%, rgba(253, 29, 29, 0.15) 50%, rgba(252, 176, 69, 0.15) 100%);
  border-color: #e1306c;
  color: #e1306c;
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.2);
}

/* LinkedIn */
.social-item:nth-child(4) a:hover {
  background: rgba(0, 119, 181, 0.1);
  border-color: #0077b5;
  color: #0077b5;
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.2);
}

/* GitHub */
.social-item:nth-child(5) a:hover {
  background: rgba(110, 84, 148, 0.1);
  border-color: #6e5494;
  color: #fff;
  box-shadow: 0 6px 20px rgba(110, 84, 148, 0.2);
}

/* Bluesky */
.social-item:nth-child(6) a:hover {
  background: rgba(0, 133, 255, 0.1);
  border-color: #0085ff;
  color: #0085ff;
  box-shadow: 0 6px 20px rgba(0, 133, 255, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  animation: fadeIn 0.5s ease-out 0.5s both;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-brand {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   Responsive - Tablet (768px)
   ========================================================================== */

@media (max-width: 768px) {
  .page-wrapper {
    padding: 22px 18px 44px;
  }

  header {
    margin-bottom: 40px;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-hook {
    font-size: 17px;
  }

  .primary-cta {
    padding: 16px 32px;
    font-size: 16px;
  }

  .stats-bar {
    gap: 32px;
  }

  .stat-value {
    font-size: 24px;
  }

  .project-card {
    padding: 18px;
  }

  .project-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tool-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .tool-name {
    font-size: 13px;
  }

  .tool-desc {
    font-size: 11px;
  }
}

/* ==========================================================================
   Responsive - Mobile (640px)
   ========================================================================== */

@media (max-width: 640px) {
  .page-wrapper {
    padding: 20px 16px 40px;
  }

  header {
    margin-bottom: 32px;
  }

  .profile-photo {
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-hook {
    font-size: 16px;
  }

  .stats-bar {
    gap: 24px;
    padding: 20px 0;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 11px;
  }

  .tip-amounts {
    gap: 8px;
  }

  .tip-amount {
    padding: 16px 8px;
  }

  .tip-amount-icon {
    font-size: 20px;
  }

  .tip-amount-value {
    font-size: 18px;
  }

  .tip-amount:nth-child(2)::after {
    padding: 2px 6px;
    font-size: 8px;
  }

  .tip-methods {
    flex-wrap: wrap;
  }

  .tip-method {
    flex: 1;
    min-width: 100px;
    padding: 12px 16px;
  }

  .social-list {
    gap: 8px;
  }

  .social-item a {
    width: 40px;
    height: 40px;
  }

  .social-item svg {
    width: 16px;
    height: 16px;
  }

  .project-card {
    padding: 16px;
  }

  .project-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

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

  .tool-card {
    padding: 16px 10px;
  }

  .tool-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .tool-name {
    font-size: 12px;
  }

  .tool-desc {
    font-size: 10px;
  }
}

/* ==========================================================================
   Reduced Motion - Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .primary-cta:hover,
  .tip-amount:hover,
  .tip-method.primary:hover,
  .project-card:hover,
  .social-item a:hover {
    transform: none;
  }

  .primary-cta::before {
    display: none;
  }

  body::before,
  body::after,
  .page-wrapper::before,
  .profile-photo {
    animation: none;
  }

  .profile-photo {
    box-shadow:
      0 0 0 4px rgba(45, 212, 191, 0.1),
      0 8px 32px rgba(45, 212, 191, 0.2);
  }
}

/* ==========================================================================
   Scroll Reveal - Refined (16px instead of 30px)
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid items */
.tip-amount.reveal-on-scroll.revealed:nth-child(1) { transition-delay: 0s; }
.tip-amount.reveal-on-scroll.revealed:nth-child(2) { transition-delay: 0.08s; }
.tip-amount.reveal-on-scroll.revealed:nth-child(3) { transition-delay: 0.16s; }

.social-item.reveal-on-scroll.revealed:nth-child(1) { transition-delay: 0s; }
.social-item.reveal-on-scroll.revealed:nth-child(2) { transition-delay: 0.04s; }
.social-item.reveal-on-scroll.revealed:nth-child(3) { transition-delay: 0.08s; }
.social-item.reveal-on-scroll.revealed:nth-child(4) { transition-delay: 0.12s; }
.social-item.reveal-on-scroll.revealed:nth-child(5) { transition-delay: 0.16s; }
.social-item.reveal-on-scroll.revealed:nth-child(6) { transition-delay: 0.2s; }

.tool-card.reveal-on-scroll.revealed:nth-child(1) { transition-delay: 0s; }
.tool-card.reveal-on-scroll.revealed:nth-child(2) { transition-delay: 0.04s; }
.tool-card.reveal-on-scroll.revealed:nth-child(3) { transition-delay: 0.08s; }
.tool-card.reveal-on-scroll.revealed:nth-child(4) { transition-delay: 0.12s; }
.tool-card.reveal-on-scroll.revealed:nth-child(5) { transition-delay: 0.16s; }
.tool-card.reveal-on-scroll.revealed:nth-child(6) { transition-delay: 0.2s; }
.tool-card.reveal-on-scroll.revealed:nth-child(7) { transition-delay: 0.24s; }
.tool-card.reveal-on-scroll.revealed:nth-child(8) { transition-delay: 0.28s; }
.tool-card.reveal-on-scroll.revealed:nth-child(9) { transition-delay: 0.32s; }
.tool-card.reveal-on-scroll.revealed:nth-child(10) { transition-delay: 0.36s; }
.tool-card.reveal-on-scroll.revealed:nth-child(11) { transition-delay: 0.4s; }
.tool-card.reveal-on-scroll.revealed:nth-child(12) { transition-delay: 0.44s; }

/* ==========================================================================
   Selection & Smooth Scroll
   ========================================================================== */

::selection {
  background: rgba(45, 212, 191, 0.3);
  color: white;
}

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
