/* ===== CSS Variables ===== */
:root {
  --primary: #4284cc;
  --primary-dark: #2a6ab8;
  --primary-light: #e8f0fb;
  --secondary: #1a1a2e;
  --accent: #f59e0b;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #ffffff;
  --bg-gray: #f7f8fc;
  --bg-dark: #0f1629;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(66,132,204,0.10);
  --shadow-lg: 0 8px 40px rgba(66,132,204,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(66,132,204,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(66,132,204,0.4);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
}

.nav-logo img {
  height: 42px;
  width: auto;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-links a.btn.btn-primary {
  color: #fff;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66,132,204,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Chat App Mockup ===== */
.chat-app {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  background: #fff;
  font-size: 13px;
}

/* Title Bar */
.chat-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--secondary);
  color: #fff;
}
.chat-app-dots {
  display: flex;
  gap: 6px;
}
.chat-app-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.chat-app-title {
  font-weight: 600;
  font-size: 12px;
  opacity: 0.9;
}
.chat-app-actions {
  display: flex;
  gap: 10px;
  font-size: 13px;
  opacity: 0.7;
}

/* Body Layout */
.chat-app-body {
  display: flex;
  height: 380px;
}

/* Sidebar */
.chat-sidebar {
  width: 160px;
  background: #f4f6fa;
  border-right: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}
.chat-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  cursor: default;
  transition: background 0.2s;
  border-left: 3px solid transparent;
}
.chat-sidebar-item.active {
  background: #fff;
  border-left-color: var(--primary);
}
.chat-sidebar-item:hover:not(.active) {
  background: #edf0f7;
}
.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.chat-sidebar-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.chat-sidebar-name {
  font-weight: 600;
  font-size: 11px;
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-sidebar-preview {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.chat-sidebar-badge {
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Chat Main */
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-messages {
  flex: 1;
  padding: 14px 14px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Messages */
.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.chat-msg.visible {
  opacity: 1;
  transform: translateY(0);
}
.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.chat-msg-body {
  max-width: 85%;
  min-width: 0;
}
.chat-msg-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.chat-msg-name span {
  font-weight: 400;
  margin-left: 6px;
  font-size: 9px;
  opacity: 0.7;
}
.chat-msg-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  word-break: break-word;
}

/* Other's messages */
.chat-msg-other .chat-msg-bubble {
  background: #f0f2f7;
  border-top-left-radius: 4px;
}

/* Self messages */
.chat-msg-self {
  flex-direction: row-reverse;
}
.chat-msg-self .chat-msg-body {
  text-align: right;
}
.chat-msg-self .chat-msg-bubble {
  background: var(--primary);
  color: #fff;
  border-top-right-radius: 4px;
  display: inline-block;
  text-align: left;
}

/* System messages */
.chat-msg-system {
  justify-content: center;
}
.chat-msg-system .chat-msg-bubble {
  background: #eef6ff;
  color: var(--primary);
  font-size: 10px;
  text-align: center;
  border-radius: 20px;
  padding: 5px 14px;
  font-weight: 500;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.chat-typing.visible {
  opacity: 1;
  transform: translateY(0);
}
.chat-typing-dots {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #f0f2f7;
  border-radius: 12px;
  border-top-left-radius: 4px;
}
.chat-typing-dots span {
  width: 6px;
  height: 6px;
  background: #aab0c0;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Input Bar */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: #fafbfc;
}
.chat-input-icons {
  display: flex;
  gap: 6px;
  font-size: 14px;
  opacity: 0.5;
}
.chat-input-field {
  flex: 1;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  color: var(--text-muted);
}
.chat-input-send {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Chat app responsive */
@media (max-width: 768px) {
  .chat-app {
    max-width: 100%;
  }
  .chat-sidebar {
    width: 120px;
  }
  .chat-app-body {
    height: 320px;
  }
}
@media (max-width: 480px) {
  .chat-sidebar {
    display: none;
  }
  .chat-app-body {
    height: 280px;
  }
}

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

.section-gray {
  background: var(--bg-gray);
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: rgba(255,255,255,0.7);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header .label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

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

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 96px;
  height: 96px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(66,132,204,0.3);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured .pricing-badge {
  display: inline-block;
}

.pricing-badge {
  display: none;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

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

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

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

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

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

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

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

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ===== Page Header ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

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

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

.breadcrumb .current {
  color: var(--primary);
  font-weight: 500;
}

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image .placeholder-icon {
  font-size: 6rem;
  opacity: 0.3;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-content {
  width: 45%;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.timeline-year {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

/* ===== Features Page ===== */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.feature-detail:nth-child(even) {
  direction: rtl;
}

.feature-detail:nth-child(even) > * {
  direction: ltr;
}

.feature-detail-visual {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.feature-detail-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-detail-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.feature-list {
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.feature-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-gray);
  border-radius: var(--radius);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-card h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(66,132,204,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text-light);
  line-height: 1.7;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero h1 { font-size: 2.6rem; }
  
  .features-grid,
  .pricing-grid,
  .testimonials-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 360px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .features-grid,
  .pricing-grid,
  .testimonials-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-intro,
  .feature-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .feature-detail:nth-child(even) {
    direction: ltr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
    padding-left: 48px;
  }
  
  .timeline-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  
  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
}
