/* Yugen - Online Art Marketplace Landing Page Styles */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.nav-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #000;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white;
  padding: 120px 0 80px;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(45deg, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: white;
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  background: #f8f8f8;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #000;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 400px;
}

.art-piece {
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.art-piece:hover {
  transform: scale(1.05);
}

.art-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #333, #666);
  animation: gradientShift 3s ease-in-out infinite;
}

.art-piece-1 .art-placeholder {
  background: linear-gradient(45deg, #000, #333);
}

.art-piece-2 .art-placeholder {
  background: linear-gradient(45deg, #333, #666);
}

.art-piece-3 .art-placeholder {
  background: linear-gradient(45deg, #666, #999);
}

.art-piece-4 .art-placeholder {
  background: linear-gradient(45deg, #000, #333);
}

/* Auto-scrolling Art Gallery */
.art-gallery {
  width: 300px;
  height: 400px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.art-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.art-slide.active {
  opacity: 1;
}

/* Art Styles */
.art-slide-1 {
  background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.art-slide-2 {
  background: linear-gradient(45deg, #2c3e50, #34495e, #3498db, #2980b9);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.art-slide-3 {
  background: linear-gradient(45deg, #e74c3c, #c0392b, #e67e22, #d35400);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.art-slide-4 {
  background: linear-gradient(45deg, #27ae60, #2ecc71, #16a085, #1abc9c);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.art-slide-5 {
  background: linear-gradient(45deg, #8e44ad, #9b59b6, #e91e63, #ad1457);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.art-slide-6 {
  background: linear-gradient(45deg, #8e44ad, #9b59b6, #e91e63, #ad1457);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

/* Canvas Frame */
.art-gallery::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: #333;
  border-radius: 8px;
  z-index: -1;
}

/* Art Details */
.art-slide::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slideTransition {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Individual slide animations */
.art-slide-1 {
  animation: slideTransition 36s infinite;
}
.art-slide-2 {
  animation: slideTransition 36s infinite 6s;
}
.art-slide-3 {
  animation: slideTransition 36s infinite 12s;
}
.art-slide-4 {
  animation: slideTransition 36s infinite 18s;
}
.art-slide-5 {
  animation: slideTransition 36s infinite 24s;
}
.art-slide-6 {
  animation: slideTransition 36s infinite 30s;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: linear-gradient(
      rgba(248, 250, 252, 0.9),
      rgba(248, 250, 252, 0.9)
    ),
    url("https://images.unsplash.com/photo-1527236627986-8c546b0c2635?q=80&w=1474&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1e293b;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #000, #333);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 100px 0;
  background: white;
}

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

.about-description {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.community-message {
  font-weight: bold;
}

.about-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-image {
  width: 100%;
  max-width: 500px;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(45deg, #000, #333);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 40%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 60%
    );
  animation: float 6s ease-in-out infinite;
}

/* Art Community Graphic */
.image-placeholder::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 70%
    ),
    conic-gradient(
      from 0deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent
    );
  border-radius: 50%;
  animation: communityPulse 4s ease-in-out infinite;
}

/* Community Connection Lines */
.image-placeholder .community-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      90deg,
      transparent 45%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 55%
    ),
    linear-gradient(
      0deg,
      transparent 45%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 55%
    ),
    linear-gradient(
      45deg,
      transparent 45%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 55%
    ),
    linear-gradient(
      -45deg,
      transparent 45%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 55%
    );
  animation: communityConnect 8s ease-in-out infinite;
}

@keyframes communityPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

@keyframes communityConnect {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

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

/* Waitlist Section */
.waitlist {
  padding: 100px 0;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white;
}

.waitlist-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.waitlist .section-title {
  color: white;
}

.waitlist-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
}

.waitlist-form {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.form-group select option {
  background: #000;
  color: white;
}

.waitlist-benefits {
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
}

.waitlist-benefits h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.waitlist-benefits ul {
  list-style: none;
}

.waitlist-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.waitlist-benefits i {
  color: #fff;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.footer-section p {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #000;
  transform: translateY(-2px);
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

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

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  padding: 2rem 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #1e293b;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #64748b;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #1e293b;
}

.modal-body {
  padding: 0 2rem 2rem;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: #ffd700;
  margin-bottom: 1rem;
  animation: successIconAnimation 1.5s ease-in-out forwards;
}

@keyframes successIconAnimation {
  0% {
    transform: scale(0) rotate(-180deg);
    color: #000;
  }
  50% {
    transform: scale(1.2) rotate(0deg);
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
  100% {
    transform: scale(1) rotate(0deg);
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

.success-icon i {
  animation: checkmarkShine 2s ease-in-out 0.5s infinite;
}

@keyframes checkmarkShine {
  0%,
  100% {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
  50% {
    text-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 0 70px rgba(255, 215, 0, 0.8);
  }
}

.modal-body p {
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Form Validation Styling */
.form-group input.error,
.form-group select.error {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Error Notification */
.error-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ef4444;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
  z-index: 3000;
  animation: slideInRight 0.3s ease;
  max-width: 400px;
}

.error-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.error-content i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.error-content span {
  flex: 1;
  line-height: 1.4;
}

.error-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.error-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

/* Responsive error notification */
@media (max-width: 768px) {
  .error-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

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

  .hero-cta {
    justify-content: center;
  }

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

  .about-stats {
    justify-content: center;
  }

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

  .waitlist-form {
    padding: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

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

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

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .waitlist-form {
    padding: 1.5rem;
  }
}
