* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-dark: #0a1628;
  --navy: #0f2744;
  --navy-light: #1a3a5c;
  --gold: #d4af37;
  --gold-light: #f4d03f;
  --white: #ffffff;
  --gray-light: #e8e8e8;
  --gray: #9ca3af;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background-color: var(--navy-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Label */
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Highlight */
.highlight {
  color: var(--gold);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 60px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, var(--navy) 0%, var(--navy-dark) 70%);
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
}

.logo {
  width: 280px;
  max-width: 90%;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease;
}

.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--gray-light);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

/* Accuracy Section */
.accuracy {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.chart-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(15, 39, 68, 0.8) 50%, rgba(10, 22, 40, 0.85) 100%), url("images/stock-chart-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  opacity: 0.9;
}

.chart-bg::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  background: url("images/ceo-nobd.png") no-repeat center;
  background-size: contain;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.accuracy-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.accuracy-text {
  flex: 1;
  min-width: 300px;
}

.accuracy-text h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.stat-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 40px;
  display: inline-block;
}

.stat-number {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-number .plus {
  font-size: 0.6em;
  vertical-align: top;
}

.stat-label {
  font-size: 18px;
  color: var(--gray-light);
  margin-top: 8px;
}

.accuracy-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  position: relative;
}

.accuracy-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--navy-dark) 0%, transparent 100%);
  z-index: 2;
}

.accuracy-image img {
  max-width: 120%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.image-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  z-index: 0;
}

/* YouTube Intro Section */
.youtube-intro {
  padding: 120px 0;
  background: var(--navy-dark);
}

.youtube-intro .container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.youtube-text {
  flex: 1;
  min-width: 300px;
}

.youtube-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.youtube-text p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 32px;
}

.youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ff0000;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.youtube-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.youtube-preview {
  flex: 1;
  min-width: 300px;
}

.preview-frame {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='60' viewBox='0 0 100 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q25 30 50 40 T100 30' fill='none' stroke='%23d4af37' stroke-width='2' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 200px 120px;
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

/* Schedule Section */
.schedule {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  text-align: center;
}

.schedule h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
}

.schedule-desc {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 60px;
}

.schedule-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.schedule-card {
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  padding: 48px 40px;
  min-width: 280px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.schedule-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  color: var(--gold);
  margin-bottom: 20px;
}

.schedule-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.schedule-card .time {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
}

.time-label {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}

/* Features Section */
.features {
  padding: 120px 0;
  background: var(--navy-dark);
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 12px;
}

.features-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(26, 58, 92, 0.5) 0%, rgba(15, 39, 68, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  font-size: 15px;
}

.disclaimer {
  text-align: center;
  color: rgba(156, 163, 175, 0.5);
  font-size: 13px;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
}

.contact h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 60px;
  line-height: 1.3;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  padding: 48px;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 32px;
  color: var(--gold);
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--gray-light);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder {
  color: var(--gray);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 14px;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer {
  padding: 60px 0;
  background: var(--navy-dark);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  width: 160px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.footer-disclaimer {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 24px;
}

.copyright {
  color: rgba(156, 163, 175, 0.5);
  font-size: 12px;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {

  .accuracy-content,
  .youtube-intro .container {
    flex-direction: column;
    text-align: center;
  }

  .accuracy-text {
    order: 1;
    margin-top: 80px;
  }

  .accuracy-image {
    order: 2;
  }

  .schedule-desc {
    font-size: 16px;
  }

  .schedule-desc br {
    display: none;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .stat-box {
    padding: 32px;
  }
}

/* Floating Form Bar */
.floating-form-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(120%);
  /* Hide initially */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-form-bar.visible {
  transform: translateY(0);
}

.floating-form-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.floating-title {
  font-size: 20px;
  color: var(--white);
  margin: 0;
}

.floating-form {
  width: 100%;
  max-width: 900px;
}

.floating-form .input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  /* Reduced margin */
}

/* Removed unused .floating-inputs */

.floating-form input {
  flex: 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--white);
  color: #333;
  border-radius: 4px;
  font-size: 16px;
  min-width: 0;
}

.floating-form input::placeholder {
  color: #999;
}

.floating-submit-btn {
  background: #007bff;
  color: var(--white);
  border: none;
  padding: 0 30px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  height: auto;
  /* Let it stretch or match input height via flex */
  align-self: stretch;
  /* Match height of inputs */
}

.floating-submit-btn:hover {
  background: #0056b3;
}

.privacy-check {

  /* Restore flex for alignment */
  align-items: center;
  justify-content: flex-start;
  /* Explicitly align left */
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  width: 100%;
}

.privacy-check label {
  position: relative;
  top: -3px;
  /* Move text up 3px */
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  margin-right: 8px;
  cursor: pointer;
}

/* Make space for floating bar on desktop */
body {
  padding-bottom: 200px;
}

@media (max-width: 768px) {
  .floating-form-bar {
    padding: 16px 0;
  }

  .floating-form .input-group {
    /* Mobile: Try to keep horizontal or standard stack */
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
  }

  /* Removed .floating-inputs mobile styles */

  .floating-form input {
    width: auto;
    min-width: 0;
    padding: 10px;
    font-size: 13px;
    height: 42px;
  }

  .floating-submit-btn {
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    width: auto;
    flex: 0 0 auto;
    /* Button will stretch height to match input+privacy block if alignItems stretch */
  }

  .floating-title {
    font-size: 15px;
    text-align: center;
    margin-bottom: 8px;
    word-break: keep-all;
  }

  .privacy-check {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    font-size: 12px;
  }

  /* Reduce body padding for mobile */
  body {
    padding-bottom: 250px;
  }
}

/* Privacy Modal */
.privacy-link {
  cursor: pointer;
  text-decoration: underline;
  color: var(--gold);
  margin-left: 4px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: var(--navy-dark);
  margin: 10% auto;
  padding: 40px;
  border: 1px solid var(--gold);
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s;
}

.close-modal {
  color: var(--gray);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
}

.modal h2 {
  color: var(--gold);
  margin-bottom: 24px;
  font-size: 24px;
  text-align: center;
}

.modal-body {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.8;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-body p {
  margin-bottom: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}