/**
 * Copyright 2025 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* Index page styling */

.md-grid {
  max-width: 80%;
}

.footer {
  padding-bottom: 30vh;
}

.centered-logo-text-group {
  display: inline-flex;
  align-items: center;
  gap: 1.5em;
  margin-bottom: 0.5em;
  vertical-align: middle;
}

.centered-logo-text-group img {
  height: auto;
}

.centered-logo-text-group h1 {
  margin: 0;
  text-align: left;
}

.install-command-container {
  max-width: 600px;
  margin: 2.5em auto;
  padding: 1.5em 2em;
  background-color: var(--md-code-bg-color, #f5f5f5);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--md-primary-fg-color, #526cfe);
  margin-top: 30px;
}

.install-command-container p {
  font-size: 1.1em;
  color: var(--md-default-fg-color);
  margin-bottom: -10px;
  margin-top: -10px;
}

.install-command-container p code {
  font-size: 1.1em;
  font-weight: 600;
  padding: 0.3em 0.6em;
  background-color: var(--md-code-fg-color--light);
  text-align: center;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.4;
}

/* Centered install tabs */

#centered-install-tabs .tabbed-labels {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Copy page button */

button.md-content__button {
  background: none;
  border: none;
  cursor: pointer;
}

button.md-content__button:hover svg {
  color: var(--md-accent-fg-color);
}

/* YouTube video grid */

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.video-item {
  flex: 0 1 calc(33.333% - 13.333px);
  box-sizing: border-box;
  min-width: 250px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #f0f0f0;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 992px) {
  .video-item {
    flex: 0 1 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .video-item {
    flex: 0 1 100%;
  }
}

/* YouTube icon */

.youtube-red-icon svg {
  fill: #FF0000 !important;
}

/* Header styles */

@media screen and (max-width: 76.1875em) {
  .md-header__topic .md-ellipsis {
    display: none;
  }

  .md-header__topic::before {
    content: "ADK";
    display: block;
    padding-left: 0.6rem;
  }
}

.md-header__source {
  max-width: 480px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 76.1875em) {
  .md-header__source {
    display: none;
  }
}

.md-source__facts {
  display: none !important;
}

.md-source__repository {
  white-space: nowrap;
  max-width: none !important;
  overflow: visible !important;
}

/* Navigation section titles */

nav.md-nav--primary .md-nav__item--section>.md-nav__link {
  color: #1565C0;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Community Resources cards */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 992px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

.resource-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #4285F4;
}

.card-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #f0f4f8;
  overflow: hidden;
  position: relative;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1.0rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content .type {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4285F4;
  margin-bottom: 0.5rem;
}

.card-content h3 {
  font-size: 0.9rem;
  color: #1a202c;
  margin: 0;
}

.card-content p {
  font-size: 0.8rem;
  color: #4a5568;
  line-height: 1.6;
  margin-top: 0.75rem;
  flex-grow: 1;
}

.translation-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.translation-list a {
  display: block;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  color: #2d3748;
  transition: all 0.2s ease-in-out;
}

.translation-list a:hover {
  background: white;
  border-color: #4285F4;
  transform: translateY(-2px);
}

/* Tool cards */

.tool-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.tool-card {
  width: 280px;
  padding-left: 10px;
  padding-right: 5px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #4285F4;
}

.tool-card-image-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0.5rem;
  box-sizing: border-box;
  flex-shrink: 0;
}

.tool-card-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tool-card-content {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tool-card-content h3 {
  font-size: 0.8rem;
  font-weight: bold;
  color: #1a202c;
  margin: 0;
}

.tool-card-content p {
  font-size: 0.75rem;
  color: #4a5568;
  line-height: 1.5;
  margin-top: 0.2rem;
  flex-grow: 1;
}

/* Dark mode styles */

[data-md-color-scheme="slate"] nav.md-nav--primary,
[data-md-color-scheme="slate"] .md-sidebar--primary,
[data-md-color-scheme="slate"] .md-sidebar--primary .md-sidebar__scrollwrap,
[data-md-color-scheme="slate"] .md-sidebar--primary .md-sidebar__inner {
  background-color: var(--md-default-bg-color);
}

[data-md-color-scheme="slate"] .md-header,
[data-md-color-scheme="slate"] .md-header__inner {
  background-color: var(--md-default-bg-color);
}

[data-md-color-scheme="slate"] .md-header,
[data-md-color-scheme="slate"] .md-header * {
  color: var(--md-default-fg-color);
}

[data-md-color-scheme="slate"] .md-header svg,
[data-md-color-scheme="slate"] .md-header path {
  fill: var(--md-default-fg-color);
}

[data-md-color-scheme="slate"] .md-search__input {
  color: var(--md-default-fg-color);
  background-color: var(--md-default-bg-color);
  border-color: var(--md-default-fg-color--light);
}

[data-md-color-scheme="slate"] .md-search__input::placeholder {
  color: var(--md-default-fg-color--light);
}

[data-md-color-scheme="slate"] .md-search__icon svg,
[data-md-color-scheme="slate"] .md-search__icon path {
  fill: var(--md-default-fg-color);
}

[data-md-color-scheme="slate"] .resource-card,
[data-md-color-scheme="slate"] .tool-card {
  background: var(--md-default-bg-color);
  border-color: var(--md-default-fg-color--lightest);
}

[data-md-color-scheme="slate"] .card-content h3,
[data-md-color-scheme="slate"] .tool-card-content h3,
[data-md-color-scheme="slate"] .translation-list a {
  color: var(--md-default-fg-color);
  background: var(--md-default-bg-color);
}

[data-md-color-scheme="slate"] .card-content p,
[data-md-color-scheme="slate"] .tool-card-content p {
  color: var(--md-default-fg-color--light);
}

[data-md-color-scheme="slate"] nav.md-nav--primary .md-nav__item--section>.md-nav__link {
  color: var(--md-primary-fg-color);
}

/* Catalog filter buttons */
.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  align-items: center;
}
.catalog-filter-label {
  font-family: "Google Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #5f6368;
  padding-right: 4px;
}
[data-md-color-scheme="slate"] .catalog-filter-label {
  color: var(--md-default-fg-color--light);
}
.catalog-filter-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  background: #e8eef6;
  color: #3c4043;
  cursor: pointer;
  font-family: "Google Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.catalog-filter-btn:hover {
  background: #dae2ee;
}
.catalog-filter-btn.active {
  background: #1a73e8;
  color: #ffffff;
}
.catalog-filter-btn.active:hover {
  background: #1765cc;
}
[data-md-color-scheme="slate"] .catalog-filter-btn {
  background: #2d3748;
  color: #c9d1d9;
}
[data-md-color-scheme="slate"] .catalog-filter-btn:hover {
  background: #374151;
}
[data-md-color-scheme="slate"] .catalog-filter-btn.active {
  background: #4285F4;
  color: #ffffff;
}
[data-md-color-scheme="slate"] .catalog-filter-btn.active:hover {
  background: #3b78de;
}

/* ===== Landing Page Styles ===== */

.landing-page {
  max-width: 100%;
  margin: 0 -1.2rem;
}

/* Hero */
.lp-hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(135deg, #e8f0fe 0%, #f1f3f4 50%, #e8eaed 100%);
  border-radius: 0 0 2rem 2rem;
}

[data-md-color-scheme="slate"] .lp-hero {
  background: linear-gradient(135deg, #1a237e22 0%, #1e1e2f 50%, #1a1a2e 100%);
}

.lp-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.lp-hero-logo {
  margin-bottom: 1rem;
}

.lp-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--md-default-fg-color);
}

.lp-hero-tagline {
  font-size: 1.25rem;
  color: var(--md-default-fg-color);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.lp-hero-description {
  font-size: 1.05rem;
  color: var(--md-default-fg-color--light);
  margin: 0 0 2rem;
  line-height: 1.6;
}

.lp-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.lp-btn-primary {
  background: #1a73e8;
  color: #fff !important;
}

.lp-btn-primary:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}

.lp-btn-secondary {
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color) !important;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.lp-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Install Cards */
.lp-install {
  padding: 2.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.lp-install-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.lp-install-card {
  background: var(--md-code-bg-color);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.lp-install-lang {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--md-default-fg-color);
}

.lp-install-card code {
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--md-code-fg-color);
}

/* Sections */
.lp-section {
  padding: 4rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.lp-section-alt {
  max-width: 100%;
  background: var(--md-code-bg-color);
  border-radius: 0;
  padding-left: 2rem;
  padding-right: 2rem;
}

.lp-section-alt > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.lp-section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.75rem;
  color: var(--md-default-fg-color);
}

.lp-section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--md-default-fg-color--light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Feature Cards */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.lp-feature-card {
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lp-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.lp-feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--md-default-fg-color);
}

.lp-feature-card p {
  font-size: 0.9rem;
  color: var(--md-default-fg-color--light);
  margin: 0;
  line-height: 1.5;
}

/* Progression */
.lp-progression {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lp-progression-step {
  text-align: center;
  flex: 0 1 220px;
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
}

.lp-progression-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.lp-progression-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--md-default-fg-color);
}

.lp-progression-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--md-default-fg-color--light);
}

.lp-progression-arrow {
  font-size: 2rem;
  color: var(--md-default-fg-color--light);
  align-self: center;
  margin-top: 1rem;
}

/* Code Comparison */
.lp-code-comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.lp-code-block {
  position: relative;
}

.lp-code-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a73e8;
  margin-bottom: 0.5rem;
}

/* Ecosystem Cards */
.lp-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.lp-ecosystem-card {
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-ecosystem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lp-ecosystem-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--md-default-fg-color);
}

.lp-ecosystem-card p {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
  margin: 0;
  line-height: 1.5;
}

/* Community Links */
.lp-community-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lp-community-card {
  display: block;
  background: var(--md-code-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lp-community-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #1a73e8;
}

.lp-community-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: var(--md-default-fg-color);
}

.lp-community-card p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--md-default-fg-color--light);
}

/* Quick Links */
.lp-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.lp-quicklink {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.75rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-quicklink:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lp-quicklink strong {
  font-size: 1rem;
  color: var(--md-default-fg-color);
}

.lp-quicklink span {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
}

/* Responsive */
@media (max-width: 768px) {
  .lp-hero-title {
    font-size: 2rem;
  }

  .lp-install-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-features-grid,
  .lp-code-comparison,
  .lp-ecosystem-grid,
  .lp-community-links {
    grid-template-columns: 1fr;
  }

  .lp-quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-progression-arrow {
    display: none;
  }

  .lp-progression {
    flex-direction: column;
    align-items: center;
  }

  .lp-progression-step {
    flex: 0 1 auto;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .lp-install-grid,
  .lp-quicklinks-grid {
    grid-template-columns: 1fr;
  }
}


/* === Homepage Variation 2 === */

:root {
  --bg: #0d0d0d; --fg: #f0f0f0; --muted: #777; --border: #1a1a1a;
  --green: #34d399; --green-dim: rgba(52,211,153,.1); --surface: #141414;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Space Grotesk',sans-serif; background:var(--bg); color:var(--fg); }
a { color:inherit; text-decoration:none; }

.nav { position:fixed; top:-60px; width:100%; z-index:100; padding:.75rem 2rem; display:flex; align-items:center; justify-content:space-between; background:rgba(13,13,13,.9); backdrop-filter:blur(16px); border-bottom:1px solid var(--border); transition:top .3s; }
.nav.visible { top:0; }
.nav img { height:28px; }
.nav-right { display:flex; gap:1.5rem; align-items:center; font-size:.85rem; }
.nav-right a:hover { color:var(--green); }
.nav-cta { background:var(--green); color:#000; padding:.4rem 1rem; border-radius:6px; font-weight:600; }

.hero { min-height:100vh; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:3rem; padding:6rem 4rem; }
@media(max-width:768px) { .hero { grid-template-columns:1fr; padding:6rem 1.5rem 3rem; } }
.hero-left img { height:40px; margin-bottom:2rem; }
.hero-left h1 { font-size:clamp(2rem,4vw,3.5rem); font-weight:700; line-height:1.15; }
.hero-left h1 em { font-style:normal; color:var(--green); }
.hero-left p { margin-top:1.25rem; color:var(--muted); font-size:1.05rem; max-width:480px; }
.hero-ctas { margin-top:2rem; display:flex; gap:.75rem; flex-wrap:wrap; }
.btn-green { background:var(--green); color:#000; padding:.7rem 1.75rem; border-radius:8px; font-weight:600; transition:opacity .2s; }
.btn-green:hover { opacity:.85; }
.btn-outline { border:1px solid #333; padding:.7rem 1.75rem; border-radius:8px; font-weight:500; transition:border-color .2s; }
.btn-outline:hover { border-color:var(--green); }

.editor { background:#0b0b0b; border:1px solid #222; border-radius:12px; overflow:hidden; }
.editor-bar { background:#161616; padding:.5rem 1rem; display:flex; align-items:center; gap:.5rem; font-size:.7rem; color:var(--muted); }
.editor-bar .dot { width:10px; height:10px; border-radius:50%; }
.editor-bar .dot:nth-child(1) { background:#ff5f57; }
.editor-bar .dot:nth-child(2) { background:#ffbd2e; }
.editor-bar .dot:nth-child(3) { background:#28c840; }
.editor-bar span { margin-left:.5rem; }
.editor pre { padding:1.5rem; font-family:'JetBrains Mono',monospace; font-size:.82rem; line-height:1.9; overflow-x:auto; }
.kw { color:#c084fc; } .str { color:var(--green); } .fn { color:#60a5fa; } .cm { color:#555; } .num { color:#f59e0b; }

.install-strip { padding:3rem 2rem; display:flex; gap:1.25rem; justify-content:center; flex-wrap:wrap; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.install-chip { display:flex; align-items:center; gap:.75rem; background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:.6rem 1.25rem; font-family:'JetBrains Mono',monospace; font-size:.78rem; }
.install-chip .label { font-family:'Space Grotesk',sans-serif; font-size:.65rem; text-transform:uppercase; letter-spacing:.08em; color:var(--green); font-weight:600; }

.feature-row { display:grid; grid-template-columns:1fr 1fr; gap:4rem; padding:6rem 4rem; align-items:center; max-width:1200px; margin:0 auto; }
.feature-row.reverse { direction:rtl; }
.feature-row.reverse > * { direction:ltr; }
@media(max-width:768px) { .feature-row, .feature-row.reverse { grid-template-columns:1fr; padding:3rem 1.5rem; gap:2rem; direction:ltr; } }
.feature-text h2 { font-size:1.75rem; font-weight:700; margin-bottom:1rem; }
.feature-text p { color:var(--muted); font-size:1rem; line-height:1.7; }
.feature-visual { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:2.5rem; min-height:200px; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:.9rem; }
.feature-visual .progression { display:flex; align-items:center; gap:1rem; font-weight:600; color:var(--fg); font-size:.95rem; }
.feature-visual .progression .arrow { color:var(--green); }
.feature-visual img { width:100%; border-radius:8px; display:block; }

/* Dev Tools hero section */
.dev-tools-section { padding:6rem 4rem; max-width:1200px; margin:0 auto; text-align:center; }
.dev-tools-section h2 { font-size:clamp(1.5rem,3vw,2.25rem); font-weight:700; margin-bottom:.75rem; }
.dev-tools-section .sub { color:var(--muted); max-width:640px; margin:0 auto 3rem; font-size:1rem; line-height:1.7; }
@media(max-width:768px) { .dev-tools-section { padding:4rem 1.5rem; } }

/* Eval */
.eval-strip { padding:4rem 4rem; max-width:800px; margin:0 auto; text-align:center; }
.eval-strip .eval-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:2.5rem; }
.eval-strip .eval-card h3 { font-size:1.25rem; font-weight:700; margin-bottom:.75rem; color:var(--green); }
.eval-strip .eval-card p { color:var(--muted); font-size:1rem; line-height:1.7; }

footer { text-align:center; padding:4rem 1.5rem 3rem; color:var(--muted); font-size:.8rem; border-top:1px solid var(--border); }
