/* Main Styles for Pitboard Landing Page */

/* Base Typography */
body {
  font-family: 'Inter', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  font-weight: 400;
  line-height: 1.7;
  color: #374151;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: #111827;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.5;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
  color: #475569;
}

/* Hero Section */
.hero-title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #111827;
}

.hero-subtitle {
  font-size: 1.175rem;
  line-height: 1.7;
  font-weight: 400;
  color: #475569;
}

/* Buttons */
.btn-primary {
  background-color: #754ffe;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #5b21b6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(117, 79, 254, 0.3);
}

.btn-secondary {
  background-color: white;
  color: #754ffe;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  border: 2px solid #754ffe;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

/* Layout */
.section-padding {
  padding: 6rem 0;
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Cards */
.card-feature {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.badge-primary {
  background-color: #e9d5ff;
  color: #4c1d95;
  border: 1px solid #a78bfa;
}

.badge-success {
  background-color: #d1fae5;
  color: #064e3b;
  border: 1px solid #6ee7b7;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

/* Icon Boxes */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.icon-box-lg {
  width: 6rem;
  height: 6rem;
  border-radius: 1.5rem;
}

/* Forms */
.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #754ffe;
  box-shadow: 0 0 0 3px rgba(117, 79, 254, 0.1);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite 2s;
}

/* Text Utilities */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-lg {
  font-size: 1.25rem;
  line-height: 1.7;
}

/* Desktop Responsive */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  h2 {
    font-size: 2.75rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  p {
    font-size: 1.25rem;
  }
  
  .section-padding {
    padding: 8rem 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .container-custom {
    padding: 0 1rem;
  }
}

/* For Privacy and Terms pages - override some base styles */
.page-legal h2 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Table styles for legal pages */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
}

.legal-table th,
.legal-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
}

.legal-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #374151;
  font-size: 1rem;
  min-width: 200px;
  width: 30%;
}

.legal-table td {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .page-legal h2 {
    font-size: 1.5rem;
  }
  
  .page-legal p {
    font-size: 1rem;
  }

  .legal-table {
    margin: 1.5rem 0;
  }

  .legal-table th,
  .legal-table td {
    padding: 1rem;
    font-size: 0.875rem;
  }

  .legal-table th {
    min-width: 120px;
    width: 35%;
  }
}