/*
Theme Name: Vibe Cloud
Description: Korean AI GPU Cloud Landing Page Theme
Version: 1.0.0
Author: Vibe Cloud Team
Text Domain: vibe-cloud
*/

/* Import Korean fonts */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&display=swap");

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

/* Base styles */
body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Add animated background elements */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.95); /* White background instead of black */
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98); /* White background when scrolled */
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #1f2937; /* Dark color for white background */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #a855f7; /* Purple on hover */
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  transition: width 0.3s ease;
}

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

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

.translate-btn {
  background: linear-gradient(45deg, #a855f7, #ec4899);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.translate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #1f2937; /* Dark color for white background */
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
  background-color: rgba(168, 85, 247, 0.1);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.98); /* White background for mobile menu */
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.mobile-menu.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu a,
.mobile-nav-links a {
  display: block;
  padding: 0.75rem 0;
  color: #1f2937; /* Dark color for white background */
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  transition: color 0.3s;
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-nav-links a:hover {
  color: #a855f7; /* Purple on hover */
}

.mobile-cta {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Main content */
.main-content {
  padding-top: 80px;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.hero p {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

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

.btn-primary {
  background: linear-gradient(45deg, #9333ea, #db2777);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.btn-secondary {
  border: 1px solid #6b7280;
  color: #d1d5db;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: #a855f7;
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-stats {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-header p {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* Cards */
.card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.05);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.card p {
  color: #9ca3af;
  line-height: 1.6;
}

/* Pricing */
.pricing-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.pricing-card.popular {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #a855f7, #ec4899);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  color: #ffffff;
}

.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-card li {
  padding: 0.5rem 0;
  color: #d1d5db;
}

/* All pricing card buttons use primary styling */
.pricing-card .btn {
  background: linear-gradient(45deg, #9333ea, #db2777);
  color: white;
  border: none;
  width: 100%;
  justify-content: center;
}

.pricing-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  overflow: hidden;
}

.contact-form-header {
  text-align: center;
  padding: 2rem 2rem 0 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
}

.contact-form-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.contact-form-header p {
  color: #d1d5db;
  font-size: 1.125rem;
}

.contact-form-content {
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  color: white;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
}

.form-buttons .btn {
  flex: 1;
  justify-content: center;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-card-icon {
  font-size: 1.5rem;
}

.info-card h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #d1d5db;
}

.bullet {
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.contact-details p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  padding: 3rem 2rem 1rem;
  margin-top: 5rem;
}

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

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

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: #ffffff;
}

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

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

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #a855f7;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-logo img {
  max-height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  color: #9ca3af;
}

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

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #9333ea, #db2777);
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
  transition: all 0.3s;
  animation: pulse 2s infinite;
  font-size: 1.5rem;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(147, 51, 234, 0.4);
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .logo-img {
    height: 32px;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .form-buttons {
    flex-direction: column;
  }

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

  .chat-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .hero,
  .section {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

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

  .card,
  .pricing-card,
  .contact-form,
  .info-card {
    padding: 1.5rem;
  }

  .footer {
    padding: 2rem 1rem 1rem;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.translate-btn:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}

/* Korean text optimization */
.korean-text {
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
  line-height: 1.7;
  letter-spacing: -0.01em;
}
