/* === Modern, Canlı ve Çocuklara Uygun Renk Paleti === */
:root {
  --primary: #6C63FF;
  --secondary: #FFB830;
  --accent-green: #43E97B;
  --accent-blue: #38B6FF;
  --accent-orange: #FF6F61;
  --bg-light: #F7F7FB;
  --bg-white: #FFFFFF;
  --bg-dark: #232946;
  --text-dark: #22223B;
  --text-light: #F4F4F8;
  --shadow: 0 4px 24px rgba(108, 99, 255, 0.10);
  --radius: 1.5rem;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Nunito', 'Quicksand', 'Arial', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-light);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header.dark-header {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
header .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 0;
}
header nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}
header .logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(108,99,255,0.10);
  border: 3px solid var(--secondary);
}
header .logo h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 1px;
  color: #fff;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
header nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color var(--transition);
}
header nav a:hover {
  color: var(--secondary);
}
.dark-mode-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--transition), transform 0.2s;
}
.dark-mode-toggle:active {
  transform: scale(0.9);
}
.mobile-nav-toggle {
  display: none;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent-blue) 100%);
  color: #fff;
  padding: 3rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.hero-content {
  flex: 1 1 350px;
  min-width: 300px;
  z-index: 2;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(44,44,84,0.10);
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #f4f4f8;
}
.download-section {
  margin-top: 1.5rem;
}
.app-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.app-button {
  display: flex;
  align-items: center;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(44,44,84,0.10);
  padding: 0.7rem 1.5rem;
  min-width: 180px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  margin: 0;
}
.app-button.app-store, .app-button.google-play {
  background: rgba(41,121,255,0.15);
  color: #fff;
}
.app-button .app-icon i {
  color: #fff !important;
}
.app-button .small-text, .app-button .big-text {
  color: #fff !important;
}
.app-button:hover {
  filter: brightness(1.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.app-icon {
  font-size: 2rem;
  margin-right: 0.7rem;
}
.app-text .small-text {
  font-size: 0.7rem;
  color: #888;
}
.app-text .big-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: inherit;
}
.hero-image {
  flex: 1 1 300px;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-image img {
  width: 260px;
  max-width: 100%;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(108,99,255,0.15);
  background: #fff;
  padding: 1rem;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* === Features Section === */
.features {
  background: var(--bg-white);
  padding: 3rem 0 2rem 0;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  min-width: 220px;
  max-width: 260px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  opacity: 0;
  transform: translateY(40px);
}
.feature.show {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 8px 32px rgba(108,99,255,0.18);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.feature:hover .feature-icon {
  color: var(--secondary);
}
.feature h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.5rem 0 0.7rem 0;
}
.feature p {
  color: #555;
  font-size: 1rem;
}

/* Mobilde özellik kutularını eşit ve düzgün yap */
@media (max-width: 600px) {
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .feature {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 1.2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* === Screenshots Section === */
.screenshots {
  background: var(--bg-light);
  padding: 3rem 0 2rem 0;
}
.screenshots-slider {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.screenshot img {
  width: 180px;
  height: 360px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(108,99,255,0.10);
  background: #fff;
}

/* === FAQ Section === */
.faq {
  background: var(--bg-white);
  padding: 3rem 0 2rem 0;
}
.faq-container {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  background: #f7f7fb;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(108,99,255,0.06);
  padding: 1.2rem 1rem;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), border-color 0.18s;
  border: 1.5px solid rgba(108,99,255,0.18);
}
.faq-item:hover, .faq-item.active {
  border-color: rgba(108,99,255,0.45);
  box-shadow: 0 4px 16px rgba(67,233,123,0.10);
}
.faq-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-item p {
  margin: 0;
  font-size: 1rem;
  display: none;
}
.faq-item.active p {
  display: block;
}

/* === Contact Section === */
.contact {
  background: var(--bg-light);
  padding: 3rem 0 2rem 0;
}
.contact-form {
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border-radius: 0.7rem;
  border: 1.5px solid #e0e0e0;
  font-size: 1rem;
  font-family: inherit;
  background: #f7f7fb;
  transition: border var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
.submit-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s;
  box-shadow: 0 2px 8px rgba(108,99,255,0.10);
}
.submit-btn:hover {
  background: var(--secondary);
  color: var(--text-dark);
  transform: translateY(-2px) scale(1.04);
}
.form-success {
  color: var(--accent-green);
  margin-top: 1rem;
  font-weight: 700;
}
.form-error {
  color: var(--accent-orange);
  margin-top: 1rem;
  font-weight: 700;
}

/* === Footer === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
}
footer .social {
  margin-top: 1rem;
}
footer .social a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.4rem;
  transition: color var(--transition), transform 0.15s;
}
footer .social a:hover {
  color: var(--secondary);
  transform: scale(1.15);
}

/* Daha iyi responsive footer için */
@media (max-width: 600px) {
  .footer {
    background: #232946 !important;
    color: #fff !important;
    padding: 2rem 0.5rem 1rem 0.5rem !important;
    font-size: 0.98rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 0;
  }
  .footer-section {
    width: 100%;
    min-width: unset;
    margin-bottom: 1.2rem;
    text-align: center;
    padding: 0;
  }
  .footer-logo {
    justify-content: center;
    margin-bottom: 0.7rem;
    gap: 0.7rem;
  }
  .footer-logo img {
    height: 32px !important;
    width: 32px !important;
  }
  .footer-section h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    margin-top: 0.7rem;
  }
  .footer-section ul {
    padding: 0;
    margin: 0;
  }
  .footer-section ul li {
    margin-bottom: 0.2rem;
  }
  .footer-section ul li a {
    font-size: 0.98rem;
  }
  .footer-bottom {
    font-size: 0.93rem;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding-top: 0.7rem;
  }
  .footer-bottom .social-links {
    margin-top: 0.2rem;
  }
  .footer-bottom .social-links a {
    font-size: 1.4rem;
    margin: 0 0.4rem;
    color: #fff;
  }
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
  }
  .hero-content, .hero-image {
    min-width: 0;
    width: 100%;
    text-align: center;
  }
  .mobile-nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100vw;
    background: var(--primary);
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    flex-direction: column;
    justify-content: flex-start;
  }
  header nav.active {
    display: block;
  }
  header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 2rem;
    justify-content: flex-start;
  }
  header .logo {
    margin-right: 0;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 0.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .features-grid {
    gap: 1rem;
  }
  .feature {
    padding: 1.2rem 0.7rem;
    min-width: 140px;
    max-width: 100%;
  }
  .screenshots-slider {
    gap: 0.5rem;
  }
  .screenshot img {
    width: 110px;
    height: 220px;
  }
  .app-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .app-button {
    width: 100%;
    justify-content: center;
  }
}

/* === Dark Mode === */
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-light);
}
body.dark-mode header.dark-header {
  background: #181a2a;
  color: #fff;
}
body.dark-mode .features, body.dark-mode .faq, body.dark-mode .contact, body.dark-mode .screenshots {
  background: #232946;
  color: #f4f4f8;
}
body.dark-mode .feature, body.dark-mode .contact-form {
  background: #181a2a;
  color: #fff;
  box-shadow: 0 4px 24px rgba(44,44,84,0.10);
}
body.dark-mode .faq-item {
  background: #232946;
  color: #fff;
  border: 1.5px solid rgba(108,99,255,0.22);
}
body.dark-mode .faq-item:hover, body.dark-mode .faq-item.active {
  border-color: rgba(108,99,255,0.55);
}
body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background: #232946;
  color: #fff;
  border: 1.5px solid #444;
}
body.dark-mode .submit-btn {
  background: var(--secondary);
  color: #232946;
}
body.dark-mode .submit-btn:hover {
  background: var(--primary);
  color: #fff;
}
body.dark-mode footer {
  background: #181a2a;
  color: #fff;
}
body.dark-mode .social a:hover {
  color: var(--accent-green);
} 

.download .container {
  text-align: center;
}
.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-section h3 {
  text-align: center;
}
.app-badges {
  justify-content: center;
}
@media (max-width: 600px) {
  .app-badges {
    align-items: center;
  }
} 

.store-badge {
  width: 160px;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.15s, box-shadow 0.15s;
  border-radius: 0.8rem;
  cursor: pointer;
  margin: 0 0.5rem;
  display: inline-block;
  /* background ve box-shadow yok! */
}
@media (max-width: 600px) {
  .store-badge {
    max-width: 100%;
    width: 100%;
    height: 48px;
    margin: 0.3rem 0;
  }
}

/* styles.css veya <style> içine ekle */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.lightbox-modal.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 30px #000;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  padding: 0.2em 0.5em;
  border-radius: 0.3em;
}
.lightbox-close { top: 2rem; right: 2rem; font-size: 2rem; transform: none; }
.lightbox-prev { left: 2vw; }
.lightbox-next { right: 2vw; }