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

/* Variables */
:root {
  --primary-color: #FFB100;      /* Honey Gold */
  --primary-gradient: linear-gradient(135deg, #FFB100 0%, #FF8E53 100%);
  --accent-gradient: linear-gradient(135deg, #FF9A76 0%, #FF6B6B 100%);
  --background-color: #FCFAF7;  /* Soft Warm Sand */
  --card-bg: #FFFFFF;
  --text-main: #2C1E0A;         /* Rich Cocoa Brown */
  --text-muted: #6B5E4D;        /* Warm Taupe */
  --text-light: #A09485;
  --border-color: #F3ECE3;      /* Gentle Cream Border */
  --shadow-sm: 0 4px 6px -1px rgba(44, 30, 10, 0.05);
  --shadow-md: 0 10px 20px -5px rgba(44, 30, 10, 0.08);
  --shadow-lg: 0 20px 30px -10px rgba(44, 30, 10, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', 'Outfit', sans-serif;
  background-color: var(--background-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Common Layout Elements */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(252, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  font-family: 'Noto Sans KR', sans-serif;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--primary-gradient);
  color: white !important;
  box-shadow: 0 4px 14px rgba(255, 177, 0, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1.2;
  max-width: 550px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(255, 177, 0, 0.1);
  color: #D98200;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 177, 0, 0.2);
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.25;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1A120B;
  color: white;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.store-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-btn.apple {
  background-color: #111111;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background-color: #2D2218;
}

.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup-wrapper {
  position: relative;
  width: 280px;
  height: 560px;
  background-color: #1E293B;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(44, 30, 10, 0.25);
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #FCD8B6;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid #1E293B;
}

.phone-app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.phone-logo {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.phone-app-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #3E2405;
}

.phone-app-badge {
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  color: #7A4E1B;
}

/* floating gold drops / honeypots decorative background */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.4;
}

.deco-1 {
  width: 300px;
  height: 300px;
  background-color: #FFB100;
  top: -100px;
  right: -100px;
}

.deco-2 {
  width: 250px;
  height: 250px;
  background-color: #FF8E53;
  bottom: -50px;
  left: -100px;
}

/* Feature Section */
.features {
  padding: 100px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

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

.feature-card {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 177, 0, 0.3);
}

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

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How-to Guide Section */
.how-to {
  padding: 100px 0;
  background-color: var(--background-color);
}

.how-to-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background-color: var(--card-bg);
  padding: 32px 24px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  text-align: center;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 177, 0, 0.3);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(255, 177, 0, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive adjustments for how-to steps */
@media (max-width: 900px) {
  .how-to-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .how-to-steps {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 24px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(255, 177, 0, 0.03);
  color: var(--primary-color);
}

.faq-question::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid transparent;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-answer-content {
  border-top-color: var(--border-color);
}

/* Legal & Policy Subpages specific styles */
.legal-header {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--card-bg);
}

.legal-header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

.legal-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.legal-card section {
  margin-bottom: 32px;
}

.legal-card section:last-child {
  margin-bottom: 0;
}

.legal-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 6px;
}

.legal-card p, .legal-card ul {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 20px;
  margin-top: 8px;
}

.legal-card li {
  margin-bottom: 6px;
}

/* Support Page */
.support-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.support-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 177, 0, 0.1);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.support-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.support-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  background-color: var(--text-main);
  color: white;
  transition: var(--transition);
}

.support-btn:hover {
  transform: translateY(-2px);
  background-color: #493318;
}

.support-btn.primary {
  background: var(--primary-gradient);
  box-shadow: 0 4px 14px rgba(255, 177, 0, 0.3);
}

.support-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(255, 177, 0, 0.4);
}

/* Footer */
footer {
  background-color: #1E150B; /* Deep dark cocoa */
  color: #BBAF9E;
  padding: 60px 0 40px 0;
  border-top: 1px solid #2D2012;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand h4 {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h5 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #2D2012;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Responsiveness */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .support-options {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none; /* simple hidden links for small mobile screens to keep it ultra simple, can be expanded to mobile drawer if needed */
  }
  
  .nav-container {
    justify-content: space-between;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-card {
    padding: 24px 16px;
  }
  
  .legal-header h1 {
    font-size: 1.75rem;
  }
}
