:root {
  --yellow: #FFC000;
  --yellow-light: #FFD54F;
  --yellow-dark: #E5A800;
  --black: #1A1A1A;
  --black-light: #2D2D2D;
  --white: #FEFEFE;
  --gray: #888888;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: var(--yellow);
  color: var(--black);
  overflow-x: hidden;
}

.font-display {
  font-family: 'Nunito', sans-serif;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.logo-container {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.logo-character {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
}

.logo-character .eyes {
  animation: blink 4s infinite;
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: var(--black);
  border-radius: 2px;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.3em;
  font-weight: 700;
  margin-top: 1.5rem;
}

.hero-copy {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-top: 3rem;
  text-align: center;
  line-height: 2;
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

.scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 6rem 2rem;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-subtitle {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 4rem;
  opacity: 0.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--black);
  color: var(--white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--black-light);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--yellow);
}

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

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-desc {
  color: var(--black);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--black);
  transform: rotate(360deg) scale(1.1);
}

.service-card:hover .service-icon svg {
  stroke: var(--yellow);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--black);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.4s ease;
}

.service-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
  transition: color 0.4s ease;
}

/* ===== WORKS SECTION ===== */
.works {
  background: var(--yellow);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.work-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black);
  cursor: pointer;
  transition: transform 0.4s ease;
}

.work-item:hover {
  transform: scale(1.03);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-item:hover img {
  transform: scale(1.1);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.work-category {
  font-size: 0.75rem;
  color: var(--yellow);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.work-title {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}

/* Placeholder for works */
.work-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.1em;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--white);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-box {
  background: var(--yellow);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-image-box::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 4px solid var(--black);
  border-radius: 24px;
  z-index: -1;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-text p {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: var(--black-light);
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-tag {
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: var(--black);
  color: var(--yellow);
  transform: translateY(-3px);
}

/* ===== FLOW SECTION ===== */
.flow {
  background: var(--black);
  color: var(--white);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: var(--black-light);
  border-radius: 16px;
  border-left: 4px solid var(--yellow);
  transition: all 0.3s ease;
}

.flow-step:hover {
  transform: translateX(10px);
  background: linear-gradient(90deg, rgba(245,184,0,0.1) 0%, transparent 100%);
}

.step-number {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  min-width: 60px;
}

.step-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.8;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--yellow);
  text-align: center;
}

.contact-box {
  background: var(--white);
  border-radius: 24px;
  padding: 4rem 3rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.contact-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-box p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid var(--black);
}

.btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(5px);
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  width: 60px;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flow-step {
    flex-direction: column;
    gap: 1rem;
  }

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

  .contact-box {
    padding: 2.5rem 1.5rem;
  }
}
