@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #5e17eb;
  --primary-hover: #4b12bc;
  --bg-color: #fcfcff;
  --text-main: #120c2b;
  --text-muted: #6b7280;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-soft: 0 10px 40px -10px rgba(94, 23, 235, 0.15);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background: linear-gradient(-45deg, #fcfcff, #f3f0ff, #fcfcff, #f8f6ff);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

/* Çetele (Grid) Arka Plan Deseni */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(94, 23, 235, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 23, 235, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  /* Yukarýdan aþaðýya yumuþak geçiþle görünür hale gelir (Navbarda gizlenir) */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 90px, black 300px, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 90px, black 300px, black 100%);
}

/* En üste beyaz geçiþli parýltý (Navbarýn altýný doldurur) */
body::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  z-index: -2;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 40%, transparent 100%);
  pointer-events: none;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(94, 23, 235, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(94, 23, 235, 0.23);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #f3f4f6;
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.btn-google {
  background-color: white;
  color: #3c4043;
  border: 1px solid #dadce0;
  box-shadow: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: inherit;
}

.btn-google:hover {
  background-color: #f8f9fa;
  border-color: #d2e3fc;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  transform: translateY(-1px);
}

/* Header */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 100px 0 60px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px 6px 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(94, 23, 235, 0.15);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(94, 23, 235, 0.05);
  margin-bottom: 24px;
}

.hero-badge span:first-child {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white;
  padding: 4px 12px;
  border-radius: 99px;
  margin-right: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(94, 23, 235, 0.3);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.floating-3d-1, .floating-3d-2 {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.floating-3d-1 {
  top: 15%;
  right: 10%;
  width: 120px;
}

.floating-3d-2 {
  bottom: 10%;
  left: 5%;
  width: 100px;
  animation-delay: -3s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Bento Box Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
  border: 1px solid rgba(0,0,0,0.03);
}

.bento-card:hover {
  transform: translateY(-5px);
}

.bento-card.large {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.bento-icon.purple { background: rgba(94, 23, 235, 0.1); color: var(--primary); }
.bento-icon.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.bento-icon.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Niche Templates Slider */


.templates-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.templates-title {
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========== Gallery Section ========== */
.gallery-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 600px;
  margin: 40px auto 0;
  overflow: hidden;
}

/* White gradient fade overlays */
.gallery-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 10;
  pointer-events: none;
}
.gallery-fade--top {
  top: 0;
  background: linear-gradient(to bottom, #fcfcff 0%, transparent 100%);
}
.gallery-fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, #fcfcff 0%, transparent 100%);
}

/* 3-column layout */
.gallery-columns {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 0 16px;
}

.gallery-col {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Scrolling track */
.gallery-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*
  4 cards × 280px + 4 gaps × 20px = 1200px per half-set.
  Both animations translate by exactly 1200px.
  "down" = track moves up (cards visually scroll upward, new ones enter from bottom)
  "up"   = same animation but reversed (cards visually scroll downward)
*/
.gallery-track--down {
  animation: galleryScroll 30s linear infinite;
}
.gallery-track--up {
  animation: galleryScroll 30s linear infinite reverse;
}

@keyframes galleryScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(-50% - 10px)); }
}

.gallery-col:hover .gallery-track {
  animation-play-state: paused;
}

/* Individual card */
.gallery-card {
  width: 100%;
  aspect-ratio: 9 / 16;
  flex-shrink: 0;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  border-radius: 16px;
}

.gallery-card span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  text-align: center;
}

@media (max-width: 768px) {
  .gallery-col--hide-mobile { display: none; }
  .gallery-container { height: 480px; }
}

/* Final CTA */
.final-cta {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, #f0e6ff 0%, #e8f0fe 50%, #fce8f4 100%);
  border-radius: 32px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.final-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111;
}

.final-cta p {
  color: #555;
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.pricing-card.premium {
  background: #111827;
  color: white;
  position: relative;
  transform: scale(1.05);
  box-shadow: var(--shadow-soft);
}

.pricing-card.premium:hover {
  transform: scale(1.05) translateY(-8px);
}

.premium-floating-bag {
  position: absolute;
  top: -40px;
  left: -40px;
  font-size: 80px;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.pricing-icon {
  width: 48px;
  height: 48px;
  background: rgba(94, 23, 235, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.plan-name {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.pricing-card.premium .plan-name {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.pricing-card.premium .plan-price {
  color: white;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-card.premium .plan-price span {
  color: #9ca3af;
}

.plan-features {
  margin-bottom: 40px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-card.premium .plan-features li {
  color: #e5e7eb;
}

.plan-features li::before {
  content: '✓';
  color: #10b981;
  margin-right: 12px;
  font-weight: bold;
  font-size: 1.1rem;
}

.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.toggle-switch.active { background: var(--primary); }
.toggle-switch.active::after { transform: translateX(24px); }

.save-badge {
  background: #10b981;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.btn-fiverr {
  background-color: #1dbf73;
  color: white;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
  border: none;
}
.btn-fiverr:hover {
  background-color: #19a463;
  transform: translateY(-2px);
}
.hidden {
  display: none !important;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .bento-card.large { grid-column: span 1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 40px auto; }
  .pricing-card.premium { transform: scale(1); }
  .pricing-card.premium:hover { transform: translateY(-8px); }
  .floating-3d-1, .floating-3d-2 { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
}
