/* 
* Global Styles - Mimicking Shown.io style
*/

:root {
  --primary-color: #0095ff;
  --primary-light: #4ac0ff;
  --primary-dark: #0077cc;
  --secondary-color: #f72585;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-light: #f8faff;
  --background-dark: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --border-color: rgba(224, 230, 245, 0.4);
  --border-radius: 8px;
  --box-border-radius: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --gradient-text: linear-gradient(90deg, #a3a4e0 0%, #4361ee 100%);
  --gradient-bg: linear-gradient(135deg, #edf2fb 0%, #e2eafc 50%, #d7e3fc 100%);
  --gradient-bg-subtle: linear-gradient(135deg, #f8faff 0%, #f4f7fd 50%, #f0f4fc 100%);
  --gradient-section: linear-gradient(180deg, rgba(237, 242, 251, 0.6) 0%, rgba(226, 234, 252, 0.4) 100%);
  --fb-gradient: linear-gradient(90deg, #1877f2 0%, #4267B2 100%);
  --negative-color: #999;
  --positive-color: #0095ff;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: #ffffff;
  font-weight: 400;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 700;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: 4.5rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: #111;
  position: relative;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 149, 255, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 149, 255, 0.35);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 1);
  border-color: var(--primary-color);
}

.btn-text {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid transparent;
  padding: 10px 15px;
}

.btn-text:hover {
  color: var(--primary-color);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 30px;
}

/* Header Styles */
header {
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px !important;
  overflow: hidden;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.logo {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-color);
}

.logo span {
  color: var(--primary-color);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  padding: 10px 0;
  z-index: 10;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: var(--text-color);
  padding: 8px 15px;
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: var(--background-light);
  color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Hero Section */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  background-color: #ffffff;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 4.5rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
}

.hero h1 .gradient-text {
  background: var(--fb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  font-size: 4.5rem;
}

.hero h1 .black-text {
  color: #111;
  font-weight: 800;
  font-size: 4.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.trust-badge {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.facebook-logo {
  margin-bottom: 30px;
}

.facebook-logo img {
  width: 70px;
  height: 70px;
}

/* Create Facebook icon if image is not available */
.facebook-icon {
  width: 70px;
  height: 70px;
  background-color: #1877f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  position: relative;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.3);
}

.facebook-icon::after {
  content: "f";
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: bold;
  color: white;
  position: relative;
  top: -2px;
}

/* Section styles */
section {
  padding: 100px 0;
  position: relative;
  background-color: #ffffff;
}

section:nth-child(even) {
  background-color: var(--background-light);
}

/* Advantages Section */
.advantages {
  padding: 100px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.icon-container {
  width: 60px;
  height: 60px;
  background: var(--fb-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}

.icon-container i {
  font-size: 1.5rem;
  color: white;
}

/* Comparison Section */
.comparison {
  padding: 100px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.comparison-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--border-color);
}

.comparison-card.highlighted {
  background-color: #ffffff;
  border: 1px solid var(--primary-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.comparison-card.highlighted::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.comparison-list {
  margin-bottom: 25px;
}

.comparison-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
}

.comparison-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.comparison-list li strong {
  font-weight: 700;
}

.comparison-card .comparison-list li strong {
  color: var(--negative-color);
}

.comparison-card.highlighted .comparison-list li strong {
  color: var(--positive-color);
}

.comparison-card .btn {
  width: 100%;
}

/* How it works section */
.how-it-works {
  padding: 100px 0;
  background-color: var(--background-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 25px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 1rem;
}

.author-position {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: var(--background-light);
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.faq-grid {
  max-width: 100%;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #ffffff;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.faq-image img {
  width: 80%;
  height: auto;
  object-fit: contain;
  max-height: 300px;
}

.integration-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.integration-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 90px;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.integration-icon:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.integration-icon img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-color);
}

.cta h2 {
  color: #111;
  font-size: 2.25rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-color);
}

.social-proof {
  margin-top: 2.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-icons i {
  font-size: 1.25rem;
  color: var(--primary-color);
  opacity: 0.8;
  transition: var(--transition);
}

.social-icons i:hover {
  opacity: 1;
}

/* Footer */
footer {
  padding: 70px 0 20px;
  background-color: #111;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo a {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span {
  color: var(--primary-light);
}

.contact-info {
  margin-top: 20px;
  font-size: 0.95rem;
}

.footer-column h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
  
  .faq-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .integration-icons {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero h1 .gradient-text,
  .hero h1 .black-text {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
    min-height: auto;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  section {
    padding: 70px 0;
  }
  
  .integration-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 .gradient-text,
  .hero h1 .black-text {
    font-size: 2.8rem;
  }
  
  .header-logo-img {
    height: 40px !important;
    max-width: 280px;
  }
}

@media (max-width: 576px) {
  .advantages-grid, 
  .comparison-grid, 
  .steps-grid, 
  .testimonial-grid, 
  .partners-grid, 
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .header-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .header-buttons .btn {
    width: 100%;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 .gradient-text,
  .hero h1 .black-text {
    font-size: 2.2rem;
  }
}

/* Results Section with Slider */
.results {
  padding: 100px 0;
  background-color: #ffffff;
}

.results-slider {
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  animation: scroll 90s linear infinite;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-item {
  width: 700px;
  height: auto;
  flex-shrink: 0;
  padding: 0 20px;
  margin-bottom: 30px;
}

.slider-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  max-height: 400px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-700px * 10));
  }
}

/* Results section responsive styles */
@media (max-width: 992px) {
  .slider-item {
    width: 600px;
    padding: 0 15px;
  }
  
  .slider-track {
    width: calc(600px * 20);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-600px * 10));
    }
  }
}

@media (max-width: 768px) {
  .slider-item {
    width: 500px;
  }
  
  .slider-track {
    width: calc(500px * 20);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-500px * 10));
    }
  }
}

@media (max-width: 576px) {
  .slider-item {
    width: 400px;
  }
  
  .slider-track {
    width: calc(400px * 20);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-400px * 10));
    }
  }
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-top: 20px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.telegram-btn {
  background-color: #0088cc;
}

.telegram-btn:hover {
  background-color: #0077b3;
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #20bd5c;
}

/* Floating CTA Buttons */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.telegram-float {
  background-color: #0088cc;
}

.telegram-float:hover {
  background-color: #0077b3;
}

.whatsapp-float {
  background-color: #25D366;
}

.whatsapp-float:hover {
  background-color: #20bd5c;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Logo and Icon Styles */
.header-logo-img {
    height: 50px !important;
    width: auto;
    max-width: 250px;
    display: block;
    object-fit: contain;
    margin: 5px auto;
}

.facebook-icon-img {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

/* 使Facebook图标部分CSS保持一致 */
.facebook-logo {
    margin-bottom: 30px;
}

/* Make sure the animation loops seamlessly by adding duplicate items */
.slider-track:hover {
  animation-play-state: paused;
}

.results h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.results-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: -1.5rem auto 2.5rem;
}

@media (max-width: 768px) {
    header {
        height: 50px !important;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        min-height: auto;
    }
    
    .header-logo-img {
        height: 40px !important;
        max-width: 200px;
        margin: 5px auto;
    }
} 