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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --indigo: #6366f1;
  --indigo-dark: #4f46e5;
  --indigo-light: #eef2ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 7px 18px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn-outline:hover { border-color: var(--gray-400); background: var(--gray-50); }

/* Product-specific buttons */
.btn-cs {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}
.btn-cs:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); }
.btn-wf {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-wf:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-900);
}
.logo-mark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.logo-dot {
  color: var(--blue);
  font-weight: 700;
}
.footer .logo-dot { color: var(--blue); }
.nav-desktop { display: flex; gap: 32px; }
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
}
.nav-desktop a:hover { color: var(--gray-900); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 4px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--gray-100);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--blue-light) 0%, #fff 100%);
}
.hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.hero-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  margin-top: 20px;
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-cs { background: linear-gradient(180deg, #fafafe 0%, #fff 40%, var(--gray-50) 100%); }
.section-wf { background: linear-gradient(180deg, #f8faff 0%, #fff 40%, var(--gray-50) 100%); }
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-900);
}
.section-header p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--gray-500);
}

/* Product badges */
.product-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.badge-cs {
  background: var(--indigo-light);
  color: var(--indigo);
}
.badge-wf {
  background: var(--blue-light);
  color: var(--blue);
}

/* Products overview grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.product-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  transition: box-shadow .25s, transform .25s;
  text-align: center;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.product-cs { border-top: 3px solid var(--indigo); }
.product-wf { border-top: 3px solid var(--blue); }
.product-icon {
  margin: 0 auto 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.product-tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.product-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-for {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.product-for span {
  padding: 4px 14px;
  border-radius: 16px;
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
}
.product-cs .product-for span { background: var(--indigo-light); color: var(--indigo-dark); }
.product-wf .product-for span { background: var(--blue-light); color: var(--blue-dark); }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.features-3col { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.section-cs .feature-icon {
  background: var(--indigo-light);
  color: var(--indigo);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}
.more-features {
  margin-top: 48px;
  text-align: center;
}
.more-features h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 16px;
}
.more-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.more-features-grid span {
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--gray-100);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}

/* How it works (CalendarSync) */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  margin-bottom: 56px;
}
.step {
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Sync highlight (CalendarSync) */
.sync-highlight {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.sync-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.sync-text p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}
.sync-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sync-node {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  white-space: nowrap;
}
.sync-node-main {
  background: var(--indigo);
  color: #fff;
  padding: 16px 22px;
  font-size: 14px;
}
.sync-arrows {
  font-size: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
}

/* Book section (CalendarSync) */
.book-section {
  background: var(--indigo-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 56px;
}
.book-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.book-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo);
  margin-bottom: 12px;
}
.book-info p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}
.book-status {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-dark);
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 48px;
}
.cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray-400);
}

/* Slides / Presentation */
.slides-container {
  max-width: 960px;
  margin: 48px auto 0;
}
.slides-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 32px;
}
.slide {
  display: none;
  animation: fadeIn .4s ease;
}
.slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.slide-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--blue);
  opacity: .2;
}
.slide-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.slide-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.slide-text ul {
  list-style: none;
  padding: 0;
}
.slide-text li {
  padding: 5px 0;
  font-size: 14px;
  color: var(--gray-600);
}
.slide-text li::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
  margin-right: 8px;
}
.slide-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-image img[src=""] { display: none; }
.slide-image:has(img[src=""]):after,
.slide-image:not(:has(img)):after {
  content: "Screenshot";
  color: var(--gray-400);
  font-size: 14px;
}

.slides-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.slide-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all .2s;
}
.slide-btn:hover { border-color: var(--blue); color: var(--blue); }
.slide-dots { display: flex; gap: 8px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all .2s;
}
.dot.active { background: var(--blue); width: 24px; border-radius: 5px; }

/* Pricing */
.pricing-product-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.pricing-product-title svg {
  flex-shrink: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
.price-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #fff;
  position: relative;
}
.price-card-highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
  transform: scale(1.03);
}
.price-card-cs.price-card-highlight {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow-lg);
}
.price-card-wf.price-card-highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-badge.badge-cs { background: var(--indigo); }
.price-badge.badge-wf { background: var(--blue); }
.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}
.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 8px;
}
.price span { font-size: 16px; font-weight: 500; color: var(--gray-500); }
.price-note { font-size: 13px; color: var(--gray-400); margin-top: 4px; }
.price-employees {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.price-card ul {
  list-style: none;
  padding: 16px 0;
}
.price-card li {
  padding: 6px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card li.included { color: var(--gray-700); }
.price-card li.excluded { color: var(--gray-400); }
.price-card li.included::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.price-card li.excluded::before {
  content: "\2717";
  color: var(--gray-300);
  font-weight: 700;
  font-size: 13px;
}
.price-card .btn { margin-top: 8px; }
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--gray-400);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
  color: var(--gray-600);
}
.contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.contact-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.contact-item a { color: var(--blue); }
.contact-item a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  background: #fff;
  color: var(--gray-800);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-form select option[value=""] { color: var(--gray-400); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.contact-form textarea { resize: vertical; }

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  max-width: 280px;
}
.footer .logo span { color: #fff; }
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-300);
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--gray-400);
  padding: 4px 0;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-800);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .header-actions .btn { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }

  .section { padding: 48px 0; }
  .section-header h2 { font-size: 24px; }

  .products-grid { grid-template-columns: 1fr; }
  .features-grid,
  .features-3col { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr; gap: 24px; }

  .sync-highlight {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .sync-diagram {
    flex-direction: column;
    gap: 8px;
  }
  .sync-arrows { transform: rotate(90deg); }

  .book-section { padding: 28px; }

  .slide-content { grid-template-columns: 1fr; gap: 24px; }
  .slide-text { order: 2; }
  .slide-image { order: 1; }

  .pricing-grid,
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .price-card-highlight { transform: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

