@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #374151;
}

/* Utility Classes */
.min-h-screen { min-height: 100vh; }
.bg-gradient-to-br { background: linear-gradient(to bottom right, #f8fafc, #eff6ff, #e0e7ff); }

/* Background Gradients */
.bg-radial-gradient-1 {
  background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.15), transparent 50%);
}

.bg-radial-gradient-2 {
  background: radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1), transparent 50%);
}

.bg-radial-gradient-3 {
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
}

.bg-radial-gradient-4 {
  background: radial-gradient(circle at 30% 70%, rgba(255, 165, 0, 0.1), transparent 50%);
}

.bg-radial-gradient-5 {
  background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.08), transparent 60%);
}

.bg-radial-gradient-6 {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e5e7eb;
}

.max-w-7xl {
  max-width: 80rem;
  margin: 0 auto;
}

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-8 > * + * { margin-left: 2rem; }

.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.bg-gradient-to-br { background: linear-gradient(to bottom right, #fbbf24, #f97316); }
.rounded-xl { border-radius: 0.75rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-gray-800 { color: #1f2937; }

/* Navigation */
nav button {
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

nav button:hover {
  color: #f97316;
}

/* Buttons */
button {
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.bg-black { background-color: #000; }
.text-white { color: #fff; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.bg-black:hover { background-color: #374151; }

.bg-gradient-to-r { background: linear-gradient(to right, #fbbf24, #f97316); }
.hover\:from-yellow-300:hover { background: linear-gradient(to right, #fcd34d, #fb923c); }

/* Hero Section */
#hero {
  padding-top: 6rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.grid { display: grid; }
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-12 { gap: 3rem; }
.min-h-\[85vh\] { min-height: 85vh; }

.space-y-8 > * + * { margin-top: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.text-6xl { font-size: 3.75rem; line-height: 1; }
.lg\:text-8xl { font-size: 6rem; line-height: 1; }
.leading-tight { line-height: 1.25; }

.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.lg\:text-5xl { font-size: 3rem; line-height: 1; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }

.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-gray-600 { color: #4b5563; }
.leading-relaxed { line-height: 1.625; }
.max-w-lg { max-width: 32rem; }
.font-medium { font-weight: 500; }

/* Buttons in Hero */
.flex-col { flex-direction: column; }
.sm\:flex-row { flex-direction: row; }
.gap-4 { gap: 1rem; }

.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.rounded-2xl { border-radius: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.transition-all { transition-property: all; }
.duration-300 { transition-duration: 300ms; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

.border-3 { border-width: 3px; }
.border-orange-400 { border-color: #fb923c; }
.text-orange-500 { color: #f97316; }
.hover\:bg-orange-400:hover { background-color: #fb923c; }
.hover\:text-white:hover { color: #fff; }

/* Phone Mockup */
.w-80 { width: 20rem; }
.h-96 { height: 24rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.from-purple-600 { background: linear-gradient(to bottom right, #9333ea, #6b21a8); }
.rounded-3xl { border-radius: 1.5rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.rotate-3 { transform: rotate(3deg); }
.hover\:rotate-1:hover { transform: rotate(1deg); }
.border-2 { border-width: 2px; }
.border-purple-500 { border-color: #a855f7; }

.p-6 { padding: 1.5rem; }
.h-full { height: 100%; }
.flex-col { flex-direction: column; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.bg-green-500 { background-color: #10b981; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.text-red-500 { color: #ef4444; }

.bg-red-500 { background-color: #ef4444; }

.bg-yellow-400 { background-color: #fbbf24; }
.text-purple-900 { color: #581c87; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.rounded-full { border-radius: 9999px; }
.text-center { text-align: center; }

.justify-center { justify-content: center; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.border-4 { border-width: 4px; }
.border-green-400 { border-color: #4ade80; }

.flex-1 { flex: 1 1 0%; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }

.space-y-3 > * + * { margin-top: 0.75rem; }
.w-full { width: 100%; }
.bg-gray-300 { background-color: #d1d5db; }
.text-gray-800 { color: #1f2937; }
.p-3 { padding: 0.75rem; }
.text-left { text-align: left; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }

.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* Floating Elements */
.absolute { position: absolute; }
.-top-6 { top: -1.5rem; }
.-left-6 { left: -1.5rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.animate-bounce { animation: bounce 1s infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.text-yellow-800 { color: #92400e; }

.-bottom-6 { bottom: -1.5rem; }
.-right-6 { right: -1.5rem; }
.bg-pink-500 { background-color: #ec4899; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

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

.text-pink-100 { color: #fce7f3; }

.top-1\/2 { top: 50%; }
.-right-8 { right: -2rem; }
.text-green-100 { color: #dcfce7; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }

/* Sections */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.bg-white { background-color: #fff; }
.relative { position: relative; }

.mb-16 { margin-bottom: 4rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.max-w-3xl { max-width: 48rem; }

/* Question Types Cards */
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.from-gray-50 { background: linear-gradient(to bottom right, #f9fafb, #f3f4f6); }
.p-8 { padding: 2rem; }
.border { border-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }

.space-x-4 > * + * { margin-left: 1rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.from-green-500 { background: linear-gradient(to right, #10b981, #ef4444); }
.rounded-2xl { border-radius: 1rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }

.max-w-sm { max-width: 24rem; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.hover\:bg-green-400:hover { background-color: #4ade80; }
.hover\:bg-red-400:hover { background-color: #f87171; }

.from-blue-500 { background: linear-gradient(to right, #3b82f6, #a855f7); }

.from-orange-500 { background: linear-gradient(to right, #f97316, #eab308); }

.from-pink-500 { background: linear-gradient(to right, #ec4899, #ef4444); }

/* Answer Input for Write Type */
.justify-center { justify-content: center; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.border-red-400 { border-color: #f87171; }
.rounded { border-radius: 0.25rem; }
.text-red-400 { color: #f87171; }

/* Virtual Keyboard */
.space-y-2 > * + * { margin-top: 0.5rem; }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.bg-black { background-color: #000; }
.p-2 { padding: 0.5rem; }
.hover\:bg-gray-800:hover { background-color: #1f2937; }

.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bg-orange-500 { background-color: #f97316; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.hover\:bg-orange-400:hover { background-color: #fb923c; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }

/* Tools Section */
.from-blue-50 { background: linear-gradient(to bottom right, #eff6ff, #e0e7ff); }

.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }

.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:-translate-y-3:hover { transform: translateY(-0.75rem); }

/* Features Section */
.from-blue-500 { background: linear-gradient(to right, #3b82f6, #2563eb); }

.from-green-500 { background: linear-gradient(to right, #10b981, #059669); }

.from-yellow-500 { background: linear-gradient(to right, #eab308, #f97316); }

.from-purple-500 { background: linear-gradient(to right, #a855f7, #ec4899); }

.from-red-500 { background: linear-gradient(to right, #ef4444, #ec4899); }

.from-indigo-500 { background: linear-gradient(to right, #6366f1, #a855f7); }

/* How It Works Section */
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mb-8 { margin-bottom: 2rem; }
.w-28 { width: 7rem; }
.h-28 { height: 7rem; }
.w-12 { width: 3rem; }

.-top-3 { top: -0.75rem; }
.-right-3 { right: -0.75rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.bg-gray-800 { background-color: #1f2937; }
.text-yellow-400 { color: #facc15; }

.max-w-sm { max-width: 24rem; }

/* Download Section */
.from-yellow-400 { background: linear-gradient(to right, #fbbf24, #f97316, #ef4444); }
.overflow-hidden { overflow: hidden; }

.max-w-4xl { max-width: 56rem; }

.text-6xl { font-size: 3.75rem; line-height: 1; }
.mb-8 { margin-bottom: 2rem; }

.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.mb-12 { margin-bottom: 3rem; }
.max-w-2xl { max-width: 42rem; }

.gap-6 { gap: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.hover\:scale-105:hover { transform: scale(1.05); }

.bg-green-600 { background-color: #059669; }

.opacity-80 { opacity: 0.8; }
.opacity-60 { opacity: 0.6; }

.space-x-12 > * + * { margin-left: 3rem; }
.w-px { width: 1px; }
.h-16 { height: 4rem; }
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.3); }

/* Footer */
.bg-gray-900 { background-color: #111827; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.border-t { border-top-width: 1px; }
.border-gray-800 { border-color: #1f2937; }

.md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.space-y-6 > * + * { margin-top: 1.5rem; }
.text-gray-300 { color: #d1d5db; }

.text-yellow-400 { color: #facc15; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.hover\:text-yellow-400:hover { color: #facc15; }

.space-x-4 > * + * { margin-left: 1rem; }
.from-pink-500 { background: linear-gradient(to bottom right, #ec4899, #9333ea); }
.hover\:from-pink-400:hover { background: linear-gradient(to bottom right, #f472b6, #a855f7); }
.hover\:scale-110:hover { transform: scale(1.1); }

.from-gray-800 { background: linear-gradient(to bottom right, #1f2937, #000); }
.hover\:from-gray-700:hover { background: linear-gradient(to bottom right, #374151, #111827); }

.from-red-500 { background: linear-gradient(to bottom right, #ef4444, #dc2626); }
.hover\:from-red-400:hover { background: linear-gradient(to bottom right, #f87171, #ef4444); }

.pt-8 { padding-top: 2rem; }
.border-gray-700 { border-color: #374151; }
.md\:flex-row { flex-direction: row; }
.mb-4 { margin-bottom: 1rem; }
.md\:mb-0 { margin-bottom: 0; }

/* Animations */
.hero-content {
  animation: slideInLeft 1s ease-out;
}

.hero-phone {
  animation: slideInRight 1s ease-out 0.3s both;
}

.question-type-card {
  animation: fadeInUp 0.7s ease-out;
}

.tool-card {
  animation: fadeInUp 0.7s ease-out;
}

.feature-card {
  animation: fadeInUp 0.7s ease-out;
}

.how-it-works-step {
  animation: fadeInUp 0.7s ease-out;
}

.download-content {
  animation: fadeInUp 0.7s ease-out;
}

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:text-8xl { font-size: 4rem; }
  .lg\:text-5xl { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .text-6xl { font-size: 3rem; }
  .lg\:text-8xl { font-size: 4rem; }
  .text-4xl { font-size: 2rem; }
  .lg\:text-5xl { font-size: 2.5rem; }
  .text-5xl { font-size: 2.5rem; }
  
  .px-4 { padding-left: 1rem; padding-right: 1rem; }
  .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  
  .grid { display: block; }
  .gap-12 { gap: 2rem; }
  .gap-8 { gap: 1.5rem; }
  
  .w-80 { width: 18rem; }
  .h-96 { height: 20rem; }
  
  .space-x-12 > * + * { margin-left: 1rem; }
  .flex-col { flex-direction: column; }
  
  nav { display: none; }
  
  .md\:grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sm\:px-6 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:flex-row { flex-direction: column; }
  .sm\:inline { display: none; }
  
  .text-3xl { font-size: 1.5rem; }
  .text-2xl { font-size: 1.25rem; }
  .text-xl { font-size: 1.125rem; }
  
  .px-10 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .py-5 { padding-top: 1rem; padding-bottom: 1rem; }
  .py-6 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
}