/* styles.css */
@font-face {
  font-family: Anthropic Sans;
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a00a3295036497e1a28_AnthropicSans-Roman-Web.woff2") format(woff2);
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Anthropic Sans;
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a016067bf14b9b8f48d_AnthropicSans-Italic-Web.woff2") format(woff2);
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Anthropic Serif;
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a1551eb6cda0d656e8a_AnthropicSerif-Roman-Web.woff2") format(woff2);
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Anthropic Serif;
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a15a9fb8c1107a3570e_AnthropicSerif-Italic-Web.woff2") format(woff2);
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Anthropic Mono;
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a2e55d24d61bc045b1a_AnthropicMono-Roman-Web.woff2") format(woff2);
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Anthropic Mono;
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a2eb93743112c30fe9c_AnthropicMono-Italic-Web.woff2") format(woff2);
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #181816;
  --bg-subtle: #1e1e1b;
  --glass: #fffaf008;
  --glass-strong: #fffaf00d;
  --glass-hover: #fffaf012;
  --glass-border: #fffaf014;
  --glass-border-hover: #fffaf026;
  --accent: #d4845e;
  --accent-hover: #c47550;
  --accent-glow: #d4845e1f;
  --accent-glow-strong: #d4845e47;
  --text: #ece8e0;
  --text-secondary: #a39e93;
  --text-muted: #6b6760;
  --font-sans: "Anthropic Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Anthropic Serif", Georgia, "Times New Roman", serif;
  --font-mono: "Anthropic Mono", "JetBrains Mono", "Fira Code", "SF Mono", monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --syn-kw: #c084fc;
  --syn-str: #34d399;
  --syn-fn: #60a5fa;
  --syn-cmt: #52525b;
  --syn-num: #fbbf24;
  --syn-prop: #67e8f9;
  --syn-op: #a1a1aa;
  --syn-var: #e4e4e7;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

.grain {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  inset: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  letter-spacing: -.02em;
  color: var(--text);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: 4.25rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (width <= 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.15rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.125rem;
}

nav {
  position: fixed;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  background: #181816e6;
  top: 0;
  left: 0;
  right: 0;
}

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

.nav-logo {
  font-family: var(--font-mono);
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items:  center;
  gap: .4rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items:  center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color var(--transition);
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  border: 1px solid var(--glass-border-hover);
  transition: all var(--transition);
  white-space: nowrap;
  border-radius: 8px;
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent) !important;
  color: var(--bg) !important;
}

.hero {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 12rem 0 6rem;
}

.hero h1 {
  margin-bottom: 1.75rem;
}

.gradient-text {
  color: var(--accent);
}

.hero .subtitle {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
  line-height: 1.8;
}

.typer-line {
  display: block;
  color: var(--text);
  min-height: 1.8em;
  margin-bottom: .25rem;
}

.typer-cursor {
  color: var(--accent);
  animation: blink .7s step-end infinite;
  font-weight: 300;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.subpage-hero {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 0 4rem;
}

.subpage-hero h1 {
  margin-bottom: 1.25rem;
  font-size: 3.25rem;
}

.subpage-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
}

.btn {
  display: inline-flex;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  border-radius: 8px;
  align-items:  center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-size: .95rem;
  font-weight: 500;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--glass-border-hover);
  background: none;
}

.btn-secondary:hover {
  background: var(--glass-hover);
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.badge {
  display: inline-flex;
  background: var(--accent-glow);
  font-family: var(--font-mono);
  color: var(--accent);
  border: 1px solid #d4845e33;
  border-radius: 6px;
  align-items:  center;
  gap: .5rem;
  margin-bottom: 1.75rem;
  padding: .5rem 1.25rem;
  font-size: .8rem;
  font-weight: 500;
}

.badge-exclusive {
  color: #fbbf24;
  background: #fbbf241a;
  border-color: #fbbf2433;
}

.stats-bar {
  display: flex;
  position: relative;
  justify-content: center;
  gap: 5rem;
  padding: 4rem 2rem;
}

.stats-bar:before {
  content: "";
  position: absolute;
  background: var(--glass-border);
  height: 1px;
  top: 0;
  left: 10%;
  right: 10%;
}

.stats-bar:after {
  content: "";
  position: absolute;
  background: var(--glass-border);
  height: 1px;
  bottom: 0;
  left: 10%;
  right: 10%;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  color: var(--text);
  letter-spacing: -.02em;
  font-size: 2.75rem;
  font-weight: 500;
}

.stat-label {
  color: var(--text-muted);
  margin-top: .5rem;
  font-size: .85rem;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2.25rem;
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (width <= 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.feature-card:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

.feature-icon {
  border-radius: var(--radius);
  display: flex;
  background: var(--accent-glow);
  overflow: hidden;
  border: 1px solid #d4845e26;
  justify-content: center;
  align-items:  center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}

.feature-icon img {
  object-fit: contain;
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin-bottom: .625rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin-bottom: 1.25rem;
  font-size: .9rem;
  line-height: 1.65;
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.feature-meta span {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: .75rem;
}

.feature-meta .price {
  color: var(--accent);
}

.feature-meta .speed {
  color: #67e8f9;
}

.code-block {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: #00000059;
}

.code-header {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
  background: #ffffff05;
  justify-content: space-between;
  align-items:  center;
  padding: .75rem 1.25rem;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dots span {
  background: #ffffff14;
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.code-dots span:first-child {
  background: #ef4444;
}

.code-dots span:nth-child(2) {
  background: #fbbf24;
}

.code-dots span:nth-child(3) {
  background: #34d399;
}

.code-lang {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .75rem;
}

.code-body {
  overflow-x: auto;
  padding: 1.5rem;
}

.code-body pre {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: .85rem;
  line-height: 1.75;
}

.code-body .kw {
  color: var(--syn-kw);
}

.code-body .fn {
  color: var(--syn-fn);
}

.code-body .str {
  color: var(--syn-str);
}

.code-body .cmt {
  color: var(--syn-cmt);
  font-style: italic;
}

.code-body .num {
  color: var(--syn-num);
}

.code-body .prop {
  color: var(--syn-prop);
}

.code-body .var {
  color: var(--syn-var);
}

.code-body .op {
  color: var(--syn-op);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  padding: 2.5rem 2rem;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #d4845e0f, var(--glass));
  border-color: #d4845e4d;
}

.pricing-card.featured:before {
  content: "MOST POPULAR";
  position: absolute;
  background: linear-gradient(135deg, var(--accent), #c47550);
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: .05em;
  border-radius: 6px;
  padding: .3rem .875rem;
  font-size: .7rem;
  font-weight: 600;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.pricing-card h3 {
  margin-bottom: .5rem;
}

.pricing-card .price-tag {
  font-family: var(--font-mono);
  color: var(--text);
  margin: 1.5rem 0 .25rem;
  font-size: 2.5rem;
  font-weight: 500;
}

.pricing-card .price-unit {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: .85rem;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card li {
  color: var(--text-secondary);
  display: flex;
  align-items:  center;
  gap: .625rem;
  padding: .5rem 0;
  font-size: .875rem;
}

.pricing-card li:before {
  content: "✓";
  color: var(--accent);
  flex-shrink: 0;
  font-size: .8rem;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass);
}

.comparison-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .9rem;
}

.comparison-table th, .comparison-table td {
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
}

.comparison-table thead th {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  position: sticky;
  background: #ffffff05;
  font-size: .8rem;
  top: 0;
}

.comparison-table .us {
  color: var(--accent);
  background: #d4845e0d;
  font-weight: 600;
}

.comparison-table tbody tr:hover {
  background: #ffffff05;
}

.comparison-table .check {
  color: var(--accent);
  font-weight: 600;
}

.comparison-table .cross {
  color: #ef4444;
}

.task-types {
  margin: 2rem 0;
}

.task-type-row {
  display: flex;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  align-items:  center;
  margin-bottom: .625rem;
  padding: 1.125rem 1.5rem;
}

.task-type-row:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
}

.task-type-name {
  font-family: var(--font-mono);
  color: var(--accent);
  min-width: 280px;
  font-size: .85rem;
}

.task-type-desc {
  color: var(--text-secondary);
  flex: 1;
  font-size: .85rem;
}

.task-type-price {
  font-family: var(--font-mono);
  color: var(--text);
  text-align: right;
  min-width: 100px;
  font-size: .85rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items:  start;
  gap: 4rem;
}

@media (width <= 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.detail-info h2 {
  margin-bottom: 1.25rem;
}

.detail-info p {
  margin-bottom: 1.5rem;
}

.detail-list {
  list-style: none;
}

.detail-list li {
  color: var(--text-secondary);
  display: flex;
  border-bottom: 1px solid var(--glass-border);
  align-items:  center;
  gap: .75rem;
  padding: .75rem 0;
  font-size: .95rem;
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-list .label {
  font-family: var(--font-mono);
  color: var(--text-muted);
  min-width: 140px;
  font-size: .8rem;
}

.detail-list .value {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .85rem;
}

.detail-list .value.accent {
  color: var(--accent);
}

.migration {
  background: var(--bg-subtle);
  position: relative;
}

.migration:before, .migration:after {
  content: "";
  position: absolute;
  background: var(--glass-border);
  height: 1px;
  left: 10%;
  right: 10%;
}

.migration:before {
  top: 0;
}

.migration:after {
  bottom: 0;
}

.migration-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items:  center;
  gap: 4rem;
}

@media (width <= 768px) {
  .migration-content {
    grid-template-columns: 1fr;
  }
}

.migration-text h2 {
  margin-bottom: 1rem;
}

.migration-text p {
  margin-bottom: 1.5rem;
}

.migration-steps {
  list-style: none;
}

.migration-steps li {
  display: flex;
  color: var(--text-secondary);
  align-items:  flex-start;
  gap: .875rem;
  padding: .875rem 0;
  font-size: .95rem;
}

.migration-steps .step-num {
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-glow);
  display: flex;
  border: 1px solid #d4845e33;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 28px;
  height: 28px;
  font-size: .75rem;
  font-weight: 600;
}

.api-endpoints {
  display: grid;
  gap: 1rem;
}

.endpoint {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  padding: 1.5rem;
}

.endpoint:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
}

.endpoint-method {
  display: inline-block;
  font-family: var(--font-mono);
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid #d4845e26;
  border-radius: 6px;
  margin-right: .75rem;
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 600;
}

.endpoint-path {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: .9rem;
}

.endpoint-desc {
  color: var(--text-muted);
  margin-top: .5rem;
  font-size: .875rem;
}

.cta-section {
  text-align: center;
  position: relative;
  padding: 7rem 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 500px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

footer {
  position: relative;
  padding: 5rem 0 2.5rem;
}

footer:before {
  content: "";
  position: absolute;
  background: var(--glass-border);
  height: 1px;
  top: 0;
  left: 10%;
  right: 10%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (width <= 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 300px;
  font-size: .875rem;
}

.footer-col h4 {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: .75rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: .625rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: .875rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  color: var(--text-muted);
  position: relative;
  justify-content: space-between;
  align-items:  center;
  padding-top: 2.5rem;
  font-size: .8rem;
}

.footer-bottom:before {
  content: "";
  position: absolute;
  background: var(--glass-border);
  height: 1px;
  top: 0;
  left: 0;
  right: 0;
}

.glass-divider {
  position: relative;
  background: var(--bg-subtle);
}

.glass-divider:before, .glass-divider:after {
  content: "";
  position: absolute;
  background: var(--glass-border);
  height: 1px;
  left: 10%;
  right: 10%;
}

.glass-divider:before {
  top: 0;
}

.glass-divider:after {
  bottom: 0;
}

@media (width <= 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 5rem 0;
  }

  .hero {
    padding: 10rem 0 5rem;
  }

  .subpage-hero {
    padding: 8rem 0 3rem;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .btn-group {
    flex-direction: column;
    align-items:  center;
  }

  .nav-links {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 5rem 0;
  }

  .feature-meta {
    flex-direction: column;
    gap: .375rem;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #ffffff14;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff24;
}

code {
  font-family: var(--font-mono);
  color: var(--accent);
  background: #d4845e1a;
  border-radius: 6px;
  padding: .15rem .45rem;
  font-size: .875em;
}
