index.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /* Fonts are loaded in index.html for better performance */
  2. @tailwind base;
  3. @tailwind components;
  4. @tailwind utilities;
  5. @layer base {
  6. :root {
  7. --background: 0 0% 100%;
  8. --foreground: 240 10% 4%;
  9. --card: 0 0% 100%;
  10. --card-foreground: 240 10% 4%;
  11. --popover: 0 0% 100%;
  12. --popover-foreground: 240 10% 4%;
  13. /* Apple Blue Color */
  14. --primary: 221.2 83.2% 53.3%;
  15. --primary-foreground: 210 40% 98%;
  16. --secondary: 240 4.8% 95.9%;
  17. --secondary-foreground: 240 5.9% 10%;
  18. --muted: 240 4.8% 95.9%;
  19. --muted-foreground: 240 3.8% 40%;
  20. --accent: 240 4.8% 95.9%;
  21. --accent-foreground: 240 5.9% 10%;
  22. --destructive: 0 84.2% 60.2%;
  23. --destructive-foreground: 210 40% 98%;
  24. --border: 240 5.9% 90%;
  25. --input: 240 5.9% 90%;
  26. --ring: 240 10% 4%;
  27. --radius: 1rem;
  28. /* Apple-style gradients and effects */
  29. --gradient-primary: linear-gradient(135deg, hsl(221.2 83.2% 53.3%) 0%, hsl(210 100% 66%) 100%);
  30. --gradient-hero: radial-gradient(circle at 50% 50%, hsl(210 40% 98%) 0%, hsl(0 0% 100%) 100%);
  31. --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(240 4.8% 98%) 100%);
  32. --gradient-glow: radial-gradient(circle at center, hsla(221, 83%, 53%, 0.05) 0%, transparent 70%);
  33. --shadow-glow: 0 0 40px hsla(221, 83%, 53%, 0.08);
  34. --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  35. --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.08);
  36. --font-display: 'Outfit', 'Inter', sans-serif;
  37. --font-body: 'Inter', sans-serif;
  38. }
  39. .dark {
  40. --background: 240 10% 4%;
  41. --foreground: 0 0% 98%;
  42. /* Add dark mode overrides if needed, but the user asked for LIGHT/CLASSIC */
  43. }
  44. }
  45. @layer base {
  46. * {
  47. @apply border-border;
  48. }
  49. body {
  50. @apply bg-background text-foreground antialiased;
  51. font-family: var(--font-body);
  52. font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  53. }
  54. h1, h2, h3, h4, h5, h6 {
  55. font-family: var(--font-display);
  56. @apply tracking-tight;
  57. }
  58. }
  59. @layer utilities {
  60. .text-gradient {
  61. @apply bg-clip-text text-transparent bg-gradient-to-r from-primary to-blue-400 font-bold;
  62. }
  63. .bg-gradient-hero {
  64. background: var(--gradient-hero);
  65. }
  66. .bg-gradient-card {
  67. background: var(--gradient-card);
  68. }
  69. .bg-gradient-glow {
  70. background: var(--gradient-glow);
  71. }
  72. .glass-effect {
  73. @apply bg-white/70 backdrop-blur-md border border-white/20;
  74. }
  75. /* Compact spacing utility */
  76. .section-padding {
  77. @apply py-16 sm:py-20;
  78. }
  79. .animate-float {
  80. animation: float 6s ease-in-out infinite;
  81. }
  82. .animate-slide-up {
  83. animation: slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  84. }
  85. .animate-fade-in {
  86. animation: fade-in 0.8s ease-out forwards;
  87. }
  88. .card-apple {
  89. @apply bg-white rounded-3xl border border-black/[0.03] shadow-[0_2px_10px_-3px_rgba(0,0,0,0.07),0_10px_15px_-3px_rgba(0,0,0,0.05)] hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.1)] transition-all duration-500;
  90. }
  91. }
  92. @keyframes float {
  93. 0%, 100% { transform: translateY(0px) rotate(0deg); }
  94. 50% { transform: translateY(-15px) rotate(1deg); }
  95. }
  96. @keyframes slide-up {
  97. from { opacity: 0; transform: translateY(20px); }
  98. to { opacity: 1; transform: translateY(0); }
  99. }
  100. @keyframes fade-in {
  101. from { opacity: 0; }
  102. to { opacity: 1; }
  103. }
  104. .grid-pattern {
  105. background-image: radial-gradient(circle at 1px 1px, hsl(240 5.9% 90%) 1px, transparent 0);
  106. background-size: 40px 40px;
  107. }