:root {
  --primary-color: #8B0000;
  /* Deep Red */
  --secondary-color: #D4AF37;
  /* Gold */
  --text-color: #333;
  --text-white: #fff;
  --bg-light: #fdfaf5;
  --bg-white: #ffffff;
  --bg-dark: #1a1a1a;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--text-white);
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

/* Header & Nav */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
}

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

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

.nav-btn {
  background: var(--primary-color);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-btn:hover {
  background: #a50000;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #220000 0%, #8B0000 100%);
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

/* CSS Pattern Background - No images allowed */
.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 2px 2px, var(--secondary-color) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-bg-pattern::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, #000 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 5px;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 3px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: #f0c84c;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background: var(--secondary-color);
  color: white;
}

/* Common Section Styles */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid.reverse .about-visual {
  order: 1;
}

.grid.reverse .about-text {
  order: 2;
}

/* About Visuals (CSS Shapes) */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-pattern {
  width: 300px;
  height: 300px;
  border: 10px double var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.inner-circle {
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  animation: counter-rotate 20s linear infinite;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

@keyframes counter-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.grid-pattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
  background: #eee;
  border-radius: 8px;
  transform: perspective(500px) rotateY(-20deg);
}

.dot {
  width: 60px;
  height: 60px;
  background: #ccc;
  border-radius: 50%;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-color);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-box {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 900;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--secondary-color);
}

/* Testimonials */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
  color: white;
}

.case-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.case-author {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Sale Section */
.sale-section {
  background: radial-gradient(circle at center, #eee 0%, #fff 100%);
}

.sale-text {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
  background: #000;
  color: #888;
  padding: 60px 0 30px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: underline;
  margin: 0 5px;
}

.footer-link:hover {
  color: white;
}

.copyright {
  margin-top: 2rem;
  border-top: 1px solid #222;
  padding-top: 2rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Responsive */
@media (max-width: 968px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .grid.reverse .about-visual,
  .grid.reverse .about-text {
    order: initial;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }

  .nav-links {
    display: none;
    /* Hide for simplicity in this demo, usually would implement mobile menu */
  }

  .menu-toggle {
    display: block;
  }

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}