/* LOGWEI Landing Page - Pure CSS */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --primary: hsl(215, 50%, 23%);
  --primary-foreground: hsl(0, 0%, 100%);
  --background: hsl(210, 25%, 97%);
  --foreground: hsl(215, 28%, 17%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 28%, 17%);
  --secondary: hsl(210, 20%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(28, 95%, 53%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(214, 32%, 91%);
  --destructive: hsl(0, 84%, 60%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(28, 95%, 53%) 0%, hsl(28, 90%, 45%) 100%);
  --gradient-secondary: linear-gradient(135deg, hsl(215, 50%, 23%) 0%, hsl(215, 40%, 35%) 100%);
  --gradient-hero: linear-gradient(180deg, hsla(215, 50%, 15%, 0.85) 0%, hsla(215, 50%, 20%, 0.7) 100%);
  --gradient-whatsapp: linear-gradient(135deg, hsl(142, 70%, 45%) 0%, hsl(142, 70%, 35%) 100%);
  
  /* Shadows */
  --shadow-glow: 0 0 30px hsla(28, 95%, 53%, 0.4);
  --shadow-card: 0 10px 40px -10px hsla(215, 50%, 23%, 0.15);
  --shadow-whatsapp: 0 8px 30px hsla(142, 70%, 45%, 0.5);
  
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Container */
.container {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
}

/* Animations */
@keyframes breathing {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px hsla(28, 95%, 53%, 0.3);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 30px hsla(28, 95%, 53%, 0.5);
  }
}

@keyframes breathing-whatsapp {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px hsla(142, 70%, 45%, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 35px hsla(142, 70%, 45%, 0.6);
  }
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes icon-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px hsla(28, 95%, 53%, 0.3); }
  50% { box-shadow: 0 0 40px hsla(28, 95%, 53%, 0.6); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-breathing {
  animation: breathing 2s ease-in-out infinite;
}

.animate-breathing-whatsapp {
  animation: breathing-whatsapp 2s ease-in-out infinite;
}

.animate-pulse-badge {
  animation: pulse-badge 1.5s ease-in-out infinite;
}

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

.animate-arrow-bounce {
  animation: arrow-bounce 1s ease-in-out infinite;
}

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

/* Buttons */
.btn-gradient {
  background: var(--gradient-primary);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.btn-gradient2 {
  background: var(--gradient-primary);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  box-shadow: 0 0 30px hsla(28, 95%, 53%, 0.5);
  transform: translateY(-2px);
}
.btn-gradient2:hover {
  box-shadow: 0 0 30px hsla(28, 95%, 53%, 0.5);
  transform: translateY(-2px);
}

.btn-gradient-secondary {
  background: transparent;
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-gradient-secondary:hover {
  background: var(--gradient-primary);
  color: var(--accent-foreground);
  box-shadow: 0 0 25px hsla(28, 95%, 53%, 0.4);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -15px hsla(215, 50%, 23%, 0.25);
}

/* Section Padding */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

/* Text Utilities */
.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--muted-foreground);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--primary-foreground);
  padding-top: 3rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
            line-height: 2.5rem;
  }
}

.hero-description {
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
            line-height: 2.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-buttons .btn-gradient,
.hero-buttons .btn-gradient-secondary {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-buttons .btn-gradient,
  .hero-buttons .btn-gradient-secondary {
    width: auto;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-wheel {
  width: 0.375rem;
  height: 0.75rem;
  background: rgba(255,255,255,0.5);
  border-radius: 0.25rem;
  animation: float 1.5s ease-in-out infinite;
}

/* Fixed Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 54, 80, 0.9);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background);
  font-weight: 700;
  font-size: 1rem;
}

.logo-text {
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.25rem;
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-foreground);
  transition: color 0.3s;
}

.header-phone:hover {
  color: var(--accent);
}

.header-phone span {
  display: none;
}

@media (min-width: 768px) {
  .header-phone span {
    display: block;
    font-weight: 500;
  }
}

.header .btn-gradient {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .header .btn-gradient {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
  }
}

/* ==================== BENEFITS SECTION ==================== */
.benefits {
  background: var(--background);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  position: relative;
}

.benefit-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.benefit-card:hover .benefit-image img {
  transform: scale(1.1);
}

.benefit-content {
  padding: 1.25rem;
  padding-bottom: 2rem;
}

.benefit-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.benefit-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-foreground);
  transition: all 0.3s;
}

.benefit-card:hover .benefit-arrow {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* ==================== PRODUCTS SECTION ==================== */
.products {
  background: var(--secondary);
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .products-list {
    gap: 5rem;
  }
}

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

@media (min-width: 1024px) {
  .product-item {
    flex-direction: row;
    gap: 3rem;
  }
  
  .product-item.reverse {
    flex-direction: row-reverse;
  }
}

.product-image {
  width: 100%;
}

@media (min-width: 1024px) {
  .product-image {
    width: 50%;
  }
}

.product-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1rem;
  /* box-shadow: var(--shadow-card); */
}

.product-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .product-content {
    width: 50%;
  }
}

.product-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .product-content h3 {
    font-size: 1.875rem;
  }
}

.product-subtitle {
  font-size: 1.125rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(28, 95%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.feature-text {
  color: var(--muted-foreground);
  line-height: 1.6;
  padding-top: 0.5rem;
}

/* ==================== ADVANTAGES SECTION ==================== */
.advantages {
  background: var(--background);
}

.advantages-slider {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .advantages-slider {
    flex-direction: row;
    gap: 3rem;
  }
}

.advantages-image {
  width: 100%;
}

@media (min-width: 1024px) {
  /* .advantages-image {
    width: 50%;
  } */
}
.advantages-layout{
  display: flex;
  gap: 2rem;
}
.advantages-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.advantages-content {
  width: 100%;
}

@media (min-width: 1024px) {
  /* .advantages-content {
    width: 50%;
  } */
}

.advantage-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsla(28, 95%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  margin: 1.5rem 5% 1.5rem;
}

.advantages-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .advantages-content h3 {
    font-size: 1.875rem;
  }

}

.advantages-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
      padding-top: 2rem;
          justify-content: center;
          justify-content: flex-start;
}

.slider-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--accent);
  width: 2rem;
  border-radius: 0.5rem;
}
@media (max-width: 768px){
    .slider-nav {
    justify-content: center;
  }
  .advantages-layout{
    flex-direction: column;
  }
}
/* 卡片翻转效果 */
.flip-card {
  perspective: 1000px;
  height: 100%;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
}

.flip-card-front {
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.flip-card-back {
  background: var(--card);
  box-shadow: var(--shadow-card);
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-back p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* 响应式控制 */
@media (max-width: 767px) {
  .advantages-grid {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .advantages-layout {
    display: none !important;
  }
  
  .advantages-grid {
    display: grid !important;
  }
}
/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose {
  background: var(--secondary);
}

.why-choose-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .why-choose-wrapper {
    flex-direction: row;
  }
}

.why-choose-image {
  width: 100%;
}

@media (min-width: 1024px) {
  .why-choose-image {
    width: 40%;
    position: sticky;
    top: 8rem;
    height: fit-content;
  }
}

.why-choose-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.why-choose-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .why-choose-content {
    width: 60%;
  }
}

.why-choose-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .why-choose-content h2 {
    font-size: 2.5rem;
  }
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reason-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.reason-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(28, 95%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.reason-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reason-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==================== STATS SECTION ==================== */
.stats {
  background: var(--primary);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.stat-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: hsla(28, 95%, 53%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-unit {
  font-size: 1.125rem;
  color: var(--primary-foreground);
  font-weight: 500;
  margin-left: 0.25rem;
}

.stat-description {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
  background: var(--background);
}

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 800px;
  margin: 0 auto;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
  background: var(--secondary);
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .testimonials-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.testimonials-header p {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonials-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .testimonials-header h2 {
    font-size: 2.5rem;
  }
}

.testimonials-nav {
  display: flex;
  gap: 0.75rem;
}

.testimonial-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--accent);
  color: var(--accent);
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: hsla(28, 95%, 53%, 0.2);
}

.testimonial-content {
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsla(28, 95%, 53%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}

.author-name {
  font-weight: 700;
}

.author-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ==================== CERTIFICATES SECTION ==================== */
.certificates {
  background: var(--background);
}

.certificates h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .certificates h2 {
    font-size: 2.5rem;
  }
}

.cert-card img {
  width: 100%;
  aspect-ratio: 1/1.5;
  object-fit: cover;
  border-radius: 0.75rem;
}

.cert-card p {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  font-weight: 500;
}

.certificates-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ==================== FAQ SECTION ==================== */
.faq {
  background: var(--secondary);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: background 0.3s;
  font-weight: 700;
}

.faq-question:hover {
  background: var(--secondary);
}

.faq-question span {
  padding-right: 1rem;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  padding-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
  background: var(--background);
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-wrapper {
    flex-direction: row;
  }
}

.contact-form-wrapper {
  width: 100%;
}

@media (min-width: 1024px) {
  .contact-form-wrapper {
    width: 50%;
  }
}

.contact-form {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2rem;
  }
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .contact-form h2 {
    font-size: 1.875rem;
  }
}

.contact-form > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsla(28, 95%, 53%, 0.2);
}

.form-group input::placeholder {
  color: var(--muted-foreground);
}

.contact-form .btn-gradient {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.125rem;
}
.contact-form .btn-gradient2 {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.125rem;
}
.form-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-info {
  width: 100%;
}

@media (min-width: 1024px) {
  .contact-info {
    width: 50%;
  }
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.contact-item:hover {
  transform: translateY(-4px);
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(28, 95%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-item:hover .contact-item-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.contact-item-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-item-value {
  font-weight: 700;
}

.contact-address {
  align-items: flex-start;
}

.contact-address .contact-item-icon {
  margin-top: 0.25rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--primary);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer .logo-text {
  display: block;
}

.footer-copyright {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-align: center;
}

/* ==================== FLOATING WHATSAPP ==================== */
.floating-whatsapp-desktop {
  position: fixed;
  right: 1.5rem;
  bottom: 6rem;
  z-index: 50;
  display: none;
}

@media (min-width: 768px) {
  .floating-whatsapp-desktop {
    display: block;
  }
}

.whatsapp-btn {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-whatsapp);
  color: white;
}

.whatsapp-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--destructive);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.floating-whatsapp-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
  background: linear-gradient(to top, var(--background), var(--background), transparent);
  display: block;
}

@media (min-width: 768px) {
  .floating-whatsapp-mobile {
    display: none;
  }
}

.whatsapp-btn-mobile {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: var(--gradient-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-whatsapp);
  color: white;
  font-weight: 700;
}

/* Swiper Custom Styles */
.swiper {
  width: 100%;
  padding-bottom: 1rem;
}

.swiper-slide {
  height: auto;
}

.swiper-slide img {
  border-radius: 1rem;
}

/* Icons (SVG placeholders - replace with actual icons) */
.icon {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.advantages-slider {
  position: relative;
  overflow: hidden;
  height: auto;
}

.advantage-slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.advantage-slide.active {
  display: block;
}

.slide-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.advantages-image {
  flex: 1;
  min-width: 300px;
}

.advantages-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.advantages-content {
  flex: 1;
  min-width: 300px;
}

.advantages-content h3 {
  margin: 1rem 0;
}

.advantages-content p {
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (min-width: 768px) {
  .slide-content-wrapper {
    flex-wrap: nowrap;
  }
  
  .advantages-image,
  .advantages-content {
    min-width: auto;
  }
}

/* 在 styles.css 中添加以下样式 */


.advantages-image.active {
  display: block;
}

@media (min-width: 1024px) {
  .advantages-content h3 {
    font-size: 1.475rem;
    padding:0 5%;
  }
  
  .advantages-content p {
           font-size: 1rem;
        padding: 0 5%;
  }
}

/* PC端3列网格布局 - 优势部分 */
.advantages-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .advantages-grid {
    display: grid;
  }
}

/* 移动端滑动布局 */
.advantages-layout {
  display: flex;
}

@media (min-width: 768px) {
  .advantages-layout {
    display: none;
  }
}

.advantage-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -15px hsla(215, 50%, 23%, 0.25);
}

/* 卡片翻转效果 */
.flip-card {
  perspective: none;
  height: auto;
  border-radius: 1rem;
  overflow: visible;
}

.flip-card-inner {
  position: static;
  width: 100%;
  height: auto;
  transition: none;
  transform-style: flat;
}

.flip-card-front, .flip-card-back {
  position: static;
  width: 100%;
  height: auto;
  backface-visibility: visible;
  border-radius: 1rem;
  overflow: hidden;
}

.flip-card-back {
  transform: none;
  padding: 1.5rem;
  display: block;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
}

.flip-card-front {
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.flip-card-back {
  background: var(--card);
  box-shadow: var(--shadow-card);
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-back p {
  color: var(--muted-foreground);
  line-height: 1.6;
}
.advantages-grid {
display: block;
overflow: hidden;
    /* height: 500px; */
}
/* 修复PC端网格布局显示问题 */
@media (min-width: 768px) {
  .advantages-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .advantages-layout {
    display: none !important;
  }
}

/* 修复移动端图片显示问题 */
/* .advantages-image {
  display: none;
} */

.advantages-image.active {
  display: block;
}

/* 确保移动端布局在小屏幕上显示 */
@media (max-width: 767px) {
  .advantages-grid {
    display: none !important;
  }
  
  .advantages-layout {
    display: flex !important;
    flex-direction: column;
    gap: 2rem;
  }
  
  .advantages-image-container {
    width: 100%;
  }
  
  /* 只隐藏没有active类的图片 */
  .advantages-image {
    display: none;
  }
  .advantage-icon{
    margin:1.5rem 0 1.5rem;
  }
  .advantages-image.active {
    display: block;
  }
  .section-title{
    text-align: left;
    margin-bottom: 0;
  }
  .advantages-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
  }
}