/* ============================================================
   YÜRÜYENPAZAR — COMING SOON PAGE STYLES
   Premium Dark Design System
   ============================================================ */

/* ── Google Fonts are loaded via HTML link ── */

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --clr-bg:           #f8f9fc;
  --clr-surface:      #ffffff;
  --clr-surface-2:    #f0f3f9;
  --clr-border:       rgba(0,0,0,0.12);
  --clr-border-glow:  rgba(108,99,255,0.25);

  --clr-primary:      #6C63FF;
  --clr-primary-dark: #4a43d9;
  --clr-accent:       #FF6584;
  --clr-teal:         #38b29e;

  --clr-text:         #1a1d2d;
  --clr-text-muted:   rgba(26,29,45,0.7);
  --clr-text-dim:     rgba(26,29,45,0.5);

  /* Gradients */
  --grad-primary:     linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
  --grad-glow:        linear-gradient(135deg, rgba(108,99,255,0.15), rgba(255,101,132,0.15));
  --grad-bg:          radial-gradient(ellipse at 20% 20%, rgba(108,99,255,0.08) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 80%, rgba(255,101,132,0.05) 0%, transparent 50%),
                      radial-gradient(ellipse at 60% 10%, rgba(56,178,158,0.04) 0%, transparent 40%),
                      linear-gradient(135deg, #f8f9fc 0%, #ffffff 50%, #f8f9fc 100%);

  /* Typography */
  --font-body:        'Inter', system-ui, -apple-system, sans-serif;
  --font-display:     'Outfit', 'Inter', system-ui, sans-serif;

  /* Spacing & sizing */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image:
    /* açık gradient overlay — okunabilirlik için */
    linear-gradient(
      135deg,
      rgba(248, 249, 252, 0.85) 0%,
      rgba(248, 249, 252, 0.70) 40%,
      rgba(248, 249, 252, 0.80) 100%
    ),
    /* arka plan fotoğrafı */
    url('assets/bg-light.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ── Particle Canvas ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── Floating Orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.30) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-duration: 14s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,101,132,0.22) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-duration: 11s;
  animation-delay: -4s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(67,233,208,0.18) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  animation-duration: 16s;
  animation-delay: -8s;
}

.orb-4 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(108,99,255,0.20) 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
  animation-duration: 10s;
  animation-delay: -2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Page Wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

/* ── Header / Logo ── */
.header {
  width: 100%;
  max-width: 1100px;
  padding: 32px 0 0;
  display: flex;
  justify-content: center;
  animation: fadeSlideDown 0.8s var(--ease) both;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.logo-title-img {
  height: 36px;
  object-fit: contain;
}

/* ── Hero Section ── */
.hero {
  flex: 1;
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0 48px;
  gap: 32px;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a09cff;
  backdrop-filter: blur(8px);
  animation: fadeSlideDown 0.8s var(--ease) 0.1s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6C63FF;
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 8px #6C63FF;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

/* ── Hero Title ── */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--clr-text);
  animation: fadeSlideUp 0.9s var(--ease) 0.2s both;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.typed-wrap {
  position: relative;
}

.typed-wrap::after {
  content: '|';
  -webkit-text-fill-color: #6C63FF;
  color: #6C63FF;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Hero Subtitle ── */
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--clr-text-muted);
  max-width: 640px;
  animation: fadeSlideUp 0.9s var(--ease) 0.35s both;
}

.hero-subtitle strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* ── Countdown ── */
.countdown-section {
  animation: fadeSlideUp 0.9s var(--ease) 0.45s both;
  width: 100%;
}

.countdown-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-dim);
  margin-bottom: 16px;
  font-weight: 500;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 88px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--clr-text);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.countdown-number::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.countdown-number.flip {
  animation: flipNum 0.4s var(--ease);
}

.countdown-number.flash::before { opacity: 1; }

@keyframes flipNum {
  0%   { transform: rotateX(-90deg) scale(0.9); opacity: 0; }
  50%  { transform: rotateX(5deg) scale(1.02); }
  100% { transform: rotateX(0deg) scale(1); opacity: 1; }
}

.countdown-unit {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-dim);
  font-weight: 500;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: 24px;
  opacity: 0.6;
  animation: pulseSep 1s ease-in-out infinite;
}

@keyframes pulseSep {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 0.2; }
}

/* ── Subscribe Section ── */
.subscribe-section {
  width: 100%;
  animation: fadeSlideUp 0.9s var(--ease) 0.55s both;
}

.subscribe-label {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.input-group {
  display: flex;
  width: 100%;
  max-width: 520px;
  gap: 0;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 5px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.input-group:focus-within {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15), 0 8px 32px rgba(108,99,255,0.12);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 20px;
  color: var(--clr-text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  min-width: 0;
}

.email-input::placeholder {
  color: var(--clr-text-dim);
}

.subscribe-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.3s var(--ease), opacity 0.2s;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}

.subscribe-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(108,99,255,0.55);
}

.subscribe-btn:active {
  transform: scale(0.97);
}

.subscribe-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  width: 16px;
  height: 16px;
  display: flex;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s var(--ease);
}

.subscribe-btn:hover .btn-icon svg {
  transform: translateX(3px);
}

.privacy-note {
  font-size: 0.75rem;
  color: var(--clr-text-dim);
}

/* Form messages */
.form-message {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  animation: fadeSlideUp 0.4s var(--ease);
}

.form-message svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-message.success {
  background: rgba(67,233,208,0.1);
  border: 1px solid rgba(67,233,208,0.3);
  color: var(--clr-teal);
}

.form-message.error {
  background: rgba(255,101,132,0.1);
  border: 1px solid rgba(255,101,132,0.3);
  color: var(--clr-accent);
}

.form-message.visible {
  display: flex;
}

/* ── Features Section ── */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  width: 100%;
  animation: fadeSlideUp 0.9s var(--ease) 0.65s both;
}

.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  cursor: default;
  transition: transform 0.35s var(--ease-bounce),
              border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(108,99,255,0.4);
  box-shadow: 0 16px 48px rgba(108,99,255,0.18), 0 4px 16px rgba(0,0,0,0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover .feature-icon {
  background: rgba(108,99,255,0.22);
  box-shadow: 0 0 16px rgba(108,99,255,0.3);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  color: #a09cff;
  transition: color 0.3s var(--ease);
}

.feature-card:hover .feature-icon svg {
  color: #c4c1ff;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  position: relative;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  position: relative;
}

/* ── Social Section ── */
.social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeSlideUp 0.9s var(--ease) 0.75s both;
}

.social-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-dim);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: transform 0.3s var(--ease-bounce),
              border-color 0.3s var(--ease),
              color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(108,99,255,0.45);
  color: #a09cff;
  box-shadow: 0 8px 24px rgba(108,99,255,0.25);
}

/* ── Footer ── */
.footer {
  width: 100%;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--clr-border);
  animation: fadeSlideUp 0.9s var(--ease) 0.85s both;
}

.footer p {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
}

.footer-tagline {
  font-size: 0.75rem !important;
  color: rgba(108,99,255,0.5) !important;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ── Keyframe Animations ── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Loading Screen ── */
#loadingScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--clr-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

#loadingScreen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(108,99,255,0.15);
  border-top-color: #6C63FF;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero {
    padding: 40px 0 32px;
    gap: 28px;
  }

  .countdown-grid {
    gap: 8px;
  }

  .countdown-item {
    min-width: 70px;
  }

  .countdown-number {
    padding: 12px 14px;
    min-width: 70px;
  }

  .features-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .subscribe-btn .btn-text {
    display: none;
  }

  .input-group {
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 400px) {
  .features-section {
    grid-template-columns: 1fr;
  }

  .countdown-sep {
    display: none;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb {
  background: rgba(108,99,255,0.3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(108,99,255,0.55);
}

/* ── Selection ── */
::selection {
  background: rgba(108,99,255,0.35);
  color: #fff;
}
