/* === Font === */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #3B82F6;
  color: #fff;
}

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

.btn-outline {
  background: transparent;
  color: #3B82F6;
  border: 2px solid #3B82F6;
}

.btn-outline:hover {
  background: #3B82F6;
  color: #fff;
}

.btn-header {
  background: #000000;
  color: #fff;
  border-radius: 20px;
}

.btn-header:hover {
  background: #DC2626;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
}

.nav a:hover {
  color: #1a1a2e;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 24px;
  gap: 16px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

/* === Hero === */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.4;
  color: #111;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: #666;
  margin-bottom: 32px;
}

.hero-image {
  flex: 1;
  min-width: 0;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* === Demo === */
.demo {
  padding: 80px 0;
  text-align: center;
  background: #EFF6FF;
}

.demo h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.4;
}

.demo-image {
  max-width: 800px;
  margin: 0 auto 40px;
}

.demo-image img {
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* === Video === */
.video-section {
  padding: 80px 0;
  background: #F1F5F9;
}

.video-section h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* === Partners === */
.partners {
  padding: 80px 0;
  text-align: center;
}

.partners h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #333;
}

.partner-logos {
  max-width: 800px;
  margin: 0 auto 48px;
}

.partner-logos-wide {
  max-width: 1650px;
  margin: 0 auto 48px;
  width: 150%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.partner-logos img {
  margin: 0 auto;
}

/* === Features === */
.features {
  padding: 40px 0 80px;
}

.features-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: #111;
}

.feature {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 0;
  border-bottom: 1px solid #f0f0f0;
}

.feature:last-child {
  border-bottom: none;
}

.feature-left {
  flex-direction: row;
}

.feature-right {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #3B82F6;
}

.feature-highlight {
  font-size: 32px;
  font-weight: 600;
  color: #3B82F6;
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 24px;
  color: #444;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 8px;
}

.feature-sub {
  margin-top: 12px;
  font-size: 14px !important;
  color: #444!important;
}

.feature-images {
  flex: 1.2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-images img {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-images-arrow {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.feature-images-arrow img:not(.arrow-icon) {
  flex: 1;
  min-width: 0;
}

.arrow-icon {
  width: 40px;
  flex-shrink: 0;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.feature-images-overlap {
  flex-direction: row;
  position: relative;
}

.overlap-back {
  flex: 0 0 70%;
  max-width: 70%;
}

.overlap-front {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 33%;
  z-index: 1;
}

.feature-column {
  flex-direction: column !important;
  text-align: center;
}

.feature-column .feature-text {
  width: 100%;
}

.feature-column .feature-images {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.feature-images-row {
  flex-direction: row;
  align-items: flex-start;
}

.feature-img-small {
  max-width: 45%;
}

.feature-img-narrow {
  max-width: 160px;
}

/* === CTA === */
.cta {
  padding: 80px 0;
  text-align: center;
  background: #EFF6FF;
}

.cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Contact Page === */
.contact-page {
  padding: 100px 0 80px;
  min-height: 60vh;
}

.contact-page h1 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.contact-desc {
  text-align: center;
  color: #666;
  font-size: 17px;
  margin-bottom: 48px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  background: #f8f9fb;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid #eee;
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contact-icon {
  color: #3B82F6;
  margin-bottom: 16px;
}

.contact-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-value {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
  margin-bottom: 8px;
}

.contact-value:hover {
  color: #3B82F6;
}

.contact-note {
  font-size: 14px;
  color: #888;
}

/* === Privacy Page === */
.privacy-page {
  padding: 100px 0 80px;
}

.privacy-page h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #111;
}

.privacy-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 4px;
}

.privacy-content a {
  color: #3B82F6;
}

.privacy-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #333;
}

.privacy-contact-box {
  background: #f8f9fb;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 16px 0;
}

.privacy-contact-box p {
  margin-bottom: 8px;
}

.privacy-contact-box ul {
  margin-bottom: 12px;
}

/* === Footer === */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer-logo {
  margin-bottom: 16px;
  filter: brightness(10);
}

.footer-info p {
  margin-bottom: 4px;
  line-height: 1.7;
}

.footer-info a {
  color: #aab;
  text-decoration: underline;
}

.footer-info a:hover {
  color: #fff;
}

.footer-links {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #333;
}

.footer-links a {
  color: #aab;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  margin-top: 16px;
  color: #666;
  font-size: 13px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav,
  .header-inner > .btn {
    display: none;
  }

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

  .hero .container {
    flex-direction: column;
    gap: 32px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .demo h2,
  .video-section h2,
  .cta h2 {
    font-size: 22px;
  }

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

  .feature {
    flex-direction: column !important;
    gap: 24px;
    padding: 40px 0 !important;
  }

  .feature-text h3 {
    font-size: 22px;
  }

  .feature-text p {
    font-size: 16px;
  }

  .feature-highlight {
    font-size: 18px;
  }

  .features-title {
    font-size: 24px;
  }

  .feature-column .feature-text {
    text-align: left !important;
  }

  .feature-images-arrow {
    flex-direction: column;
  }

  .arrow-icon {
    transform: rotate(90deg);
    width: 30px;
  }

  .feature-images-overlap {
    flex-direction: column;
    position: static;
  }

  .overlap-back {
    flex: none;
    max-width: 100%;
  }

  .overlap-front {
    position: static;
    transform: none;
    max-width: 60%;
    margin-top: -40px;
    align-self: flex-end;
  }

  .partner-logos-wide {
    width: 100%;
    left: 0;
    transform: none;
  }

  .feature-images-row {
    flex-direction: column;
  }

  .feature-img-small {
    max-width: 100%;
  }

  .feature-img-narrow {
    max-width: 100%;
  }

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

  .demo,
  .video-section,
  .partners,
  .cta {
    padding: 48px 0 !important;
  }

  .contact-page h1,
  .privacy-page h1 {
    font-size: 26px;
  }
}
