/* CSS Variables - Black & White Theme with Hero Yellow Accent */
:root {
  --primary-black: #000000;
  --secondary-black: #1a1a1a;
  --dark-gray: #2d2d2d;
  --medium-gray: #4a4a4a;
  --light-gray: #6c6c6c;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --accent-white: #e9ecef;
  --hero-yellow: #FFD700;
  --hero-yellow-dark: #FFA500;
  --hero-yellow-light: #FFF8DC;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --perspective-distance: 1.2;
  --video-brightness: 0.9;
  --video-contrast: 1.0;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn--primary {
  background-color: var(--primary-black);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--dark-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background-color: var(--white);
  color: var(--primary-black);
  border: 2px solid var(--primary-black);
}

.btn--secondary:hover {
  background-color: var(--primary-black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid var(--accent-white);
}

.navbar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo h2 {
  color: var(--primary-black);
  margin: 0;
  font-weight: 700;
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar__link {
  text-decoration: none;
  color: var(--medium-gray);
  font-weight: 500;
  transition: var(--transition);
}

.navbar__link:hover {
  color: var(--primary-black);
}

.navbar__link--kakao {
  background-color: #FEE500;
  color: #000000 !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(254, 229, 0, 0.3);
}

.navbar__link--kakao:hover {
  background-color: #FFD700;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
}

.navbar__mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.navbar__mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-black);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-black);
}

/* Dynamic Background */
.hero__dynamic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero__bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.hero__floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--hero-yellow), var(--hero-yellow-dark));
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero__floating-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero__floating-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.hero__floating-3 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.hero__floating-4 {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 30%;
  animation-delay: 1s;
}

.hero__floating-5 {
  width: 90px;
  height: 90px;
  top: 15%;
  right: 60%;
  animation-delay: 3s;
}

.hero__floating-6 {
  width: 110px;
  height: 110px;
  bottom: 20%;
  right: 10%;
  animation-delay: 5s;
}

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

/* Particles Animation */
.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--hero-yellow);
  border-radius: 50%;
  animation: particleFloat 8s linear infinite;
  opacity: 0.6;
}

.hero__particle--1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero__particle--2 {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.hero__particle--3 {
  top: 40%;
  left: 20%;
  animation-delay: 4s;
}

.hero__particle--4 {
  top: 80%;
  left: 70%;
  animation-delay: 1s;
}

.hero__particle--5 {
  top: 30%;
  left: 90%;
  animation-delay: 3s;
}

.hero__particle--6 {
  top: 70%;
  left: 30%;
  animation-delay: 5s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* Dynamic Lines */
.hero__lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.hero__line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hero-yellow), transparent);
  animation: lineMove 6s linear infinite;
  opacity: 0.3;
}

.hero__line--1 {
  width: 200px;
  top: 25%;
  left: -200px;
  animation-delay: 0s;
}

.hero__line--2 {
  width: 150px;
  top: 65%;
  left: -150px;
  animation-delay: 2s;
}

.hero__line--3 {
  width: 180px;
  top: 45%;
  left: -180px;
  animation-delay: 4s;
}

@keyframes lineMove {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(calc(100vw + 200px));
    opacity: 0;
  }
}

/* Background Video Styles */
.hero__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

.hero__video-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(
      circle at center,
      transparent 0%,
      rgba(0, 0, 0, 0.02) 30%,
      rgba(0, 0, 0, 0.05) 60%,
      rgba(0, 0, 0, 0.1) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.2);
  transition: all 0.5s ease;
  min-width: 100%;
  min-height: 100%;
  opacity: 0;
  filter: brightness(var(--video-brightness)) contrast(var(--video-contrast)) saturate(0.9);
  position: relative;
  z-index: 0;
  will-change: transform;
}

/* .hero__video-overlay removed */

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero__badge {
  display: inline-block;
  background: var(--hero-yellow);
  color: var(--primary-black);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
  border: 2px solid var(--hero-yellow-dark);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

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

.hero__title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.3);
  line-height: 1.1;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 0.2s; }
.hero__title-line:nth-child(2) { animation-delay: 0.4s; }
.hero__title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__subtitle {
  font-size: 1.3rem;
  color: var(--hero-yellow-light);
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 215, 0, 0.2);
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
}

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

/* Professional Service Buttons */
.hero__service-buttons {
  margin-bottom: 3rem;
}

.service-button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-btn::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.5s;
}

.service-btn:hover::before {
  left: 100%;
}

.service-btn--primary {
  background: var(--hero-yellow);
  color: var(--primary-black);
  border-color: var(--hero-yellow);
  font-weight: 700;
}

.service-btn--primary:hover {
  background: var(--hero-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.service-btn--secondary {
  background: transparent;
  color: var(--hero-yellow);
  border-color: var(--hero-yellow);
  font-weight: 600;
}

.service-btn--secondary:hover {
  background: var(--hero-yellow);
  color: var(--primary-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.service-btn--tertiary {
  background: var(--primary-black);
  color: var(--hero-yellow);
  border-color: var(--hero-yellow);
  font-weight: 600;
}

.service-btn--tertiary:hover {
  background: var(--hero-yellow);
  color: var(--primary-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.service-btn__icon {
  font-size: 1.2rem;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.hero__stat {
  text-align: center;
  color: var(--white);
}

.hero__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--hero-yellow);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 215, 0, 0.3);
}

.hero__stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hero Visual - 3D Interactive Preview */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
}

.hero__3d-preview {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 500px;
  transform-style: preserve-3d;
}

/* Device Stack */
.hero__device-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.hero__device {
  position: absolute;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

.hero__device--desktop {
  width: 400px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateY(-15deg) rotateX(10deg);
  animation: deviceFloat 6s ease-in-out infinite;
}

.hero__device--tablet {
  width: 200px;
  height: 150px;
  top: 20%;
  right: 10%;
  transform: rotateY(25deg) rotateX(-5deg);
  animation: deviceFloat 6s ease-in-out infinite 2s;
}

.hero__device--mobile {
  width: 120px;
  height: 200px;
  bottom: 20%;
  left: 10%;
  transform: rotateY(-20deg) rotateX(15deg);
  animation: deviceFloat 6s ease-in-out infinite 4s;
}

.hero__device-frame {
  width: 100%;
  height: 100%;
  background: var(--primary-black);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--hero-yellow);
}

.hero__device-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

@keyframes deviceFloat {
  0%, 100% {
    transform: translateY(0px) rotateY(-15deg) rotateX(10deg);
  }
  50% {
    transform: translateY(-15px) rotateY(-10deg) rotateX(15deg);
  }
}

/* Website Preview Content */
.hero__website-preview {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  padding: 15px;
}

.hero__preview-header {
  height: 30px;
  background: var(--primary-black);
  border-radius: 6px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.hero__preview-nav {
  display: flex;
  gap: 8px;
}

.hero__preview-nav-item {
  width: 8px;
  height: 8px;
  background: var(--hero-yellow);
  border-radius: 50%;
  animation: navPulse 2s ease-in-out infinite;
}

.hero__preview-nav-item:nth-child(2) { animation-delay: 0.5s; }
.hero__preview-nav-item:nth-child(3) { animation-delay: 1s; }

@keyframes navPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero__preview-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__preview-hero {
  height: 40px;
  background: linear-gradient(90deg, var(--hero-yellow), var(--hero-yellow-dark));
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.hero__preview-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero__preview-cards {
  display: flex;
  gap: 8px;
}

.hero__preview-card {
  flex: 1;
  height: 30px;
  background: var(--accent-white);
  border-radius: 4px;
  border: 1px solid var(--light-gray);
}

/* Mobile Preview */
.hero__mobile-preview {
  width: 100%;
  height: 100%;
  background: var(--white);
  padding: 10px;
}

.hero__mobile-header {
  height: 20px;
  background: var(--primary-black);
  border-radius: 4px;
  margin-bottom: 10px;
}

.hero__mobile-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__mobile-card {
  height: 15px;
  background: var(--accent-white);
  border-radius: 3px;
  border: 1px solid var(--light-gray);
}

/* Floating Code Elements */
.hero__code-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__code-block {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 10px;
  color: var(--hero-yellow);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--hero-yellow);
  animation: codeFloat 8s ease-in-out infinite;
}

.hero__code-block--html {
  top: 10%;
  left: -20%;
  animation-delay: 0s;
}

.hero__code-block--css {
  top: 60%;
  right: -15%;
  animation-delay: 2s;
}

.hero__code-block--js {
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

.hero__code-line {
  height: 8px;
  background: var(--hero-yellow);
  border-radius: 2px;
  margin-bottom: 4px;
  animation: codeTyping 3s ease-in-out infinite;
}

.hero__code-line:nth-child(2) { animation-delay: 0.5s; }
.hero__code-line:nth-child(3) { animation-delay: 1s; }

@keyframes codeFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
    opacity: 1;
  }
}

@keyframes codeTyping {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 100%; }
}

/* Performance Metrics */
.hero__metrics {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 25px;
  border-radius: 25px;
  border: 2px solid var(--hero-yellow);
  backdrop-filter: blur(10px);
}

.hero__metric {
  text-align: center;
  color: var(--white);
  animation: metricPulse 4s ease-in-out infinite;
}

.hero__metric--speed { animation-delay: 0s; }
.hero__metric--score { animation-delay: 1s; }
.hero__metric--seo { animation-delay: 2s; }

.hero__metric-icon {
  font-size: 1.5rem;
  margin-bottom: 5px;
  animation: iconBounce 2s ease-in-out infinite;
}

.hero__metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hero-yellow);
  margin-bottom: 2px;
}

.hero__metric-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

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

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

/* Section Styles */
.section__title {
  text-align: center;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.section__subtitle {
  text-align: center;
  color: var(--medium-gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Services Section */
.services {
  padding: 120px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

/* Services Dynamic Background */
.services__dynamic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services__bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.services__floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-black), var(--dark-gray));
  opacity: 0.05;
  animation: servicesFloat 8s ease-in-out infinite;
}

.services__floating-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.services__floating-2 {
  width: 180px;
  height: 180px;
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}

.services__floating-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

.services__floating-4 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 25%;
  animation-delay: 6s;
}

@keyframes servicesFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(-15px) rotate(240deg) scale(0.9);
  }
}

/* Services Video Background */
.services__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(26, 26, 26, 0.9) 0%, 
    rgba(45, 45, 45, 0.8) 50%, 
    rgba(26, 26, 26, 0.9) 100%
  );
  z-index: 2;
}

.services__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}

/* Services Header */
.services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__badge {
  display: inline-block;
  background: var(--primary-black);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: servicesPulse 3s infinite;
  border: 1px solid var(--white);
}

@keyframes servicesPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(242, 82, 112, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(242, 82, 112, 0);
  }
}

.services__title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background: linear-gradient(45deg, var(--white), var(--accent-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services__subtitle {
  font-size: 1.3rem;
  color: #cccccc;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.service__card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 0;
  text-align: left;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--white);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3);
}

.service__card-inner {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.service__icon-container {
  position: relative;
  margin-bottom: 2rem;
}

.service__icon {
  font-size: 3.5rem;
  position: relative;
  z-index: 2;
}

.service__icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-black), var(--dark-gray));
  border-radius: 50%;
  opacity: 0.2;
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.service__content h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service__content p {
  color: #cccccc;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service__feature {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service__hover-effect {
  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.6s ease;
}

.service__card:hover .service__hover-effect {
  left: 100%;
}

/* Services CTA Section */
.services__cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.services__stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.services__stat {
  text-align: center;
  color: var(--white);
}

.services__stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.services__stat-label {
  font-size: 1rem;
  color: #cccccc;
  font-weight: 500;
}

.services__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--primary-black);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  position: relative;
  overflow: hidden;
}

.services__cta-btn::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.5s;
}

.services__cta-btn:hover::before {
  left: 100%;
}

.services__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background: var(--white);
  color: var(--primary-black);
}

.services__cta-icon {
  font-size: 1.3rem;
}

.services__cta-text {
  font-weight: 700;
}

/* About Section */
.about {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* About Section Background Video */
.about__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.about__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 249, 250, 0.9);
  z-index: -1;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__description {
  font-size: 1.1rem;
  color: var(--medium-gray);
  margin-bottom: 2rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat__item {
  text-align: center;
}

.stat__item h3 {
  font-size: 2.5rem;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

.stat__item p {
  color: var(--medium-gray);
  margin: 0;
}

.about__mockup {
  display: flex;
  justify-content: center;
}

.mockup__team {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.team__member {
  width: 80px;
  height: 80px;
  background: var(--accent-white);
  border-radius: 50%;
  border: 4px solid var(--primary-black);
}

/* Portfolio Section */
.portfolio {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
  position: relative;
  overflow: hidden;
}

/* Dynamic Background */
.portfolio__dynamic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.portfolio__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.portfolio__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Floating Elements */
.portfolio__floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.portfolio__floating-element {
  position: absolute;
  background: var(--hero-yellow);
  border-radius: 50%;
  opacity: 0.1;
  animation: portfolioFloat 15s ease-in-out infinite;
}

.portfolio__floating-1 {
  width: 60px;
  height: 60px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.portfolio__floating-2 {
  width: 40px;
  height: 40px;
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.portfolio__floating-3 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.portfolio__floating-4 {
  width: 30px;
  height: 30px;
  top: 60%;
  right: 25%;
  animation-delay: 6s;
}

.portfolio__floating-5 {
  width: 50px;
  height: 50px;
  bottom: 15%;
  right: 10%;
  animation-delay: 8s;
}

.portfolio__floating-6 {
  width: 70px;
  height: 70px;
  top: 40%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes portfolioFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.3;
  }
}

/* Grid Lines */
.portfolio__grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.portfolio__grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--hero-yellow), transparent);
  opacity: 0.1;
  animation: portfolioLineMove 20s linear infinite;
}

.portfolio__grid-line--horizontal {
  width: 100%;
  height: 1px;
  top: 25%;
}

.portfolio__grid-line--vertical {
  width: 1px;
  height: 100%;
  left: 33%;
}

.portfolio__grid-line--diagonal {
  width: 2px;
  height: 200%;
  top: -50%;
  left: 66%;
  transform: rotate(45deg);
}

@keyframes portfolioLineMove {
  0% {
    opacity: 0.1;
    transform: scaleX(0);
  }
  50% {
    opacity: 0.3;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.1;
    transform: scaleX(0);
  }
}

.portfolio__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Portfolio Header */
.portfolio__header {
  text-align: center;
  margin-bottom: 4rem;
}

.portfolio__badge {
  display: inline-block;
  background: var(--hero-yellow);
  color: var(--primary-black);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: portfolioPulse 3s ease-in-out infinite;
}

@keyframes portfolioPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

.portfolio__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--hero-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio__subtitle {
  font-size: 1.2rem;
  color: var(--light-gray);
  margin: 0;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.portfolio__item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.portfolio__item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(255, 215, 0, 0.2);
  border-color: var(--hero-yellow);
}

.portfolio__item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio__image-container {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.portfolio__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio__item:hover .portfolio__image {
  transform: scale(1.05);
}

.portfolio__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__overlay-content {
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.portfolio__overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--hero-yellow);
}

.portfolio__overlay-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.portfolio__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio__tag {
  background: var(--hero-yellow);
  color: var(--primary-black);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Portfolio View Button */
.portfolio__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hero-yellow);
  color: var(--primary-black);
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  border: 2px solid transparent;
}

.portfolio__view-btn:hover {
  background: var(--white);
  color: var(--primary-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  border-color: var(--hero-yellow);
}

.portfolio__view-btn-icon {
  font-size: 1rem;
}

.portfolio__info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio__info h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.portfolio__info p {
  color: var(--accent-white);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.portfolio__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio__feature {
  color: var(--hero-yellow-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Placeholder Item Styles */
.portfolio__item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.portfolio__placeholder {
  text-align: center;
  color: var(--accent-white);
  padding: 2rem;
}

.portfolio__placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.portfolio__placeholder h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.portfolio__placeholder p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

.portfolio__tech-stack {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  background: var(--hero-yellow);
  color: var(--primary-black);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.portfolio__view-btn {
  align-self: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-black);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio__view-btn:hover {
  background: var(--hero-yellow);
  transform: scale(1.05);
}

/* Mockup Styles */
.portfolio__mockup {
  width: 90%;
  height: 90%;
  background: var(--white);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.portfolio__item:hover .portfolio__mockup {
  transform: translate(-50%, -50%) scale(1.05);
}

/* Shopping Mockup */
.portfolio__mockup--shopping {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
}

.mockup__nav {
  display: flex;
  gap: 8px;
}

.mockup__nav-item {
  width: 20px;
  height: 4px;
  background: var(--medium-gray);
  border-radius: 2px;
}

.mockup__search {
  width: 60px;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
}

.mockup__product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup__product {
  background: var(--white);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mockup__product-image {
  width: 100%;
  height: 40px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mockup__product-title {
  width: 80%;
  height: 6px;
  background: var(--medium-gray);
  border-radius: 3px;
  margin-bottom: 4px;
}

.mockup__product-price {
  width: 60%;
  height: 6px;
  background: var(--hero-yellow);
  border-radius: 3px;
}

/* Corporate Mockup */
.portfolio__mockup--corporate {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.mockup__logo {
  width: 40px;
  height: 12px;
  background: var(--primary-black);
  border-radius: 2px;
}

.mockup__hero {
  text-align: center;
  margin: 20px 0;
}

.mockup__hero-title {
  width: 80%;
  height: 12px;
  background: var(--primary-black);
  border-radius: 6px;
  margin: 0 auto 8px;
}

.mockup__hero-subtitle {
  width: 60%;
  height: 8px;
  background: var(--medium-gray);
  border-radius: 4px;
  margin: 0 auto;
}

.mockup__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.mockup__service {
  text-align: center;
}

.mockup__service-icon {
  width: 20px;
  height: 20px;
  background: var(--hero-yellow);
  border-radius: 50%;
  margin: 0 auto 8px;
}

.mockup__service-title {
  width: 100%;
  height: 6px;
  background: var(--medium-gray);
  border-radius: 3px;
}

/* Booking Mockup */
.portfolio__mockup--booking {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.mockup__calendar {
  margin-bottom: 15px;
}

.mockup__calendar-header {
  width: 100%;
  height: 10px;
  background: var(--primary-black);
  border-radius: 5px;
  margin-bottom: 10px;
}

.mockup__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.mockup__calendar-day {
  width: 100%;
  height: 20px;
  background: var(--white);
  border-radius: 3px;
  border: 1px solid #dee2e6;
}

.mockup__booking-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup__form-field {
  width: 100%;
  height: 8px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.mockup__form-button {
  width: 60%;
  height: 10px;
  background: var(--hero-yellow);
  border-radius: 5px;
  align-self: center;
}

/* Portfolio Info */
.portfolio__info {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
}

.portfolio__category {
  display: inline-block;
  background: var(--hero-yellow);
  color: var(--primary-black);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.portfolio__info h3 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.portfolio__info p {
  color: var(--light-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.portfolio__stats {
  display: flex;
  gap: 1.5rem;
}

.portfolio__stat {
  text-align: center;
}

.portfolio__stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hero-yellow);
  margin-bottom: 0.3rem;
}

.portfolio__stat-label {
  font-size: 0.8rem;
  color: var(--light-gray);
}

/* Portfolio CTA */
.portfolio__cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio__cta-content h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.portfolio__cta-content p {
  color: var(--light-gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.portfolio__cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.portfolio__cta-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.portfolio__cta-btn--primary {
  background: var(--hero-yellow);
  color: var(--primary-black);
}

.portfolio__cta-btn--primary:hover {
  background: var(--hero-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.portfolio__cta-btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--hero-yellow);
}

.portfolio__cta-btn--secondary:hover {
  background: var(--hero-yellow);
  color: var(--primary-black);
  transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial__card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--hero-yellow);
}

.testimonial__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial__rating {
  display: flex;
  gap: 2px;
}

.testimonial__rating .star {
  color: #FFD700;
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(255, 215, 0, 0.3));
}

.testimonial__date {
  color: var(--light-gray);
  font-size: 0.85rem;
  font-weight: 500;
}

.testimonial__content {
  margin-bottom: 1.5rem;
}

.testimonial__content p {
  color: var(--dark-gray);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1rem;
}

.testimonial__content p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2rem;
  color: var(--hero-yellow);
  font-family: serif;
  line-height: 1;
}

.testimonial__author {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial__info h4 {
  color: var(--primary-black);
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial__info span {
  color: var(--medium-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--white);
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact__info h3 {
  color: var(--primary-black);
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__icon {
  font-size: 1.5rem;
}

.contact__form {
  background: var(--off-white);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--primary-black);
}

/* Footer */
.footer {
  background-color: var(--primary-black);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer__section h3,
.footer__section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__section ul {
  list-style: none;
}

.footer__section ul li {
  margin-bottom: 0.5rem;
}

.footer__section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer__section a:hover {
  color: var(--accent-white);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
  color: var(--light-gray);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

/* 개선된 카카오톡 상담 위젯 스타일 */
.chat-widget__button {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FEE500, #FFD700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(254, 229, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.chat-widget__button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(254, 229, 0, 0.6);
}

.chat-widget__icon {
  font-size: 1.5rem;
  color: #000;
  z-index: 2;
}

.chat-widget__pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(254, 229, 0, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.chat-widget__popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.chat-widget__popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.chat-widget__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-widget__title-icon {
  font-size: 1.5rem;
}

.chat-widget__title-text h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.chat-widget__title-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
}

.chat-widget__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chat-widget__close:hover {
  background: #f5f5f5;
  color: #333;
}

.chat-widget__content {
  padding: 1.5rem;
}

.chat-widget__welcome {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
}

.chat-widget__welcome-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.chat-widget__welcome h5 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 1.1rem;
}

.chat-widget__welcome p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-widget__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.chat-widget__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: #f8f9fa;
}

.chat-widget__option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chat-widget__option--primary {
  background: linear-gradient(135deg, #FEE500, #FFD700);
  color: #000;
}

.chat-widget__option--primary:hover {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

.chat-widget__option--secondary {
  background: #f8f9fa;
  color: #333;
}

.chat-widget__option--secondary:hover {
  background: #e9ecef;
  color: #333;
}

.chat-widget__option-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.chat-widget__option-content {
  flex: 1;
}

.chat-widget__option-content h6 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.chat-widget__option-content p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
}

.chat-widget__option-arrow {
  font-size: 1.2rem;
  color: #999;
  transition: transform 0.3s ease;
}

.chat-widget__option:hover .chat-widget__option-arrow {
  transform: translateX(3px);
}

.chat-widget__footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.chat-widget__footer p {
  margin: 0;
  font-size: 0.75rem;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar__menu {
    display: none;
  }
  
  .navbar__mobile-toggle {
    display: flex;
  }
  
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__service-buttons {
    justify-content: center;
  }
  
  .service-button-group {
    flex-direction: column;
    align-items: center;
  }
  
  .hero__stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero__3d-preview {
    max-width: 400px;
    height: 350px;
  }
  
  .hero__device--desktop {
    width: 280px;
    height: 180px;
  }
  
  .hero__device--tablet {
    width: 140px;
    height: 100px;
    top: 15%;
    right: 5%;
  }
  
  .hero__device--mobile {
    width: 80px;
    height: 140px;
    bottom: 15%;
    left: 5%;
  }
  
  .hero__code-elements {
    display: none;
  }
  
  .hero__metrics {
    bottom: -40px;
    padding: 10px 15px;
    gap: 15px;
  }
  
  .hero__metric-value {
    font-size: 1rem;
  }
  
  .hero__metric-label {
    font-size: 0.7rem;
  }
  
  .about__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .services__title {
    font-size: 2.5rem;
  }
  
  .services__stats {
    gap: 2rem;
  }
  
  .services__cta {
    padding: 2rem;
  }
  
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .portfolio__item {
    margin-bottom: 1rem;
  }
  
  .portfolio__image-container {
    height: 200px;
  }
  
  .portfolio__info {
    padding: 1rem;
  }
  
  .portfolio__overlay-content {
    padding: 1rem;
  }
  
  .portfolio__overlay-content h3 {
    font-size: 1.3rem;
  }
  
  .portfolio__tags {
    gap: 0.3rem;
  }
  
  .portfolio__tag {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  .portfolio__view-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    margin-top: 1rem;
  }
  
  .portfolio__view-btn-icon {
    font-size: 0.9rem;
  }
  
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .portfolio__title {
    font-size: 2.5rem;
  }
  
  .portfolio__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .portfolio__cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .portfolio__stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .portfolio__image {
    height: 250px;
  }
  
  .portfolio__mockup {
    width: 85%;
    height: 85%;
    padding: 15px;
  }
  
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial__card {
    padding: 1.2rem;
  }
  
  .testimonial__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .testimonial__rating {
    gap: 1px;
  }
  
  .testimonial__rating .star {
    font-size: 1rem;
  }
  
  .testimonial__content p {
    font-size: 0.9rem;
    padding-left: 0.8rem;
  }
  
  .testimonial__content p::before {
    font-size: 1.5rem;
  }
  

  
  .testimonial__info h4 {
    font-size: 1rem;
  }
  
  .testimonial__info span {
    font-size: 0.8rem;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer__section {
    margin-bottom: 1rem;
  }
  
  .footer__section h4 {
    margin-bottom: 0.8rem;
  }
  
  .footer__section p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  
  .chat-widget {
    bottom: 1rem;
    right: 1rem;
  }
  
  .chat-widget__popup {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }
  
  .section__title {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero__buttons {
    flex-direction: column;
  }
  
  .about__stats {
    grid-template-columns: 1fr;
  }
  
  .portfolio__title {
    font-size: 2rem;
  }
  
  .portfolio__subtitle {
    font-size: 1rem;
  }
  
  .portfolio__cta {
    padding: 2rem;
  }
  
  .portfolio__cta-content h3 {
    font-size: 1.5rem;
  }
  
  .portfolio__cta-content p {
    font-size: 1rem;
  }
  
  .portfolio__info {
    padding: 1.5rem;
  }
  
  .portfolio__info h3 {
    font-size: 1.2rem;
  }
  
  .tech-tag {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
}

/* Login Modal Styles */
.login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.login-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-modal__content {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--accent-white);
}

.login-modal__header h3 {
  margin: 0;
  color: var(--primary-black);
  font-size: 1.5rem;
}

.login-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--medium-gray);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.login-modal__close:hover {
  background-color: var(--accent-white);
  color: var(--primary-black);
}

.login-modal__body {
  padding: 1.5rem;
}

.login-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-white);
}

.login-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--medium-gray);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.login-tab.active {
  color: var(--primary-black);
  border-bottom-color: var(--hero-yellow);
}

.login-tab:hover {
  color: var(--primary-black);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form .form__group {
  display: flex;
  flex-direction: column;
}

.login-form input {
  padding: 0.75rem;
  border: 1px solid var(--accent-white);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.login-form input:focus {
  outline: none;
  border-color: var(--hero-yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.login-form .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.social-login {
  margin-top: 1.5rem;
  text-align: center;
}

.social-login p {
  margin-bottom: 1rem;
  color: var(--medium-gray);
  font-size: 0.9rem;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--accent-white);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--primary-black);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-btn--google:hover {
  border-color: #4285f4;
  color: #4285f4;
}

.social-btn--kakao:hover {
  border-color: #FEE500;
  color: #000;
  background-color: #FEE500;
}

.social-btn--naver:hover {
  border-color: #03C75A;
  color: #03C75A;
}

/* Login link styles */
.navbar__link--login {
  background: linear-gradient(45deg, var(--hero-yellow), var(--hero-yellow-dark));
  color: var(--primary-black) !important;
  font-weight: 600;
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.navbar__link--login:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: linear-gradient(45deg, var(--hero-yellow-dark), var(--hero-yellow));
}

/* Admin link styles */
.navbar__link--admin {
  background: linear-gradient(45deg, var(--primary-black), var(--dark-gray));
  color: var(--white) !important;
  font-weight: 600;
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.navbar__link--admin:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: linear-gradient(45deg, var(--dark-gray), var(--primary-black));
}

/* Responsive adjustments for login modal */
@media (max-width: 768px) {
  .login-modal__content {
    width: 95%;
    margin: 1rem;
  }
  
  .login-modal__header {
    padding: 1rem;
  }
  
  .login-modal__body {
    padding: 1rem;
  }
  
  .social-buttons {
    gap: 0.5rem;
  }
  
  .social-btn {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}

/* 토스트 메시지 애니메이션 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
