/* Base Styles */
:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: #242424;
  color: rgba(255, 255, 255, 0.87);
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(36, 36, 36, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(100, 108, 255, 0.2);
  padding: 1.2rem 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.95);
}

.nav-link.active {
  color: #646cff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #646cff 0%, #535bf2 100%);
  border-radius: 2px;
}

/* Footer */
.site-footer {
  background: rgba(24, 24, 24, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
  margin-top: auto;
}

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

.footer-info {
  flex: 1;
}

.business-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem 0;
  line-height: 1.6;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

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

.footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #646cff;
}

/* Layout */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #242424;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  min-height: calc(100vh - 250px);
}

/* Home Page */
.home-page {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.hero-section {
  text-align: center;
  padding: 4rem 0;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.6;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 2rem 0;
  font-weight: 300;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #646cff 0%, #535bf2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(100, 108, 255, 0.3);
}

.contact-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section h2 {
  font-size: 2rem;
  color: #646cff;
  margin: 0 0 2rem 0;
  text-align: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.contact-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.contact-value {
  font-size: 1.1rem;
  color: #646cff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-value:hover {
  color: #535bf2;
  text-decoration: underline;
}

/* About Page */
.about-page {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.intro-section {
  text-align: center;
  padding: 2rem 0;
}

.intro-section h1 {
  font-size: 3rem;
  color: #646cff;
  margin: 0 0 2rem 0;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

.business-info-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-info-section h2 {
  font-size: 2rem;
  color: #646cff;
  margin: 0 0 2.5rem 0;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s, border-color 0.2s;
}

.info-item:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 108, 255, 0.3);
}

.info-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.info-value {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.info-value a {
  color: #646cff;
  text-decoration: none;
  transition: color 0.2s;
}

.info-value a:hover {
  color: #535bf2;
  text-decoration: underline;
}

.notice-section {
  text-align: center;
  padding: 2rem 0;
}

.notice-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Terms Page */
.terms-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.terms-page h1 {
  font-size: 3rem;
  color: #646cff;
  margin: 0;
  text-align: center;
}

.tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab {
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tab:hover {
  color: rgba(255, 255, 255, 0.9);
}

.tab.active {
  color: #646cff;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #646cff 0%, #535bf2 100%);
}

.tab-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 400px;
}

.terms-section h2,
.privacy-section h2 {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
}

.placeholder-content {
  text-align: center;
  padding: 4rem 2rem;
}

.placeholder-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1rem 0;
}

.placeholder-note {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-style: italic;
}

.manager-info {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.manager-info h3 {
  font-size: 1.5rem;
  color: #646cff;
  margin: 0 0 1.5rem 0;
}

.manager-details p {
  display: flex;
  gap: 1rem;
  margin: 0.8rem 0;
  font-size: 1rem;
}

.manager-details .label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  min-width: 80px;
}

.manager-details .value {
  color: rgba(255, 255, 255, 0.9);
}

.manager-details a {
  color: #646cff;
  text-decoration: none;
  transition: color 0.2s;
}

.manager-details a:hover {
  color: #535bf2;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
  }

  .business-info {
    font-size: 0.75rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .page-container {
    padding: 2rem 1rem;
  }

  .home-page {
    gap: 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .contact-section {
    padding: 2rem 1.5rem;
  }

  .contact-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .about-page {
    gap: 3rem;
  }

  .intro-section h1 {
    font-size: 2rem;
  }

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

  .business-info-section {
    padding: 2rem 1.5rem;
  }

  .info-item {
    padding: 1.2rem;
  }

  .terms-page h1 {
    font-size: 2rem;
  }

  .tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .tab {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tab.active::after {
    bottom: 0;
    left: 0;
    right: auto;
    width: 3px;
    height: 100%;
  }

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

  .placeholder-content {
    padding: 3rem 1rem;
  }

  .manager-details p {
    flex-direction: column;
    gap: 0.3rem;
  }

  .manager-details .label {
    min-width: auto;
  }
}
