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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0B0B0F;
  color: white;
  overflow-x: hidden;
}

.portfolio {
  width: 100%;
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  transition: background 0.3s ease;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 1200px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  opacity: 0;
  background: linear-gradient(90deg, #00E2FF, #2563EB, #8b5cf6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s ease-in-out infinite alternate;
}

@keyframes shine {
  0% { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #2563EB;
  margin-bottom: 3rem;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  color: #10b981;
  font-weight: 500;
}

.availability-badge .dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto 3rem;
  opacity: 0;
}

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

/* Buttons */
.btn {
  padding: 1rem 2rem;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #2563EB;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.btn-secondary {
  background: #10b981;
  color: white;
}

.btn-secondary:hover {
  background: #059669;
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid #2563EB;
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Marquee Section */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  white-space: nowrap;
  display: flex;
}

.marquee-content {
  display: inline-block;
  animation: scrollMarquee 30s linear infinite;
  color: #9ca3af;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.marquee-content span {
  padding: 0 2.5rem;
}

.marquee-content .dot-separator {
  padding: 0;
  color: #2563EB;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About Section */
.about-section {
  padding: 8rem 0;
}

.about-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: #d1d5db;
}

/* Services Section */
.services-section {
  padding: 8rem 0;
}

.services-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  text-align: center;
}

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

.service-card {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #2563EB;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
}

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

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  position: relative;
  z-index: 1;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  color: #9ca3af;
}

/* Work Section */
.work-section {
  padding: 8rem 0;
}

.work-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item:hover {
  border-color: #2563EB;
  transform: scale(1.02);
}

.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.portfolio-item[data-glow="yellow"]:hover::before {
  background: rgba(206, 203, 23, 0.4);
  opacity: 0.2;
}
.portfolio-item[data-glow="coral"]:hover::before {
  background: rgba(136, 22, 22, 0.863);
  opacity: 0.2;
}
.portfolio-item[data-glow="teal"]:hover::before {
  background: rgba(45, 140, 140, 0.8);
  opacity: 0.2;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0B0B0F 10%, rgba(11, 11, 15, 0.3) 60%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 10;
}

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

.portfolio-category {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-category-yellow { color: rgb(206, 203, 23); }
.portfolio-category-coral { color: rgba(234, 88, 12, 0.9); }
.portfolio-category-teal { color: #2dd4bf; }

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.portfolio-link-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(15, 15, 21, 0.6);
  border: 1px solid #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.portfolio-item:hover .portfolio-link-icon {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-link-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.portfolio-link-icon:hover {
  background: #0F0F15;
  border-color: #2563EB;
}

/* Philosophy Section */
.philosophy-section {
  padding: 8rem 0;
}

.philosophy-lines {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-line {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
}

.contact-content {
  text-align: center;
}

.contact-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}

.contact-info {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #d1d5db;
}

.contact-info .highlight {
  color: #2563EB;
}

.footer {
  margin-top: 8rem;
  padding-top: 3rem;
  border-top: 1px solid #374151;
  text-align: center;
}

.footer p {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #6b7280;
}
