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

:root {
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
  --text: #1a1a2e;
  --text-muted: #5c5c7a;
  --surface: #ffffff;
  --border: rgba(102, 126, 234, 0.2);
  --shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
  --radius: 12px;
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

a {
  color: var(--gradient-start);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  padding: 1rem 1.5rem;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

main {
  flex: 1;
  padding: 0 1.5rem 3rem;
}

.content-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3.5rem);
}

.hero {
  text-align: center;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gradient-start);
  background: white;
  border: 2px solid var(--gradient-start);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  min-width: 220px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
  text-decoration: none;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.feature {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fafbff;
}

.feature h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.site-footer a {
  color: white;
}

.site-footer a:hover {
  text-decoration: underline;
}

.privacy-page .content-card {
  text-align: left;
}

.privacy-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
}

.privacy-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.privacy-page section {
  margin-bottom: 2rem;
}

.privacy-page h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.privacy-page p,
.privacy-page li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.privacy-page ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.privacy-page li {
  margin-bottom: 0.35rem;
}

.privacy-page a {
  word-break: break-word;
}

.contact-page .content-card {
  text-align: left;
  max-width: 32rem;
}

.contact-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
  text-align: center;
}

.contact-intro {
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-methods {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fafbff;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
  text-decoration: none;
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--gradient-start);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
  flex-shrink: 0;
}

.contact-method-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-method-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-method-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.intro-block {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.intro-block p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.content-steps {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.content-steps li {
  margin-bottom: 0.75rem;
}

.content-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.content-cta .cta-btn {
  display: inline-block;
}

.faq-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h2 {
  font-size: 1.0625rem;
}

@media (max-width: 640px) {
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-link {
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .site-header,
  main,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .content-card {
    padding: 1.5rem;
  }
}
