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

:root {
  --white: #ffffff;
  --bg: #f3f4f6;
  --bg-alt: #e7e9ec;
  --border: #e4e4e4;
  --text: #000000;
  --text-heading: #333333;
  --muted: #6e6e6e;
  --muted-light: #9e9e9e;
  --accent: #fedb5b;
  --accent-hover: #f5d151;
  --dark: #040404;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s ease;
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --border: #2a2a2a;
  --text: #ffffff;
  --text-heading: #f0f0f0;
  --muted: #999999;
  --muted-light: #666666;
  --accent: #fedb5b;
  --accent-hover: #f5d151;
  --dark: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.3;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.07em; line-height: 1; color: var(--text-heading); }

.text-muted { color: var(--muted); }
.text-muted-light { color: var(--muted-light); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(243, 244, 246, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}
header.scrolled {
  background: rgba(243, 244, 246, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
[data-theme="dark"] header { background: rgba(10, 10, 10, 0.85); }
[data-theme="dark"] header.scrolled { background: rgba(10, 10, 10, 0.95); }

nav { display: flex; justify-content: space-between; align-items: center; height: 72px; }

.logo {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.04em;
  display: flex; align-items: center; gap: 8px; color: var(--text-heading);
  transition: var(--transition-fast);
}
.logo:hover { opacity: 0.7; }
.logo-mark {
  width: 28px; height: 28px; background: var(--accent);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: var(--dark);
}

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text); letter-spacing: -0.02em;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--text); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--muted); }

.nav-cta {
  background: var(--text); color: var(--white); padding: 10px 18px;
  border-radius: 50px; font-size: 0.9rem; font-weight: 500;
  transition: var(--transition-fast);
}
.nav-cta:hover { background: var(--text-heading); transform: translateY(-1px); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle {
  background: none; border: none; cursor: pointer; font-size: 1.2rem;
  color: var(--text); padding: 8px; border-radius: 50%;
  transition: var(--transition-fast); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { background: var(--bg-alt); transform: rotate(15deg); }
.mobile-menu { display: none; font-size: 1.4rem; cursor: pointer; padding: 8px; transition: var(--transition-fast); }
.mobile-menu:hover { opacity: 0.6; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  border-radius: 50px; font-weight: 500; font-size: 0.95rem;
  transition: var(--transition); cursor: pointer; border: none; letter-spacing: -0.02em;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(254, 219, 91, 0.3); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #1a1a1a; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--text); background: var(--text); color: var(--white); transform: translateY(-2px); }

.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 140px 0 100px; background: var(--bg); text-align: center; position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(254, 219, 91, 0.15) 0%, transparent 70%);
  border-radius: 50%; animation: pulse 6s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; bottom: -10%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%; animation: pulse 8s ease-in-out infinite reverse;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 800px; animation: fadeInUp 1s ease-out; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: var(--white); border: 1px solid var(--border); border-radius: 50px;
  font-size: 0.85rem; color: var(--muted); margin-bottom: 32px;
  animation: fadeInUp 1s ease-out 0.1s both;
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 28px; animation: fadeInUp 1s ease-out 0.2s both; }
.hero p {
  font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 auto 36px;
  line-height: 1.5; letter-spacing: -0.02em; animation: fadeInUp 1s ease-out 0.3s both;
}
.hero .btn { animation: fadeInUp 1s ease-out 0.4s both; }

.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 600px; }
.section-header p { font-size: 1rem; color: var(--muted); max-width: 360px; line-height: 1.5; }
.section-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-light); margin-bottom: 16px; }

section { padding: 120px 0; }
.bg-white { background: var(--white); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; transition: var(--transition);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .card { background: var(--bg-alt); }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.08); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.card p { color: var(--muted); line-height: 1.5; letter-spacing: -0.02em; }
.card-icon { font-size: 2rem; margin-bottom: 24px; transition: transform 0.4s ease; }
.card:hover .card-icon { transform: scale(1.1); }

.numbered-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.numbered-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; transition: var(--transition);
}
[data-theme="dark"] .numbered-item { background: var(--bg-alt); }
.numbered-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.numbered-item .num {
  font-family: "Fragment Mono", "Courier New", monospace; font-size: 0.85rem; color: var(--muted-light);
  margin-bottom: 24px; display: block; transition: color 0.3s ease;
}
.numbered-item:hover .num { color: var(--accent); }
.numbered-item h3 { font-size: 1.4rem; margin-bottom: 12px; }
.numbered-item p { color: var(--muted); line-height: 1.5; letter-spacing: -0.02em; }

.statement { text-align: center; }
.statement h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 32px; line-height: 1.05; }

.list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--border); gap: 24px;
  transition: var(--transition-fast); cursor: pointer;
}
.list-item:first-child { border-top: 1px solid var(--border); }
.list-item:hover { padding-left: 12px; }
.list-item h3 { font-size: 1.3rem; transition: var(--transition-fast); }
.list-item:hover h3 { color: var(--accent); }
.list-item p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.list-item .tag {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted-light); padding: 6px 12px; border: 1px solid var(--border);
  border-radius: 50px; white-space: nowrap; transition: var(--transition-fast);
}
.list-item:hover .tag { background: var(--accent); color: var(--dark); border-color: var(--accent); }

.cta { text-align: center; padding: 160px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; top: -50%; left: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(254, 219, 91, 0.1) 0%, transparent 70%);
  border-radius: 50%; animation: pulse 8s ease-in-out infinite;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 32px; color: var(--white); }

footer { background: var(--dark); color: var(--white); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 80px; }
.footer-brand p { color: var(--muted-light); margin-top: 20px; line-height: 1.6; font-size: 0.95rem; }
.footer-links h4 { font-size: 1rem; color: var(--white); margin-bottom: 24px; font-weight: 500; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { color: var(--muted-light); font-size: 0.95rem; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: var(--muted-light); font-size: 0.9rem; }

.page-header {
  padding: 140px 0 80px; background: var(--bg); text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(254, 219, 91, 0.1) 0%, transparent 70%);
  border-radius: 50%; animation: pulse 7s ease-in-out infinite;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 16px; }
.page-header p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 32px; }
.contact-item { margin-bottom: 28px; transition: var(--transition-fast); }
.contact-item:hover { transform: translateX(4px); }
.contact-item .label { font-size: 0.8rem; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; letter-spacing: 0.05em; }
.contact-item a { color: var(--text); font-size: 1.1rem; font-weight: 500; }
.contact-item a:hover { color: var(--accent); }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
[data-theme="dark"] .contact-form { background: var(--bg-alt); }
.contact-form h3 { font-size: 1.6rem; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--bg); color: var(--text);
  transition: var(--transition-fast); letter-spacing: -0.02em;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--text); background: var(--white); box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
[data-theme="dark"] .form-group input:focus, [data-theme="dark"] .form-group textarea:focus { background: var(--bg-alt); box-shadow: 0 0 0 3px rgba(255,255,255,0.05); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { background: #e8f5e9; color: #2e7d32; padding: 16px; border-radius: var(--radius-sm); margin-bottom: 20px; animation: fadeIn 0.5s ease; }
.form-error { background: #ffebee; color: #c62828; padding: 16px; border-radius: var(--radius-sm); margin-bottom: 20px; animation: fadeIn 0.5s ease; }

@media (max-width: 1024px) {
  .grid, .numbered-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-10px); opacity: 0; transition: all 0.3s ease;
  }
  .nav-links.active { display: flex; transform: translateY(0); opacity: 1; }
  .nav-links a::after { display: none; }
  .mobile-menu { display: block; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2.5rem; }
  .grid, .numbered-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 80px 0; }
  .cta { padding: 100px 0; }
  .list-item { flex-direction: column; align-items: flex-start; gap: 12px; }
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
