/*
  premium.css — Huşu Premium Design Overrides
  Yeni bölümler: Hero kampanya, Manifesto, Alışkanlık, Streak Card
*/

/* ══════════════════════════════════════════
   GLOBAL BACKGROUND — Huşu Teal Ambient
══════════════════════════════════════════ */
body {
  background: radial-gradient(ellipse 120% 80% at 50% -20%, hsla(175, 60%, 8%, 1) 0%, hsl(175, 25%, 4%) 60%, hsl(175, 30%, 3%) 100%);
  background-attachment: fixed;
}

/* Ambient glow orbs (subtle, tasteful) */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}
.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, hsl(175, 75%, 45%), transparent 70%);
  top: -200px;
  right: -200px;
  animation: orbFloat 20s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(42, 85%, 55%), transparent 70%);
  bottom: 200px;
  left: -200px;
  animation: orbFloat 28s ease-in-out infinite alternate-reverse;
  opacity: 0.12;
}
.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(175, 75%, 45%), transparent 70%);
  top: 50%;
  right: -150px;
  animation: orbFloat 22s ease-in-out infinite alternate;
  opacity: 0.1;
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -80px) scale(1.15); }
}

/* ══════════════════════════════════════════
   HERO PREMIUM
══════════════════════════════════════════ */
.premium-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-glow-behind {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, hsla(175, 75%, 45%, 0.3), transparent 65%);
  filter: blur(50px);
  z-index: -1;
}

.phone-simulator-hero {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  transform: rotateY(-12deg) rotateX(8deg);
  transform-style: preserve-3d;
  animation: heroFloat 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes heroFloat {
  0%, 100% { transform: rotateY(-12deg) rotateX(8deg) translateY(0px); }
  50% { transform: rotateY(-12deg) rotateX(8deg) translateY(-20px); }
}

.phone-hardware-frame-hero {
  background: var(--bg-darker);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 
    inset 0 0 4px hsla(0, 0%, 100%, 0.2),
    0 20px 40px rgba(0,0,0,0.5),
    -10px 10px 20px rgba(0,0,0,0.3),
    0 0 0 2px #333,
    0 0 0 4px #1a1a1a;
  position: relative;
}

/* Dynamic Island / Notch Fake */
.phone-hardware-frame-hero::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen-hero {
  background: #000;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/19.5;
}

.hero-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glossy Reflection */
.phone-screen-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsla(0,0%,100%,0.15) 0%, hsla(0,0%,100%,0) 50%);
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--color-primary);
  color: var(--text-white);
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.badge-top-left {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.badge-bottom-right {
  bottom: 20%;
  right: -30px;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 992px) {
  .hero-grid-2col {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .phone-simulator-hero {
    transform: rotateY(0deg) rotateX(0deg);
    animation: heroFloatMobile 6s ease-in-out infinite;
  }
  @keyframes heroFloatMobile {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg) translateY(0px); }
    50% { transform: rotateY(0deg) rotateX(0deg) translateY(-15px); }
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsla(175, 60%, 45%, 0.12);
  border: 1px solid hsla(175, 60%, 45%, 0.25);
  color: var(--color-teal);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.pulse-dot {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.eyebrow-divider {
  color: var(--text-muted);
}
.eyebrow-by {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Campaign Headline */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.hero-highlight {
  font-style: italic;
  color: var(--color-secondary);
}
.hero-app-name {
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: -3px;
  display: block;
  margin-top: 0.25rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-gray);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}
.hero-description strong {
  color: var(--text-white);
}

/* Hero stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}
.hero-stat {
  text-align: center;
  padding: 0 2.5rem;
}
.hero-stat:first-child { padding-left: 0; }
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--card-border);
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-gray);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid hsla(175, 15%, 25%, 0.4);
  transition: var(--transition-fast);
}
.btn-ghost:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: hsla(175, 60%, 45%, 0.06);
}

.btn-hero {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.hero-mouse-down {
  margin-top: 40px;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.hero-mouse-down:hover {
  opacity: 1;
}

/* ══════════════════════════════════════════
   MANIFESTO SECTION
══════════════════════════════════════════ */
.manifesto-section {
  padding: 120px 0 80px;
  position: relative;
}
.manifesto-header {
  margin-bottom: 60px;
}

.manifesto-quote {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 80px;
  padding: 40px 0;
}
.quote-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.4;
}
.quote-text {
  text-align: center;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-gray);
  font-weight: 400;
  line-height: 1.7;
  max-width: 700px;
  flex-shrink: 0;
}

/* Problem → Solution Cards */
.problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ps-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  transition: var(--transition-normal);
  backdrop-filter: blur(20px);
}
.ps-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 60px hsla(175, 75%, 45%, 0.12);
}
.ps-problem, .ps-solution {
  width: 100%;
}
.problem-icon {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.solution-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}
.ps-problem p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.ps-solution p {
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}
.ps-arrow {
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}
/* On mobile stack them */
@media (max-width: 768px) {
  .ps-card { flex-direction: column; }
  .problem-solution-grid { grid-template-columns: 1fr; }
  .manifesto-quote { flex-direction: column; gap: 20px; }
  .quote-line { width: 80%; height: 1px; }
}

/* ══════════════════════════════════════════
   HABIT / STREAK SECTION
══════════════════════════════════════════ */
.habit-section {
  padding: 120px 0;
  position: relative;
}
.habit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.habit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.habit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-gray);
  font-size: 1rem;
}
.habit-list li i {
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* Streak Card */
.streak-card {
  padding: 32px;
}
.streak-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.streak-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
}
.streak-badge {
  background: linear-gradient(135deg, hsl(30, 90%, 50%), hsl(15, 90%, 50%));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.streak-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 8px;
  transition: var(--transition-fast);
}
.cal-day.done {
  background: var(--color-primary);
  box-shadow: 0 0 12px hsla(175, 75%, 45%, 0.4);
}
.cal-day.today {
  background: var(--color-secondary);
  box-shadow: 0 0 12px hsla(42, 85%, 55%, 0.5);
  animation: todayPulse 2s ease-in-out infinite;
}
@keyframes todayPulse {
  0%, 100% { box-shadow: 0 0 12px hsla(42, 85%, 55%, 0.5); }
  50% { box-shadow: 0 0 24px hsla(42, 85%, 55%, 0.8); }
}
.cal-day.future {
  background: hsla(175, 15%, 15%, 0.6);
  border: 1px solid var(--card-border);
}

.streak-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}
.s-stat { text-align: center; }
.s-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.s-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .habit-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .hero-stat { padding: 0 1.5rem; }
}

/* ══════════════════════════════════════════
   GENERAL SECTION SPACING
══════════════════════════════════════════ */
.showcase-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   PREMIUM DOWNLOAD BUTTONS
══════════════════════════════════════════ */
.premium-download-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}
.download-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.premium-store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(145deg, hsla(175, 20%, 15%, 0.9), hsla(175, 20%, 8%, 0.9));
  border: 1px solid hsla(175, 60%, 45%, 0.2);
  padding: 14px 28px;
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.store-btn:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px hsla(175, 60%, 45%, 0.2);
}
.store-icon {
  font-size: 2.2rem;
  color: var(--text-white);
  transition: transform 0.3s ease;
}
.store-btn:hover .store-icon {
  transform: scale(1.1);
}
.store-text {
  display: flex;
  flex-direction: column;
}
.store-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.store-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}
.glow-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, hsla(175, 60%, 45%, 0.4), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.store-btn:hover .glow-hover {
  opacity: 1;
}
