/* Basic Reset & Tailwind Preflight (simplified) */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb; /* gray-200 */
}
::before, ::after {
  --tw-content: '';
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button {
  text-transform: none;
}
button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
fieldset {
  padding: 0.2em 0;
}
legend {
  padding: 0;
}
progress {
  vertical-align: baseline;
}
textarea {
  resize: vertical;
}
[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration, ::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  height: auto;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}
fieldset, ol, ul, p {
  margin: 0;
}
menu, ol, ul {
  padding: 0;
  list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none;
}

/* Custom CSS for animations and specific elements */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.2s ease-out forwards;
}

/* Custom styling for the dropdown arrow rotation */
.group-hover\:rotate-180 {
  transform: rotate(180deg);
}

/* Custom styling for the underline hover effect */
.group-hover\:scale-x-100 {
  transform: scaleX(1);
}

/* Ensure sticky header has correct z-index */
.sticky {
  position: sticky;
}
.z-50 {
  z-index: 50;
}

/* Additional utility for better button focus */
button:focus:not(:focus-visible) {
  outline: none;
}
a:focus:not(:focus-visible) {
  outline: none;
}

/* General body styling */
body {
    font-family: 'Inter', sans-serif; /* Example: using Inter font */
    color: #333;
    background-color: #f8fafc; /* light gray background */
}

/* Example: Custom scrollbar (optional, for aesthetics) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Hero section placeholder styling for demonstration */
.hero-section {
    background: linear-gradient(to right bottom, #6366f1, #9333ea);
    color: white;
    padding: 8rem 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-section p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}
.hero-section .btn-primary {
    background-color: #f97316; /* orange-500 */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.hero-section .btn-primary:hover {
    background-color: #ea580c; /* orange-600 */
}

/* Feature section placeholder styling */
.features-section {
    padding: 6rem 0;
    background-color: #ffffff;
}
.features-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1f2937; /* gray-800 */
}
.feature-card {
    background-color: #f9fafb; /* gray-50 */
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.feature-card svg {
    color: #6366f1; /* indigo-500 */
    margin-bottom: 1.5rem;
    height: 3.5rem;
    width: 3.5rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}
.feature-card p {
    color: #4b5563; /* gray-600 */
    line-height: 1.6;
}

/* Testimonial section placeholder */
.testimonials-section {
    background-color: #eef2ff; /* indigo-50 */
    padding: 6rem 0;
}
.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1f2937;
}
.testimonial-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.testimonial-card p {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.testimonial-card .author-name {
    font-weight: 600;
    color: #1f2937;
}
.testimonial-card .author-title {
    color: #6b7280; /* gray-500 */
    font-size: 0.9rem;
}

/* Call to Action section placeholder */
.cta-section {
    background-color: #6366f1; /* indigo-600 */
    color: white;
    padding: 6rem 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.cta-section p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}
.cta-section .btn-secondary {
    background-color: #f97316; /* orange-500 */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.cta-section .btn-secondary:hover {
    background-color: #ea580c; /* orange-600 */
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
