/* GeoKr Global Styles - Minimal Tech / OpenAI Style */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #FFFFFF;
  color: #111111;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
  background: #D4D4D4;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A3A3A3;
}

/* Subtle grid background */
.bg-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-dot {
  background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Gradient borders */
.border-gradient {
  position: relative;
  background-clip: padding-box;
  border: 1px solid transparent;
}

/* Card hover */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.08);
  border-color: #111111;
}

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 229, 229, 0.8);
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, #111111 0%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Marquee animation */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 30s linear infinite;
}

/* Ticker pulse */
@keyframes ticker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.animate-ticker {
  animation: ticker 1.5s ease-in-out infinite;
}

/* Number counter style */
.font-mono-tab {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* Code style */
.code-block {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  background: #0a0a0a;
  color: #e5e5e5;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}

/* Beam effect */
.beam {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, #2563EB 50%, transparent 100%);
  opacity: 0;
}

/* Section divider */
.section-line {
  background: linear-gradient(90deg, transparent 0%, #E5E5E5 50%, transparent 100%);
  height: 1px;
}

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #F5F5F5;
  border: 1px solid #E5E5E5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #525252;
}

/* Hero ambient blob */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

/* Chart bars animation */
@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.bar-grow {
  transform-origin: bottom;
  animation: growBar 1s ease-out;
}

/* Floating animation for chips */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}
.animate-float-delay {
  animation: float 4s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Logo grid */
.logo-grid {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}
.logo-grid:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Dotted divider */
.dotted-divider {
  background-image: linear-gradient(to right, #E5E5E5 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  height: 1px;
}

/* Mesh gradient background for hero */
.mesh-bg {
  background:
    radial-gradient(at 20% 20%, rgba(37, 99, 235, 0.06) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(0, 0, 0, 0.04) 0px, transparent 50%),
    radial-gradient(at 60% 100%, rgba(37, 99, 235, 0.04) 0px, transparent 50%);
}
