/* ==========================================================================
   1. DEĞİŞKENLER (VARIABLES)
   ========================================================================== */
   :root {
    /* Renkler */
    --bg: #f7fbff;
    --fg: #0a1523;
    --muted: #47617a;
    --brand1: #7c3aed; /* mor */
    --brand2: #0284c7; /* daha koyu camgöbeği - kontrast artırıldı */
    --brand3: #22d3ee; /* açık camgöbeği */
    --surface: rgba(10,21,35,0.06);
    --ring: rgba(14,165,233,.6);
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --accent: #0056b3;
    --accent-hover: #004085;
    --success: #28a745;
    --success-hover: #1e7e34;
    --warning: #e0a800;
    --warning-hover: #b8860b;
    --error: #dc3545;
    --error-hover: #c82333;
    --border: #dee2e6;
    --border-light: #e9ecef;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --header-background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
    
    /* Yeni renkler - daha modern gradient'ler için */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
  
    /* Tipografi */
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Boşluklar */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    
    /* Geçişler */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-index */
    --z-sticky: 1020;
  }
  
  /* ==========================================================================
     2. RESET & TEMEL STİLLER (BASE)
     ========================================================================== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    height: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-family);
    background: 
      radial-gradient(circle at 20% 20%, rgba(14,165,233,.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 30%, rgba(124,58,237,.12) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(34,211,238,.08) 0%, transparent 50%),
      linear-gradient(135deg, var(--bg) 0%, #eaf4ff 50%, var(--bg) 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    color: var(--fg);
    line-height: var(--line-height-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Tipografi */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
  }
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-2xl); }
  h4 { font-size: var(--font-size-xl); }
  p { margin-bottom: var(--spacing-md); }
  a {
    color: var(--brand2);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  a:hover { color: var(--brand1); }
  
  
  /* ==========================================================================
     3. YERLEŞİM (LAYOUT)
     ========================================================================== */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
  }
  

  
  header {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(180%) blur(8px);
    background: var(--header-background);
    border-bottom: 1px solid rgba(0,0,0,.08);
    z-index: var(--z-sticky);
  }
  
  /* Sadece index.html için şeffaf navbar */
  body.index-page header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: none;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }
  
  body.index-page header.scrolled {
    backdrop-filter: saturate(180%) blur(8px);
    background: var(--header-background);
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .footer {
    padding: 28px 0;
    color: var(--text-secondary);
    font-size: 14px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    margin-top: var(--spacing-3xl);
  }
  

  
  
  /* ==========================================================================
     4. BİLEŞENLER (COMPONENTS)
     ========================================================================== */
  
  /* Navigasyon */
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: var(--spacing-md) 0;
  }
  
  /* Hamburger Menü */
  .hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  
  .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--fg);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Navigasyon Linkleri */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
  }
  
  .nav-links a {
    color: var(--fg);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 10px 12px;
    border-radius: 10px;
    position: relative;
  }
  
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--brand2);
    background-color: rgba(14, 165, 233, 0.1);
  }
  
  .nav-links a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent);
    border-radius: 1px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--fg);
  }
  
  .logo {
    width: 32px;
    height: 32px;
    background: url('assets/img/logo.png') center/contain no-repeat;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(0,0,0,.06) inset, 0 10px 30px rgba(14,165,233,.2);
    transition: color var(--transition-fast);
  }
  
  .logo:hover { color: var(--accent-hover); }
  .brand span { font-weight: 700; letter-spacing: .2px; }
  
  /* Butonlar */
  button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
  }
  .cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3), 0 8px 16px rgba(118, 75, 162, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
  }
  
  .cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }
  
  .cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4), 0 12px 24px rgba(118, 75, 162, 0.3);
  }
  
  .cta:hover::before {
    left: 100%;
  }
  
  .cta:active {
    transform: translateY(-1px) scale(0.98);
  }
  
  .cta.ghost { 
    background: transparent; 
    border: 2px solid var(--brand2); 
    color: var(--brand2);
    box-shadow: none;
  }
  
  .cta.ghost:hover {
    background: var(--brand2);
    color: white;
    transform: translateY(-2px);
  }
  
  /* Temel Buton Stilleri */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 8px var(--shadow);
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-hover);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  .btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
  }
  
  .btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
  }
  
  .btn-success {
    background: var(--success);
    color: white;
    border-color: var(--success);
  }
  
  .btn-success:hover {
    background: var(--success-hover);
    border-color: var(--success-hover);
  }
  
  .btn-error {
    background: var(--error);
    color: white;
    border-color: var(--error);
  }
  
  .btn-error:hover {
    background: var(--error-hover);
    border-color: var(--error-hover);
  }
  
  .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  
  /* Form Elemanları */
  input, textarea, select {
    font-family: inherit;
    font-size: var(--font-size-base);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 12px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    transition: all var(--transition-normal);
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  input:hover, textarea:hover, select:hover {
    border-color: var(--brand2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
  }
  
  input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--brand2);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1), 0 4px 12px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
  }
  
  /* Select elementlerinin sabit boyutta kalması için genel kural */
  select[id*="textSelector"], select[id*="TextSelector"] {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    box-sizing: border-box !important;
  }
  
  /* Sonuç ekranındaki metin seçici için özel genişlik */
  select[id="resultsTextSelector"] {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
  }
  
  /* Modern Toggle Switch */
  .toggle-container {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 200px;
    min-width: 200px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
  }
  
  .toggle-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .toggle-switch {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 10px;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
    transition: all var(--transition-normal);
  }
  
  .toggle-switch:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .toggle-switch input[type="checkbox"] { 
    position: absolute; 
    opacity: 0; 
    width: 0; 
    height: 0; 
  }
  
  .toggle-slider {
    width: 48px;
    height: 26px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 13px;
    position: relative;
    transition: all var(--transition-bounce);
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all var(--transition-bounce);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  
  .toggle-switch:hover .toggle-slider { 
    background: linear-gradient(135deg, #d1d5db, #9ca3af); 
    transform: scale(1.05); 
  }
  
  .toggle-switch input[type="checkbox"]:checked + .toggle-slider { 
    background: var(--gradient-success);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(79, 172, 254, 0.2);
  }
  
  .toggle-switch input[type="checkbox"]:checked + .toggle-slider::before { 
    transform: translateX(22px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  
  .toggle-label { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--muted); 
    cursor: pointer; 
    user-select: none;
    transition: all var(--transition-normal);
  }
  
  .toggle-switch:hover .toggle-label { 
    color: var(--fg); 
    transform: translateX(2px);
  }
  
  .toggle-switch input[type="checkbox"]:checked ~ .toggle-label { 
    color: var(--brand2); 
    font-weight: 700;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
  }
  
  /* Kartlar ve Paneller */
  .panel {
    padding: 18px;
    border-radius: 16px;
    background: rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.08);
  }
  

  
  
  /* ==========================================================================
     5. SAYFA BÖLÜMLERİ (SECTIONS)
     ========================================================================== */
  
  /* Hero Bölümü */
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    justify-items: center;
    padding: 40px 0 30px;
    text-align: center;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.08;
    margin: 0 0 12px;
  }
  .lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 60ch; margin: 0 auto; }
  .demo-stats { display: flex; justify-content: space-between; margin-bottom: 20px; padding: 15px; background: rgba(255, 255, 255, 0.1); border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.08); }
  .demo-stat { text-align: center; }
  .demo-stat-value { font-size: 28px; font-weight: 700; color: var(--brand2); }
  .demo-stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
  
  
  /* ==========================================================================
     6. YARDIMCI SINIFLAR (UTILITIES)
     ========================================================================== */
  .text-center { text-align: center; }
  .muted { color: var(--muted); }
  
  
  /* ==========================================================================
     7. ANİMASYONLAR VE DURUMLAR (ANIMATIONS & STATES)
     ========================================================================== */
  @keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
  
  .cursor {
    animation: blink 1s infinite;
  }
  
  /* Focus Stilleri */
  .btn:focus,
  a:focus,
  input:focus, 
  textarea:focus, 
  select:focus,
  .toggle-switch input[type="checkbox"]:focus + .toggle-slider {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
  }
  
  /* Animasyonlar */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  
  /* Animasyon sınıfları */
  .animate-float { animation: float 3s ease-in-out infinite; }
  
  @media (prefers-reduced-motion: reduce) {
    .logo, .cta, .btn, a,
    .toggle-slider, .toggle-slider::before {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    
    .animate-float {
      animation: none !important;
    }
  }
  
  
  /* ==========================================================================
     9. DUYARLI TASARIM (RESPONSIVE)
     ========================================================================== */
  @media (max-width: 768px) {
    .container { padding: 16px; }
    
    /* Hamburger Menü Mobil */
    .hamburger-menu {
      display: flex;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 32px;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      z-index: 1000;
    }
    
    .nav-links.active {
      transform: translateX(0);
    }
    
    .nav-links a {
      font-size: 24px;
      font-weight: 600;
      padding: 16px 24px;
      border-radius: var(--radius-lg);
      background: rgba(14, 165, 233, 0.1);
      min-width: 200px;
      text-align: center;
    }
    
    .nav-links a:hover {
      background: var(--brand2);
      color: white;
    }
    
    .hero { padding: 48px 0 32px; }
    .demo-stat-value { font-size: 24px; }
    .demo-stat-label { font-size: 10px; }
    .practice-container, .features-grid, .blog-grid, .challenges-grid, .footer-content {
      grid-template-columns: 1fr;
    }
    .footer-content { text-align: center; }
    .hero h1 { font-size: var(--font-size-3xl); }
  }
  
  @media (max-width: 480px) {
    .hero { padding: var(--spacing-xl) 0; }
    .hero h1 { font-size: var(--font-size-2xl); }
    .btn, .cta { width: 100%; margin-bottom: var(--spacing-sm); }
    .filters { justify-content: center; }
  }
  
  

  
  /* ==========================================================================
     11. YAZMA ALANI STİLLERİ (TYPING AREA)
     ========================================================================== */
  
  /* Yazma Kutusu */
  #typingInputArea {
    position: fixed;
    bottom: 10px;
    left: 20px;
    right: 20px;
    z-index: 10002;
  }
  
  #textInput {
    width: 100%;
    padding: 25px;
    font-size: 24px;
    background: rgba(255,255,255,0.95);
    color: var(--fg);
    border: 3px solid #0284c7;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    min-height: 70px;
    resize: none;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.3s ease;
  }
  
  #textInput:focus {
    outline: none;
    border-color: var(--brand2);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
  }
  
  #textInput::placeholder {
    color: var(--muted);
    opacity: 0.7;
  }
  
  /* Metin Alanı */
#testText {
  flex: 1;
  padding: 25px;
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.7;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  max-height: calc(100vh - 350px);
  text-align: justify;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
  
  #testText:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* Tam Ekran Modu */
  #fullscreenMode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 11000 !important;
    overflow: hidden;
    display: none;
  }
  

  
  /* Geri Sayım Ekranı */
  #countdownScreen {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 10001;
  }
  
  #countdownNumber {
    font-size: 120px;
    font-weight: bold;
    color: var(--brand2);
    margin-bottom: 20px;
    animation: pulse 1s ease-in-out infinite;
  }
  
  /* Yazma Ekranı */
  #typingScreen {
    display: none;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10001;
  }
  
  /* Sonuç Ekranı */
  #resultsScreen {
    display: none;
    width: 100%;
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 10001;
  }
  
  /* İstatistik Kartları */
  .demo-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }
  
  .demo-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .demo-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand2);
    margin-bottom: 5px;
  }
  
  .demo-stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* 10 Parmak Klavye Sayfası Özel Stilleri */
  .test-start-section {
    margin: 40px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }
  
  .test-start-section h2 {
    margin-bottom: 30px;
    color: var(--brand2);
    font-size: 28px;
  }
  
  .test-start-section p {
    margin-bottom: 40px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
  }
  
  .test-start-section .btn-primary {
    font-size: 24px;
    padding: 20px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--brand2), var(--brand1));
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
    animation: pulse 2s infinite;
  }
  
  .test-start-section .btn-secondary {
    font-size: 16px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
  }
  
  .test-settings {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
  }
  
  .test-settings h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--brand2);
    font-size: 24px;
  }
  
  .test-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .test-settings-grid label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
  }
  
  .test-settings-grid select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
  }
  
  .test-settings .btn-primary {
    font-size: 18px;
    padding: 15px 40px;
  }
  
  .tips-section {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .tips-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--brand2);
    font-size: 28px;
  }
  
  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .tip-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .tip-card h3 {
    color: var(--brand2);
    margin-bottom: 15px;
    font-size: 18px;
  }
  
  .tip-card p {
    color: var(--muted);
    line-height: 1.6;
  }
  
  .seo-content {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .seo-content h2 {
    color: var(--brand2);
    margin-bottom: 30px;
    font-size: 28px;
  }
  
  .seo-content p {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  /* Tam ekran modu içindeki stiller */
  .fullscreen-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
  }
  
  .fullscreen-info-bar .info-group {
    display: flex;
    gap: 30px;
  }
  
  .fullscreen-info-bar .info-item span:first-child {
    color: #47617a;
    font-size: 14px;
  }
  
  .fullscreen-info-bar .info-item span:last-child {
    color: #0284c7;
    font-size: 18px;
    font-weight: bold;
    margin-left: 8px;
  }
  
  .fullscreen-text-area {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid #dee2e6;
    margin-bottom: 30px;
    min-height: 200px;
  }
  
  .fullscreen-input-area {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid #dee2e6;
  }
  
  .fullscreen-text-area #testText,
  .fullscreen-input-area #textInput {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1.8;
    color: #212529;
    font-family: 'Courier New', monospace;
    resize: none;
    outline: none;
  }
  
  .fullscreen-input-area #textInput {
    min-height: 120px;
  }
  
  .fullscreen-input-area #textInput::placeholder {
    color: #6c757d;
  }
  
  .results-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .results-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent);
    font-size: 32px;
  }
  
  .results-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .result-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .result-card .value {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 10px;
  }
  
  .result-card .label {
    color: var(--text-secondary);
    font-size: 16px;
  }
  
  .detailed-results {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
  }
  
  .detailed-results h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 20px;
  }
  
  .detailed-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .detailed-results-grid .item {
    display: flex;
    justify-content: space-between;
  }
  
  .detailed-results-grid .item span:first-child {
    color: var(--text-secondary);
  }
  
  .detailed-results-grid .item span:last-child {
    color: var(--text-primary);
    font-weight: bold;
    margin-left: 10px;
  }
  
  .results-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .results-buttons .btn {
    padding: 15px 30px;
    font-size: 16px;
  }
  
  /* Mobil Uyumluluk */
  @media (max-width: 768px) {
    #textInput {
      font-size: 18px;
      padding: 25px;
      min-height: 60px;
    }
    
    #testText {
      font-size: 16px;
      padding: 20px;
    }
    
    .demo-stat-value {
      font-size: 24px;
    }
    
    .demo-stat-label {
      font-size: 10px;
    }
    
    #countdownNumber {
      font-size: 80px;
    }
    
    .test-start-section {
      padding: 20px;
    }
    
    .test-start-section h2 {
      font-size: 24px;
    }
    
    .test-start-section .btn-primary {
      font-size: 20px;
      padding: 15px 30px;
    }
    
    .tips-grid {
      grid-template-columns: 1fr;
    }
    
    .fullscreen-info-bar .info-group {
      flex-direction: column;
      gap: 10px;
    }
    
    .results-cards {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .detailed-results-grid {
      grid-template-columns: 1fr;
    }
    
    .results-buttons {
      flex-direction: column;
      }
}

/* ==========================================================================
   YENİ TASARIM STİLLERİ
   ========================================================================== */

/* Enhanced Test Selection Section */
.test-selection-enhanced {
  padding: 80px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.test-selector-enhanced {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.test-header {
  text-align: center;
  margin-bottom: 50px;
}

.test-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.test-title .number {
  color: #0ea5e9;
}

.test-title .parmak {
  color: #7c3aed;
}

.test-title .klavye {
  color: #1e293b;
}

.test-title .testi {
  color: #1e293b;
}

.test-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
}

.test-controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.control-input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(14, 165, 233, 0.2);
  border-radius: 16px;
  font-size: 1rem;
  color: #1e293b;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.control-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.test-start {
  text-align: center;
}

.start-button-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #667eea 100%);
  color: white;
  padding: 18px 40px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
  border: none;
  cursor: pointer;
}

.start-button-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
}

.start-icon {
  font-size: 1.2rem;
}

.start-text {
  font-weight: 700;
}

/* Enhanced Practice Options Section */
.practice-options-enhanced {
  padding: 60px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.practice-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.practice-header {
  text-align: center;
  margin-bottom: 80px;
}

.practice-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.practice-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.practice-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.practice-card-enhanced {
  position: relative;
  height: 500px;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.practice-card-enhanced:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
  opacity: 0.6;
}

.practice-card-enhanced:nth-child(2) .card-pattern {
  background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 50px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-icon-large {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.icon-large {
  font-size: 4rem;
  display: block;
  text-align: center;
  line-height: 100px;
  background: linear-gradient(135deg, #0ea5e9 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.practice-card-enhanced:nth-child(2) .icon-large {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
}

.practice-card-enhanced:nth-child(2) .icon-glow {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
}

.card-text {
  flex: 1;
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1.2;
}

.card-description {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 30px;
}

.card-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #667eea 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.practice-card-enhanced:nth-child(2) .card-button {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
}

.practice-card-enhanced:nth-child(2) .card-button:hover {
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
}

.button-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.practice-card-enhanced:hover .button-arrow {
  transform: translateX(4px);
}

.card-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #64748b;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .test-selection-enhanced {
    padding: 60px 0;
  }
  
  .test-selector-enhanced {
    padding: 50px 30px;
  }
  
  .test-title {
    font-size: 2.2rem;
  }
  
  .practice-cards-grid {
    gap: 30px;
  }
  
  .practice-card-enhanced {
    height: 450px;
  }
  
  .card-content {
    padding: 40px 30px;
  }
  
  .practice-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .test-selection-enhanced {
    padding: 40px 0;
  }
  
  .test-selector-enhanced {
    padding: 40px 25px;
    margin: 0 20px;
  }
  
  .test-title {
    font-size: 2rem;
  }
  
  .test-subtitle {
    font-size: 1rem;
  }
  
  .test-controls {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }
  
  .control-input {
    height: 50px;
    font-size: 0.95rem;
  }
  
  .start-button-enhanced {
    padding: 16px 32px;
    font-size: 1rem;
  }
  
  .practice-options-enhanced {
    padding: 40px 0;
  }
  
  .practice-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .practice-card-enhanced {
    height: 400px;
  }
  
  .card-content {
    padding: 30px 25px;
  }
  
  .practice-title {
    font-size: 2.5rem;
  }
  
  .practice-subtitle {
    font-size: 1.1rem;
  }
  
  .card-title {
    font-size: 1.75rem;
  }
  
  .card-description {
    font-size: 1rem;
  }
  
  .icon-large {
    font-size: 3rem;
    line-height: 80px;
  }
  
  .card-icon-large {
    width: 80px;
    height: 80px;
  }
  
  .icon-glow {
    width: 100px;
    height: 100px;
  }
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  min-height: 80vh;
}

/* Sadece index sayfası için fixed navbar için padding */
body.index-page .hero-section {
  padding: 120px 0 80px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(102, 126, 234, 0.1));
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 50px;
  padding: 12px 24px;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 20px;
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.title-highlight {
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand2);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  justify-content: center;
}

.hero-btn.primary {
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  color: white;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.hero-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand2);
  border: 2px solid var(--brand2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-btn.secondary:hover {
  background: var(--brand2);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.3);
}

.btn-icon {
  font-size: 20px;
}

.btn-text {
  font-weight: 700;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.typing-demo {
  width: 100%;
  max-width: 500px;
}

.demo-screen {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.demo-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.demo-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}

.demo-content {
  padding: 30px;
}

.demo-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 20px;
  min-height: 60px;
}

.cursor {
  animation: blink 1s infinite;
  color: var(--brand2);
  font-weight: bold;
}

.demo-stats {
  display: flex;
  gap: 30px;
}

.demo-stat {
  text-align: center;
}

.demo-stat .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand2);
  display: block;
}

.demo-stat .stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Test Selection Section */
.test-selection-section {
  padding: 80px 0;
}

.test-selector-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.test-selector-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.selector-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selector-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.label-icon {
  font-size: 16px;
}

.selector-input {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(14, 165, 233, 0.3);
  border-radius: 16px;
  font-size: 16px;
  color: var(--fg);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 56px;
  box-sizing: border-box;
}

.selector-input:hover {
  border-color: var(--brand2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.selector-input:focus {
  outline: none;
  border-color: var(--brand2);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), 0 8px 20px rgba(14, 165, 233, 0.2);
}

.format-toggle {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(14, 165, 233, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: 56px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.start-button-container {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.start-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
  position: relative;
  overflow: hidden;
}

.start-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.start-button:hover .button-shine {
  left: 100%;
}

.warning-message {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #dc3545;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
  z-index: 1000;
  animation: slideInRight 0.3s ease-out;
}

.warning-icon {
  margin-right: 8px;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Tek kalan kutuları ortalama - daha uyumlu çözüm */
.features-grid .feature-card:nth-child(3):last-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 400px;
}

.features-grid .feature-card:nth-child(1):last-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 400px;
}

/* FAQ bölümü için ayrı grid - her zaman 3 kutu yan yana */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Orta boyutlu ekranlar için responsive ayar */
@media (max-width: 1024px) and (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid .feature-card:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(102, 126, 234, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  position: relative;
}

.feature-icon .icon {
  font-size: 24px;
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.feature-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Blog kartı içindeki rozet alanına yerleştirilen linkler (Oku) için okunabilirlik düzeltmesi */
.feature-badge a,
.feature-badge .learn-more-link {
  color: #fff !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.feature-badge a:hover,
.feature-badge .learn-more-link:hover {
  opacity: .9;
  transform: none;
}

/* Ten Finger Section */
.ten-finger-section {
  padding: 80px 0;
}

.ten-finger-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.test-preview {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.preview-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.preview-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
}

.preview-description {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.preview-stats {
  display: flex;
  gap: 20px;
}

.preview-stat {
  text-align: center;
}

.preview-stat .stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand2);
  display: block;
}

.preview-stat .stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.test-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.setting-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setting-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.setting-input {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(14, 165, 233, 0.3);
  border-radius: 16px;
  font-size: 16px;
  color: var(--fg);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.setting-input:hover {
  border-color: var(--brand2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.test-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.test-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
  position: relative;
  overflow: hidden;
}

.test-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand2);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border: 2px solid var(--brand2);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.learn-more-link:hover {
  background: var(--brand2);
  color: white;
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(102, 126, 234, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.stat-icon .icon {
  font-size: 24px;
}

.stat-content {
  margin-bottom: 16px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand2);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #10b981;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(102, 126, 234, 0.1));
  border-radius: 24px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  color: white;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: var(--brand2);
  border: 2px solid var(--brand2);
}

.cta-button.secondary:hover {
  background: var(--brand2);
  color: white;
  transform: translateY(-2px);
}

.cta-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  min-width: 180px;
  height: 60px;
  box-sizing: border-box;
}

.cta-feature .feature-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
  position: relative;
  margin: 0;
  padding: 0;
}

.cta-feature .feature-icon span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

/* Animations */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  
  /* Sadece index sayfası için fixed navbar için padding */
  body.index-page .hero-section {
    padding: 100px 0 60px 0;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-btn {
    min-width: 250px;
    width: 100%;
    max-width: 300px;
  }
  
  .selector-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  /* Mobilde tüm kartlar tek sütun - ortalama gerekmez */
  
  /* FAQ grid mobilde tek sütun */
  .faq-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 20px;
  }
  
  .cta-feature {
    min-width: 250px;
    width: 100%;
    max-width: 300px;
  }
  
  .test-preview {
    flex-direction: column;
    text-align: center;
  }
  
  .preview-stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .test-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   KELİME RENKLENDİRME STİLLERİ
   ========================================================================== */

.word {
  display: inline-block;
  margin: 0 2px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.word.correct {
  color: #10b981 !important;
  font-weight: bold;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.word.incorrect {
  color: #ef4444 !important;
  font-weight: bold;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  text-decoration: line-through;
}

.word.current {
  color: #3b82f6 !important;
  font-weight: bold;
}

/* Kelime arası boşluklar için */
.word + .word {
  margin-left: 4px;
}

/* Test metni container'ı için */
#testText {
  word-spacing: 2px;
  letter-spacing: 0.5px;
}

.word.fade-out {
  opacity: 0;
}

/* Geri sayım ekranındaki mavi çizgiyi kaldır */
#countdownNumber {
  outline: none !important;
  border: none !important;
  background: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  -moz-focus-ring-color: transparent !important;
  focus-ring-color: transparent !important;
  transform: scale(1);
  transition: transform 0.4s ease-out;
}

#countdownNumber:focus,
#countdownNumber:focus-visible,
#countdownNumber:active,
#countdownNumber * {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

/* Geri sayım animasyonu için ek efektler */
@keyframes countdownPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes countdownBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  60% {
    transform: scale(1.15);
  }
}

.countdown-animation {
  animation: countdownBounce 0.6s ease-in-out;
}

/* Karakter bazlı renklendirme */
.char {
  display: inline-block;
  transition: all 0.1s ease;
}

.char.correct {
  color: #10b981 !important;
  font-weight: bold;
}

.char.incorrect {
  color: #ef4444 !important;
  font-weight: bold;
  text-decoration: underline wavy #ef4444 !important;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

/* ==========================================================================
   10 PARMAK TESTİ STİLLERİ
   ========================================================================== */

/* 10 Parmak testi için kelime stilleri */
.word.completed {
  color: #10b981;
  font-weight: 500;
}

.word.error {
  color: #ef4444;
  text-decoration: underline wavy #ef4444;
  animation: shake 0.3s ease-in-out;
}