/* ═══════════════════════════════════════════════════════════
   Ana Yurt — Landing Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --color-bg: #0a0a12;
  --color-surface: #12121e;
  --color-surface-hover: #1a1a2e;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-accent-1: #7c3aed;
  --color-accent-2: #06b6d4;
  --color-accent-3: #ec4899;
  --gradient-main: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
  --gradient-hero: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4, #ec4899);
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── Layout ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--color-text);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  opacity: 0.12;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 70%);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gradient-main);
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

/* ─── Sections ─── */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 56px;
}

/* ─── Apps ─── */
.apps {
  padding: 120px 0;
}

.apps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
}

.app-card--soon {
  opacity: 0.5;
  border-style: dashed;
}

.app-card--soon:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.app-card__icon {
  margin-bottom: 20px;
}

.app-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-card__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.app-card__platforms {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--color-accent-1);
  letter-spacing: 0.02em;
}

.app-card__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent-2);
  transition: color var(--transition);
}

.app-card__link:hover {
  color: #22d3ee;
}

/* ─── About ─── */
.about {
  padding: 120px 0;
  background: var(--color-surface);
}

.about__content {
  max-width: 720px;
  margin: 0 auto;
}

.about__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.about__text strong {
  color: var(--color-text);
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition);
}

.value-card:hover {
  transform: translateY(-2px);
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── Footer ─── */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p,
.footer a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a:hover {
  color: var(--color-text);
}

/* ─── Fade-in Animation ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav__links {
    gap: 20px;
  }

  .apps__grid {
    grid-template-columns: 1fr;
  }

  .about__values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero {
    min-height: 90vh;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}
