/* Buttons */
.btn {
  border-radius: 0.5rem;
  font-weight: 500;
  text-transform: none;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-dark {
  background-color: var(--primary-black);
  color: var(--primary-white);
  box-shadow: var(--shadow-medium);
}

.btn-dark:hover {
  background-color: var(--dark-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-light {
  background-color: var(--primary-white);
  color: var(--primary-black);
  box-shadow: var(--shadow-medium);
}

.btn-light:hover {
  background-color: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-outline-dark {
  border: 2px solid var(--primary-black);
  color: var(--primary-black);
}

.btn-outline-dark:hover {
  background-color: var(--primary-black);
  color: var(--primary-white);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid var(--primary-white);
  color: var(--primary-white);
}

.btn-outline-light:hover {
  background-color: var(--primary-white);
  color: var(--primary-black);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-white) !important;
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition);
  position: relative;
  margin: 0 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-white) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-white);
  transition: width 0.3s ease;
}

.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--primary-black);
  color: var(--primary-white);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section-white {
  min-height: 100vh;
  background: var(--primary-white);
  color: var(--dark-gray);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.floating-books {
  position: absolute;
  width: 100%;
  height: 100%;
}

.book {
  position: absolute;
  font-size: 2rem;
  color: var(--primary-white);
  animation: float 6s ease-in-out infinite;
}

.book-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.book-2 {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}
.book-3 {
  top: 40%;
  left: 90%;
  animation-delay: 4s;
}
.book-4 {
  top: 80%;
  left: 20%;
  animation-delay: 1s;
}
.book-5 {
  top: 10%;
  left: 70%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.hero-content {
  z-index: 2;
}

/* Hero section içindeki tüm text elementler beyaz olmalı */
.hero-section h1,
.hero-section p,
.hero-section .lead {
  color: var(--primary-white) !important;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-white) !important;
}

.stat-item small {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Phone Mockup */
.hero-visual {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #373a3d;
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  transform: rotate(-5deg);
  animation: phoneFloat 4s ease-in-out infinite;
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0px);
  }
  50% {
    transform: rotate(-5deg) translateY(-10px);
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--primary-white);
  border-radius: 20px;
  overflow: hidden;
}

.app-ui {
  padding: 20px;
  height: 100%;
}

.app-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  margin-right: 10px;
}

.user-info h6 {
  margin: 0;
  font-weight: 600;
  color: var(--primary-black);
}

.user-info small {
  color: var(--dark-gray);
}

.post-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--primary-black) !important;
  margin-bottom: 10px;
  font-weight: 500;
}

.book-tag {
  background: var(--light-gray);
  padding: 5px 10px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--primary-black);
  margin-bottom: 15px;
}

.post-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.post-actions button {
  background: none;
  border: none;
  color: var(--dark-gray);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.post-actions button:hover {
  color: var(--dark-gray);
}

/* Feature Cards */
.feature-card {
  background: var(--primary-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-white);
}

/* Sections */
.page-header {
  padding: 8rem 0 4rem;
  background: var(--primary-black);
  color: var(--primary-white);
  margin-top: 76px;
}

.features-section {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.core-features {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.social-features {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.discovery-section {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.gamification-section {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.mission-vision {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.why-started {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.core-values {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.team-section {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.founding-story {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.investment-section {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.contact-cta {
  background: var(--primary-black);
  color: var(--primary-white);
}

.contact-form-section {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.early-access {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.cta-section {
  background: var(--primary-black);
  color: var(--primary-white);
}

.cta-section-white {
  background: var(--primary-white);
  color: var(--dark-gray);
}

.cta-section,
.cta-section-white {
  text-align: center;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-white);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  padding-left: 3rem;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.phase-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-black);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  width: 45%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Social Proof */
.counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-white);
  display: block;
}

/* Footer */
.footer {
  background: var(--primary-black);
  color: var(--primary-white);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--primary-white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-white);
  color: var(--primary-black);
  transform: translateY(-2px);
}
