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

:root {
    /* Minimalist theme - light mode */
    --primary-color: #3385FF; /* Using blue from logo */
    --primary-dark: #2B6FD9;
    --secondary-color: #1EA743; /* Using green from logo */
    --accent-color: #FFA73C; /* Using orange from logo */
    --text-color: #1a1a1a; /* Near black */
    --text-secondary: #555555;
    --background-color: #ffffff; /* Pure white */
    --card-background: #ffffff;
    --header-background: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --border-color: #eaeaea;
    --section-spacing: 0.5rem; /* Minimal spacing */
    
    /* Mobile viewport height variable */
    --vh: 1vh;
}

[data-theme="dark"] {
    /* Minimalist theme - dark mode */
    --primary-color: #3385FF;
    --primary-dark: #2B6FD9;
    --secondary-color: #1EA743;
    --accent-color: #FFA73C;
    --text-color: #f0f0f0;
    --text-secondary: #b0b0b0;
    --background-color: #000000;
    --card-background: #000000;
    --header-background: #000000;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --border-color: #333333;
}

/* Uniform theme transition on every element */
body.theme-transition,
body.theme-transition * {
    transition:
        background-color 0.5s ease,
        color            0.5s ease,
        border-color     0.5s ease,
        box-shadow       0.5s ease,
        fill             0.5s ease,
        stroke           0.5s ease;
}

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

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 60px; /* Added to account for fixed header */
    padding-bottom: 50px; /* Added to account for fixed footer */
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    min-height: calc(calc(var(--vh, 1vh) * 100) - 50px - 50px);
    padding-bottom: 60px; /* Prevent content hiding behind footer */
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (min-width: 1800px) {
    .container {
        max-width: 960px;
    }
}

/* Header */
header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 28px;
    display: block;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

nav {
    display: flex;
    align-items: center;
}

.nav-link-header {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-header:hover {
    color: var(--text-secondary);
}

/* Theme toggle button */
#theme-toggle {
    background-color: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

#theme-toggle:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

#theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

* { -webkit-tap-highlight-color: transparent; }

/* Icon display logic */
.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Hero section */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    background: var(--background-color);
    position: relative;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Section styling */
.section-future {
    padding: var(--section-spacing) 0;
    position: relative;
    text-align: left;
}

/* Agent content styling - matches section-future formatting without animations */
.agent-content {
    padding: var(--section-spacing) 0;
    position: relative;
    text-align: left;
}

.section-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-top: none; /* Ensuring no border for homepage sections */
}

/* Agent section styling - matches section-content formatting */
.agent-section {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.section-future h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-align: left;
    color: var(--text-color);
    letter-spacing: -0.01em;
    position: relative;
    display: block;
    padding-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Agent content headings - match section-future heading style */
.agent-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-align: left;
    color: var(--text-color);
    letter-spacing: -0.01em;
    position: relative;
    display: block;
    padding-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-future p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Agent content paragraphs - match section-future paragraph style */
.agent-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-future ul {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    list-style-type: none;
}

/* Agent content lists - match section-future list style */
.agent-content ul {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    list-style-type: none;
}

.section-future li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Agent content list items - match section-future list item style */
.agent-content li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-future li::before {
    content: "•";
    position: absolute;
    left: -0.8rem;
    color: var(--text-secondary);
}

/* Agent content list bullets - match section-future bullet style */
.agent-content li::before {
    content: "•";
    position: absolute;
    left: -0.8rem;
    color: var(--text-secondary);
}

.section-future h2, .section-future p, .section-future li {
    visibility: hidden;
}

/* We don't add the visibility:hidden to agent-content elements as we don't want animations */

.section-future li:empty::before {
    content: none;
}

.agent-content li:empty::before {
    content: none;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 0.8rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    z-index: 1000;
    box-shadow: none;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

footer p {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: center;
}

/* Links */
a, .footer-contact, .footer-link {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    font-weight: 500;
}

a:hover, .footer-contact:hover, .footer-link:hover {
    color: var(--text-secondary);
}

/* Allow specific links to be underlined when needed */
a.underlined-link {
    text-decoration: underline;
}

a.underlined-link:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container { max-width: 90%; }
    .hero { padding: 4rem 0 3rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    body { font-size: 15px; }
    .hero { padding: 3rem 0 2rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.1rem; }
    .section-future h2 { font-size: 1.3rem; }
    #section-2 h2, #section-3 h2, #section-4 h2 { font-size: 1.1rem; }
    .section-future p { font-size: 0.95rem; }
    .logo-text { font-size: 1rem; }
    header { padding: 0.5rem 0; height: 45px; }
    footer { height: 45px; }
    footer p { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    body { font-size: 14px; }
    .hero { padding: 2.5rem 0 1.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero h2 { font-size: 1rem; }
    .section-future h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }
    #section-2 h2, #section-3 h2, #section-4 h2 { font-size: 0.95rem; margin-bottom: 0.4rem; }
    .section-future p { font-size: 0.9rem; line-height: 1.5; }
    .logo img { height: 24px; margin-right: 8px; }
    .logo-text { font-size: 0.9rem; }
    #theme-toggle svg { width: 16px; height: 16px; }
    header { height: 40px; }
    footer { height: 40px; }
}

/* Content width adjustments */
@media (max-width: 1200px) {
    .section-content { max-width: 800px; }
    .section-future h2, .section-future p, .section-future ul { max-width: 800px; }
}

/* Button styling */
.button-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none; /* Prevent interaction while hidden */
    will-change: opacity, visibility; /* Optimize for animation */
    transition: opacity 0.5s ease; /* Only transition opacity */
}

.button-container.ready-for-animation {
    pointer-events: auto; /* Re-enable interaction */
}

.button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    color: var(--text-color);
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    width: auto;
    white-space: nowrap;
}

/* Button animation classes */
.button-animating {
    width: 0;
    padding: 0.6rem 0;
    border-color: transparent;
    overflow: hidden;
    transition: width 0.5s ease-out, padding 0.5s ease-out, border-color 0.1s linear;
}

.button-border-visible {
    border-color: var(--text-color);
    padding: 0.6rem 0;
    transition: border-color 0.3s ease-out;
}

.button-expanding {
    width: auto;
    padding: 0.6rem 1.2rem;
    transition: width 0.5s ease-out, padding 0.5s ease-out;
}

.button span {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.button.text-visible span {
    opacity: 1;
    visibility: visible;
}

.button:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    .button {
        width: 100%;
        padding: 0.5rem 1rem;
    }
    .button-animating { padding: 0.5rem 0; }
    .button-expanding { width: 100%; padding: 0.5rem 1rem; }
}

/* Architecture section */
.architecture-section {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.architecture-section.visible {
    display: block;
    opacity: 1;
    margin-bottom: 60px;
}

.architecture-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

.architecture-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.architecture-title.typing::after,
.architecture-description.typing::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: cursor-blink 0.7s step-end infinite;
}

@keyframes cursor-blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* ASCII Art */
.ascii-art {
    font-family: 'Source Code Pro', 'Roboto Mono', Consolas, monospace;
    white-space: pre;
    line-height: 1.2;
    color: var(--text-color);
    font-size: 0.7rem;
    text-align: center;
    overflow-x: auto;
    margin: 1.5rem 0;
    letter-spacing: 0;
    display: flex;
    justify-content: center;
    font-weight: 600;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.ascii-art pre {
    display: inline-block;
    text-align: left;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    tab-size: 4;
    font-weight: inherit;
    min-width: min-content;
    position: relative;
    overflow-y: hidden;
}

.ascii-art pre.typing::after {
    content: '█';
    display: inline-block;
    animation: cursor-blink 0.7s step-end infinite;
    position: relative;
}

@media (min-width: 768px) {
    .ascii-art { font-size: 0.85rem; }
}

@media (max-width: 768px) {
    .ascii-art { font-size: 0.6rem; }
    .architecture-section { margin-top: 2rem; padding-top: 1.5rem; }
}

/* Additional media query for iPhone SE and similar small devices */
@media (max-width: 380px) {
    .ascii-art { 
        font-size: 0.45rem; 
        max-width: 100%;
        overflow-x: auto;
        padding: 0;
        margin: 0.5rem 0;
    }
    .ascii-art pre {
        max-width: 100%;
        transform: scale(0.9);
        transform-origin: left top;
        width: auto;
    }
    .architecture-section {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Hurry up button */
.skip-animation {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 1px solid var(--text-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.skip-animation.visible {
    opacity: 1;
    visibility: visible;
}

.skip-animation:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

@media (max-width: 768px) {
    .skip-animation {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Mobile popup styling */
@media (max-width: 768px) {
    .popup-overlay { align-items: flex-end; }
    .popup-content {
        max-width: 100%;
        width: 100%;
        border-radius: 8px 8px 0 0;
        border-bottom: none;
        transform: translateY(100%);
        max-height: 80vh;
        overflow-y: auto;
        padding: 1.5rem 1rem;
    }
    .popup-overlay.active .popup-content {
        transform: translateY(0);
    }
    .ascii-art { margin: 0.5rem 0; }
    .ascii-art pre { max-width: 100%; overflow-x: auto; }
}

/* Privacy Policy */
.privacy-content {
  padding: 2rem 0 4rem;
}
[data-theme="dark"] .privacy-content a {
    color: var(--text-color);
    text-decoration: underline;
}
[data-theme="dark"] .privacy-content a:hover {
    color: var(--text-secondary);
}
.privacy-content h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.last-updated {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}
.policy-section {
  margin-bottom: 3rem;
}
.policy-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}
.policy-section h3 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-color);
}
.policy-section p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.policy-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.policy-section li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .privacy-content h1 { font-size: 2rem; }
  .policy-section h2 { font-size: 1.4rem; }
  .policy-section h3 { font-size: 1.15rem; }
  .policy-section { margin-bottom: 2.5rem; }
}

/* 404 Error Page Styles */
.hero .error-code {
  font-family: 'Roboto Mono', monospace;
  margin-bottom: 1rem;
}

.hero .error-code .digit-first {
  color: var(--accent-color); /* Yellow from logo (#FFA73C) */
  -webkit-text-fill-color: var(--accent-color);
}

.hero .error-code .digit-middle {
  color: var(--primary-color); /* Blue from logo (#3385FF) */
  -webkit-text-fill-color: var(--primary-color);
}

.hero .error-code .digit-last {
  color: var(--secondary-color); /* Green from logo (#1EA743) */
  -webkit-text-fill-color: var(--secondary-color);
}

/* Fix for vertical scrollbar issue */
.hero {
  min-height: auto;
  padding: 3rem 0 2rem;
}

.ascii-art {
  overflow-y: hidden;
}

/* Prevent unnecessary body padding causing scrollbar */
body.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.return-home-link {
    text-decoration: none;
    font-weight: bold;
    padding: 0 0.5em;
    border-radius: 2px;
    font-family: 'Source Code Pro', monospace;
    display: inline-block;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    transition: transform 0.2s ease, filter 0.2s ease, color 0.2s ease;
}

.return-home-link:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    color: var(--text-secondary);
}

[data-theme="dark"] .return-home-link {
    color: var(--text-color);
}
[data-theme="dark"] .return-home-link:hover {
    color: var(--text-secondary);
}

.error-message {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-color);
    margin: 2rem auto 1rem;
    line-height: 1.5;
    max-width: 650px;
    transition: color 0.3s ease;
}

@media (min-width: 1200px) {
    .hero .error-code { font-size: 6rem; }
}
@media (max-width: 768px) {
    .hero .error-code { font-size: 5rem; margin-top: -1rem; }
    .error-message { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .hero .error-code { font-size: 4rem; margin-top: 0; }
    .error-message { font-size: 1rem; }
}

/* Light-mode privacy links override */
.privacy-content a {
    color: var(--text-color);
    text-decoration: underline;
}
.privacy-content a:hover {
    color: var(--text-secondary);
}

/* Workflow Styles */
.workflow-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  border: 1px solid #d1d5db;
  box-shadow: none;
  border-radius: 15px;
  overflow: hidden;
}

[data-theme="dark"] .workflow-container {
  color: #f0f0f0;
  border-color: #4b5563;
}

.workflow-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f5f5f5;
  background-color: white;
  cursor: pointer;
}

[data-theme="dark"] .workflow-header {
  background-color: black;
  border-color: #222;
}

.workflow-header h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.workflow-title {
  display: flex;
  align-items: center;
}

.workflow-header .edit-icon {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  opacity: 0.6;
  cursor: pointer;
}

.chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.chevron-up {
  transform: rotate(180deg);
}

.workflow-section {
  border-bottom: 1px solid #f5f5f5;
}

[data-theme="dark"] .workflow-section {
  border-color: #222;
}

.workflow-section:last-child {
  border-bottom: none;
}

.workflow-section-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: white;
}

[data-theme="dark"] .workflow-section-header {
  background-color: black;
}

.workflow-section-header .section-title {
  display: flex;
  align-items: center;
}

.section-marker {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.marker-orange {
  color: #FF9500;
}

.marker-blue {
  color: #007AFF;
}

.marker-green {
  color: #34C759;
}

.marker-gray {
  color: #8E8E93;
  font-size: 14px;
}

.workflow-section-header h5 {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
}

.workflow-section-content {
  border-top: 1px solid #f5f5f5;
  background-color: white;
}

[data-theme="dark"] .workflow-section-content {
  background-color: black;
  border-color: #222;
}

.workflow-section-row {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f5f5f5;
}

[data-theme="dark"] .workflow-section-row {
  border-color: #222;
}

.workflow-section-row:last-child {
  border-bottom: none;
}

.row-content {
  display: flex;
  align-items: center;
}

.row-content-indented {
  padding-left: 25px;
}

.row-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  opacity: 0.7;
  color: #B0B1B3;
}

.row-text {
  font-size: 14px;
  color: #333;
}

[data-theme="dark"] .row-text {
  color: #e0e0e0;
}

.row-text-indented {
  padding-left: 6px;
}

.row-actions {
  display: flex;
  align-items: center;
}

.edit-button {
  font-size: 12px;
  color: #8E8E93;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .edit-button {
  color: #8E8E93;
}

.row-chevron {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  opacity: 0.6;
}

.header-right {
  display: flex;
  align-items: center;
}

.tool-badges {
  display: flex;
  margin-right: 8px;
}

.tool-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.badge-minus {
  background-color: transparent;
  color: #FF2D55;
  border-color: #FF9BB3;
}

[data-theme="dark"] .badge-minus {
  background-color: transparent;
  color: #FF375F;
  border-color: #83314E;
}

.badge-add {
  background-color: transparent;
  color: #8E8E93;
  border-color: #D1D1D6;
}

[data-theme="dark"] .badge-add {
  background-color: transparent;
  color: #C7C7CC;
  border-color: #3A3A3C;
}

.tool-badge:hover {
  transform: scale(1.1);
}

.sub-item {
  padding: 10px 16px 10px 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
}

[data-theme="dark"] .sub-item {
  border-color: #222;
}

.sub-item:last-child {
  border-bottom: none;
}

.row-divider {
  border: 0;
  height: 1px;
  background-color: #f5f5f5;
  width: 100%;
  margin: 0;
}

[data-theme="dark"] .row-divider {
  background-color: #222;
}

.hidden {
  display: none;
}

[data-theme="dark"] .row-icon {
  color: #6B7280;
}

.label-bubble {
  display: inline-block;
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

[data-theme="dark"] .label-bubble {
  background-color: #333;
  color: #aaa;
}

.edit-button .edit-icon {
  position: relative;
  top: -1px;
}

.row-chevron {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  opacity: 0.6;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 56.25vw; /* 16:9 aspect ratio (9/16*100) */
    max-height: 500px;
    border: none;
}

/* Section Divider */
.section-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    width: 800px;
    max-width: 100%;
    margin: 3rem auto 3rem;
}

@media (max-width: 768px) {
    .video-container {
        margin-bottom: 1.5rem;
    }
    .video-container iframe {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        max-height: 250px;
    }
}

/* Interface Section */
.interface-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.underlined-link {
    text-decoration: underline;
}

.underlined-link:hover {
    color: var(--text-secondary);
}

/* Specific styling for the highlighted sections */
#section-2 h2, #section-3 h2, #section-4 h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    #section-2 h2, #section-3 h2, #section-4 h2 { font-size: 1.1rem; font-weight: 400; color: var(--text-secondary); letter-spacing: 0.01em; }
}

@media (max-width: 480px) {
    #section-2 h2, #section-3 h2, #section-4 h2 { font-size: 0.95rem; margin-bottom: 0.4rem; font-weight: 400; color: var(--text-secondary); letter-spacing: 0.01em; }
}