* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: #05070c; color: white; overflow-x: hidden; cursor: none; }

/* ─── CURSOR ─── */
.cursor { position: fixed; width: 10px; height: 10px; background: #7c3aed; border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%,-50%); transition: width .25s, height .25s; mix-blend-mode: screen; }
.cursor-ring { position: fixed; width: 36px; height: 36px; border: 1px solid rgba(124,58,237,.6); border-radius: 50%; pointer-events: none; z-index: 99998; transform: translate(-50%,-50%); transition: width .25s, height .25s, border-color .25s; }
.cursor-glow { position: fixed; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%); filter: blur(50px); pointer-events: none; transform: translate(-50%,-50%); z-index: 0; }

/* ─── LOADER ─── */
.loader { position: fixed; inset: 0; background: #05070c; display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity .7s ease; }
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.loader-logo { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(124,58,237,.4)); }
.loader-sub { display: block; margin-top: 12px; color: #555; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.loader-bar { margin-top: 24px; width: 200px; height: 2px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #4f46e5, #a78bfa); border-radius: 99px; animation: loadBar 1.4s cubic-bezier(.77,0,.175,1) forwards; }
@keyframes loadBar { to { width: 100%; } }

/* ─── CANVAS ─── */
#bg { position: fixed; inset: 0; z-index: -1; }

/* ─── NAVBAR ─── */
.navbar { height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 6%; background: rgba(5,7,12,.6); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); position: fixed; width: 100%; z-index: 100; transition: background .4s; }
.logo-img { height: 80px; width: 80px; object-fit: contain; filter: brightness(1.1) drop-shadow(0 0 8px rgba(124,58,237,.3)); }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; transition: color .3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: #7c3aed; transition: width .3s; }
.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }

/* ─── HERO ─── */
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; text-align: center; padding: 0 20px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%); }
.hero-tag { display: inline-block; padding: 6px 16px; border-radius: 50px; border: 1px solid rgba(124,58,237,.4); background: rgba(124,58,237,.08); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #a78bfa; margin-bottom: 28px; }
.hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(44px,7vw,80px); font-weight: 800; line-height: 1.05; letter-spacing: -1px; }
.hero h1 .accent { background: linear-gradient(135deg, #a78bfa, #7c3aed, #4f46e5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { margin-top: 20px; color: rgba(255,255,255,.45); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; font-weight: 300; }
.hero-buttons { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-buttons button { padding: 14px 36px; border-radius: 50px; border: none; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: white; cursor: none; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; transition: transform .3s, box-shadow .3s; box-shadow: 0 0 40px rgba(124,58,237,.4); }
.hero-buttons button:hover { transform: translateY(-2px); box-shadow: 0 8px 50px rgba(124,58,237,.5); }
.hero-buttons .outline { background: transparent; border: 1px solid rgba(255,255,255,.15); box-shadow: none; color: rgba(255,255,255,.7); }
.hero-buttons .outline:hover { border-color: rgba(124,58,237,.5); background: rgba(124,58,237,.07); }
.ai-sphere { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(167,139,250,.5), rgba(79,70,229,.2) 40%, transparent 70%); animation: float 7s ease-in-out infinite alternate; box-shadow: 0 0 60px rgba(124,58,237,.3), inset 0 0 60px rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2); z-index: -1; top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(2px); }
@keyframes float { from { transform: translate(-50%,-50%) translateY(0); } to { transform: translate(-50%,-50%) translateY(-30px); } }

/* ─── STATS / ARAÇLAR ─── */
.stats { padding: 60px 6%; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 20px; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.stat-item { text-align: center; padding: 30px 20px; }
.stat-number { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; background: linear-gradient(135deg, #a78bfa, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.stat-label { color: rgba(255,255,255,.35); font-size: 13px; letter-spacing: 1px; margin-top: 4px; display: block; }

/* ─── SECTION COMMON ─── */
.section-label { display: inline-block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #7c3aed; margin-bottom: 14px; }
section h2 { font-family: 'Syne', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 800; letter-spacing: -.5px; }

/* ─── SERVICES ─── */
.services { padding: 120px 6% 100px; text-align: center; }
.services > p { color: rgba(255,255,255,.4); font-size: 15px; margin-top: 10px; margin-bottom: 56px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 20px; }
.card { padding: 44px 28px; border-radius: 20px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(12px); transition: transform .4s, box-shadow .4s, border-color .4s; text-align: left; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent); opacity: 0; transition: opacity .4s; }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 20px 60px rgba(124,58,237,.2); border-color: rgba(124,58,237,.25); }
.card-icon { font-size: 28px; margin-bottom: 18px; display: block; }
/* semantik: h3 ve p etiketleri için stil uyumu korundu */
.card-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card-desc { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.6; font-weight: 300; }

/* ─── EXPERIENCE ─── */
.experience { padding: 120px 6% 60px; text-align: center; }
.experience > p { color: rgba(255,255,255,.4); font-size: 15px; margin-top: 10px; margin-bottom: 48px; }
.experience-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.exp-card { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 32px 36px; text-align: left; transition: border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.exp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent); opacity: 0; transition: opacity .3s; }
.exp-card:hover::before { opacity: 1; }
.exp-card:hover { border-color: rgba(124,58,237,.25); box-shadow: 0 20px 60px rgba(124,58,237,.1); }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
/* semantik: h3 etiketi için stil uyumu korundu */
.exp-title { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; }
.exp-company { font-size: 14px; color: #a78bfa; margin-top: 4px; }
.exp-date { font-size: 12px; color: rgba(255,255,255,.3); letter-spacing: 1px; white-space: nowrap; padding-top: 4px; }
.exp-desc { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.7; font-weight: 300; margin-bottom: 16px; }
.exp-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.exp-tag { padding: 4px 12px; border-radius: 50px; border: 1px solid rgba(124,58,237,.3); background: rgba(124,58,237,.08); font-size: 12px; color: #a78bfa; letter-spacing: .5px; }

/* ─── PROJECTS ─── */
.projects { padding: 120px 6%; text-align: center; }
.projects > p { color: rgba(255,255,255,.4); font-size: 15px; margin-top: 10px; margin-bottom: 56px; }

/* slider: wrapper ve ok butonları eklendi */
.slider-wrapper { position: relative; display: flex; align-items: center; gap: 12px; }
.slider-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: border-color .3s, background .3s, color .3s, transform .3s, opacity .3s;
}
.slider-arrow:hover {
  border-color: rgba(124,58,237,.5);
  background: rgba(124,58,237,.12);
  color: #a78bfa;
  transform: scale(1.08);
}
.slider-arrow:active { transform: scale(.95); }
/* slider: scroll pozisyonuna göre ok solması */
.slider-arrow.faded { opacity: .25; pointer-events: none; }

/* slider: scroll-snap eklendi */
.project-slider { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: rgba(124,58,237,.3) transparent; scroll-snap-type: x mandatory; scroll-behavior: smooth; flex: 1; min-width: 0; }
.project-slider::-webkit-scrollbar { height: 4px; }
.project-slider::-webkit-scrollbar-thumb { background: rgba(124,58,237,.3); border-radius: 2px; }
.project { min-width: 300px; height: 210px; border-radius: 20px; background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(124,58,237,.1)); border: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 24px; position: relative; overflow: hidden; transition: transform .35s, border-color .35s; cursor: none; text-align: left; text-decoration: none; color: white; scroll-snap-align: start; }
.project::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(79,70,229,.08), rgba(124,58,237,.15)); opacity: 0; transition: opacity .35s; }
.project:hover { transform: translateY(-6px); border-color: rgba(124,58,237,.3); }
.project:hover::before { opacity: 1; }
.project:hover .project-arrow { color: #a78bfa; transform: translate(2px,-2px); }
.project-num { position: absolute; top: 20px; right: 20px; font-family: 'Syne', sans-serif; font-size: 11px; color: rgba(255,255,255,.2); letter-spacing: 2px; }
.project-arrow { position: absolute; top: 20px; left: 20px; font-size: 18px; color: transparent; transition: color .3s, transform .3s; }
.project-name { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.3; }
.project-desc { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 4px; margin-bottom: 4px; font-weight: 300; }
.project-type { font-size: 12px; color: rgba(124,58,237,.8); letter-spacing: 1px; margin-top: 4px; }

/* ─── CONTACT ─── */
.contact { padding: 120px 6% 100px; text-align: center; }
.contact > p { color: rgba(255,255,255,.4); font-size: 15px; margin-top: 10px; margin-bottom: 48px; max-width: 480px; margin-left: auto; margin-right: auto; }
.social-links { display: flex; justify-content: center; gap: 16px; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: rgba(255,255,255,.5); text-decoration: none; transition: border-color .3s, background .3s, color .3s, transform .3s; }
.social-btn:hover { border-color: rgba(124,58,237,.5); background: rgba(124,58,237,.1); color: #a78bfa; transform: translateY(-3px); }

/* ─── FOOTER ─── */
footer { padding: 32px 6%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.3); font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-logo-img { height: 90px; width: 90px; object-fit: contain; filter: brightness(.9) drop-shadow(0 0 6px rgba(124,58,237,.25)); opacity: .85; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.23,1,.32,1), transform .8s cubic-bezier(.23,1,.32,1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay  { transition-delay: .12s; }
.delay2 { transition-delay: .24s; }
.delay3 { transition-delay: .36s; }

/* ─── ERİŞİLEBİLİRLİK: focus-visible stilleri ─── */
a:focus-visible,
button:focus-visible,
.social-btn:focus-visible,
.project:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
  border-radius: 4px;
}
/* slider okları ve hero butonları için özel border-radius */
.slider-arrow:focus-visible,
.hero-buttons button:focus-visible,
.social-btn:focus-visible { border-radius: 50%; }

/* ─── ERİŞİLEBİLİRLİK: dokunmatik cihazlarda özel imleç devre dışı ─── */
@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-ring,
  .cursor-glow { display: none !important; }
  body,
  .hero-buttons button,
  .project,
  .slider-arrow { cursor: auto; }
  /* mobilde ok butonları gizle, swipe yeterli */
  .slider-arrow { display: none; }
  .slider-wrapper { gap: 0; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 40px; }
  footer { flex-direction: column; text-align: center; }
  /* slider: mobilde oklar gizlendi */
  .slider-arrow { display: none; }
  .slider-wrapper { gap: 0; }
}
