@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #113939;
  --primary-hover: #0a2525;
  --primary-subtle: rgba(17, 57, 57, 0.08);
  --primary-border: rgba(17, 57, 57, 0.15);
  --bg-white: #ffffff;
  --bg-slate: #f8fafa;
  --bg-card: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #5e6d6d;
  --text-light: #8a9696;
  --border-light: #e4eaea;
  --border-subtle: #edf2f2;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(17, 57, 57, 0.04);
  --shadow-md: 0 10px 30px rgba(17, 57, 57, 0.06);
  --shadow-lg: 0 18px 45px rgba(17, 57, 57, 0.1);
  --transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-dark);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-white);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-option {
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  text-transform: uppercase;
  transition: var(--transition);
}

.lang-option.active {
  background-color: var(--primary);
  color: #ffffff;
}

.lang-option:hover:not(.active) {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  padding: 9px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  gap: 1.25rem;
}

.mobile-menu.open {
  display: flex;
}

.hero-section {
  padding: 5rem 0 4.5rem;
  background-color: var(--bg-white);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 6px 14px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(17, 57, 57, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 57, 57, 0.28);
}

.btn-secondary {
  background-color: var(--bg-slate);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stack-carousel {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 420px;
  perspective: 1200px;
  user-select: none;
}

.stack-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s ease, box-shadow 0.65s ease;
  cursor: pointer;
  will-change: transform, opacity;
}

.stack-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.stack-slide.pos-0 {
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  z-index: 10;
  opacity: 1;
  box-shadow: 0 20px 45px rgba(17, 57, 57, 0.16);
}

.stack-slide.pos-1 {
  transform: translate3d(24px, 14px, -40px) scale(0.93) rotate(3.5deg);
  z-index: 8;
  opacity: 0.88;
}

.stack-slide.pos-2 {
  transform: translate3d(-22px, 24px, -80px) scale(0.86) rotate(-3.5deg);
  z-index: 6;
  opacity: 0.72;
}

.stack-slide.pos-hidden {
  transform: translate3d(0, 35px, -120px) scale(0.78) rotate(0deg);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.stack-slide.pos-exit {
  transform: translate3d(-80px, -20px, 40px) scale(1.05) rotate(-8deg);
  z-index: 12;
  opacity: 0;
  pointer-events: none;
}

.stack-controls {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 15;
  width: 100%;
}

.stack-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.stack-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.06);
}

.stack-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stack-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light);
  transition: var(--transition);
  cursor: pointer;
}

.stack-dot.active {
  width: 22px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
}

.section-wrapper {
  padding: 5rem 0;
}

.section-bg-slate {
  background-color: var(--bg-slate);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 2.75rem;
  text-align: center;
}

.section-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.6rem auto 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.linktree-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.15rem;
}

.linktree-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.linktree-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.card-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background-color: var(--primary-subtle);
  color: var(--primary);
  align-self: flex-start;
}

.card-tag.tag-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.card-domain {
  font-family: ui-monospace, monospace;
  font-size: 0.76rem;
  color: var(--text-light);
  font-weight: 500;
}

.card-icon-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  flex-shrink: 0;
  transition: var(--transition);
}

.linktree-card:hover .card-icon-arrow {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateX(3px) translateY(-3px);
}

.about-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-sm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.collab-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.collab-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 380px;
}

.footer-brand p {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.policy-page {
  padding: 4rem 0 6rem;
  max-width: 820px;
  margin: 0 auto;
}

.policy-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.policy-card h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.policy-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  display: block;
}

.policy-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.policy-content li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    order: -1;
    min-height: 420px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .stack-carousel {
    max-width: 320px;
    height: 380px;
  }
  .stack-slide {
    height: 330px;
  }
  .linktree-grid {
    grid-template-columns: 1fr;
  }
  .about-box {
    padding: 2rem 1.5rem;
  }
  .policy-card {
    padding: 2rem 1.5rem;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
