:root {
  /* Primary colors */
  --primary-blue: #2563eb;
  --secondary-blue: #3b82f6;
  --accent-blue: #60a5fa;
  --light-blue: #b7d6ff;

  /* Grayscale */
  --gray-900: #262626;
  --gray-850: #303030;
  --gray-800: #3a3a3a;
  --gray-700: #525252;
  --gray-600: #676767;
  --gray-500: #878787;
  --gray-400: #b3b3b3;
  --gray-300: #d1d1d1;
  --gray-200: #efefef;
  --gray-100: #f6f6f6;
  --gray-50: #fafafa;
  --white: #ffffff;

  /* Semantic colors */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --border-light: var(--gray-200);
  --border-primary: var(--gray-300);

  /* Accent colors */
  --success: #22c55e;
  --error: #ef4444;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

[data-theme="dark"] {
  --text-primary: var(--gray-100);
  --text-secondary: var(--gray-300);
  --text-muted: var(--gray-500);
  --bg-primary: var(--gray-900);
  --bg-secondary: var(--gray-850);
  --border-light: var(--gray-800);
  --border-primary: var(--gray-700);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  transition: background-color 0.3s ease, color 0.3s ease;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(
    135deg,
    var(--light-blue) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.5) 0%,
    rgba(15, 23, 42, 0) 100%
  );
}


.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05) 0%,
    rgba(96, 165, 250, 0.03) 50%,
    rgba(219, 234, 254, 0.02) 100%
  );
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 2.5rem 0rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .hero h1 {
  background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-glance {
  width: 16rem;
  max-width: 100%;
}

.banner-image-container {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1128px;
  width: 100%;
}

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

.section:nth-child(even) {
  background: var(--bg-secondary);
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

small {
  color: var(--text-muted);
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--light-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.feature-card h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Target Users */
.target-content-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
  width: 100%;
}

.target-content-section {
  text-align: left;
}

.target-content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.target-content-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.target-content-list-negative li::before {
  content: "❌";
  font-size: 1.2em;
  flex-shrink: 0;
}

.target-content-list-positive li::before {
  content: "✅";
  font-size: 1.2em;
  flex-shrink: 0;
}

.target-content-divider {
  height: 1px;
  background: var(--border-primary);
  margin: 1.5rem 0;
}

/* Comparison Table */
.comparison-table {
  margin-top: 2rem;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-primary);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.comparison-table thead {
  background: var(--bg-secondary);
}

.comparison-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-primary);
  border-right: 1px solid var(--border-primary);
}

.comparison-table th:last-child {
  border-right: none;
}

.comparison-table td {
  padding: 0.875rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-primary);
  border-right: 1px solid var(--border-primary);
  vertical-align: middle;
  font-size: 0.9rem;
}

.comparison-table td:last-child {
  border-right: none;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: var(--light-blue);
  color: var(--primary-blue);
  font-weight: 600;
}

[data-theme="dark"] .comparison-table th.highlight,
[data-theme="dark"] .comparison-table td.highlight {
  background: rgba(37, 99, 235, 0.2);
  color: var(--light-blue);
}

.comparison-table .check-icon {
  color: var(--success);
  font-weight: 700;
  margin-left: 0.5rem;
}

.comparison-table .cross-icon {
  color: var(--error);
  font-weight: 700;
  margin-left: 0.5rem;
}

/* Use Cases */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.use-case-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.use-case-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: "Raleway", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.use-case-title i {
  width: 40px;
  height: 40px;
  background: var(--light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.use-case-scenario {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem;
}

/* Video Demo */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.video-card {
  background: var(--bg-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  background: var(--bg-secondary);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-container {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-group .btn-glance {
    width: 100%;
  }

  .comparison-table table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.875rem;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-wrapper {
    height: 200px;
  }
}
