/* Golf AI Cam - Homepage Styles */
/* Tailwind CDN handles base utilities; this file adds custom components */

:root {
  --cyan: #00D4FF;
  --cyan-light: #4DE8FF;
  --cyan-dark: #00A3CC;
  --bg: #000000;
  --surface: #0A0A0A;
  --card: #111111;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --text-tertiary: #666666;
  --glow: rgba(0, 212, 255, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(0, 212, 255, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--cyan);
  text-decoration: none;
}

.nav-logo i { font-size: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

.nav-cta {
  background: var(--cyan);
  color: #000;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  background: var(--cyan-light);
  box-shadow: 0 0 20px var(--glow);
}

/* Mobile menu */
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 24px;
}

.nav-mobile-menu.open { display: block; }

.nav-mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-mobile-menu a:hover { color: var(--cyan); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-mobile-btn { display: block; }
}

/* === Glass Card === */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.glass:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 .highlight { color: var(--cyan); }

.hero .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--surface);
  border: 2px solid var(--glass-border);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.15);
  overflow: hidden;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.phone-mockup .placeholder-text {
  color: var(--text-tertiary);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 40px 24px;
  }
  .hero h1 { font-size: 32px; }
  .hero .subtitle { margin: 0 auto 28px; }
  .hero-buttons { justify-content: center; }
  .phone-mockup { width: 220px; height: 440px; }
}

/* === Buttons === */
.btn-primary {
  background: var(--cyan);
  color: #000;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--cyan-light);
  box-shadow: 0 0 30px var(--glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--cyan);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

/* === Section Common === */
.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-center {
  text-align: center;
}

.section-center .section-desc {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .section-title { font-size: 28px; }
}

/* === Feature Cards === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 28px;
  color: var(--cyan);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* === How It Works === */
.steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.step.reverse { direction: rtl; }
.step.reverse > * { direction: ltr; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.step-image {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 23px;
}

.step-image .placeholder-text {
  color: var(--text-tertiary);
  font-size: 14px;
}

@media (max-width: 768px) {
  .step, .step.reverse { grid-template-columns: 1fr; direction: ltr; gap: 24px; }
  .step-image { height: 200px; }
}

/* === Tab Showcase === */
.showcase-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border-radius: 14px;
  padding: 4px;
  margin-top: 48px;
  margin-bottom: 40px;
  overflow-x: auto;
}

.showcase-tab {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  background: none;
  border: none;
}

.showcase-tab.active {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
}

.showcase-tab:hover:not(.active) {
  color: var(--text-primary);
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-panel { display: none; }
.showcase-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.showcase-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.showcase-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.showcase-list {
  list-style: none;
  padding: 0;
}

.showcase-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.showcase-image {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 23px;
}

@media (max-width: 768px) {
  .showcase-panel.active { grid-template-columns: 1fr; }
  .showcase-image { height: 240px; }
}

/* === Stats === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 36px; }
}

/* === Pro Section === */
.pro-section {
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
    var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 60px;
  margin-top: 48px;
}

.pro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.pro-feature {
  text-align: center;
}

.pro-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pro-feature-icon i {
  font-size: 28px;
  color: var(--cyan);
}

.pro-feature h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pro-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pro-section { padding: 32px 20px; border-radius: 24px; }
  .pro-features { grid-template-columns: 1fr; }
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--cyan-dark) 0%, var(--cyan) 100%);
  border-radius: 32px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #000;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .btn-dark {
  background: #000;
  color: var(--cyan);
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.cta-banner .btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .cta-banner { padding: 40px 24px; border-radius: 24px; }
  .cta-banner h2 { font-size: 28px; }
}

/* === Footer === */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 24px 32px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-tertiary);
  font-size: 20px;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--cyan); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* === Animations === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delay */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* === Pricing (pricing.html) === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  padding: 40px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--cyan);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}

.pricing-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 20px;
  vertical-align: super;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li i {
  color: var(--cyan);
  font-size: 18px;
}

.pricing-features li.disabled {
  color: var(--text-tertiary);
}

.pricing-features li.disabled i {
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* === FAQ Accordion === */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 20px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  color: var(--cyan);
  transition: transform 0.3s;
  font-size: 20px;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* === Page Hero (sub pages) === */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  position: relative;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 20px 60px; }
  .page-hero h1 { font-size: 32px; }
}

/* === Feature Detail (features.html) === */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-detail:last-child { border-bottom: none; }

.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }

.feature-detail-number {
  font-size: 64px;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.feature-detail h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-detail p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.feature-detail-image {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 23px;
}

@media (max-width: 768px) {
  .feature-detail, .feature-detail.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }
  .feature-detail-image { height: 200px; }
}

/* === For Pros Steps === */
.pro-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pro-step-card {
  padding: 32px;
  text-align: center;
}

.pro-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pro-step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pro-step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pro-steps { grid-template-columns: 1fr; }
}
