/* ===== COLOR & DESIGN SYSTEM ===== */
:root {
  --color-primary: #FF0080;
  --color-secondary: #0066FF;
  --color-accent: #FF1493;
  --color-dark: #0a0a0a;
  --color-darker: #000000;
  --color-light: #ffffff;
  --color-gray-light: #f0f0f0;
  --color-gray-dark: #2a2a2a;
  
  --font-primary: 'Outfit', sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-darker);
  color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 0, 128, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo a {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: var(--transition);
}

.logo a:hover {
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-menu a {
  color: var(--color-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px;
  color: white !important;
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(0, 0, 0, 1));
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
  animation: float-reverse 8s ease-in-out infinite;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  padding: 0 var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -2px;
  word-spacing: 100vw;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-title::first-line {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  max-width: 90%;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-primary);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.cta-button.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.cta-button.primary:hover::before {
  left: 100%;
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 0, 128, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.cta-button.secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 0, 128, 0.1);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInRight 0.8s ease-out;
}

.gradient-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background: conic-gradient(
    from 0deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(40px);
  animation: rotate 6s linear infinite;
}

.floating-icon {
  width: 250px;
  height: 250px;
  position: relative;
  z-index: 2;
  animation: bobbing 3s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInDown 1s ease-out 0.8s both;
}

.scroll-arrow {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, var(--color-primary), transparent);
  margin: 0.5rem auto;
  animation: scroll-down 1.5s ease-in-out infinite;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 1), rgba(42, 42, 42, 0.5));
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.05), rgba(0, 102, 255, 0.05));
  border: 1px solid rgba(255, 0, 128, 0.2);
  border-radius: 20px;
  padding: var(--spacing-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.1), transparent);
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.1), rgba(0, 102, 255, 0.1));
  box-shadow: 0 20px 60px rgba(255, 0, 128, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.service-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.service-link:hover {
  gap: 0.5rem;
  transform: translateX(5px);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4/5;
  cursor: pointer;
  group: "portfolio";
}

.portfolio-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(0, 102, 255, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
  transform: translateY(50px);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-info h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
}

.portfolio-info p {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float-reverse 10s ease-in-out infinite;
}

.cta-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  color: white;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-section p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

.cta-section .cta-button {
  background: white;
  color: var(--color-primary);
  font-weight: 700;
}

.cta-section .cta-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1));
  border-top: 1px solid rgba(255, 0, 128, 0.1);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4,
.footer-section h5 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-light);
  font-weight: 700;
}

.footer-section h4 {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3rem;
}

.footer-section p,
.footer-section ul li {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 0, 128, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

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

@keyframes scroll-down {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 300px;
  }

  .gradient-orb {
    width: 200px;
    height: 200px;
  }

  .floating-icon {
    width: 150px;
    height: 150px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }

  .nav-container {
    padding: var(--spacing-sm);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }
}
