@import "tailwindcss";

@theme {
  --font-sans: "Pretendard", "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --color-ink-50: #fafaf9;
  --color-ink-100: #f5f5f4;
  --color-ink-200: #e7e5e4;
  --color-ink-300: #d6d3d1;
  --color-ink-500: #78716c;
  --color-ink-600: #57534e;
  --color-ink-700: #44403c;
  --color-ink-900: #1c1917;
  --color-ink-950: #0c0a09;

  --color-accent-50: #fffbeb;
  --color-accent-100: #fef3c7;
  --color-accent-200: #fde68a;
  --color-accent-400: #fbbf24;
  --color-accent-500: #f59e0b;
  --color-accent-600: #d97706;
  --color-accent-700: #b45309;

  --animate-marquee: marquee 40s linear infinite;
  --animate-float: float 7s ease-in-out infinite;
  --animate-fade-in-up: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ══════════════════════════════════════
   Global base
══════════════════════════════════════ */
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #fafaf9;
  color: #1c1917;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}

.break-keep-all, .kr { word-break: keep-all; }

/* Grain overlay — fixed, never on scrolling container */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ══════════════════════════════════════
   Reveal animations
══════════════════════════════════════ */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
  50%      { transform: translateY(-12px) rotate(var(--rotate, 0deg)); }
}

.float { animation: float 7s ease-in-out infinite; }
.float-shift { animation: float 7s ease-in-out -2s infinite; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track { animation: marquee 40s linear infinite; width: max-content; }

@keyframes spin-soft {
  to { transform: rotate(360deg); }
}
.spin-soft { animation: spin-soft 1.2s linear infinite; }

/* ══════════════════════════════════════
   Header — 01header.html
══════════════════════════════════════ */
.glass-nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 32px -12px rgba(0, 0, 0, 0.12);
}

/* ══════════════════════════════════════
   Home page — 00home.html
══════════════════════════════════════ */

/* Buttons */
.cta-primary {
  background: #1c1917;
  color: #fafaf9;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -12px rgba(28, 25, 23, 0.45);
}
.cta-primary:hover {
  background: #0c0a09;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(28, 25, 23, 0.55);
}
.cta-primary:active { transform: translateY(0); }
.cta-primary:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 3px;
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #1c1917;
  border: 1px solid #e7e5e4;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-secondary:hover {
  background: white;
  border-color: #d6d3d1;
  transform: translateY(-2px);
}
.cta-secondary:active { transform: translateY(0); }
.cta-secondary:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 3px;
}

/* Hero gradient mesh */
.hero-mesh {
  background:
    radial-gradient(ellipse 70% 50% at 12% 18%, rgba(217, 119, 6, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 22%, rgba(245, 158, 11, 0.08), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(254, 243, 199, 0.5), transparent 70%);
}

/* Hero packet visual */
.packet-mock {
  background: white;
  border: 1px solid #e7e5e4;
  box-shadow: 0 30px 60px -20px rgba(28, 25, 23, 0.15);
}
.transcript-mock {
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  box-shadow: 0 12px 30px -14px rgba(28, 25, 23, 0.10);
}

/* Bento feature cards */
.bento-card {
  background: white;
  border: 1px solid #e7e5e4;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
  border-color: #d97706;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(28, 25, 23, 0.10);
}

/* Testimonial cards */
.t-card {
  background: white;
  border: 1px solid #e7e5e4;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.t-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(28, 25, 23, 0.08);
  border-color: #d6d3d1;
}

/* Pricing cards */
.price-card {
  background: white;
  border: 1px solid #e7e5e4;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card:not(.featured):hover {
  border-color: #d6d3d1;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(28, 25, 23, 0.08);
}
.price-card.featured {
  background: #1c1917;
  color: white;
  border-color: #1c1917;
  box-shadow: 0 30px 60px -20px rgba(28, 25, 23, 0.4);
}

/* Contact form */
.contact-input {
  background: white;
  border: 1px solid #e7e5e4;
  transition: all 0.2s ease;
  color: #1c1917;
}
.contact-input::placeholder { color: #a8a29e; }
.contact-input:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

/* Section divider line */
.flow-line {
  background: linear-gradient(90deg, transparent, #d97706, transparent);
  height: 1px;
}

/* Floating accent chip */
.accent-chip {
  background: #fef3c7;
  border: 1px solid #fde68a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 24px -10px rgba(217, 119, 6, 0.35);
}
