/* PatiTakip — ana sayfa (landing) */

:root {
  --hero-bg-end: #FFF8F5;
  --radius-sm: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, #fff 0%, var(--hero-bg-end) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: pre-line;
}
.hero-sub {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 520px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(255, 107, 53, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.btn-outline:hover { border-color: var(--text-muted); transform: translateY(-2px); }
.hero-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-card {
  position: absolute;
  background: var(--card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  animation: float 5s ease-in-out infinite;
}
.float-card:nth-child(1) { top: 8%; left: 0; animation-delay: 0s; }
.float-card:nth-child(2) { top: 22%; right: 0; animation-delay: 1s; }
.float-card:nth-child(3) { bottom: 18%; left: 5%; animation-delay: 2s; }
.float-card:nth-child(4) { bottom: 8%; right: 8%; animation-delay: 0.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone {
  width: 240px;
  height: 480px;
  border-radius: 36px;
  padding: 10px;
  background: var(--gradient);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.phone-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, #fff 0%, #FFF8F5 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: #1A1A1A;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}
.phone-content { padding: 20px 16px; }
.phone-bar {
  height: 8px;
  width: 48px;
  background: var(--border);
  border-radius: 4px;
  margin: 0 auto 16px;
}
.phone-row { display: flex; gap: 8px; margin-bottom: 10px; }
.phone-pill {
  flex: 1;
  height: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.phone-block {
  height: 72px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .hero-visual { min-height: 380px; }
  .float-card:nth-child(1) { left: 2%; }
  .float-card:nth-child(2) { right: 2%; }
}
@media (max-width: 480px) {
  .float-card { font-size: 0.75rem; padding: 8px 10px; }
  .phone { width: 200px; height: 400px; }
}

.stats {
  margin-top: -24px;
  padding-bottom: 72px;
}
.stats-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  overflow: hidden;
}
.stat-item { padding: 28px 16px; text-align: center; }
.stat-val {
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); }
.stat-divider { width: 1px; background: var(--border); }
@media (max-width: 767px) {
  .stats-card { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stat-item { border-bottom: 1px solid var(--border); padding: 20px; }
  .stat-item:last-child { border-bottom: none; }
}

.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-head h2 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.0625rem;
}
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.how-wrap { position: relative; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 767px) {
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
}
.how-step { text-align: center; position: relative; z-index: 1; }
.how-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.how-step h3 { margin: 0 0 8px; font-weight: 700; font-size: 1.0625rem; }
.how-step p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }
.how-line {
  display: none;
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 0;
  border-top: 2px dashed var(--border);
  z-index: -1;
}
@media (min-width: 768px) {
  .how-line { display: block; }
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .test-grid { grid-template-columns: 1fr; }
}
.test-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stars { letter-spacing: 2px; margin-bottom: 12px; font-size: 0.875rem; }
.test-card blockquote {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}
.test-author { font-size: 0.875rem; color: var(--text-muted); }

.cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--gradient);
}
.cta-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-paw {
  position: absolute;
  font-size: 2rem;
  opacity: 0.12;
  animation: pawDrift 12s linear infinite;
}
.cta-paw:nth-child(1) { left: 8%; top: 20%; animation-delay: 0s; }
.cta-paw:nth-child(2) { left: 25%; top: 60%; animation-delay: -3s; font-size: 1.5rem; }
.cta-paw:nth-child(3) { right: 15%; top: 15%; animation-delay: -6s; }
.cta-paw:nth-child(4) { right: 30%; bottom: 25%; animation-delay: -2s; font-size: 1.75rem; }
.cta-paw:nth-child(5) { left: 45%; top: 10%; animation-delay: -8s; font-size: 1.25rem; }
@keyframes pawDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(8px, -6px) rotate(8deg); }
  50% { transform: translate(-4px, 8px) rotate(-4deg); }
  75% { transform: translate(6px, 4px) rotate(6deg); }
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 560px; margin: 0 auto; }
.cta h2 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
}
.cta-sub {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-cta-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #fff;
  color: var(--gradient-start);
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn-cta-light:hover { transform: translateY(-2px); }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.btn-cta-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
