/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 9%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 9%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(0, 0%, 9%);
  --primary: hsl(0, 0%, 9%);
  --primary-foreground: hsl(0, 0%, 98%);
  --secondary: hsl(0, 0%, 96%);
  --secondary-foreground: hsl(0, 0%, 9%);
  --muted: hsl(0, 0%, 96%);
  --muted-foreground: hsl(0, 0%, 45%);
  --accent: hsl(0, 0%, 9%);
  --accent-foreground: hsl(0, 0%, 98%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(210, 40%, 98%);
  --border: hsl(0, 0%, 90%);
  --input: hsl(0, 0%, 90%);
  --ring: hsl(0, 0%, 9%);
  --chart-1: hsl(0, 0%, 20%);
  --chart-2: hsl(0, 0%, 40%);
  --chart-3: hsl(0, 0%, 60%);
  --chart-4: hsl(0, 0%, 80%);
  --chart-5: hsl(0, 0%, 90%);
  --sidebar: hsl(0, 0%, 98%);
  --sidebar-foreground: hsl(0, 0%, 9%);
  --sidebar-primary: hsl(0, 0%, 9%);
  --sidebar-primary-foreground: hsl(0, 0%, 98%);
  --sidebar-accent: hsl(0, 0%, 96%);
  --sidebar-accent-foreground: hsl(0, 0%, 9%);
  --sidebar-border: hsl(0, 0%, 90%);
  --sidebar-ring: hsl(0, 0%, 9%);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: Menlo, monospace;
  --radius: 8px;
}

/* Base Styles */
* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Tailwind CSS - Essential Utility Classes */
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }
.p-6 { padding: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-10 { margin-left: 2.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.min-h-\[400px\] { min-height: 400px; }

/* Width & Height */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-full { width: 100%; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-16 { height: 4rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Colors */
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-black { background-color: #000; }
.bg-white { background-color: #fff; }
.bg-black\/20 { background-color: rgba(0, 0, 0, 0.2); }
.bg-white\/50 { background-color: rgba(255, 255, 255, 0.5); }
.bg-white\/75 { background-color: rgba(255, 255, 255, 0.75); }
.bg-muted\/50 { background-color: hsl(var(--muted) / 0.5); }

.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-white { color: #fff; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }

/* Typography */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Borders & Shadows */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-border { border-color: hsl(var(--border)); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.divide-y > * + * { border-top-width: 1px; }
.divide-border > * + * { border-color: hsl(var(--border)); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Background & Object */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }
.object-cover { object-fit: cover; }

/* Layout */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Transitions & Transforms */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-1000 { transition-duration: 1000ms; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.-translate-y-1\/2 { --tw-translate-y: -50%; }
.left-1\/2 { left: 50%; }
.bottom-4 { bottom: 1rem; }

/* Hover States */
.hover\:bg-black\/90:hover { background-color: rgba(0, 0, 0, 0.9); }
.hover\:bg-white\/75:hover { background-color: rgba(255, 255, 255, 0.75); }
.hover\:bg-muted\/50:hover { background-color: hsl(var(--muted) / 0.5); }
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.hover\:text-primary\/80:hover { color: hsla(var(--primary), 0.8); }
.hover\:text-accent:hover { color: hsl(var(--accent)); }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Flexbox Direction & Wrapping */
.flex-col { flex-direction: column; }

/* Spacing Utilities */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Responsive Design */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:space-x-8 > * + * { margin-left: 2rem; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:h-full { height: 100%; }
  .lg\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

/* Custom Component Styles */

/* Overlapping PK Logo styling - matches calling card */
.pk-logo {
  --pk-size: 3.5rem;
  position: relative;
  width: calc(var(--pk-size) * 1.2);
  height: var(--pk-size);
  font-family: 'Crimson Text', serif;
  font-weight: 600;
  line-height: 1;
  display: inline-block;
}

.pk-logo .pk-p,
.pk-logo .pk-k {
  position: absolute;
  font-size: var(--pk-size);
  letter-spacing: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk-logo .pk-p {
  z-index: 2;
  top: -0.15em;
  left: 0;
  transform: translateX(0);
}

.pk-logo .pk-k {
  z-index: 1;
  top: 0.15em;
  left: 0.35em;
  transform: translateX(0);
}

/* Hero size variant */
.pk-logo-hero {
  --pk-size: 8rem;
}

/* Navigation size variant */
.pk-logo-nav {
  --pk-size: 2.5rem;
}

/* Brand row layout - matches calling card */
.brand-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-row-hero {
  gap: 2rem;
  justify-content: center;
}

/* Brand typography */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* Hero typography sizes */
.brand-title-hero {
  font-size: 4rem;
}

.brand-subtitle-hero {
  font-size: 1.5rem;
}

/* Navigation typography sizes */
.brand-title-nav {
  font-size: 1.125rem;
}

.brand-subtitle-nav {
  font-size: 0.75rem;
}

/* Clean separator line like in business card */
.brand-separator {
  width: 2px; /* Keeps the vertical line width unchanged */
  height: 200px; /* Add this line to specify the height */
  background: currentColor; /* Uses the current text color for the vertical line */
  opacity: 1;
  align-self: center; /* Adjust alignment if necessary */
}

/* Additional height utilities */
.h-\[50vh\] {
  height: 50vh;
}

/* Pricing table specific */
.pricing-table th {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.pricing-table tbody tr:nth-child(even) {
  background-color: hsl(var(--muted));
}

/* Custom utilities that might be missing */
.self-stretch {
  align-self: stretch;
}