/* Enhanced Hero Section Styles */
/* Better fonts, Apple-style design, animated background, and humor */

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #0a0a0f 50%, #1a1a2e 100%);
}

/* Animated Code Rain Background */
.code-rain-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.code-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.code-rain::before {
  content: 'npx create-next-app my-empire --typescript\Anpm install @aws-sdk/legendary-skills\Areact-query useInfiniteQuery(jobOffers)\Asudo rm -rf ./competition\Aaws lambda deploy --function=hireMe\Adocker run -it genius/developer:latest\Agit commit -m "fixed hiring managers"\Aconst [salary, setSalary] = useState(100000);\Anext build && next start success\Anode -e "console.log(require(talent))"\Ayarn add @emotion/brilliance\Asudo chmod +x ./brain.exe\Aaws s3 cp ./resume s3://hired-immediately\Areact useEffect(() => { getJob() }, [])\Anpm run dev -- --port=money\Agit push heroku master --force-hire\Adocker-compose up -d career\Aapt install confidence -y\Acurl -H "Authorization: Bearer genius" /jobs\Amkdir success && cd success\Asudo systemctl start employment.service\Aaws cloudformation create-stack --template=hired\Anpx degit traditional-education trash\Ayarn workspace add unlimited-potential\Anext export --static-god-mode\Anode modules/brain.js --optimize\Agit rebase -i HEAD~4years-of-college\Asudo make me-a-sandwich && make-me-rich\Aaws ec2 run-instances --image-id=genius\Areact-dom render(<Success />, document.body)\Anpm audit fix --force-hire-me-now\Adocker build -t nextjs-ninja:latest .\Agit checkout -b millionaire-mindset\Acurl -X POST api/hire/immediately\Asudo pip install --upgrade developer-skills\Anpx create-react-component <MoneyMaker />\Aaws dynamodb put-item --table=Hired\Ayarn berry set version stable-genius\Anode --max-old-space-size=unlimited\Agit log --oneline | grep "success"\Adocker swarm init leadership-mode\Anpm run build:production-ready\Areact StrictMode.createElement(Genius)\Asudo ufw allow 80/tcp # open success\Aaws rds create-db-instance --class=genius\Anext dev --turbo --hire-me-faster';
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: calc(100% + 200px);
  white-space: pre-line;
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(0, 255, 100, 0.4);
  line-height: 2;
  animation: codeRain 35s linear infinite;
  word-spacing: 100px;
  letter-spacing: 2px;
}

.code-rain::after {
  content: 'const genius = !require("university");\Afunction skipCollege() {\A  return await this.learnByDoing();\A}\Awhile(others.study) {\A  me.build().ship().profit();\A  console.log("still learning... forever");\A}\Aif (bootcamp === true) {\A  experience++;\A} else if (degree === "CS") {\A  debt += 100000;\A  time -= 4;\A} else {\A  salary *= 2; // no comma needed\A}\Aconst portfolio = {\A  projects: ["Revolutionary", "Groundbreaking"]\A  commits: "Daily",\A  stackoverflow: "Guru status";\A  sleepHours: Math.random() * 4,\A};\Aarray.university.filter(useful => undefined);\Aawait Promise.all([getHired(), getRich()])\AsetTimeout(() => success(), 0);\Adelete requirements.degree; // syntax error intended\Aaws lambda create-function --zip-file=brain.zip\Anpx next build --experimental-genius\Areact.createElement(MoneyPrinter, {speed: "fast"})\Anode --inspect=career ./index.js\Acurl -k https://api.jobs.com/hire/now!\Asudo npm install -g success-toolkit\Agit commit -am "added more zeros to salary"\Adocker run --privileged developer:god-mode\Aaws s3api create-bucket --acl=hire-me-pls\Anpm run test -- --coverage=100percent\Agit push origin feature/get-rich-quick --force\Ayarn add @next/millionaire-plugin\Asudo chmod 777 /dev/money\Aawait db.collection("offers").insertMany(infinite)\Aconsole.warn("Degree not found. Using talent instead.")\Anpx create-startup --funded --unicorn\Areact-query useMutation(becomeMillionaire)\Asudo systemctl enable genius.service\Aaws cloudwatch put-metric-data --namespace=Success\A// while(others.debate) { me.execute(); }\A// TODO: remember to be humble... jk\Afunction traditionalPath() {\A  throw new Error("Path not found");\A}\Afunction myPath() {\A  return "Success loading... 99% complete";\A}';
  position: absolute;
  top: -150px;
  right: 0;
  width: 50%;
  height: calc(100% + 300px);
  white-space: pre-line;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 100, 150, 0.3);
  line-height: 2.5;
  animation: codeRain 30s linear infinite reverse;
  animation-delay: -15s;
}

@keyframes codeRain {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  opacity: 0.4;
  animation: float var(--duration, 20s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.floating-element:nth-child(1) { top: 10%; left: 10%; }
.floating-element:nth-child(2) { top: 20%; right: 15%; }
.floating-element:nth-child(3) { top: 60%; left: 5%; }
.floating-element:nth-child(4) { top: 70%; right: 10%; }
.floating-element:nth-child(5) { top: 30%; left: 70%; }
.floating-element:nth-child(6) { top: 80%; right: 60%; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.4; }
  25% { transform: translateY(-20px) rotate(5deg); opacity: 0.6; }
  50% { transform: translateY(-40px) rotate(-5deg); opacity: 0.8; }
  75% { transform: translateY(-20px) rotate(3deg); opacity: 0.6; }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 24px 0 24px;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Hero Title Container */
.hero-title-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

@media (max-width: 768px) {
  .hero-title-container {
    flex-direction: column;
    gap: 0;
    text-align: center;
    align-items: center;
  }
}

.hero-title-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex: 1;
}

@media (max-width: 768px) {
  .hero-title-left {
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
  }
}

.hero-title-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  flex: 1;
}

@media (max-width: 768px) {
  .hero-title-right {
    align-items: center;
    text-align: center;
    margin-top: 0;
  }
}

.title-greeting {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.title-name {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
  color: #ffffff;
}

.title-role {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.title-profession {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #00ff64;
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

/* New Seamless Tooltip Design */
.title-profession-container {
  display: inline-flex;
  align-items: flex-start;
  position: relative;
  gap: 8px;
}

.degree-tooltip {
  position: relative;
  display: inline-block;
  margin-top: 8px;
}

.tooltip-trigger {
  cursor: pointer;
  transition: all 0.3s ease;
}

.tooltip-indicator {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  position: relative;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  min-width: 180px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(20, 20, 30, 0.95);
}

.tooltip-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tooltip-highlight {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.tooltip-subtext {
  color: #a0a0a0;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}

/* Hover Effects */
.degree-tooltip:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.degree-tooltip:hover .tooltip-indicator {
  background: linear-gradient(135deg, #ff8e8e 0%, #ffb6b6 100%);
  transform: scale(1.1);
}

/* Mobile touch interactions */
@media (max-width: 768px) {
  .degree-tooltip {
    /* Show tooltip on mobile by default but with reduced opacity */
    --mobile-tooltip-opacity: 0.3;
  }
  
  .tooltip-content {
    opacity: var(--mobile-tooltip-opacity);
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.3s ease;
  }
  
  .degree-tooltip:hover .tooltip-content,
  .degree-tooltip:focus .tooltip-content,
  .degree-tooltip:active .tooltip-content {
    opacity: 1;
  }
  
  .tooltip-indicator {
    /* Make indicator slightly larger for easier touch */
    width: 20px;
    height: 20px;
    line-height: 20px;
  }
}

/* Auto-show tooltip animation on page load */
.degree-tooltip {
  animation: tooltipIntro 4s ease-in-out 2s;
}

@keyframes tooltipIntro {
  0%, 90%, 100% { 
    --temp-opacity: 0;
  }
  45%, 55% { 
    --temp-opacity: 1;
  }
}

.degree-tooltip .tooltip-content {
  opacity: var(--temp-opacity, 0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

.title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 107, 107, 0.05) 100%);
  border: 1px solid rgba(255, 107, 107, 0.4);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #ff6b6b;
  backdrop-filter: blur(10px);
  position: relative;
  margin-top: 12px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.title-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
  border-color: rgba(255, 107, 107, 0.6);
}

.badge-text {
  font-family: var(--font-primary);
}

.badge-emoji {
  font-size: 16px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Responsive Design for Title */
@media (max-width: 768px) {
  .hero-title-container {
    flex-direction: column;
    gap: 0;
    text-align: center;
    align-items: center;
  }
  
  .hero-title-left,
  .hero-title-right {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .hero-title-left {
    margin-bottom: 5px;
  }
  
  .hero-title-right {
    margin-top: 0;
  }
  
  .title-greeting {
    font-size: clamp(1rem, 4vw, 1.4rem);
    margin-bottom: 5px;
  }
  
  .title-name {
    font-size: clamp(2.5rem, 12vw, 5rem);
    margin-bottom: 10px;
  }
  
  .title-role {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 2px;
  }
  
  .title-profession {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  
  /* Mobile responsive for tooltip */
  .title-profession-container {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .degree-tooltip {
    margin-top: 4px;
  }
  
  .tooltip-content {
    min-width: 160px;
    padding: 10px 12px;
  }
  
  .tooltip-highlight {
    font-size: 12px;
  }
  
  .tooltip-subtext {
    font-size: 10px;
  }
  
  .title-badge {
    margin-top: 8px;
    align-self: center;
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 25% 50%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 75% 50%; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.highlight {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Hero Stats Cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.2s;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
  margin-bottom: 8px;
  display: block;
}

.stat-icon i {
  font-size: 2rem;
  color: #007AFF;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--font-primary);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-joke {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
  font-family: var(--font-primary);
}

/* Tech Showcase - 2025 Ultra Modern Design */
.tech-showcase {
  margin: 64px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.4s;
}

.tech-label {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;  padding: 18px 28px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  justify-content: center;
  min-height: 95px;
  min-width: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.tech-item:hover::before {
  left: 100%;
}

.tech-item:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.tech-icon {
  font-size: 28px;
  position: relative;
  z-index: 2;
  margin-bottom: 2px;
}

.tech-icon i {
  color: #ffffff !important;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-item:hover .tech-icon i {
  color: #ffffff !important;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
  transform: scale(1.15) rotate(5deg);
}

.tech-item span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

/* Hero Actions - Amazing Button Design */
.hero-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.6s;
}

.cta-primary, .cta-secondary {
  position: relative;
  padding: 18px 36px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
  justify-content: center;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Primary Button - See My Work */
.cta-primary {
  background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 122, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-primary:active {
  transform: translateY(-2px) scale(1.01);
}

/* Secondary Button - Let's Build Together */
.cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cta-secondary:hover::before {
  left: 100%;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-secondary:active {
  transform: translateY(-2px) scale(1.01);
}

/* Button Text */
.btn-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Button Icons */
.btn-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-icon i {
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta-primary:hover .btn-icon {
  transform: translateX(4px) rotate(12deg) scale(1.1);
}

.cta-secondary:hover .btn-icon {
  transform: translateX(4px) rotate(-12deg) scale(1.1);
}

/* Button Glow Effect */
.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cta-primary .btn-glow {
  background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
}

.cta-secondary .btn-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.cta-primary:hover .btn-glow,
.cta-secondary:hover .btn-glow {
  opacity: 1;
}

/* Loading States */
.cta-primary.loading,
.cta-secondary.loading {
  pointer-events: none;
  opacity: 0.8;
}

.cta-primary.loading .btn-icon i,
.cta-secondary.loading .btn-icon i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  text-align: center;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.8s;
}

.scroll-text {
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 500;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
  opacity: 0.7;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* Responsive Design for Hero */
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px;
    padding: 0 20px;
    max-width: 800px;
  }
    .tech-item {
    padding: 22px 16px;
    font-size: 13px;
    min-height: 100px;
  }
  
  .tech-icon {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }
  
  .stat-card {
    padding: 16px 12px;
    min-height: 120px;
  }
  
  .stat-icon i {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .stat-joke {
    font-size: 10px;  }  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 16px;
  }
    .tech-item {
    padding: 18px 12px;
    font-size: 12px;
    min-height: 85px;
  }
  
  .tech-icon {
    font-size: 22px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .stat-card {
    padding: 18px 16px;
    min-height: 110px;
  }
  
  .stat-icon i {
    font-size: 1.3rem;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .stat-joke {
    font-size: 9px;
  }  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 12px;
  }
    .tech-item {
    padding: 16px 10px;
    font-size: 11px;
    min-height: 75px;
  }
  
  .tech-icon {
    font-size: 20px;
  }
  
  .floating-element {
    font-size: 1.5rem;
  }
  
  .code-rain::before,
  .code-rain::after {
    font-size: 12px;
  }
}

/* Responsive Design for Hero Actions */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    max-width: 280px;
    padding: 16px 28px;
    font-size: 15px;
  }
  
  .btn-icon {
    width: 20px;
    height: 20px;
  }
  
  .btn-icon i {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title-container {
    margin-bottom: 30px;
  }
  
  .title-greeting {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    margin-bottom: 3px;
  }
  
  .title-name {
    font-size: clamp(2rem, 15vw, 4rem);
    margin-bottom: 8px;
  }
  
  .title-role {
    font-size: clamp(1.2rem, 10vw, 2rem);
    margin-bottom: 1px;
  }
  
  .title-profession {
    font-size: clamp(1.2rem, 10vw, 2rem);
    margin-bottom: 12px;
  }
  
  .title-badge {
    margin-top: 6px;
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .badge-emoji {
    font-size: 14px;
  }
  
  .cta-primary, .cta-secondary {
    max-width: 260px;
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .btn-text {
    font-size: 14px;
  }
}
