/* 
  Design System - Inspired by Doola.com
  Premium, Clean, SaaS Aesthetic
*/

@import url('compiled.css');

:root {
  /* Colors */
  --color-primary: #000000;
  --color-primary-hover: #333333;
  --color-secondary: #f4f6f8;
  --color-accent: #2ecc71; /* Success green example */
  --color-text-main: #111827;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;
  --color-bg-white: #ffffff;
  --color-bg-offset: #f9fafb;
  --color-border: #e5e7eb;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

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

  /* Layout */
  --container-width: 1240px;
  --header-height: 80px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button,
input,
textarea {
  font-family: inherit;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.text-center {
  text-align: center;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-2 {
  gap: var(--space-2);
}
.gap-4 {
  gap: var(--space-4);
}
.gap-6 {
  gap: var(--space-6);
}
.gap-8 {
  gap: var(--space-8);
}
.w-full {
  width: 100%;
}
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.gap-12 {
  gap: var(--space-12);
}

/* Typography Classes */
.h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
}
.subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
}
.text-sm {
  font-size: var(--text-sm);
}
.text-xs {
  font-size: var(--text-xs);
}
.font-medium {
  font-weight: var(--font-weight-medium);
}
.font-bold {
  font-weight: var(--font-weight-bold);
}
.text-muted {
  color: var(--color-text-muted);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-weight: var(--font-weight-semibold);
  border-radius: 99px; /* Rounded pill style like premium SaaS */
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: var(--text-base);
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-main);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-offset);
  border-color: var(--color-text-muted);
}

.card {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.section {
  padding: var(--space-20) 0;
}

.bg-offset {
  background-color: var(--color-bg-offset);
}

.visual-panel {
  background: var(--color-bg-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  position: relative;
  /* Placeholder pattern */
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Mobile Responsive */
@media (max-width: 780px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --section-padding: var(--space-16);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .flex-col-mobile {
    flex-direction: column;
  }

  .h1 {
    font-size: 2.25rem;
  }

  .visual-panel {
    min-height: 300px;
  }

  .personas-list {
    justify-content: left;
  }

  .feature-block-first {
    order: 2;
  }

  .visual-panel-video {
    justify-content: flex-start !important;
  }

  .visual-panel-video video {
    height: 160px;
  }
}
