/* Kuafora Site Styles - Modern Theme with Accent Colors */

/* ===== CSS Variables ===== */
:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-muted: #71717A;
  --color-surface: #FAFAFA;
  --color-surface-dark: #F4F4F5;
  --color-border: #E4E4E7;
  --color-white: #FFFFFF;
  
  /* Accent Colors */
  --color-accent-rose: #F43F5E;
  --color-accent-violet: #8B5CF6;
  --color-accent-emerald: #10B981;
  --color-accent-amber: #F59E0B;
  --color-accent-sky: #0EA5E9;
  
  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Typography ===== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-primary);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 640px) {
  body {
    font-size: 17px;
  }
}

.brand {
  font-family: var(--font-display);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ===== Primary Button ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.3);
}

/* ===== Secondary Button ===== */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* ===== Ghost Button ===== */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: var(--color-surface);
}

/* Legacy button classes for compatibility */
.btn-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

.btn-bubble-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

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

/* ===== Navigation ===== */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-surface);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ===== Section Backgrounds ===== */
.bg-white-section,
.section-bg-white {
  background: var(--color-white);
}

.bg-surface-section,
.bg-ayder-section,
.section-bg-surface {
  background: var(--color-surface);
}

.bg-dark-section {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== Cards ===== */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out-expo);
}

.card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.card-elevated {
  background: var(--color-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s var(--ease-out-expo);
}

.card-elevated:hover {
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

/* ===== Phone Mockup ===== */
.phone-mockup {
  position: relative;
  width: 280px;
  aspect-ratio: 9/19;
  background: var(--color-primary);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 
    0 50px 100px -30px rgba(0, 0, 0, 0.3),
    0 30px 60px -30px rgba(0, 0, 0, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-mockup-inner {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone-mockup-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-mockup-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Tablet Mockup ===== */
.tablet-mockup {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/10;
  background: var(--color-primary);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 
    0 50px 100px -30px rgba(0, 0, 0, 0.3),
    0 30px 60px -30px rgba(0, 0, 0, 0.2);
}

.tablet-mockup-inner {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
}

/* ===== Feature Icon ===== */
.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: 16px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  }
  
.feature-icon-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--color-surface);
  border-radius: 100px;
  color: var(--color-primary);
}

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

.badge-outline {
  background: transparent;
  border: 1px solid var(--color-border);
}

/* ===== Divider ===== */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

/* ===== Section Padding ===== */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
}
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== Accordion / FAQ ===== */
details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary::marker {
  display: none;
}

details[open] summary ~ * {
  animation: fadeInUp 0.3s ease-out;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
  }

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

/* ===== Focus States ===== */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== Smooth Scroll ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Grid Pattern Background ===== */
.bg-grid {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== Gradient Text ===== */
.text-gradient {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== App Store Buttons ===== */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.app-store-btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.app-store-btn-light:hover {
  background: var(--color-surface);
}

/* ===== Pricing Card ===== */
.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.3s var(--ease-out-expo);
}

.pricing-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  }

.pricing-card-featured {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  position: relative;
  z-index: 10;
}

.pricing-card-featured:hover {
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}

/* ===== Stat Counter ===== */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

/* ===== Testimonial ===== */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
}

/* ===== List Styles ===== */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  }

.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--color-surface);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ===== Hero Gradient ===== */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 0, 0, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

/* ===== Blur Decoration ===== */
.blur-decoration {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.02);
  filter: blur(100px);
  pointer-events: none;
}

/* ===== Responsive Utilities ===== */
@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary,
  .btn-bubble,
  .btn-bubble-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .phone-mockup {
    width: 240px;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
}
