/* GoodTask Style - Clean and Minimal */

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

:root {
  /* Colors - Clean White Theme */
  --color-primary: #FC691F;
  --color-primary-dark: #0051d5;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-background: #ffffff;
  --color-background-light: #FFF8F5;
  --color-border: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Noto Sans KR", sans-serif;
  --font-family-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Noto Sans KR", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navigation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.navigation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navigation-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.navigation-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navigation-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.navigation-link:hover {
  color: var(--color-primary);
}

.navigation-cta {
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.navigation-cta:hover {
  background: var(--color-primary-dark);
}

.navigation-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-primary);
}

.navigation-toggle svg {
  color: var(--color-primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

/* 항상 표시되는 줄바꿈 */
.hero-title .br-always {
  display: block;
}

/* 데스크톱에서 표시 - 한 줄로 유지 */
.hero-title .title-line-desktop {
  display: inline;
  white-space: nowrap;
}

/* 모바일 버전 숨김 */
.hero-title .title-line-mobile {
  display: none;
}

/* 모바일에서만 표시되는 줄바꿈 */
.hero-title .br-mobile {
  display: none;
}

.hero-promise {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* 데스크톱에서 표시 */
.hero-promise .promise-desktop {
  display: inline;
}

/* 모바일에서 표시 */
.hero-promise .promise-mobile {
  display: none;
}

/* 모바일 줄바꿈 숨김 */
.hero-promise .br-promise-mobile {
  display: none;
}

.hero-store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  min-width: 120px;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.store-badge svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.store-badge span {
  white-space: nowrap;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.phone-screen {
  width: 100%;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features-section {
  padding: 6rem 2rem;
  background: var(--color-background);
}

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

.section-title {
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-text);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse>* {
  direction: ltr;
}

.feature-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.feature-content p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.feature-device {
  overflow: hidden;
}

.feature-device img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.footer-section {
  background: var(--color-background-light);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--color-border);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.footer-tagline {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navigation-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-background);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }

  .navigation-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navigation-toggle {
    display: block;
  }

  .navigation-toggle svg {
    transition: transform 0.3s ease;
  }

  .navigation-toggle.active svg {
    transform: rotate(90deg);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-store-badges {
    justify-content: center;
  }

  /* 모바일에서 타이틀 줄바꿈 조정 */
  .hero-title .title-line-desktop {
    display: none;
  }

  .hero-title .title-line-mobile {
    display: inline;
  }

  .hero-title .br-mobile {
    display: block;
  }

  /* 모바일에서 서브타이틀 줄바꿈 조정 */
  .hero-promise .promise-desktop {
    display: none;
  }

  .hero-promise .promise-mobile {
    display: inline;
  }

  .hero-promise .br-promise-mobile {
    display: block;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* Remove unused sections for clean design */
.problem-section,
.how-it-works-section,
.gallery-section,
.stats-section {
  display: none;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 2rem;
  background: var(--color-background-light);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.testimonials-cards-primary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--color-background);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
}

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

.testimonial-stars {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-attribution {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-style: normal;
  display: block;
}

/* Awards Section */
.awards-section {
  padding: 6rem 2rem;
  background: var(--color-background-light);
}

.awards-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.award-card {
  background: var(--color-background);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.award-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.award-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.award-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Download Section */
.download-section {
  padding: 6rem 2rem;
  background: var(--color-background);
  text-align: center;
}

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

.download-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.download-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.download-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.download-badge svg {
  flex-shrink: 0;
}

.badge-small {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-align: left;
}

.badge-large {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background: var(--color-background);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-title {
  font-family: var(--font-family-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.modal-text {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-text strong {
  color: var(--color-primary);
  font-weight: 600;
}

.modal-close-btn {
  margin-top: 1.5rem;
  padding: 0.875rem 2.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.modal-close-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modal-close-btn:active {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .download-badges {
    flex-direction: column;
    align-items: center;
  }

  .download-badge {
    width: 100%;
    max-width: 300px;
  }

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

  .modal-content {
    padding: 2rem 1.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-text {
    font-size: 1rem;
  }
}