:root {
  --bg: #fdf6ff; /* Çok açık morumsu pembe */
  --card: #ffffff;
  --text: #3a1c71; /* Koyu mor */
  --muted: #8d62b6; /* Daha açık mor */
  --brand: #a766ff; /* Parlak Mor */
  --brand-2: #ff7f50; /* Mercan kırmızısı */
  --brand-3: #ffcc00; /* Parlak sarı */
  --ring: rgba(167, 102, 255, .35);
  --shadow: 0 12px 30px rgba(58, 28, 113, .1);
  --radius: 20px;
}

.studio .tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.dark-theme {
  --bg: #1a0f30;
  --card: #2c1a4b;
  --text: #f6e8ff;
  --muted: #b09dc9;
  --brand: #a766ff;
  --brand-2: #ff914d;
  --brand-3: #ffd11a;
  --ring: rgba(167, 102, 255, .3);
}
* {
  box-sizing: border-box
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', ui-rounded, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Color Emoji";
  scroll-behavior: smooth;
  transition: background 0.4s ease, color 0.4s ease;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding: 24px
}
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg), transparent 5%);
  border-bottom: 1px solid color-mix(in srgb, var(--muted), transparent 85%);
  z-index: 10
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--brand);
}
.brand .logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: conic-gradient(from 180deg, var(--brand), var(--brand-2), var(--brand-3), var(--brand));
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 24px;
}
.nav a.btn {
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.nav a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(58, 28, 113, .15);
}
.nav .links {
  display: flex;
  gap: 14px;
  align-items: center
}
.nav .links a {
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease-out;
}
.nav .links a:hover {
  background: color-mix(in srgb, var(--brand) 20%, transparent);
  color: var(--brand);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--muted), transparent 85%);
  }
  .nav .links.active {
    display: flex;
  }
  .nav .links a {
    width: 100%;
    padding: 12px 24px;
    border-radius: 0;
  }
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 48px;
  position: relative;
  overflow: hidden;
}
.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 700px;
  z-index: 1;
}
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: color-mix(in srgb, var(--brand) 18%, white);
  color: var(--brand);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 16px 0 12px;
  line-height: 1.2;
}
p.lead {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  border: 0;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(58, 28, 113, .15);
}
.btn.secondary {
  background: var(--brand-2);
}
.btn.secondary:hover {
  box-shadow: 0 15px 35px rgba(34, 197, 94, .25);
}
.btn.ghost {
  background: transparent;
  color: var(--brand);
  outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
}
.btn.ghost:hover {
    background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.sparkles {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 60%, transparent), transparent 70%);
  filter: blur(25px);
  opacity: .6;
  z-index: 0;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.4;
    z-index: 0;
}
.hero::before {
    background: var(--brand-3);
    top: 20%;
    left: 10%;
}
.hero::after {
    background: var(--brand-2);
    bottom: 15%;
    right: 10%;
}
section {
  padding-block: 50px
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.section-title h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 0;
  color: var(--brand);
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.grid {
  display: grid;
  gap: 20px
}
.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr)
}
.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr)
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr
  }
  .grid.cols-3 {
    grid-template-columns: 1fr 1fr
  }
  .grid.cols-2 {
    grid-template-columns: 1fr
  }
}
@media (max-width: 560px) {
  .grid.cols-3 {
    grid-template-columns: 1fr
  }
  .hero-cta {
      flex-direction: column;
  }
}
.video {
  aspect-ratio: 16/9;
  width: 100%;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #000
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px
}
.thumb {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--muted), transparent 75%);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(58, 28, 113, .15);
}
.thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.thumb .cap {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: color-mix(in srgb, var(--bg), rgba(0, 0, 0, .7) 40%);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(6px);
  font-weight: 600;
}
.studio {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
}
@media (max-width: 980px) {
  .studio {
    grid-template-columns: 1fr;
  }
}
#draw-canvas-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    touch-action: none;
    width: 100%;
    aspect-ratio: 4/3;
}
#draw-canvas {
  width: 100%;
  height: 100%;
  background-color: white;
  border: 3px solid var(--brand);
  border-radius: 20px;
  box-shadow: var(--shadow);
  cursor: crosshair;
}
.tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.tool-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.tool-row label {
    font-weight: 600;
    color: var(--text);
    min-width: 50px;
}
.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--card);
  outline: 2px solid rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: transform 0.2s ease-out, outline 0.2s ease-out;
}
.swatch.active, .swatch:hover {
    transform: scale(1.1);
    outline: 2px solid var(--brand);
}
.range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--muted);
  border-radius: 5px;
  outline: none;
  opacity: 0.7;
  transition: opacity .2s;
}
.range:hover {
  opacity: 1;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  cursor: grab;
  box-shadow: var(--shadow);
}
.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  cursor: grab;
  box-shadow: var(--shadow);
}
.note {
  font-size: 15px;
  color: var(--muted);
  margin-top: 15px;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 17px;
}
.feature .icon {
  font-size: 32px;
  color: var(--brand-2);
}
footer {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted)
}
.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}
.tool-btn {
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    color: var(--brand);
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease-out, color 0.2s ease-out;
}
.tool-btn:hover, .tool-btn.active {
    background: var(--brand);
    color: white;
}
.tool-btn[data-symbol] {
    font-size: 22px;
    padding: 6px 10px;
}
.tool-btn[data-tool="zoom-in"] { font-size: 24px; padding: 6px 10px; }
.tool-btn[data-tool="zoom-out"] { font-size: 24px; padding: 6px 10px; }
.tool-btn[data-tool="move"] { font-size: 24px; padding: 6px 10px; }
.tool-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
hr {
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--muted), transparent 70%);
    margin: 15px 0;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card);
    min-width: 240px;
    box-shadow: var(--shadow);
    z-index: 10;
    border-radius: 12px;
    padding: 10px;
    top: 100%;
    left: 0;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 8px;
    overflow-y: auto;
    max-height: 250px;
}
.dropdown-content button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 24px;
    border-radius: 8px;
    transition: background 0.2s;
}
.dropdown-content button:hover {
    background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.dropdown-content.show {
    display: flex;
}
@media (max-width: 980px) {
    .dropdown-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90vw;
        max-height: 90vh;
        width: 300px;
    }
}
@media (prefers-reduced-motion: reduce) {
  .sparkles {
    display: none
  }
  * {
    scroll-behavior: auto;
    transition: none!important
  }
}

/* Yeni tam ekran stilleri */
.studio.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: 0;
  gap: 0;
}

.studio.fullscreen #draw-canvas-container {
  flex: 1;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  aspect-ratio: unset;
}
.studio.fullscreen #draw-canvas {
  border-radius: 0;
  border: none;
  box-shadow: none;
  height: 100%;
}
.studio.fullscreen .tools {
  height: auto;
  min-height: 120px;
  overflow-y: auto;
  border-top: 1px solid var(--muted);
  box-shadow: none;
  border-radius: 0;
}
.studio.fullscreen .tools hr {
  display: none;
}
.studio.fullscreen .tools .tool-row:last-of-type {
  justify-content: flex-start;
}
.studio.fullscreen .close-fullscreen {
  display: block;
}
.close-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 101;
  background: var(--card);
  border: 1px solid var(--muted);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  display: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.tool-btn.fullscreen-btn {
    display: none;
}
@media (max-width: 980px) {
    .tool-btn.fullscreen-btn {
        display: block;
    }
}