.home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 9%;
  background: linear-gradient(135deg, var(--bg-color) 0%, rgba(0, 0, 0, 0.05) 100%);
  min-height: 100vh;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 50px;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="smallGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23smallGrid)"/></svg>');
  pointer-events: none;
}

.home .row.full-screen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: calc(100vh - 140px);
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--text-color);
  max-width: 650px;
  flex: 1;
  animation: slideInLeft 1s ease-out;
  padding-right: 2rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-content .block {
  width: 100%;
}

.greeting {
  margin-bottom: 1rem;
}

.greeting-text {
  font-size: 1.4rem;
  color: var(--main-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.greeting-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--main-color);
}

.home-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-color) 0%, var(--main-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  word-break: break-word;
}

.professional-title {
  margin-bottom: 2rem;
}

.professional-title h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.typing-container {
  font-size: 1.6rem;
  color: var(--text-color);
  opacity: 0.8;
  min-height: 2rem;
}

.typed-text {
  font-weight: 500;
}

.cursor {
  display: inline-block;
  background-color: var(--main-color);
  margin-left: 3px;
  width: 3px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.intro-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 580px;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--main-color) 0%, #00d4ff 100%);
  color: white;
  border: 2px solid var(--main-color);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
  display: none;
}

.btn-primary:hover {
  background: transparent;
  color: var(--main-color);
  box-shadow: 0 0 15px var(--main-color);
  transform: translateY(-2px);
  border: 2px solid var(--main-color);
}

.btn-primary:hover::before {
  width: 0;
  height: 0;
}

.btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.btn-secondary:hover {
  background: var(--text-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.1) 0%, rgba(0, 150, 200, 0.05) 100%);
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.4rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--main-color) 0%, #00d4ff 100%);
  border-radius: 50%;
  z-index: -1;
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 183, 255, 0.4);
}

.social-icons a:hover::before {
  left: 0;
}

.home-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 50px;
  flex: 0 0 auto;
  position: relative;
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin-bottom: 2rem;
}

.image-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--main-color);
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.3);
  transition: all 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 180, 216, 0.5);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 180, 216, 0.1) 100%);
  pointer-events: none;
}

.floating-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 400px;
}

.stat-item {
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.08) 0%, rgba(0, 150, 200, 0.03) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid var(--main-color);
  border-radius: 15px;
  padding: 1.2rem 1.8rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 120px;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.15) 0%, rgba(0, 150, 200, 0.05) 100%);
  border-radius: 15px;
  z-index: 0;
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.4) 0%, rgba(0, 150, 200, 0.2) 100%);
  box-shadow: 0 10px 30px rgba(0, 183, 255, 0.3), inset 0 0 10px rgba(0, 183, 255, 0.2);
}

.stat-item:hover::before {
  left: 0;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .home {
    padding: 0 6%;
  }

  .home-content {
    max-width: 600px;
  }

  .home-content h1 {
    font-size: 4rem;
  }

  .professional-title h2 {
    font-size: 2rem;
  }

  .image-container {
    width: 380px;
    height: 380px;
  }

  .home-image {
    margin-left: 30px;
  }
}

@media (max-width: 1024px) {
  .home {
    padding: 0 5%;
    height: auto;
    margin-top: 70px;
    min-height: 100vh;
    padding-bottom: 2rem;
  }

  .home .row.full-screen {
    flex-direction: column;
    height: auto;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
  }

  .home-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
    order: 2;
  }

  .home-image {
    order: 1;
    margin-left: 0;
    margin-bottom: 0;
  }

  .home-content h1 {
    font-size: 3.5rem;
  }

  .professional-title h2 {
    font-size: 1.8rem;
  }

  .image-container {
    width: 320px;
    height: 320px;
  }

  .floating-stats {
    margin-top: 1.5rem;
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .greeting-text::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .home {
    padding: 0 4%;
    margin-top: 80px;
    padding-bottom: 1.5rem;
  }

  .home .row.full-screen {
    gap: 2.5rem;
  }

  .home-content {
    padding: 0 1rem;
  }

  .home-content h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .professional-title h2 {
    font-size: 1.6rem;
  }

  .typing-container {
    font-size: 1.4rem;
  }

  .intro-description {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .image-container {
    width: 280px;
    height: 280px;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .floating-stats {
    gap: 1rem;
    padding: 0 1rem;
  }

  .stat-item {
    padding: 1rem 1.3rem;
    min-width: 110px;
  }

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

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

  .social-icons a {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .home {
    padding: 0 3%;
    margin-top: 80px;
    padding-bottom: 1rem;
  }

  .home .row.full-screen {
    gap: 2rem;
  }

  .home-content {
    padding: 0 0.5rem;
  }

  .greeting-text {
    font-size: 1.2rem;
  }

  .home-content h1 {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.8rem;
  }

  .professional-title {
    margin-bottom: 1.5rem;
  }

  .professional-title h2 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .typing-container {
    font-size: 1.2rem;
  }

  .intro-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0;
  }

  .image-container {
    width: 240px;
    height: 240px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 0;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .floating-stats {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
  }

  .stat-item {
    width: 100%;
    max-width: 220px;
    padding: 0.8rem 1rem;
    margin: 0 auto;
  }

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

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

  .social-icons {
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 360px) {
  .home {
    padding: 0 2%;
  }

  .home-content h1 {
    font-size: 2.2rem;
  }

  .professional-title h2 {
    font-size: 1.3rem;
  }

  .typing-container {
    font-size: 1.1rem;
  }

  .intro-description {
    font-size: 0.9rem;
  }

  .image-container {
    width: 220px;
    height: 220px;
  }

  .btn-primary, .btn-secondary {
    max-width: 260px;
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .stat-item {
    max-width: 200px;
    padding: 0.7rem 0.8rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .home-content {
    margin-bottom: 2rem;
  }

  .image-container {
    width: 350px;
    height: 350px;
  }

  .floating-stats {
    margin-top: 2rem;
  }
}
