/* 621 Brand Page Styles */

/* CSS Variables */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #06d6a0;
  --accent-tinnitune: #1B9AAA;
  --accent-cafejin: #f59e0b;
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* Typography */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0;
}

.text-muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.875rem;
}

/* Layout */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.125rem;
}

.brand h1 {
  font-size: 1.25rem;
  font-weight: 800;
}

.brand .sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s;
}

nav a:hover {
  background: var(--bg);
  color: var(--primary);
}

nav a.active {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 100%);
  color: white;
  padding: 80px 0;
}

.hero-content {
  max-width: 700px;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* Section Title */
.section-title {
  text-align: center;
  margin: 80px 0 48px;
  font-size: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 2px solid transparent;
  display: block;
}

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

.service-card.tinnitune:hover {
  border-color: var(--accent-tinnitune);
}

.service-card.cafejin:hover {
  border-color: var(--accent-cafejin);
}

.service-icon {
  margin-bottom: 24px;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
}

.tinnitune .icon-circle {
  background: linear-gradient(135deg, var(--accent-tinnitune) 0%, #06d6a0 100%);
}

.cafejin .icon-circle {
  background: linear-gradient(135deg, var(--accent-cafejin) 0%, #f97316 100%);
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.service-tagline {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-bottom: 24px;
}

.feature-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 600;
}

.service-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.service-card:hover .service-link {
  text-decoration: underline;
}

/* About Section */
.about-section {
  background: var(--card-bg);
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  text-align: center;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.value-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px;
  border-radius: var(--radius);
  text-align: center;
  margin: 80px 0;
}

.cta-card h2 {
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: white;
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0 30px;
}

footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand .logo {
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand .text-muted {
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.copyright {
  grid-column: 1 / -1;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero-content h2 {
    font-size: 2.25rem;
  }

  footer .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  header .wrap {
    flex-direction: column;
    height: auto;
    padding: 16px 24px;
    gap: 16px;
  }

  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav a {
    padding: 8px 12px;
    font-size: 0.875rem;
  }

  .hero-section {
    padding: 60px 0;
  }

  .hero-content h2 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin: 60px 0 32px;
  }

  .service-card {
    padding: 24px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

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

  .cta-card {
    padding: 40px 24px;
  }

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

  .footer-brand .brand {
    justify-content: center;
  }
}

/* Font */
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
}
