    :root {
      --bg: #121416;
      --surface: #181a1d;
      --surface-raised: #1f2124;
      --primary: #1A1C1E;
      --primary-hover: #27292c;
      --border: #26282c;
      --border-soft: rgba(255, 255, 255, 0.12);
      --text-main: #F2F3F4;
      --text-secondary: #B6BAC0;
      --text-weak: #7F848B;
      --accent-1: #E85C5C;
      --accent-1-rgb: 232, 92, 92;
      --accent-2: #F2956B;
      --accent-3: #F8C57A;
      --accent-1-soft: rgba(232, 92, 92, 0.18);
      --success: #35D49F;
      --warning: #F3B36A;
      --error: #FF6B6B;
      --shadow-color: rgba(0, 0, 0, 0.35);
      --shadow-soft: rgba(0, 0, 0, 0.2);
      /* Liquid Glass */
      --glass-bg: rgba(24, 26, 29, 0.55);
      --glass-blur: blur(18px) saturate(160%);
      --glass-inner-border: linear-gradient(to bottom, rgba(255,255,255,0.06), rgba(255,255,255,0));
      --header-bg: linear-gradient(180deg, #121416 0%, #181a1d 100%);
    }
    [data-theme="light"] {
      --bg: #F6F7FA;
      --surface: #FFFFFF;
      --surface-raised: #F0F1F5;
      --primary: #1A1C1E;
      --primary-hover: #27292c;
      --border: #E1E3E8;
      --border-soft: rgba(26, 28, 30, 0.12);
      --text-main: #121416;
      --text-secondary: #5C6066;
      --text-weak: #8E9298;
      --accent-1: #D94848;
      --accent-1-rgb: 217, 72, 72;
      --accent-2: #FF8A65;
      --accent-3: #FFB866;
      --accent-1-soft: rgba(217, 72, 72, 0.16);
      --success: #23C18D;
      --warning: #F2955F;
      --error: #EB5E5E;
      --shadow-color: rgba(16, 18, 22, 0.12);
      --shadow-soft: rgba(16, 18, 22, 0.08);
      /* Liquid Glass */
      --glass-bg: rgba(255, 255, 255, 0.65);
      --glass-blur: blur(16px) saturate(140%);
      --glass-inner-border: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
      --header-bg: linear-gradient(180deg, #FFFFFF 0%, #F6F7FA 100%);
    }
    * { text-decoration: none !important; margin: 0; padding: 0; box-sizing: border-box; }
    section { scroll-margin-top: clamp(5rem, 11vh, 6.5rem); }
    #about { scroll-margin-top: clamp(3.5rem, 8vh, 5rem); }
    .scroll-smooth { scroll-behavior: smooth; }

    html, body { max-width: 100%; overflow-x: hidden; }

    body {
      background: radial-gradient(1200px 800px at 20% -10%, var(--accent-1-soft), transparent 60%), radial-gradient(1000px 700px at 85% 10%, rgba(var(--accent-1-rgb), 0.12), transparent 65%), var(--bg);
      color: var(--text-main);
      font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      transition: background 0.3s ease, color 0.3s ease;
    }
    body::before {
      content: '';
      position: fixed;
      inset: -25%;
      background:
        radial-gradient(45% 45% at 15% 20%, rgba(var(--accent-1-rgb), 0.14), transparent 70%),
        radial-gradient(40% 40% at 80% 75%, rgba(242, 149, 107, 0.12), transparent 72%);
      filter: blur(100px);
      opacity: 0.55;
      pointer-events: none;
      animation: globalAura 40s linear infinite;
      z-index: -1;
    }
    .glass {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--border-soft);
      box-shadow: 0 20px 60px -45px var(--shadow-color);
      position: relative; /* For pseudo-element */
    }
    /* Inner gradient border */
    .glass::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit; /* Match parent's border-radius */
      padding: 1px; /* The "border" thickness */
      background: var(--glass-inner-border);
      -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
      /* ÇÖZÜM 7: Standart 'mask' özelliği eklendi */
      mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }
    [data-theme="light"] .glass {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      box-shadow: 0 20px 50px -40px var(--shadow-color);
    }
    .card {
      background: var(--surface);
      border: 1px solid var(--border-soft);
      transition: all 0.3s ease;
      border-radius: 24px;
      box-shadow: 0 24px 60px -40px var(--shadow-color);
      position: relative;
    }
    /* Tam ekran hero alanı için - DEĞİŞTİRİLDİ */
    .hero-full { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
    .hero-landing {
      position: relative;
      width: 100vw;
      margin-left: 50%;
      transform: translateX(-50%);
      padding: 2rem 0; /* DEĞİŞTİRİLDİ */
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      background: linear-gradient(135deg, #16181b 0%, #1f2023 55%, rgba(58, 25, 33, 0.85) 100%);
      border: none;
    }
    .hero-inner { width: min(1240px, 92vw); margin: 0 auto; padding-inline: clamp(1.25rem, 6vw, 2.5rem); padding-block: clamp(2.5rem, 6vw, 4rem); display: flex; flex-direction: column; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); text-align: center; }
    .hero-copy { max-width: 640px; }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
    .hero-inner--solo { max-width: 880px; }
    @media (min-width: 768px) {
      .hero-inner { flex-direction: row; justify-content: center; align-items: center; text-align: left; }
      .hero-copy { text-align: left; }
      .hero-cta { justify-content: flex-start; }
      .hero-inner--solo { flex-direction: column; align-items: center; text-align: center; }
    }

    .hero-inner {
      width: min(1320px, 94vw);
      margin: 0 auto;
      padding-inline: clamp(1.25rem, 6vw, 2.5rem);
      padding-block: clamp(2.5rem, 6vw, 4rem);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(2rem, 4vw, 3.5rem);
    }
    .hero-copy { max-width: 640px; text-align: center; }
    .hero-cta { justify-content: center; margin-top: 1.25rem; }
    @media (min-width: 768px) {
      .hero-inner { flex-direction: row; justify-content: center; align-items: center; }
      .hero-copy { text-align: left; }
      .hero-cta { justify-content: flex-start; }
    }

    /* YENİ KURAL: Hero alanı metin renkleri ve gölgeleri */
    .hero-landing h1 { color: var(--text-main); text-shadow: 0 12px 40px rgba(0,0,0,0.55); }
    .hero-landing p.accent { color: var(--accent-1); text-shadow: 0 10px 36px rgba(0,0,0,0.45); }
    .hero-landing p.muted { color: var(--text-secondary); text-shadow: 0 10px 36px rgba(0,0,0,0.45); }

    /* ÇÖZÜM 6: Açık tema hero arka planı ve metin renkleri */
    [data-theme="light"] .hero-landing {
      background: linear-gradient(135deg, #FFFFFF 0%, #F6F7FA 55%, rgba(255, 214, 214, 0.45) 100%);
    }
    [data-theme="light"] .hero-landing h1 { 
      color: var(--text-main);
      text-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    [data-theme="light"] .hero-landing p.accent { color: var(--accent-1); text-shadow: 0 10px 30px rgba(217,72,72,0.18); }
    [data-theme="light"] .hero-landing p.muted { color: var(--text-secondary); text-shadow: 0 1px 4px rgba(0,0,0,0.1); }

    .hero-landing::before,
    .hero-landing::after {
      content: '';
      position: absolute;
      inset: -28% -35% -12% -35%;
      background: radial-gradient(circle at 35% 35%, rgba(var(--accent-1-rgb), 0.22), transparent 65%);
      filter: blur(70px);
      animation: heroBlob 22s ease-in-out infinite;
      opacity: 0.7;
      pointer-events: none;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
      -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
    }
    .hero-landing::after {
      background: radial-gradient(circle at 70% 70%, rgba(242, 149, 107, 0.18), transparent 60%);
      animation: heroBlobAlt 28s ease-in-out infinite;
      mix-blend-mode: screen;
    }
    .hero-landing > * { position: relative; z-index: 1; }
    .hero-section { position: relative; padding: 0; overflow: hidden; } /* Padding kaldırıldı */
    /* ÇÖZÜM 4: Genişlik 1180px -> 1240px yapıldı */
    
    .hero-section--compact .hero-full { min-height: clamp(24rem, 60vh, 32rem); }
    .hero-section--compact 
    .hero-section--compact .hero-scroll { display: none; }
    .hero-scroll {
      position: absolute;
      left: 50%;
      bottom: clamp(32px, 6vh, 48px);
      width: 56px;
      height: 56px;
      border-radius: 999px;
      border: 1px solid rgba(var(--accent-1-rgb), 0.35);
      background: rgba(var(--accent-1-rgb), 0.16);
      color: var(--accent-1);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
      transform: translateX(-50%);
      animation: heroScrollPulse 3.2s ease-in-out infinite;
    }
    .hero-scroll:hover {
      animation-play-state: paused;
      transform: translateX(-50%) translateY(6px);
      border-color: var(--accent-1);
      color: #fff;
      background: rgba(var(--accent-1-rgb), 0.28);
      box-shadow: 0 12px 26px -18px rgba(var(--accent-1-rgb), 0.8);
    }
    .hero-scroll:focus-visible {
      animation-play-state: paused;
      transform: translateX(-50%) translateY(6px);
      border-color: var(--accent-1);
      color: #fff;
      background: rgba(var(--accent-1-rgb), 0.28);
      box-shadow: 0 0 0 4px rgba(var(--accent-1-rgb), 0.28), 0 12px 26px -18px rgba(var(--accent-1-rgb), 0.8);
    }
    .hero-scroll .icon { width: 1.4em; height: 1.4em; transition: transform 0.25s ease; }
    .hero-scroll:hover .icon,
    .hero-scroll:focus-visible .icon { transform: translateY(2px); }
    [data-theme="light"] .hero-scroll {
      background: rgba(var(--accent-1-rgb), 0.16);
      border-color: rgba(var(--accent-1-rgb), 0.25);
      color: var(--accent-1);
    }
    @keyframes heroScrollPulse {
      0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
      50% { transform: translateX(-50%) scale(1.08); opacity: 0.85; }
    }
    /* Avatar container - dalga efekti için */
    .hero-avatar { 
      width: clamp(200px, 60vw, 320px); 
      height: clamp(200px, 60vw, 320px); 
      max-width: 90vw; 
      aspect-ratio: 1 / 1; 
      border-radius: 50%; 
      border: 6px solid var(--border-soft); 
      background: var(--surface-raised); 
      box-shadow: 0 30px 80px -50px var(--shadow-color); 
      transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.45s ease; 
      object-fit: cover; 
      overflow: hidden; 
      flex-shrink: 0; 
      display: block;
      position: relative;
      z-index: 2;
      animation: avatarPulse 4s ease-in-out infinite;
    }
    
    /* Dalga efektinin konumlanması için wrapper */
    .hero-inner { position: relative; }
    .hero-avatar-wrap { 
      position: relative; 
      display: inline-block; 
      line-height: 0; 
      /* Dalga ayarları (gerekirse kolayca değiştirilebilir) */
      --wave-scale: 1;          /* kapsayıcıyı büyütme: 1 (merkez hizalı) */
      --wave-offset-x: 0%;      /* ofset yok -> tam merkez */
      --wave-offset-y: 0%;
      --wave-color: var(--accent-1);
    }

    /* Avatar arkasında (dışında) dalga daireleri için ayrı eleman */
    .hero-wave {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      /* Tam merkezde, avatarla hizalı */
      transform: translate(-50%, -50%) translate(var(--wave-offset-x), var(--wave-offset-y)) scale(var(--wave-scale));
      border-radius: 50%;
      pointer-events: none;
      z-index: 1; /* avatar (z-index:2) arkasında */
    }

    .hero-wave::before,
    .hero-wave::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 2px solid var(--wave-color);
      opacity: 0;
      transform: scale(1.05);
      animation: rippleAligned 3.6s ease-out infinite;
    }

    .hero-wave::after { animation-delay: 1.8s; }
    
    .hero-avatar:hover { 
      transform: scale(1.06); 
      box-shadow: 0 45px 120px -55px var(--shadow-color);
      animation-play-state: paused;
    }
    
    /* Avatar pulse animasyonu - hafif büyüyüp küçülme */
    @keyframes avatarPulse {
      0%, 100% { 
        transform: scale(1); 
      }
      50% { 
        transform: scale(1.03); 
      }
    }
    
    /* Dalga efekti animasyonu - avatarla hizalı */
    @keyframes rippleAligned {
      0%   { transform: scale(1.06); opacity: .55; }
      60%  { opacity: .28; }
      100% { transform: scale(1.25); opacity: 0; }
    }
    @keyframes heroBlob {
      0% { transform: translate(-15%, -10%) scale(1); opacity: 0.55; }
      25% { transform: translate(-8%, 6%) scale(1.12); opacity: 0.7; }
      50% { transform: translate(10%, -6%) scale(1.22); opacity: 0.58; }
      75% { transform: translate(-4%, 8%) scale(1.08); opacity: 0.72; }
      100% { transform: translate(-15%, -10%) scale(1); opacity: 0.55; }
    }
    @keyframes heroBlobAlt {
      0% { transform: translate(12%, 12%) scale(0.95); opacity: 0.42; }
      25% { transform: translate(16%, -6%) scale(1.08); opacity: 0.6; }
      50% { transform: translate(-8%, 12%) scale(1.18); opacity: 0.5; }
      75% { transform: translate(4%, -10%) scale(1.05); opacity: 0.68; }
      100% { transform: translate(12%, 12%) scale(0.95); opacity: 0.42; }
    }
    @keyframes contactGlow {
      0% { transform: translate(-12%, -6%) scale(1); opacity: 0.6; }
      25% { transform: translate(-6%, 4%) scale(1.12); opacity: 0.72; }
      50% { transform: translate(6%, -4%) scale(1.18); opacity: 0.55; }
      75% { transform: translate(-8%, 8%) scale(1.05); opacity: 0.7; }
      100% { transform: translate(-12%, -6%) scale(1); opacity: 0.6; }
    }
    @keyframes contactGlowAlt {
      0% { transform: translate(8%, 12%) scale(0.92); opacity: 0.48; }
      25% { transform: translate(12%, -6%) scale(1.06); opacity: 0.64; }
      50% { transform: translate(-10%, 10%) scale(1.14); opacity: 0.52; }
      75% { transform: translate(4%, -8%) scale(1.02); opacity: 0.68; }
      100% { transform: translate(8%, 12%) scale(0.92); opacity: 0.48; }
    }
    @keyframes globalAura {
      0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.55; }
      50% { transform: translate3d(2%, -3%, 0) scale(1.06) rotate(180deg); opacity: 0.65; }
      100% { transform: translate3d(0, 0, 0) scale(1) rotate(360deg); opacity: 0.55; }
    }
        .muted { color: var(--text-secondary); }
    .accent { color: var(--accent-1); }
    .link { color: var(--text-secondary); transition: color 0.2s; }
    .link:hover { color: var(--text-main); }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.7rem 1rem;
      border-radius: 0.75rem;
      border: 1px solid var(--border-soft);
      min-height: 48px; /* PageSpeed: Tap Target Size */
      cursor: pointer;
      transition: all 0.2s;
      background: transparent;
      color: var(--text-secondary);
    }
    .btn:hover {
      border-color: var(--accent-1);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px var(--shadow-soft);
      color: var(--text-main);
    }
        .header-inner { width: min(1240px, 92vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2.5vw, 2rem); }
    #mainNav { display: flex; gap: 1.75rem; align-items: center; }
    .header-actions .btn { background: transparent; border: 1px solid transparent; color: var(--text-secondary); padding-inline: 0.85rem; }
    .header-actions .btn:hover { background: rgba(255,255,255,0.06); border-color: var(--border-soft); color: var(--text-main); }
    #mainNav .navlink { position: relative; padding-bottom: 0.25rem; }
    #mainNav .navlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; opacity: 0; transform: scaleX(0); transform-origin: center; transition: transform 0.2s ease, opacity 0.2s ease; }
    #mainNav .navlink:hover::after { opacity: 1; transform: scaleX(1); }

.btn-primary {
      background: var(--accent-1);
      color: #fff;
      border-color: var(--accent-1);
      box-shadow: 0 12px 30px -20px var(--accent-1);
    }
    .btn-primary:hover {
      filter: brightness(1.1);
      color: #fff;
    }
    /* ÇÖZÜM 4: Genişlik 1180px -> 1240px yapıldı */
    .header-inner { width: min(1320px, 94vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2vw, 2.5rem); }
        
    .header-actions .btn:hover { background: rgba(255,255,255,0.06); border-color: var(--border-soft); color: var(--text-main); }
    .header-actions .btn-primary { background: transparent; border: 1px solid rgba(var(--accent-1-rgb), 0.35); color: var(--accent-1); box-shadow: none; }
    .header-actions .btn-primary:hover { background: rgba(var(--accent-1-rgb), 0.18); border-color: rgba(var(--accent-1-rgb), 0.55); color: var(--text-main); }
    /* Desktop CV button - outline style, sits on the right in header-actions */
    #desktopDownloadCV, .desktop-cv-btn { 
      background: transparent;
      border: 1px solid rgba(var(--accent-1-rgb), 0.35);
      color: var(--accent-1); 
      box-shadow: none;
      margin-right: 0.5rem;
      padding: 0.6rem 0.9rem;
      border-radius: 0.75rem;
      min-height: 40px;
    }
    #desktopDownloadCV:hover, .desktop-cv-btn:hover {
      background: rgba(var(--accent-1-rgb), 0.12);
      border-color: rgba(var(--accent-1-rgb), 0.55);
      color: var(--text-main);
    }
    /* Ensure svg icons inherit text color and are visible */
    #mobileDownloadCV svg.icon, #desktopDownloadCV svg.icon, .desktop-cv-btn svg.icon {
      fill: currentColor !important;
      width: 1.05em !important; 
      height: 1.05em !important;
      display: inline-block !important; 
      vertical-align: middle !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
    #mobileDownloadCV .icon, #desktopDownloadCV .icon { 
      display: inline-block !important; 
      vertical-align: middle !important;
      fill: currentColor !important;
    }
    #mobileDownloadCV { display: none; }
    @media (max-width: 1080px) { #mobileDownloadCV { display: inline-flex; } }
    .chip {
      font-size: 0.75rem;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      border: 1px solid var(--border-soft);
      background: rgba(255,255,255,0.06);
      white-space: nowrap;
    }
    [data-theme="light"] .chip { background: rgba(var(--accent-1-rgb), 0.12); border-color: rgba(var(--accent-1-rgb), 0.22); color: var(--text-main); }
    .backtotop { width: 56px; height: 56px; border-radius: 999px; border: 1px solid var(--border-soft); background: var(--surface-raised); color: var(--text-secondary); box-shadow: 0 18px 36px -24px var(--shadow-color); transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
    .backtotop:hover { background: var(--accent-1); border-color: var(--accent-1); color: #fff; transform: translateY(-3px); }
    .backtotop i { font-size: 1.3rem; }
    .ring-focus:focus {
      outline: none;
      box-shadow: 0 0 0 4px var(--accent-1-soft);
    }
    #mobileWrap {
      overflow: hidden;
      transition: max-height 0.35s ease, opacity 0.35s ease;
      max-height: 0;
      opacity: 0;
    }
    #mobileWrap.open {
      max-height: 80vh; /* ekran yüksekliğine göre ayarlanır */
      opacity: 1;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }
    /* ÇÖZÜM 5: Mobil menü CV butonu (Outline stili) */
    #mobileWrap .mobile-menu-links { gap: 0; }
    #mobileWrap .mobile-menu-links .navlink {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      padding: 0.75rem 0 0.75rem 0.5rem;
      text-align: left;
      border-top: 1px solid var(--border);
      font-weight: 500;
    }
    #mobileWrap .mobile-menu-links .navlink:first-of-type { border-top: none; }
    #mobileWrap #mobileDownloadCV {
      margin-top: 1.25rem; /* Add breathing space before button */
      width: 100%;
      background: transparent;
      border: 1px solid rgba(var(--accent-1-rgb), 0.45);
      color: var(--accent-1);
      box-shadow: none;
    }
    #mobileWrap #mobileDownloadCV:hover {
      background: rgba(var(--accent-1-rgb), 0.12);
      border-color: rgba(var(--accent-1-rgb), 0.55);
      color: var(--text-main);
    }
    #mobileWrap #mobileDownloadCV svg { 
      flex-shrink: 0; 
      fill: currentColor !important;
      width: 1.05em !important; 
      height: 1.05em !important;
      display: inline-block !important; 
      vertical-align: middle !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
    .timeline {
      position: relative;
      padding-left: 2rem;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--border);
    }
    .timeline-item {
      position: relative;
      margin-bottom: 2rem;
    }
    .timeline-item:last-child {
      margin-bottom: 0;
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -2.4rem;
      top: 0.5rem;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--accent-1);
      border: 2px solid var(--bg);
    }
    .timeline-year { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
    .timeline-company { margin: 0; }
    /* Logo Stilleri */
    .logo-img {
      height: 28px; /* Logonuzun yüksekliğini ayarlayın */
      width: auto;
    }
    #logo-dark { display: none; }
    #logo-light { display: block; }
    [data-theme="dark"] #logo-dark { display: block; }
    [data-theme="dark"] #logo-light { display: none; }

    /* Menü sıkışınca zorla mobil menüye geç */
    #siteHeader.force-mobile #mainNav { display: none !important; }
    #siteHeader.force-mobile #openMenu { display: inline-flex !important; }
    #siteHeader.force-mobile .desktop-cv-btn { display: none !important; }
    #siteHeader.force-mobile #mobileDownloadCV { display: inline-flex !important; }
    #mainNav { gap: 1.75rem; }
    @media (min-width: 1440px) {
      #mainNav { gap: 2.25rem; }
    }
    .mobile-controls { display: none; }
    @media (max-width: 350px) {
      .mobile-controls { display: block; }
      #siteHeader #themeLangControls { display: none !important; }
    }
    .floating-nav {
      position: fixed;
      top: clamp(16px, 3vh, 28px);
      left: 50%;
      transform: translateX(-50%);
      /* ÇÖZÜM 4: Genişlik 1180px -> 1240px yapıldı */
      width: min(1240px, 94vw);
      border-radius: 28px;
      padding: 6px 0;
      z-index: 9999;
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--border-soft);
      box-shadow: 0 24px 60px -40px var(--shadow-color);
    }
    /* Page scroll lock when mobile menu is open */
    html.no-scroll, body.no-scroll { height: 100%; overflow: hidden !important; }
    @media (min-width: 768px) {
      #openMenu { display: none !important; }
    }
    /* 1080px ve altı: her zaman mobil menü */
    @media (max-width: 1080px) {
      #mainNav { display: none !important; }
      #openMenu { display: inline-flex !important; }
      .desktop-cv-btn { display: none !important; } /* Hide desktop CV button */
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
    }
    /* Tema uyumlu birincil buton renkleri (Artık .btn-primary'de global) */
    
    /* Başlıklar için tema uyumlu accent */
    [data-theme="dark"] .accent { color: var(--accent-1); }
    [data-theme="light"] .accent { color: var(--accent-1); }
    .project-card { transition: border-color 0.3s ease, transform 0.3s ease; }
    .project-card:hover { border-color: var(--accent-1); transform: translateY(-4px); }
    .project-toggle { background: transparent; border: none; cursor: pointer; color: inherit; width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem 1.25rem; }
    .project-toggle > div { min-width: 0; }
    .project-toggle .project-arrow { flex-shrink: 0; }
    .project-panel { border-top: 1px solid var(--border); margin-top: 0; padding: 1.25rem 1.25rem 0; }
    .collapsible { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.25s ease; }
    .collapsible.open { opacity: 1; overflow: visible; max-height: none; }
    #references-list .reference-group {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 1.5rem;
      transition: border-color 0.3s ease, transform 0.3s ease;
    }
    #references-list .reference-group:hover { border-color: var(--accent-1); transform: translateY(-4px); }
    .experience-toggle {
      margin-top: 1rem;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.55rem 1rem;
      background: var(--surface-raised);
      border: 1px solid var(--border);
      border-radius: 14px;
      cursor: pointer;
      color: var(--text-main);
      transition: border-color 0.3s ease, background 0.3s ease;
    }
    .experience-toggle:hover { border-color: var(--accent-1); background: var(--accent-1-soft); }
    .work-grid { display: grid; gap: 1.5rem; }
    @media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
    .work-card { display:flex; flex-direction:column; gap:1.1rem; padding:1.75rem; }
    .work-card h3 { font-size:1.1rem; font-weight:600; }
    .work-card .work-meta { font-size:0.9rem; color: var(--text-secondary); }
    .work-actions { display:flex; flex-wrap:wrap; gap:0.75rem; margin-top:0.5rem; }
    .work-embed { position: relative; padding-top:56.25%; border-radius:18px; overflow:hidden; border:1px solid var(--border); }
    .work-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:inherit; }
    .contact-shell { position: relative; overflow: hidden; display: grid; gap: 2rem; padding: 2.5rem; width: 100%; margin: 0 auto; }
    .contact-shell::before {
      content: '';
      position: absolute;
      inset: -40% -60% 30% 10%;
      background: radial-gradient(circle at 20% 20%, var(--accent-1-soft), transparent 70%);
      filter: blur(80px);
      opacity: 0.8;
      pointer-events: none;
      animation: contactGlow 28s ease-in-out infinite;
    }
    .contact-shell::after {
      content: '';
      position: absolute;
      inset: 20% -40% -40% 35%;
      background: radial-gradient(circle at 80% 80%, rgba(var(--accent-1-rgb), 0.16), transparent 72%);
      filter: blur(70px);
      opacity: 0.6;
      pointer-events: none;
      animation: contactGlowAlt 32s ease-in-out infinite;
    }
    .contact-shell > * { position: relative; z-index: 1; }
    @media (min-width: 980px) { .contact-shell { grid-template-columns: 1.4fr 1fr; align-items: center; } }
    .contact-main h3 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); font-weight: 600; margin-bottom: 1rem; }
    .contact-lead { font-size: 0.95rem; max-width: 520px; }
    .contact-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
    .contact-tags { display:flex; flex-wrap:wrap; gap:0.5rem; margin-top:1.5rem; align-items: center; }
    .contact-form-wrapper {
      background: var(--surface-raised);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: clamp(1.5rem, 2.5vw, 2rem);
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      box-shadow: 0 18px 48px -32px var(--shadow-color);
    }
    [data-theme="light"] .contact-form-wrapper { background: var(--surface); }
    .contact-form { display: flex; flex-direction: column; gap: 1rem; }
    .contact-form .form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
    .contact-shell, .contact-form-wrapper, .contact-form, .form-field { min-width: 0; }
    .form-field input, .form-field textarea, .form-field select { max-width: 100%; width: 100%; }
    .form-field { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.95rem; color: var(--text-secondary); }
    .form-field span { font-weight: 600; color: var(--text-main); }
    .form-field input,
    .form-field textarea,
    .form-field select {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 0.75rem 0.85rem;
      color: var(--text-main);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      font-family: inherit;
    }
    [data-theme="light"] .form-field input,
    [data-theme="light"] .form-field textarea,
    [data-theme="light"] .form-field select {
      background: var(--surface);
    }
    .form-field input:focus,
    .form-field textarea:focus,
    .form-field select:focus {
      outline: none;
      border-color: var(--accent-1);
      box-shadow: 0 0 0 3px rgba(var(--accent-1-rgb), 0.18);
    }
    .form-field textarea { min-height: 140px; resize: vertical; }
    .form-status {
      padding: 0.85rem 1rem;
      border-radius: 14px;
      background: rgba(var(--accent-1-rgb), 0.18);
      color: var(--accent-1);
      font-weight: 600;
      text-align: left;
      margin-bottom: 1rem;
    }
    .form-status--error {
      background: rgba(249, 115, 118, 0.18);
      color: #ff8185;
    }
    .form-status[hidden] { display: none; }
    .form-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.75rem;
    }
    .form-note { font-size: 0.85rem; color: var(--text-secondary); }
    .contact-meta { margin-top: 1.5rem; display: grid; gap: 0.6rem; max-width: 360px; color: var(--text-secondary); }
    .contact-meta strong { color: var(--text-main); }
    .contact-social { display:flex; flex-wrap:wrap; gap:0.75rem; margin-top:1.5rem; }
    .contact-social a { width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); background: var(--surface-raised); color: var(--text-secondary); transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease; } /* DEĞİŞTİRİLDİ */
    .contact-social a:hover { transform: translateY(-3px); border-color: var(--accent-1); color: var(--accent-1); } /* DEĞİŞTİRİLDİ */
    .site-footer {
      margin-top: clamp(3rem, 8vw, 5rem);
      background: linear-gradient(180deg, rgba(18, 20, 22, 0.92) 0%, rgba(18, 20, 22, 0.98) 100%);
      border-top: 1px solid var(--border);
    }
    [data-theme="light"] .site-footer {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 247, 250, 0.98) 100%);
    }
    .footer-inner { display: flex; flex-direction: column; gap: 2.5rem; }
    .footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .footer-brand p { margin-top: 0.85rem; max-width: 320px; color: var(--text-secondary); }
    .footer-logo { font-size: 1.35rem; font-weight: 700; color: var(--text-main); }
    .footer-links h4,
    .footer-contact h4 { font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.02em; text-transform: uppercase; }
    .footer-links ul,
    .footer-contact ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
    .footer-link { color: var(--text-secondary); transition: color 0.2s ease; }
    .footer-link:hover { color: var(--accent-1); }
    .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--border); color: var(--text-secondary); }
    .footer-copy { font-size: 0.9rem; }
    .footer-social { display: inline-flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
    .footer-social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-raised); color: var(--text-secondary); transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
    .footer-social a:hover { transform: translateY(-3px); border-color: var(--accent-1); color: var(--accent-1); }
    @media (max-width: 768px) {
      .contact-shell { text-align: center; padding: 2rem 1.5rem; }
      .contact-shell .contact-cta { justify-content: center; }
      .contact-form-wrapper { margin-top: 1.5rem; }
      .contact-form .form-grid { grid-template-columns: 1fr; }
      .form-actions { flex-direction: column; align-items: stretch; }
      .contact-shell .contact-social { justify-content: center; }
      .contact-shell .contact-tags { justify-content: center; text-align: center; }
      .contact-meta { margin-left: auto; margin-right: auto; text-align: center; }
      #about .quick-info-card { text-align: center; }
      #quick-info-list > div { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
      #quick-info-list > div .muted { text-align: center; }
      #references-list { text-align: center; }
      #references-list .reference-group { text-align: center; }
      .footer-grid { text-align: center; }
      .footer-brand p { margin-left: auto; margin-right: auto; }
      .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
      .footer-social { justify-content: center; }
    }
    @media (max-height: 780px) {
      .hero-full { min-height: 100vh; }
      .hero-landing { padding-top: 3.5rem; padding-bottom: 1rem; }
      .hero-scroll { display: flex; }
      .hero-avatar { width: clamp(160px, 42vw, 260px); height: clamp(160px, 42vw, 260px); }
      .hero-landing h1 { font-size: clamp(2rem, 6vw, 2.4rem); }
      .hero-landing p.accent { font-size: clamp(1rem, 3.5vw, 1.2rem); }
      .hero-landing p.muted { font-size: clamp(0.9rem, 3.2vw, 1rem); }
    }
    @media (max-width: 350px) {
      #siteHeader .header-actions #themeToggle,
      #siteHeader .header-actions #langToggle { display: none !important; }
      .mobile-controls { display: block; }
      #siteHeader .header-inner { padding-left: 0.75rem !important; padding-right: 0.75rem !important; gap: 0.75rem; }
      .logo-img { height: 24px; }
      .header-actions .btn { padding-inline: 0.6rem; }
      /* Mobile controls layout: 50/50 side-by-side full width */
      .mobile-controls > .flex { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
      .mobile-controls .btn { width: 100%; min-height: 44px; justify-content: center; }
      /* Fix 94vw + padding overflow at very small widths */
      .hero-landing { width: 100%; margin-left: 0; transform: none; }
      .hero-inner { width: 100%; padding-inline: 0.75rem; }
      #siteHeader .header-inner { width: 100%; }
      .contact-shell, .contact-form-wrapper { max-width: 100%; }
      .floating-nav { width: calc(100% - 8px); left: 50%; transform: translateX(-50%); }
      .btn { max-width: 100%; min-width: 0; }
      .btn span { display: inline-block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; }
      .btn svg { flex-shrink: 0; }
      .work-actions .btn { max-width: 100%; }
      .chip { max-width: 100%; }
      .chip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .chip > span { display: inline-block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .work-grid { padding-inline: 0; width: 100%; box-sizing: border-box; }
      #references-list, #interests-list { padding-inline: 0; }
      #projects-grid { padding-inline: 0; box-sizing: border-box; margin-left: auto; margin-right: auto; }
      #workfiles-list { padding-inline: 0; box-sizing: border-box; margin-left: auto; margin-right: auto; }
      .work-grid { gap: 0.6rem; }
      .work-card { margin-inline: 0; max-width: 100%; box-sizing: border-box; padding: 0.75rem; }
      .project-card { margin-inline: 0; }
      .project-panel, .experience-links { overflow: visible; }
      .project-card, .work-card, .project-panel, .experience-links { min-width: 0; }
      .project-panel p, .work-card h3, .work-card .work-meta { overflow-wrap: anywhere; }
      .experience-toggle, .project-toggle { max-width: 100%; }
      .experience-toggle span, .project-toggle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .project-toggle { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; align-items: start; gap: 0; }
      .project-toggle > div { grid-row: 1; display: flex; flex-direction: column; gap: 0.5rem; }
      .project-toggle .project-arrow { grid-row: 2; justify-self: center; margin-top: 0.75rem; }
      .project-toggle .icon { width: 1rem; height: 1rem; }
      /* Projects: ALL cards stack vertically (year, title, desc, arrow) */
      /* Force all flex containers in project cards to block layout */
      .project-card .flex { display: block !important; }
      .project-toggle .flex { display: block !important; }
      .project-card .items-center { display: block !important; }
      .project-toggle .items-center { display: block !important; }
      /* Chip (year) styling */
      .project-card .chip { display: inline-block !important; margin-bottom: 0.5rem; overflow: visible; text-overflow: clip; white-space: nowrap; }
      .project-toggle .chip { display: inline-block !important; margin-bottom: 0.5rem; overflow: visible; text-overflow: clip; white-space: nowrap; }
      /* Title styling */
      .project-card h3 { display: block !important; margin-bottom: 0.5rem; }
      .project-toggle h3 { display: block !important; margin-bottom: 0.5rem; }
      /* Description styling */
      .project-toggle p { display: block !important; margin-top: 0; margin-bottom: 0; }
      .project-card p { display: block !important; }
      /* Force stacking for simple project headers rendered as flex inside projects grid */
      #projects-grid .card .flex.items-center { display: block !important; }
      #projects-grid .card .flex.items-center .chip { display: inline-block !important; margin-bottom: 0.5rem; }
      #projects-grid .card .flex.items-center h3 { display: block !important; }

      /* Standardize inner paddings across sections (cards) */
      .project-card.p-6 { padding: 1.5rem !important; }
      .project-toggle { padding: 1.5rem !important; }
      .project-panel { padding: 1rem 1.5rem 1.5rem; }
      .project-panel > *:first-child { margin-top: 0.15rem; }
      /* Equalize link group spacing between Projects and Experience */
      .experience-links .flex.flex-wrap,
      .project-panel .flex.flex-wrap { gap: 0.75rem !important; }
      /* Ensure project/experience link groups actually use flex and the intended gap-2 (0.5rem) */
      .project-panel .flex.flex-wrap,
      .experience-links .flex.flex-wrap { display: flex !important; flex-wrap: wrap !important; gap: 0.5rem !important; }
      .work-card { padding: 1rem; }
      #references-list .reference-group { padding: 1rem; }
      .contact-form-wrapper { padding: 1rem; }
    }
    @media (max-width: 280px) {
      /* Ensure hero fits fully on extra-small widths */
      .hero-full { min-height: 100vh; }
      .hero-landing { padding-top: 2.75rem; padding-bottom: 0.75rem; }
      .hero-inner { gap: 1.25rem; }
      .hero-avatar { width: clamp(120px, 48vw, 180px); height: clamp(120px, 48vw, 180px); }
      .hero-landing h1 { font-size: clamp(1.6rem, 9vw, 2rem); }
      .hero-landing p.accent { font-size: clamp(0.95rem, 3.8vw, 1.1rem); }
      .hero-landing p.muted { font-size: clamp(0.85rem, 3.5vw, 0.95rem); }
      .hero-scroll { width: 48px; height: 48px; }

      /* Contact section tightening to prevent clipping */
      .contact-shell { padding: 1rem; overflow: hidden; }
      .contact-form-wrapper { padding: 1rem; border-radius: 18px; }
      .form-field input,
      .form-field textarea,
      .form-field select { padding: 0.6rem 0.7rem; }
      .form-actions { gap: 0.5rem; flex-direction: column; align-items: stretch; }

      /* Keep floating header fully visible */
      .floating-nav { width: calc(100vw - 8px); left: 50%; transform: translateX(-50%); }
      /* Slightly smaller controls for extra small widths */
      .btn { min-height: 42px; padding: 0.6rem 0.8rem; }
      .contact-main, .contact-form, .contact-form-wrapper { font-size: 0.92rem; }
      .form-field span { font-size: 0.95rem; }
      /* Always fully expand collapsibles on extra small widths */
      .collapsible.open { max-height: none !important; }
    }
    /* Scrollbar temaya göre */
    html { scrollbar-width: thin; }
    html[data-theme="dark"] { scrollbar-color: var(--accent-1) rgba(0,0,0,0.3); }
    html[data-theme="light"] { scrollbar-color: var(--accent-1) rgba(148,163,184,0.4); }
    body::-webkit-scrollbar { width: 10px; }
    body::-webkit-scrollbar-track { background: rgba(148,163,184,0.15); }
    body::-webkit-scrollbar-thumb { border-radius: 8px; }
    html[data-theme="dark"] body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent-1), var(--accent-3)); }
    html[data-theme="light"] body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent-1), var(--accent-3)); }
    html[data-theme="dark"] body::-webkit-scrollbar-track { background: rgba(15,23,42,0.6); }
    /* Yukarı çık butonu */
    .backtotop { 
      transition: opacity 0.25s ease, transform 0.25s ease;
      border-radius: 9999px; /* Force round */
    }
    .backtotop-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
    
    /* ÇÖZÜM 7: Bozuk CSS satırı silindi */
    
    /* DÜZELTME: Buton kesilme sorunu (Request 2) */
    .experience-links { padding-bottom: 0.5rem; }
    .project-panel { padding-bottom: 1.5rem; } /* Zaten pb-6 vardı, bu kuralı project-panel'den kaldırıp buraya eklemek daha güvenli */
    .project-panel.collapsible { padding-bottom: 1.5rem; } /* Sadece collapsible ise */

    /* ========================================
       Utility helpers (replaces Tailwind subset)
    ======================================== */
    .mx-auto { margin-left: auto; margin-right: auto; }
    /* ÇÖZÜM 4: Genişlik 1180px -> 1240px yapıldı */
    .max-w-7xl { width: 100%; max-width: min(1240px, 92vw); }
    .max-w-2xl { max-width: 42rem; }
    .px-4 { padding-left: 1rem; padding-right: 1rem; }
    .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .py-10 { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
    .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .p-6 { padding: 1.5rem; }
    .p-0 { padding: 0; }
    .w-full { width: 100%; }
    .w-12 { width: 3rem; }
    .h-12 { height: 3rem; }
    .min-h-screen { min-height: 100vh; }
    .rounded-2xl { border-radius: 1.5rem; }
    .rounded-full { border-radius: 9999px; }
    .grid { display: grid; }
    .flex { display: flex; }
    .flex-col { flex-direction: column; }
    .flex-wrap { flex-wrap: wrap; }
    .flex-1 { flex: 1 1 0%; }
    .items-center { align-items: center; }
    .items-start { align-items: flex-start; }
    .justify-between { justify-content: space-between; }
    .justify-center { justify-content: center; }
    .gap-2 { gap: 0.5rem; }
    .gap-3 { gap: 0.75rem; }
    .gap-4 { gap: 1rem; }
    .gap-6 { gap: 1.5rem; }
    .gap-10 { gap: 2.5rem; }
    .text-center { text-align: center; }
    .text-left { text-align: left; }
    .font-bold { font-weight: 700; }
    .font-semibold { font-weight: 600; }
    .text-xs { font-size: 0.75rem; line-height: 1.1; }
    .text-sm { font-size: 0.875rem; line-height: 1.4; }
    .text-base { font-size: 1rem; line-height: 1.6; }
    .text-lg { font-size: 1.125rem; line-height: 1.6; }
    .text-xl { font-size: 1.25rem; line-height: 1.6; }
    .text-3xl { font-size: clamp(2rem, 3vw, 2.4rem); line-height: 1.2; }
    .text-4xl { font-size: clamp(2.5rem, 4vw, 3rem); line-height: 1.1; }
    .mb-1 { margin-bottom: 0.25rem; }
    .mb-2 { margin-bottom: 0.5rem; }
    .mb-3 { margin-bottom: 0.75rem; }
    .mb-4 { margin-bottom: 1rem; }
    .mb-6 { margin-bottom: 1.5rem; }
    .mt-2 { margin-top: 0.5rem; }
    .mt-3 { margin-top: 0.75rem; }
    .mt-4 { margin-top: 1rem; }
    .mt-8 { margin-top: 2rem; }
    .space-y-1 > * + * { margin-top: 0.25rem; }
    .space-y-3 > * + * { margin-top: 0.75rem; }
    .space-y-4 > * + * { margin-top: 1rem; }
    .space-y-6 > * + * { margin-top: 1.5rem; }
    .hidden { display: none !important; }
    .overflow-hidden { overflow: hidden; }
    .list-disc { list-style-type: disc; }
    .list-inside { list-style-position: inside; }
    .fixed { position: fixed; }
    .bottom-6 { bottom: 1.5rem; }
    .right-6 { right: 1.5rem; }
    .z-50 { z-index: 50; }
    .duration-200 { transition-duration: 200ms; }
    .transition-transform { transition-property: transform; }
    .text-xs.accent { font-weight: 600; }
    .icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: middle; fill: currentColor; flex-shrink: 0; }
    .icon--lg { width: 1.35em; height: 1.35em; }
    .icon--xl { width: 1.75em; height: 1.75em; }

    @media (min-width: 640px) {
      .sm\:inline { display: inline !important; }
    }
    @media (min-width: 768px) {
      .md\:flex { display: flex !important; }
      .md\:hidden { display: none !important; }
      .md\:inline-flex { display: inline-flex !important; }
      .md\:flex-row { flex-direction: row !important; }
      .md\:text-left { text-align: left !important; }
      .md\:text-2xl { font-size: 1.5rem; line-height: 1.4; }
      .md\:text-5xl { font-size: clamp(3.2rem, 5vw, 3.6rem); line-height: 1.1; }
      .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .md\:col-span-2 { grid-column: span 2 / span 2; }
      .md\:p-8 { padding: 2rem !important; }
    }
    @media (min-width: 1024px) {
      .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    .legal-content { display: grid; gap: 1.5rem; }
    .legal-content section { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 22px 48px -36px var(--shadow-color); }
    .legal-content h2 { font-size: 1.3rem; margin-bottom: 0.75rem; color: var(--text-main); }
    .legal-content p { margin-bottom: 0.75rem; line-height: 1.7; color: var(--text-secondary); }
    .legal-content ul { margin: 0.75rem 0 0 1.25rem; color: var(--text-secondary); }
    .legal-content li { margin-bottom: 0.4rem; }

    @media print {
      .no-print { display: none !important; }
      body { background: white; color: black; }
    }

