/* Base Styles */
:root {
  --primary: #00d2ff;
  --primary-dark: #0088ff;
  --secondary: #3a7bd5;
  --accent: #ff007f;
  --bg-color: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

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

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.3;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 136, 255, 0.4);
}

.btn-primary-sm {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 136, 255, 0.3);
}

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

.w-100 {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn-primary-sm) {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn-primary-sm):hover {
  color: var(--primary);
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #f0f8ff;
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(0, 210, 255, 0.4);
  border-radius: 50%;
}

.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(58, 123, 213, 0.3);
  border-radius: 50%;
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: rgba(255, 0, 127, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 15s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
}

.hero-glass {
  padding: 60px 40px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 136, 255, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-color);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  background: white;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(0, 136, 255, 0.1) 0%, rgba(0, 210, 255, 0.1) 100%);
  color: var(--primary-dark);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(0deg) scale(1.1);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--white), #f0f8ff);
}

.contact-card {
  text-align: center;
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-card > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-box {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

.contact-box h3 {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.seller-label {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 5px;
  opacity: 0.8;
}

.phone-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.phone-number i {
  color: var(--accent);
}

/* Footer */
footer {
  background: var(--text-main);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  height: 40px;
  filter: grayscale(100%) brightness(200%);
  opacity: 0.8;
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

/* Floating Action Button */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
  display: flex;
  align-items: center;
}

.fab {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 50%;
  position: relative;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 136, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse 2s infinite;
}

.fab i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  display: block;
}

.fab:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 136, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0); }
}

.fab-tooltip {
  position: absolute;
  right: 80px;
  background: white;
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.fab-container:hover .fab-tooltip {
  opacity: 1;
  visibility: visible;
  right: 85px;
}

.fab-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 24px;
  width: 90%;
  max-width: 400px;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

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

.modal-body {
  text-align: center;
  margin-bottom: 30px;
}

.modal-body p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-phone {
  background: #f8fafc;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  border: 1px dashed rgba(0, 136, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none; /* simple hidden for mobile, could add hamburger */
  }

  .phone-number {
    font-size: 2rem;
  }
  
  .fab-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-glass {
    padding: 40px 20px;
  }
  
  .phone-number {
    font-size: 1.5rem;
  }
  
  .contact-box {
    padding: 30px 20px;
  }
}
