/* Page-specific styles */

/* Page Hero */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-purple);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
}

.hero-badge img {
  width: 20px;
  height: 20px;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 32px;
}

.page-hero h1 .highlight {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.hero-features {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-gray);
}

.hero-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* Demo Section */
.demo-section {
  padding: 40px 24px 80px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.demo-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.demo-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-tab {
  padding: 10px 24px;
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
}

.demo-tab.active {
  background: var(--primary);
  color: var(--bg-white);
}

.demo-tab:hover:not(.active) {
  background: var(--bg-light);
}

/* Problem Section */
.problem-section {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg-white);
}

.problem-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 60px;
  line-height: 1.2;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

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

.problem-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.problem-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.problem-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Solution Section */
.solution-section {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.solution-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.2;
}

/* Features Section */
.features-section {
  padding: 80px 24px;
  background: var(--bg-white);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-content h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.feature-content p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
}

.feature-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Actions Section */
.actions-section {
  padding: 80px 24px;
  background: var(--bg-light);
  text-align: center;
}

.actions-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.2;
}

.actions-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.action-tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  color: var(--text-gray);
}

.action-tab.active {
  background: var(--primary);
  color: var(--bg-white);
}

.action-tab:hover:not(.active) {
  background: var(--bg-white);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.action-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.action-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Integrations Section */
.integrations-section {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg-white);
}

.integrations-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}

.integrations-section > p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.integrations-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.integrations-grid img {
  height: 40px;
  opacity: 0.7;
  transition: var(--transition);
}

.integrations-grid img:hover {
  opacity: 1;
}

/* Deploy Section */
.deploy-section {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg-light);
}

.deploy-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}

.deploy-section > p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 48px;
}

.deploy-steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.deploy-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.step-icon img {
  width: 40px;
  height: 40px;
}

.deploy-step span {
  font-size: 14px;
  color: var(--text-gray);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 24px;
  background: var(--bg-dark);
  color: var(--bg-white);
  text-align: center;
}

.testimonials-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 1.3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: var(--border-radius);
}

.testimonial-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.testimonial-card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 80px 24px;
  background: var(--bg-white);
  text-align: center;
}

.faq-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--text-gray);
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 24px;
  background: var(--bg-purple);
  text-align: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
}

.cta-badge img {
  width: 24px;
  height: 24px;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.2;
}

.cta-form {
  max-width: 500px;
  margin: 0 auto;
}

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

.cta-form input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: 16px;
  background: var(--bg-white);
  margin-bottom: 16px;
}

.cta-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

/* Voice Page Specific */
.comparison-section {
  padding: 80px 24px;
  background: var(--bg-white);
}

.comparison-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.2;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: var(--border-radius-lg);
}

.comparison-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-card h3 img {
  width: 24px;
  height: 24px;
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.comparison-list li .icon {
  flex-shrink: 0;
  font-size: 16px;
}

.comparison-list li .icon.check {
  color: #22c55e;
}

.comparison-list li .icon.cross {
  color: #ef4444;
}

/* Steps Section */
.steps-section {
  padding: 80px 24px;
  background: var(--bg-white);
}

.steps-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.2;
}

.step-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.step-block:nth-child(even) {
  direction: rtl;
}

.step-block:nth-child(even) > * {
  direction: ltr;
}

.step-content {
  padding: 24px 0;
}

.step-label {
  display: inline-block;
  background: var(--primary);
  color: var(--bg-white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}

.step-content p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
}

.step-visual {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
}

.step-visual img {
  width: 100%;
}

/* Systems Section */
.systems-section {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg-white);
}

.systems-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 40px;
}

.systems-list {
  max-width: 600px;
  margin: 0 auto;
}

.systems-list p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Demo CTA */
.demo-cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a4a 100%);
  text-align: center;
  color: var(--bg-white);
}

.demo-cta-section .cta-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
}

.demo-cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 40px;
}

.demo-cta-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto 24px;
}

.demo-cta-form input {
  flex: 1;
  min-width: 180px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

.demo-cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.demo-cta-form button {
  background: var(--primary);
}

.demo-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.8;
}

.demo-features span::before {
  content: '• ';
}

/* Blog Page */
.blog-hero {
  padding: 140px 24px 60px;
  text-align: center;
  background: var(--bg-light);
}

.blog-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 16px;
}

.blog-hero p {
  font-size: 18px;
  color: var(--text-gray);
}

.blog-grid {
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  height: 200px;
  background: var(--bg-light);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Login Page */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  background: var(--bg-light);
}

.login-card {
  background: var(--bg-white);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.login-card .logo {
  justify-content: center;
  margin-bottom: 32px;
}

.login-card h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.login-card .subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.login-form .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.login-form .btn-primary {
  margin-top: 24px;
}

.login-footer {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-gray);
}

.login-footer a {
  color: var(--primary);
}

/* Legal Pages */
.legal-page {
  padding: 140px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}

.legal-page .last-updated {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-gray);
}

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

.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
  .problems-grid,
  .comparison-grid,
  .testimonials-grid,
  .actions-grid {
    grid-template-columns: 1fr;
  }

  .feature-block,
  .step-block {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse,
  .step-block:nth-child(even) {
    direction: ltr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .demo-cta-form {
    flex-direction: column;
  }

  .deploy-steps {
    gap: 32px;
  }
}
