/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Main container */
.main-container {
  min-height: 100vh;
  position: relative;
}

/* Geometric background */
.geometric-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background: linear-gradient(135deg, #f7f3e9 0%, #f0e68c 50%, #daa520 100%);
}

.geometric-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: #f97316;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 0s;
}

.shape-2 {
  top: 20%;
  right: 15%;
  width: 60px;
  height: 60px;
  background: #ea580c;
  border-radius: 50%;
  animation-delay: 2s;
}

.shape-3 {
  bottom: 30%;
  left: 20%;
  width: 100px;
  height: 100px;
  background: #fbbf24;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation-delay: 4s;
}

.shape-4 {
  bottom: 15%;
  right: 25%;
  width: 70px;
  height: 70px;
  background: #f97316;
  transform: rotate(45deg);
  animation-delay: 1s;
}

.shape-5 {
  top: 50%;
  left: 5%;
  width: 50px;
  height: 50px;
  background: #ea580c;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 3s;
}

/* Content wrapper */
.content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2.5rem 1.5rem 1rem;
  text-align: center;
}

/* Header section */
.header-section {
  margin-bottom: 2rem;
}

.main-title {
  font-size: 9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #f97316;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.letter {
  display: inline-block;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
  text-shadow:
    1px 1px 0px #fb923c,
    2px 2px 0px #f97316,
    3px 3px 0px #ea580c,
    4px 4px 0px #dc2626,
    5px 5px 0px #fb923c,
    6px 6px 0px #f97316,
    7px 7px 0px #ea580c,
    8px 8px 0px #dc2626,
    9px 9px 0px #fb923c,
    10px 10px 0px #f97316,
    11px 11px 0px #ea580c,
    12px 12px 0px #dc2626,
    13px 13px 0px #fb923c,
    14px 14px 0px #f97316,
    15px 15px 30px rgba(251, 146, 60, 0.4);
}

.letter:hover {
  transform: scale(1.05);
}

.letter-a {
  animation: wiggle-1 4s ease-in-out infinite;
}

.letter-3 {
  animation: wiggle-2 3.5s ease-in-out infinite;
}

.letter-y {
  animation: wiggle-3 6s ease-in-out infinite;
}

.letter-d {
  animation: wiggle-4 3.8s ease-in-out infinite;
}

/* About section */
.about-section {
  max-width: 64rem;
  margin: 0 auto 2.5rem;
}

.about-container {
  position: relative;
}

.bg-layer {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
}

.bg-layer-1 {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(234, 88, 12, 0.2));
  transform: rotate(1deg);
}

.bg-layer-2 {
  background: linear-gradient(315deg, rgba(234, 88, 12, 0.15), rgba(251, 146, 60, 0.15));
  transform: rotate(-1deg);
  border-radius: 1rem;
}

.content-box {
  position: relative;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(12px);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(229, 231, 235, 0.3);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
}

.accent-top-left-h {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2rem;
  height: 0.25rem;
  background: rgba(251, 146, 60, 0.6);
}

.accent-top-left-v {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 0.25rem;
  height: 2rem;
  background: rgba(251, 146, 60, 0.6);
}

.accent-bottom-right-diamond {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.3), rgba(234, 88, 12, 0.3));
  transform: rotate(45deg) translate(2rem, -2rem);
}

.accent-bottom-right-h {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 2rem;
  height: 0.25rem;
  background: rgba(234, 88, 12, 0.6);
}

.accent-bottom-right-v {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 0.25rem;
  height: 2rem;
  background: rgba(234, 88, 12, 0.6);
}

.about-text {
  position: relative;
  z-index: 10;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #1a1a1a;
  text-wrap: pretty;
}

/* Contact section */
.contact-section {
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

.contact-button {
  background: #ea580c;
  color: white;
  font-size: 1.125rem;
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.contact-button:hover {
  background: rgba(234, 88, 12, 0.9);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes wiggle-1 {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes wiggle-2 {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-3deg);
  }
  40% {
    transform: rotate(2deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  80% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes wiggle-3 {
  0% {
    transform: rotate(0deg);
  }
  16% {
    transform: rotate(2deg);
  }
  33% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(4deg);
  }
  66% {
    transform: rotate(-2deg);
  }
  83% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes wiggle-4 {
  0% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(-4deg);
  }
  60% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .main-title {
    font-size: 7rem;
  }

  .content-box {
    padding: 2rem;
  }

  .about-text {
    font-size: 1.25rem;
  }

  .content-wrapper {
    padding: 2rem 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 5rem;
  }

  .about-text {
    font-size: 1.125rem;
  }
}
