/*
Theme Name: Gallopii
Theme URI: https://gallopii.app
Author: Gallopii
Author URI: https://gallopii.app
Description: Custom WordPress theme for Gallopii — the AI-powered horse racing data & analysis platform.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gallopii
*/

:root {
    --ya-primary: #16A34A;
    --ya-primary-light: #34C273;
    --ya-primary-dark: #0E7A38;
    --ya-primary-rgb: 22, 163, 74;
    --ya-accent: #A7E8C4;
    --ya-green: #18A957;
    --ya-green-dark: #0F7A3F;
    --ya-amber: #fbbf24;
    --ya-red: #E5484D;
    --ya-bg-light: #F2F4F8;
    --ya-bg-dark: #0B1220;
    --ya-text-dark: #0B1220;
    --ya-text-light: #FFFFFF;
    --ya-text-muted: #4B5773;
    --ya-border: rgba(11, 18, 32, 0.10);
    --ya-shadow: rgba(11, 18, 32, 0.15);
    --ya-radius: 0.25rem;
    --ya-radius-lg: 0.5rem;
    --ya-radius-xl: 0.75rem;
    --ya-radius-2xl: 1rem;
    --ya-radius-3xl: 1.5rem;
    --ya-container: 1200px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--ya-bg-light);
    color: var(--ya-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ya-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Material Icons FOUT fix */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    width: 1.25em;
    height: 1.25em;
}

/* =============================================
   CONTAINER
   ============================================= */
.ya-container {
    max-width: var(--ya-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =============================================
   HEADER
   ============================================= */
.ya-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.ya-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--ya-text-dark);
}

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

.ya-nav {
    display: none;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ya-nav ul,
.ya-nav ol,
.ya-nav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ya-mobile-menu ul,
.ya-mobile-menu ol,
.ya-mobile-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ya-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ya-text-muted);
    transition: color 0.2s;
}

.ya-nav a:hover {
    color: var(--ya-primary);
}

.ya-nav .current-menu-item > a,
.ya-nav .current_page_item > a,
.ya-nav .current-menu-ancestor > a,
.ya-nav .ya-menu-active > a {
    color: var(--ya-primary);
    font-weight: 600;
}

.ya-mobile-menu .current-menu-item > a,
.ya-mobile-menu .current_page_item > a,
.ya-mobile-menu .current-menu-ancestor > a,
.ya-mobile-menu .ya-menu-active > a {
    color: var(--ya-primary);
    font-weight: 700;
}

.ya-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.ya-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--ya-radius-lg);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.ya-btn-primary {
    padding: 0.5rem 1rem;
    background: var(--ya-primary);
    color: #fff;
}

.ya-btn-primary:hover {
    background: var(--ya-primary-dark);
    color: #fff;
}

.ya-btn-primary-lg {
    padding: 0.875rem 1.75rem;
    background: var(--ya-primary);
    color: #fff;
    font-size: 1rem;
    border-radius: var(--ya-radius-xl);
}

.ya-btn-primary-lg:hover {
    background: var(--ya-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--ya-shadow);
}

.ya-btn-outline {
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--ya-text-dark);
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    border-radius: var(--ya-radius-xl);
}

.ya-btn-outline:hover {
    border-color: var(--ya-primary);
    color: var(--ya-primary);
}

.ya-btn-ghost {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--ya-text-muted);
}

.ya-btn-ghost:hover {
    color: var(--ya-primary);
}

/* App Store Button */
.ya-appstore-btn svg {
    flex-shrink: 0;
}

/* Android / Coming Soon Button */
.ya-btn-androidsoon {
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--ya-text-muted);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--ya-radius-xl);
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ya-btn-androidsoon svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.ya-soon-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    margin-left: 0.25rem;
}

/* CTA buttons wrapper */
.ya-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.ya-cta-btn-soon {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ya-cta-btn-soon:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
    transform: none !important;
}

.ya-cta-btn-soon svg {
    opacity: 0.6;
}

.ya-cta-btn-soon .ya-soon-badge {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.ya-cta-with-qr {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.ya-cta-with-qr .ya-cta-content {
    text-align: center;
}

.ya-cta-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--ya-radius-xl);
}

.ya-cta-qr img {
    width: 160px;
    height: 160px;
    border-radius: var(--ya-radius-lg);
    display: block;
}

.ya-cta-qr span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ya-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .ya-cta-with-qr {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        gap: 3rem;
    }
    .ya-cta-with-qr .ya-cta-content {
        text-align: left;
        flex: 1;
    }
    .ya-cta-with-qr .ya-cta-buttons {
        justify-content: flex-start;
    }
    .ya-cta-qr img {
        width: 180px;
        height: 180px;
    }
}

/* Footer coming soon */
.ya-footer-soon {
    color: #64748b;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.ya-footer-soon small {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .ya-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* =============================================
   MOBILE MENU
   ============================================= */
.ya-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--ya-text-dark);
    cursor: pointer;
    padding: 0.25rem;
}

.ya-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 200;
    padding: 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ya-mobile-menu.active {
    right: 0;
}

.ya-mobile-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ya-text-muted);
    padding: 0.25rem;
}

.ya-mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ya-text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* =============================================
   HERO SECTION
   ============================================= */
.ya-hero {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #f0f4ff 0%, var(--ya-bg-light) 100%);
}

.ya-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.ya-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ya-primary);
    margin-bottom: 1.25rem;
}

.ya-badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.ya-badge-dot-core {
    position: absolute;
    inset: 0;
    background: var(--ya-primary);
    border-radius: 50%;
}

.ya-badge-dot-ping {
    position: absolute;
    inset: -2px;
    background: var(--ya-primary);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.75; }
    100% { transform: scale(2); opacity: 0; }
}

.ya-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--ya-text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.ya-highlight {
    color: var(--ya-primary);
}

.ya-hero-desc {
    font-size: 1rem;
    color: var(--ya-text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.ya-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ya-hero-qr {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ya-radius-xl);
    max-width: 360px;
}

.ya-hero-qr img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    flex-shrink: 0;
}

.ya-hero-qr strong {
    display: block;
    font-size: 0.875rem;
    color: var(--ya-text-dark);
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.ya-hero-qr span {
    display: block;
    font-size: 0.75rem;
    color: var(--ya-text-muted);
    line-height: 1.4;
}

.ya-hero-image {
    position: relative;
}

.ya-hero-image-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(var(--ya-primary-rgb), 0.2), transparent);
    border-radius: 50%;
    filter: blur(40px);
}

.ya-hero-image-wrapper {
    position: relative;
    border-radius: var(--ya-radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.ya-hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.1));
}

/* =============================================
   STATS BAR
   ============================================= */
.ya-stats {
    padding: 2.5rem 0;
    background: var(--ya-bg-dark);
    color: #fff;
}

.ya-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.ya-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--ya-accent);
}

.ya-stat-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* =============================================
   SECTION HEADER
   ============================================= */
.ya-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ya-section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ya-text-dark);
    margin-bottom: 0.75rem;
}

.ya-section-header p {
    font-size: 1rem;
    color: var(--ya-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =============================================
   WHO WE ARE (Biz Kimiz)
   ============================================= */
.ya-whoweare {
    padding: 4rem 0;
    background: #fff;
}

.ya-twocol-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ya-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--ya-radius-2xl);
    padding: 2rem;
    background: #fff;
}

.ya-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ya-card-green {
    border-left: 4px solid var(--ya-green);
}

.ya-card-green h3 {
    color: #16a34a;
}

.ya-card-red {
    border-left: 4px solid var(--ya-red);
}

.ya-card-red h3 {
    color: #dc2626;
}

.ya-card ul {
    list-style: none;
    padding: 0;
}

.ya-card ul li {
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: var(--ya-text-dark);
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.ya-card-green ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.ya-card-red ul li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

.ya-mission-box {
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: var(--ya-bg-light);
    border-radius: var(--ya-radius-2xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9375rem;
    color: var(--ya-text-dark);
    line-height: 1.6;
}

/* =============================================
   PROBLEM SECTION
   ============================================= */
.ya-problem {
    padding: 4rem 0;
    background: var(--ya-bg-light);
}

/* =============================================
   FEATURES
   ============================================= */
.ya-features {
    padding: 4rem 0;
    background: #fff;
}

.ya-features-grid {
    display: grid;
    gap: 1.5rem;
}

.ya-feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ya-radius-2xl);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ya-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ya-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--ya-primary-rgb), 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--ya-primary);
}

.ya-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ya-text-dark);
}

.ya-feature-card p {
    font-size: 0.875rem;
    color: var(--ya-text-muted);
    line-height: 1.6;
}

/* =============================================
   PLAN GRID (Ücretsiz / Pro)
   ============================================= */
.ya-plan-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ya-plan-card {
    padding: 2rem;
    border-radius: var(--ya-radius-2xl);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ya-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.ya-plan-free {
    border-left: 4px solid var(--ya-green);
}

.ya-plan-pro {
    border-left: 4px solid var(--ya-primary);
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.ya-plan-header {
    margin-bottom: 1.5rem;
}

.ya-plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(74, 222, 128, 0.12);
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.ya-plan-badge-pro {
    background: rgba(37, 99, 235, 0.12);
    color: var(--ya-primary);
}

.ya-plan-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ya-text-dark);
    line-height: 1.3;
}

.ya-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ya-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--ya-text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ya-plan-features li:last-child {
    border-bottom: none;
}

.ya-plan-free .ya-plan-features .material-symbols-outlined {
    color: #16a34a;
    flex-shrink: 0;
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.ya-plan-pro .ya-plan-features .material-symbols-outlined {
    color: var(--ya-primary);
    flex-shrink: 0;
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* Performance Stats */
.ya-performance-stats {
    background: var(--ya-bg-dark);
    color: #fff;
    border-radius: var(--ya-radius-3xl);
    padding: 2.5rem 2rem;
}

.ya-perf-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ya-perf-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.ya-perf-header p {
    font-size: 0.9375rem;
    color: #94a3b8;
}

.ya-perf-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, 1fr);
}

.ya-perf-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ya-radius-2xl);
}

.ya-perf-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--ya-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ya-perf-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.ya-perf-desc {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.ya-perf-extras {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.ya-perf-extra {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--ya-radius-lg);
}

.ya-perf-extra .material-symbols-outlined {
    color: var(--ya-accent);
    flex-shrink: 0;
    font-size: 24px;
    margin-top: 2px;
}

.ya-perf-extra strong {
    display: block;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ya-perf-extra span {
    display: block;
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* =============================================
   SCREENSHOTS GALLERY
   ============================================= */
.ya-screenshots {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--ya-bg-dark) 0%, #0a0f1a 100%);
    color: #fff;
    overflow: hidden;
}

.ya-screenshots .ya-section-header h2 {
    color: #fff;
}

.ya-screenshots .ya-section-header p {
    color: #94a3b8;
}

/* Carousel */
.ya-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ya-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.5rem 2rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}

.ya-carousel-track::-webkit-scrollbar {
    display: none;
}

.ya-carousel-slide {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: center;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s;
    background: #0a0f1a;
}

.ya-carousel-slide:hover {
    transform: translateY(-4px);
}

.ya-carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.ya-carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.ya-carousel-btn:hover {
    background: var(--ya-primary);
    border-color: var(--ya-primary);
    transform: scale(1.05);
}

.ya-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ya-carousel-btn .material-symbols-outlined {
    font-size: 24px;
}

.ya-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.ya-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.ya-carousel-dot.active {
    background: var(--ya-accent);
    width: 24px;
    border-radius: 9999px;
}

.ya-screenshots-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ya-screenshots-cta-note {
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
}

.ya-perf-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.ya-personas-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .ya-carousel-slide {
        width: 280px;
    }
    .ya-carousel-btn {
        width: 52px;
        height: 52px;
    }
}

@media (min-width: 1024px) {
    .ya-carousel-slide {
        width: 300px;
    }
}

/* =============================================
   PIPELINE (Veri Akışı)
   ============================================= */
.ya-pipeline {
    padding: 4rem 0;
    background: var(--ya-bg-light);
}

.ya-pipeline-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ya-pipe-step {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ya-radius-2xl);
    position: relative;
    width: 100%;
    max-width: 250px;
}

.ya-pipe-num {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--ya-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ya-pipe-step .material-symbols-outlined {
    color: var(--ya-primary);
    font-size: 28px;
    width: auto;
    height: auto;
    margin-bottom: 0.5rem;
}

.ya-pipe-step h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ya-text-dark);
    margin-bottom: 0.25rem;
}

.ya-pipe-step p {
    font-size: 0.8125rem;
    color: var(--ya-text-muted);
}

.ya-pipe-arrow {
    color: var(--ya-primary);
    transform: rotate(90deg);
}

.ya-pipeline-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.ya-pipeline-tags span {
    font-size: 0.8125rem;
    color: var(--ya-text-muted);
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* =============================================
   TABS SHOWCASE (Yarış Detay 8 Sekme)
   ============================================= */
.ya-tabs-showcase {
    padding: 4rem 0;
    background: #fff;
}

.ya-tabs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ya-tab-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ya-radius-2xl);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ya-tab-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ya-tab-card .ya-feature-icon {
    width: 44px;
    height: 44px;
}

.ya-tab-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--ya-text-dark);
}

.ya-tab-card p {
    font-size: 0.8125rem;
    color: var(--ya-text-muted);
    line-height: 1.55;
}

@media (min-width: 640px) {
    .ya-tabs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .ya-tabs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =============================================
   DEFTER (Takip & Bildirim)
   ============================================= */
.ya-defter {
    padding: 4rem 0;
    background: var(--ya-bg-light);
}

.ya-defter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.ya-defter-card {
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ya-radius-2xl);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ya-defter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ya-defter-card .ya-feature-icon {
    margin: 0 0 1rem;
}

.ya-defter-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ya-text-dark);
}

.ya-defter-card p {
    font-size: 0.875rem;
    color: var(--ya-text-muted);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .ya-defter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   PERSONAS (Kimler İçin)
   ============================================= */
.ya-personas {
    padding: 4rem 0;
    background: #fff;
}

.ya-persona-grid {
    display: grid;
    gap: 1.5rem;
}

.ya-persona-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ya-radius-2xl);
    background: var(--ya-bg-light);
    transition: transform 0.2s;
}

.ya-persona-card:hover {
    transform: translateY(-2px);
}

.ya-persona-emoji {
    width: 56px;
    height: 56px;
    background: rgba(var(--ya-primary-rgb), 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--ya-primary);
}

.ya-persona-emoji .material-symbols-outlined {
    font-size: 28px;
    width: auto;
    height: auto;
}

.ya-persona-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ya-text-dark);
}

.ya-persona-card p {
    font-size: 0.875rem;
    color: var(--ya-text-muted);
    line-height: 1.6;
}

/* =============================================
   CTA
   ============================================= */
.ya-cta {
    padding: 4rem 0;
    background: var(--ya-bg-light);
}

.ya-cta-inner {
    background: linear-gradient(135deg, var(--ya-bg-dark) 0%, #1e293b 100%);
    border-radius: var(--ya-radius-3xl);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
}

.ya-cta-inner h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.ya-cta-inner p {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.ya-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #fff;
    color: var(--ya-text-dark);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--ya-radius-xl);
    transition: all 0.2s;
}

.ya-cta-btn:hover {
    background: var(--ya-accent);
    color: #fff;
    transform: translateY(-1px);
}

/* =============================================
   FOOTER
   ============================================= */
.ya-footer {
    background: var(--ya-bg-dark);
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
}

.ya-footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ya-footer-brand .ya-logo {
    color: #fff;
    margin-bottom: 0.75rem;
}

.ya-footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.ya-footer h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ya-footer-links {
    list-style: none;
    padding: 0;
}

.ya-footer-links li {
    margin-bottom: 0.5rem;
}

.ya-footer-links a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.ya-footer-links a:hover {
    color: #fff;
}

.ya-footer-social {
    display: flex;
    gap: 1rem;
}

.ya-footer-social a {
    color: #64748b;
    transition: color 0.2s;
}

.ya-footer-social a:hover {
    color: #fff;
}

.ya-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    font-size: 0.8125rem;
    text-align: center;
    line-height: 1.6;
}

/* =============================================
   PAGE CONTENT (Kullanım Koşulları, Gizlilik)
   ============================================= */
.ya-page-content {
    padding: 3rem 0;
}

.ya-page-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--ya-text-dark);
}

.ya-page-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--ya-text-dark);
}

.ya-page-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--ya-text-dark);
}

.ya-page-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1rem;
}

.ya-page-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.ya-page-content ul li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 0.375rem;
}

.ya-page-content strong {
    color: var(--ya-text-dark);
}

.ya-page-content em {
    color: var(--ya-text-muted);
}

/* =============================================
   LAYOUT WITH SIDEBAR
   ============================================= */
.ya-with-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.ya-main-col {
    min-width: 0;
}

.ya-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ya-sidebar-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--ya-radius-2xl);
    padding: 1.5rem;
}

/* Promo Card */
.ya-sidebar-promo {
    background: linear-gradient(135deg, var(--ya-bg-dark) 0%, #1e293b 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.ya-sidebar-logo img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin: 0 auto 1rem;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ya-sidebar-promo h3 {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ya-sidebar-promo p {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.ya-sidebar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: var(--ya-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--ya-radius-lg);
    text-decoration: none;
    transition: background 0.2s;
}

.ya-sidebar-btn:hover {
    background: var(--ya-primary-dark);
    color: #fff;
}

.ya-sidebar-btn--play {
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ya-sidebar-btn--play:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ya-sidebar-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 0.875rem;
    font-size: 0.75rem;
    color: #64748b;
}

.ya-sidebar-soon svg {
    opacity: 0.6;
}

/* QR Card */
.ya-sidebar-qr {
    text-align: center;
}

.ya-sidebar-qr-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ya-text-muted);
    margin-bottom: 0.75rem;
}

.ya-sidebar-qr img {
    display: block;
    margin: 0 auto 0.75rem;
    width: 160px;
    height: 160px;
    border-radius: var(--ya-radius-lg);
}

.ya-sidebar-qr p {
    font-size: 0.8125rem;
    color: var(--ya-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Stats Card */
.ya-sidebar-stats h4,
.ya-sidebar-links h4 {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ya-text-dark);
    margin-bottom: 1rem;
}

.ya-sidebar-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ya-sidebar-stat:first-of-type {
    border-top: none;
    padding-top: 0;
}

.ya-sidebar-stat-value {
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--ya-primary);
    flex-shrink: 0;
    min-width: 3.5rem;
}

.ya-sidebar-stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ya-text-dark);
    line-height: 1.3;
}

.ya-sidebar-stat-label small {
    display: block;
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--ya-text-muted);
    margin-top: 0.125rem;
}

/* Links Card */
.ya-sidebar-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ya-sidebar-links li {
    margin: 0;
}

.ya-sidebar-links a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--ya-text-dark);
    text-decoration: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s, padding-left 0.2s;
}

.ya-sidebar-links li:first-child a {
    border-top: none;
    padding-top: 0;
}

.ya-sidebar-links a:hover {
    color: var(--ya-primary);
    padding-left: 0.25rem;
}

@media (min-width: 1024px) {
    .ya-with-sidebar {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 2.5rem;
    }
    .ya-sidebar {
        position: sticky;
        top: 80px;
        align-self: start;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

/* =============================================
   RACE SINGLE / ARCHIVE
   ============================================= */
.ya-race-single {
    padding: 2.5rem 0 4rem;
    background: var(--ya-bg-light);
}

.ya-race-crumbs {
    font-size: 0.8125rem;
    color: var(--ya-text-muted);
    margin-bottom: 1rem;
}

.ya-race-crumbs a {
    color: var(--ya-primary);
}

.ya-race-single h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ya-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ya-race-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ya-radius-xl);
    margin-bottom: 1.5rem;
}

.ya-race-meta-item {
    font-size: 0.875rem;
    color: var(--ya-text-dark);
}

.ya-race-meta-item strong {
    color: var(--ya-text-muted);
    font-weight: 600;
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.ya-race-summary {
    font-size: 1rem;
    color: var(--ya-text-dark);
    line-height: 1.7;
    padding: 1.25rem 1.5rem;
    background: rgba(37, 99, 235, 0.04);
    border-left: 4px solid var(--ya-primary);
    border-radius: var(--ya-radius-lg);
    margin-bottom: 2rem;
}

.ya-race-single h2 {
    font-size: 1.375rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
    color: var(--ya-text-dark);
}

.ya-race-featured {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ya-race-horse {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--ya-radius-xl);
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.ya-race-horse-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ya-race-horse-num {
    width: 40px;
    height: 40px;
    background: var(--ya-primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.ya-race-horse-head > div {
    flex: 1;
    min-width: 0;
}

.ya-race-horse h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--ya-text-dark);
    margin-bottom: 0.25rem;
}

.ya-race-horse-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--ya-text-muted);
}

.ya-race-score {
    text-align: center;
    padding: 0.5rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--ya-radius-lg);
    flex-shrink: 0;
}

.ya-race-score span {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--ya-primary);
    line-height: 1;
}

.ya-race-score small {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ya-text-muted);
}

.ya-race-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.ya-race-signal {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border-radius: 9999px;
}

.ya-race-reasoning {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
}

.ya-race-cta {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--ya-bg-dark) 0%, #1e293b 100%);
    color: #fff;
    border-radius: var(--ya-radius-2xl);
    text-align: center;
}

.ya-race-cta h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.ya-race-cta p {
    color: #94a3b8;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.ya-race-cta-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--ya-primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--ya-radius-xl);
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

.ya-race-cta-btn:hover {
    background: var(--ya-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Archive cards */
.ya-races-archive {
    padding: 3rem 0;
}

.ya-races-archive h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--ya-text-dark);
}

.ya-races-archive .ya-archive-sub {
    color: var(--ya-text-muted);
    margin-bottom: 2rem;
}

.ya-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ya-archive-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--ya-radius-xl);
    text-decoration: none;
    color: var(--ya-text-dark);
    transition: transform 0.2s, border-color 0.2s;
    display: block;
}

.ya-archive-card:hover {
    border-color: var(--ya-primary);
    transform: translateY(-2px);
}

.ya-archive-card h2,
.ya-archive-card h3 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--ya-text-dark);
}

.ya-archive-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.03));
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--ya-radius-2xl);
    margin: 0 0 1.5rem;
    flex-wrap: wrap;
}

.ya-archive-notice-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--ya-primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ya-archive-notice-icon .material-symbols-outlined {
    font-size: 20px;
    width: auto;
    height: auto;
}

.ya-archive-notice-body {
    flex: 1;
    min-width: 240px;
}

.ya-archive-notice-body strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--ya-text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ya-archive-notice-body p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.ya-archive-notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    background: var(--ya-primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--ya-radius-lg);
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.ya-archive-notice-btn:hover {
    background: var(--ya-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.ya-archive-notice-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ya-archive-notice-btn svg {
    flex-shrink: 0;
}

.ya-archive-group-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ya-text-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ya-primary);
    display: inline-block;
}

.ya-archive-group-title:first-of-type {
    margin-top: 0;
}

.ya-archive-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--ya-text-muted);
}

.ya-archive-card-meta span {
    padding: 0.25rem 0.625rem;
    background: var(--ya-bg-light);
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .ya-race-single h1 {
        font-size: 2.25rem;
    }
    .ya-archive-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =============================================
   FAQ / SSS
   ============================================= */
.ya-faq {
    padding: 4rem 0;
    background: #fff;
}

.ya-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ya-faq-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--ya-radius-xl);
    background: var(--ya-bg-light);
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.ya-faq-item[open] {
    border-color: var(--ya-primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    background: #fff;
}

.ya-faq-item summary {
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ya-text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.2s;
}

.ya-faq-item summary::-webkit-details-marker {
    display: none;
}

.ya-faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ya-primary);
    flex-shrink: 0;
    transition: transform 0.2s;
    line-height: 1;
}

.ya-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.ya-faq-item p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* =============================================
   404 PAGE
   ============================================= */
.ya-404 {
    text-align: center;
    padding: 4rem 1rem;
}

.ya-404-code {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--ya-primary) 0%, var(--ya-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.ya-404-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ya-text-dark);
    margin-bottom: 0.75rem;
}

.ya-404-desc {
    font-size: 1rem;
    color: var(--ya-text-muted);
    max-width: 28rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.ya-404-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* =============================================
   RESPONSIVE - Tablet (768px+)
   ============================================= */
@media (min-width: 768px) {
    .ya-mobile-toggle {
        display: none;
    }

    .ya-nav {
        display: flex;
    }

    .ya-hero {
        padding: 5rem 0 6rem;
    }

    .ya-hero h1 {
        font-size: 2.75rem;
    }

    .ya-hero-desc {
        font-size: 1.125rem;
    }

    .ya-hero-buttons {
        flex-direction: row;
    }

    .ya-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ya-section-header h2 {
        font-size: 2.25rem;
    }

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

    .ya-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ya-features-grid.ya-features-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .ya-pipeline-steps {
        flex-direction: row;
        justify-content: center;
    }

    .ya-pipe-arrow {
        transform: none;
    }

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

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

    .ya-plan-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ya-perf-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ya-perf-value {
        font-size: 2.5rem;
    }

    .ya-screenshot-item {
        width: 260px;
    }

    .ya-cta-inner h2 {
        font-size: 2.5rem;
    }

    .ya-404-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* =============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================= */
@media (min-width: 1024px) {
    .ya-hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ya-hero h1 {
        font-size: 3.25rem;
    }

    .ya-features-grid.ya-features-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .ya-persona-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ya-cta-inner {
        padding: 4rem 3rem;
    }

    .ya-cta-inner h2 {
        font-size: 3rem;
    }
}

/* =============================================
   RESPONSIVE - Mobil (<768px)
   ============================================= */
@media (max-width: 767px) {
    .ya-container {
        padding: 0 1rem;
    }

    .ya-header-inner {
        height: 56px;
    }

    .ya-hero {
        padding: 2rem 0 3rem;
    }

    .ya-hero h1 {
        font-size: 1.75rem;
    }

    .ya-btn-primary-lg,
    .ya-btn-outline {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .ya-stats {
        padding: 2rem 0;
    }

    .ya-stat-number {
        font-size: 1.5rem;
    }

    .ya-whoweare,
    .ya-problem,
    .ya-features,
    .ya-pipeline,
    .ya-personas {
        padding: 3rem 0;
    }

    .ya-cta {
        padding: 3rem 0;
    }

    .ya-cta-inner {
        padding: 2rem 1.5rem;
        border-radius: var(--ya-radius-2xl);
    }

    .ya-cta-inner h2 {
        font-size: 1.5rem;
    }

    .ya-cta-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .ya-footer {
        padding: 2rem 0 1rem;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--ya-primary); }
