/* 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 - Vibrant Modern Palette */
  --color-accent-rose: #F43F5E;
  --color-accent-violet: #8B5CF6;
  --color-accent-emerald: #10B981;
  --color-accent-amber: #F59E0B;
  --color-accent-sky: #0EA5E9;
  --color-accent-pink: #EC4899;
  --color-accent-purple: #A855F7;
  --color-accent-indigo: #6366F1;
  
  --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);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* ===== 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;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Global Safety: No invisible white text on light backgrounds ===== */
/* Ana içerik alanında, arka planı açık olan bloklarda beyaz (ve yarı şeffaf beyaz) metni koyu renge çevir. */
main .text-white:not([class*="bg-primary"]):not([class*="bg-black"]):not([class*="bg-neutral"]):not([class*="bg-slate"]):not([class*="bg-zinc"]):not([class*="bg-stone"]):not([class*="bg-gradient"]):not([class*="bg-accent"]):not([class*="bg-dark"]),
main .text-white\/5,
main .text-white\/10,
main .text-white\/20,
main .text-white\/30,
main .text-white\/40,
main .text-white\/50,
main .text-white\/60,
main .text-white\/70,
main .text-white\/80,
main .text-white\/90 {
  color: var(--color-primary);
}

/* Force text color on white/surface backgrounds */
section.bg-white,
section.bg-surface {
  color: var(--color-primary);
}

section.bg-white h1,
section.bg-white h2,
section.bg-white h3,
section.bg-white h4,
section.bg-white h5,
section.bg-white h6,
section.bg-white p,
section.bg-white span:not(.text-white):not([class*="text-accent"]):not([class*="text-white/"]):not([class*="bg-primary"]):not([class*="bg-secondary"]),
section.bg-surface h1,
section.bg-surface h2,
section.bg-surface h3,
section.bg-surface h4,
section.bg-surface h5,
section.bg-surface h6,
section.bg-surface p,
section.bg-surface span:not(.text-white):not([class*="text-accent"]):not([class*="text-white/"]):not([class*="bg-primary"]):not([class*="bg-secondary"]) {
  color: var(--color-primary);
}

/* Cards on white backgrounds */
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) {
  color: var(--color-primary);
}

.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) h1,
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) h2,
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) h3,
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) h4,
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) h5,
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) h6,
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) p,
.bg-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-white/"]) span:not(.text-white):not([class*="text-accent"]):not([class*="text-white/"]):not([class*="bg-primary"]):not([class*="bg-secondary"]) {
  color: var(--color-primary);
}

/* Ensure no white text on white backgrounds - KESIN KURAL: ASLA BEYAZ ARKA PLAN ÜZERİNDE BEYAZ YAZI */
section.bg-white .text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface .text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
.bg-white .text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
.bg-surface .text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]) {
  color: var(--color-primary);
}

/* Tüm elementler için beyaz arka plan üzerinde beyaz yazı kontrolü */
section.bg-white h1.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white h2.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white h3.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white h4.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white h5.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white h6.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white p.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white div.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white span.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-white a.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface h1.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface h2.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface h3.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface h4.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface h5.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface h6.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface p.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface div.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface span.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
section.bg-surface a.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]) {
  color: var(--color-primary);
}

/* Genel kural: Beyaz arka plan üzerinde beyaz yazı ASLA kullanma */
.bg-white.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]),
.bg-surface.text-white:not([class*="bg-primary"]):not([class*="bg-secondary"]):not([class*="bg-accent"]):not([class*="bg-gradient"]):not([class*="bg-white/"]) {
  color: var(--color-primary);
}

html {
  height: 100%;
}

main {
  flex: 1;
}

/* Footer Fix */
footer {
  margin-top: auto;
  position: relative;
  z-index: 10;
}

/* Footer defaults should not force dark theme.
   If you need a dark footer, use `.footer-dark` on the footer element. */
.footer-dark {
  background-color: var(--color-primary);
  color: white;
}
.footer-dark * {
  color: inherit;
}
.footer-dark h4,
.footer-dark p,
.footer-dark span,
.footer-dark a {
  color: rgba(255, 255, 255, 0.9);
}
.footer-dark a:hover {
  color: white;
}
.footer-dark .text-white\/40,
.footer-dark .text-white\/60,
.footer-dark .text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}
.footer-dark .text-white\/40:hover,
.footer-dark .text-white\/60:hover,
.footer-dark .text-white\/70:hover {
  color: white;
}

@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: 100%;
  max-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;
  min-height: 400px;
}

.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;
  display: block;
  min-height: 400px;
}

/* Görsel fallback için */
img[onerror] {
  min-height: 200px;
}

/* Aspect ratio fallback */
.aspect-video {
  aspect-ratio: 16 / 9;
  position: relative;
  min-height: 200px;
}

.aspect-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Görsel yükleme durumu için */
.aspect-video img:not([src]) {
  display: none;
}

@supports not (aspect-ratio: 16 / 9) {
  .aspect-video::before {
    content: '';
    display: block;
    padding-bottom: 56.25%; /* 16:9 ratio */
  }
  
  .aspect-video > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* ===== 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 section - see bottom of file */

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

/* Gradient Text - Already defined above, keeping here for reference */

/* 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;
}

/* Dark nav: white focus ring for contrast */
.dynamic-nav a:focus-visible,
.dynamic-nav button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Buttons: stronger focus for a11y */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-bubble:focus-visible,
.btn-bubble-secondary:focus-visible,
a[class*="bg-primary"]:focus-visible,
a[class*="bg-white"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ===== 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;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-15px) translateX(10px);
  }
  66% {
    transform: translateY(15px) translateX(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes morphing {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

/* Reveal Animation */
.reveal-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Animation */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
.pulse-dot {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Text Animation - Already defined above */

/* Preloader Styles */
#preloader {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Image Load Animation */
img.loaded {
  animation: fadeIn 0.5s ease-in-out;
  opacity: 1;
}

/* Ensure images are visible when loaded */
img[src*="/static/img/"],
img[src*="img/screens/"] {
  opacity: 1;
  transition: opacity 0.3s ease;
  background-color: transparent;
}

img[src*="/static/img/"].loaded,
img[src*="img/screens/"].loaded {
  opacity: 1;
}

/* Fallback visibility - ensure proper display */
img[src*="/static/img/"] + div.hidden,
img[src*="img/screens/"] + div.hidden {
  display: none;
}

img[src*="/static/img/"] + div:not(.hidden),
img[src*="img/screens/"] + div:not(.hidden) {
  display: flex;
  transition: opacity 0.3s ease;
}

/* Aspect video containers */
.aspect-video {
  background-color: var(--color-surface);
  min-height: 200px;
}

.aspect-video img {
  opacity: 1;
}

.aspect-video img:not([src]) {
  display: none;
}

/* Custom Cursor (Optional) */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  mix-blend-mode: difference;
}

.custom-cursor.cursor-hover {
  transform: scale(1.5);
  background: var(--color-primary);
}

/* Navbar Scroll Effect */
.nav-scrolled {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
}

/* Smooth Transitions - Only for interactive elements to improve performance */
a,
button,
input,
select,
textarea,
.btn-primary,
.btn-secondary,
.btn-ghost,
.nav-link,
.card,
.dynamic-nav {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ===== Modern UI Effects ===== */

/* Glassmorphism Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
}

/* Gradient Text */
.gradient-text {
  /* White-first theme: subtle, minimal accent (no heavy violet) */
  background: linear-gradient(90deg, #0A0A0A 0%, #F43F5E 55%, #0A0A0A 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 10s ease infinite;
}

/* Animated Gradient Background */
.gradient-bg-animated {
  background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
}

/* Glow Effect */
.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #4facfe);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(20px);
}

.glow-effect:hover::before {
  opacity: 0.7;
}

/* Floating Animation Elements - Desktop Only */
.float-slow {
  animation: none;
}

@media (min-width: 1024px) {
  .float-slow {
    animation: floatSlow 10s ease-in-out infinite;
  }
}

/* Modern Card with Hover Effect */
.modern-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.modern-card:hover::before {
  left: 100%;
}

.modern-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px -10px rgba(139, 92, 246, 0.3);
}

/* Pulse Glow Button */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Morphing Shape */
.morphing-shape {
  animation: morphing 10s ease-in-out infinite;
}

/* Gradient Border */
.gradient-border-animated {
  position: relative;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #667eea, #764ba2, #f093fb) border-box;
  border: 2px solid transparent;
  border-radius: 20px;
}

/* Neon Text Effect */
.neon-text {
  color: #fff;
  text-shadow: 
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #8B5CF6,
    0 0 82px #8B5CF6,
    0 0 92px #8B5CF6,
    0 0 102px #8B5CF6,
    0 0 151px #8B5CF6;
}

/* Parallax Effect Helper */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Smooth Scale Hover */
.hover-scale {
  transition: transform 0.3s var(--ease-out-expo);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Magnetic Button Effect */
.magnetic-button {
  position: relative;
  transition: transform 0.2s ease-out;
}

/* Icon Bounce on Hover */
.icon-bounce {
  display: inline-block;
  transition: transform 0.3s var(--ease-bounce);
}

.icon-bounce:hover {
  transform: translateY(-4px);
}

/* Shimmer Effect */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s infinite;
}

/* Contact Card Modern */
.contact-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.4);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
  
  .animate-float,
  .float-slow {
    animation: none;
  }
}

/* ===== Responsive Utilities ===== */

/* Mobile First - Extra Small Devices (320px - 374px) */
@media (max-width: 374px) {
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  
  .phone-mockup {
    width: 200px;
    max-width: 90vw;
  }
}

/* Small Devices (375px - 640px) */
@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary,
  .btn-bubble,
  .btn-bubble-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .phone-mockup {
    width: 240px;
    max-width: 85vw;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .custom-cursor {
    display: none;
  }
  
  /* Disable all floating animations on mobile */
  .animate-float,
  .float-slow,
  .morphing-shape {
    animation: none !important;
  }
  
  /* Static gradients on mobile - no animation */
  .gradient-text,
  .gradient-bg-animated {
    animation: none !important;
  }
  
  /* Reduce motion on mobile for better performance */
  * {
    animation-duration: 0.3s !important;
  }
}

/* Medium Devices (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .phone-mockup {
    width: 260px;
  }
}

/* Large Devices (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .phone-mockup {
    width: 280px;
  }
}

/* iPhone SE (375x667) */
@media (max-width: 375px) and (max-height: 667px) {
  .min-h-screen {
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* iPhone 12/13/14 (390x844) */
@media (max-width: 390px) and (max-height: 844px) {
  body {
    font-size: 15px;
  }
}

/* iPhone 14 Pro Max (430x932) */
@media (max-width: 430px) and (max-height: 932px) {
  .phone-mockup {
    width: 260px;
  }
}

/* Android Small (360x640) */
@media (max-width: 360px) {
  h1 {
    font-size: 1.875rem !important;
  }
  
  .phone-mockup {
    width: 220px;
  }
}

/* ===== Footer: tighter grid on small screens ===== */
@media (max-width: 480px) {
  #contact .grid {
    gap: 2rem;
  }
  #contact h4 {
    margin-top: 1rem;
  }
}
