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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #f0f4ff;
  --accent: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.05);
  --shadow-md: rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-white);
}

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

/* Header */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn {
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Mockup Container */
.mockup-container {
  position: relative;
  width: 100%;
}

.mockup-desktop {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 20px 60px var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-header {
  height: 40px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-content {
  padding: 24px;
  background: var(--bg-light);
  min-height: 400px;
}

.dashboard-preview {
  display: flex;
  gap: 16px;
  height: 100%;
}

.dashboard-sidebar {
  width: 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  height: 48px;
  background: var(--bg-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
  cursor: pointer;
}

.sidebar-item:hover {
  background: var(--secondary);
}

.sidebar-item.active {
  background: var(--primary);
  color: white;
}

.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dashboard-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.date-range {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 12px;
  background: var(--bg-white);
  border-radius: 6px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 6px var(--shadow);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.stat-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.stat-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.stat-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-change {
  font-size: 11px;
  font-weight: 600;
}

.stat-change.positive {
  color: #10b981;
}

.stat-change.negative {
  color: #ef4444;
}

.chart-container {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px var(--shadow);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.chart-legend {
  display: flex;
  gap: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.blue {
  background: var(--primary);
}

.legend-dot.gray {
  background: var(--text-light);
}

.chart {
  height: 140px;
  position: relative;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  gap: 4px;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.bar-group > div {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s;
}

.bar.current {
  background: var(--primary);
}

.bar.previous {
  background: var(--text-light);
  opacity: 0.4;
}

.bar-label {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.mockup-mobile {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 410px;
  background: var(--text-primary);
  border-radius: 28px;
  box-shadow: 0 20px 60px var(--shadow-md);
  overflow: hidden;
}

.mobile-notch {
  height: 28px;
  background: var(--text-primary);
  border-radius: 0 0 16px 16px;
  width: 120px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.mobile-screen {
  background: var(--bg-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-top: -28px;
  padding-top: 36px;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 12px;
  color: var(--text-primary);
}

.mobile-time {
  font-size: 13px;
  font-weight: 600;
}

.mobile-icons {
  display: flex;
  gap: 4px;
}

.mobile-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.mobile-app-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.mobile-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
}

.mobile-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 8px var(--shadow);
  position: relative;
}

.mobile-card.upcoming {
  border: 2px solid var(--primary);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05) 0%,
    var(--bg-white) 100%
  );
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: white;
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}

.info-item svg {
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-outline-small,
.btn-primary-small {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-outline-small {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-primary-small {
  background: var(--primary);
  color: white;
}

.card-status {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  width: fit-content;
  font-weight: 600;
}

.card-status.confirmed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.mobile-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px 20px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.nav-item {
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item.active {
  color: var(--primary);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

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

.feature-card {
  padding: 32px;
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px var(--shadow);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Demo Section */
.demo {
  padding: 100px 0;
  background: var(--bg-light);
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.demo-left h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.demo-left p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.demo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-primary);
}

.demo-window {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.demo-header {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding: 16px;
}

.demo-tabs {
  display: flex;
  gap: 8px;
}

.demo-tab {
  padding: 8px 16px;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

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

.demo-body {
  padding: 24px;
}

.demo-calendar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-month {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
}

.calendar-day.header {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12px;
}

.calendar-day.active {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.calendar-bookings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.booking-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--secondary);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.booking-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  min-width: 50px;
}

.booking-details {
  flex: 1;
}

.booking-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.booking-service {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Integration Section */
.integration {
  padding: 100px 0;
  background: var(--bg-white);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.integration-card {
  padding: 32px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s;
}

.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px var(--shadow);
}

.integration-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.integration-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

.cta-content {
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

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

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 0 24px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-column p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

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

.footer-bottom p {
  color: var(--text-light);
  font-size: 14px;
}

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-content,
  .demo-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .mockup-desktop {
    min-width: 0;
    width: 100%;
    margin-bottom: 32px;
  }

  .mockup-mobile {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 24px;
    width: 180px;
    height: 360px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero-stats {
    gap: 32px;
  }

  .features-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .cta h2 {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .mockup-desktop {
    min-width: 0;
    width: 100%;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px var(--shadow-md);
    padding: 0;
  }

  .mockup-content {
    padding: 12px;
    min-height: 220px;
  }

  .dashboard-header h3 {
    font-size: 16px;
  }

  .date-range {
    font-size: 11px;
    padding: 4px 8px;
  }

  .chart-container {
    padding: 10px;
  }

  .chart-header h4 {
    font-size: 13px;
  }

  .chart {
    height: 80px;
  }

  .chart-bars {
    height: 60px;
  }

  .bar-label {
    font-size: 8px;
  }

  .mockup-mobile {
    width: 140px;
    height: 280px;
    border-radius: 18px;
    margin-top: 16px;
  }

  .mobile-screen {
    padding-top: 20px;
  }

  .mobile-app-header h3 {
    font-size: 14px;
  }

  .mobile-add-btn {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .mobile-content {
    padding: 8px;
    gap: 8px;
  }

  .mobile-card {
    padding: 8px;
    font-size: 12px;
  }

  .card-title {
    font-size: 12px;
  }

  .info-item {
    font-size: 9px;
  }

  .card-badge {
    font-size: 7px;
    padding: 2px 6px;
  }

  .card-status {
    font-size: 8px;
    padding: 2px 6px;
  }

  .mobile-nav {
    padding: 8px 10px;
  }
}
