@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 900;
  src: url("../../webfonts/IRANSansWebFa_Black.0cbe440.eot");
  src:
    url("../../webfonts/IRANSansWebFa_Black.0cbe440.eot#iefix")
      format("embedded-opentype"),
    url("../../webfonts/IRANSansWebFa_Black.3d58553.woff2") format("woff2"),
    url("../../webfonts/IRANSansWebFa_Black.6e6d05b.woff") format("woff"),
    url("../../webfonts/IRANSansWebFa_Black.879c6f0.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 700;
  src: url("../../webfonts/IRANSansWebFa_Bold.cacb945.eot");
  src:
    url("../../webfonts/IRANSansWebFa_Bold.cacb945.eot#iefix")
      format("embedded-opentype"),
    url("../../webfonts/IRANSansWebFa_Bold.924be0f.woff2") format("woff2"),
    url("../../webfonts/IRANSansWebFa_Bold.6ed6ddf.woff") format("woff"),
    url("../../webfonts/IRANSansWebFa_Bold.cf91637.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 500;
  src: url("../../webfonts/IRANSansWebFa_Medium.5a25001.eot");
  src:
    url("../../webfonts/IRANSansWebFa_Medium.5a25001.eot#iefix")
      format("embedded-opentype"),
    url("../../webfonts/IRANSansWebFa_Medium.8451859.woff2") format("woff2"),
    url("../../webfonts/IRANSansWebFa_Medium.32cc237.woff") format("woff"),
    url("../../webfonts/IRANSansWebFa_Medium.caa93b1.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 300;
  src: url("../../webfonts/IRANSansWebFa_Light.fe61680.eot");
  src:
    url("../../webfonts/IRANSansWebFa_Light.fe61680.eot#iefix")
      format("embedded-opentype"),
    url("../../webfonts/IRANSansWebFa_Light.d11c490.woff2") format("woff2"),
    url("../../webfonts/IRANSansWebFa_Light.74955f1.woff") format("woff"),
    url("../../webfonts/IRANSansWebFa_Light.1604933.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 400;
  src: url("../../webfonts/IRANSansWebFa.07e13ce.eot");
  src:
    url("../../webfonts/IRANSansWebFa.07e13ce.eot#iefix")
      format("embedded-opentype"),
    url("../../webfonts/IRANSansWebFa.38d4b5f.woff2") format("woff2"),
    url("../../webfonts/IRANSansWebFa.d4bb655.woff") format("woff"),
    url("../../webfonts/IRANSansWebFa.a5080d9.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: kook;
  font-style: normal;
  font-weight: 900;
  src: url("./webfonts/KookFaNum-ExtraBold.ttf");

  font-display: swap;
}

:root {
  --primary: #ff8a3d;
  --primary-dark: #ff6b1a;
  --secondary: #ff5c8a;
  --accent: #4dc4b8;
  --purple: #a78bfa;
  --yellow: #fcd34d;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light-bg: #fff8f0;
  --white: #ffffff;
  --nav-height: 84px;
  --container-padding: clamp(14px, 3vw, 20px);
  color-scheme: light !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  color-scheme: light;
  forced-color-adjust: none !important;
}

body {
  font-family: "IRANSans", sans-serif;
  background: var(--light-bg);
  color: var(--dark);
  background-color: var(--light-bg) !important;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
}

section {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mt-4 {
  margin-top: 1.5rem;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6b1a, #e63e6d, #7c3aed);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #ffeef2;
}

.floating-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(95%, 1280px);
  transition: top 0.3s ease;
}

.nav-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 10px 40px rgba(255, 107, 26, 0.15);
  border: 1px solid rgba(255, 138, 61, 0.18);
  transition: padding 0.3s ease;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.logo-emoji {
  font-size: clamp(20px, 2.4vw, 28px);
  animation: bounce 2s infinite ease-in-out;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(255, 107, 26, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 26, 0.5);
}

.nav-cta-mobile-wrap {
  display: none;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--dark);
  cursor: pointer;
  flex-shrink: 0;
}

.hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse at top,
    #ffe5c4 0%,
    #ffd4a8 30%,
    #ffb877 100%
  );
  padding: calc(var(--nav-height) + 48px) 16px 72px;
}

#canvas_container,
.particles,
.floating-books {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#canvas_container {
  z-index: 0;
}
.particles {
  z-index: 1;
}
.floating-books {
  z-index: 2;
}

#bg-canvas {
  width: 100% !important;
  height: 100% !important;
  opacity: 0.6;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.7;
  animation: floatParticle linear infinite;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.float-book {
  position: absolute;
  width: clamp(70px, 10vw, 150px);
  height: auto;
  border-radius: 12px;
  animation: floatBook 6s infinite ease-in-out;
}

.book-1 {
  top: 15%;
  right: 8%;
  --r: -8deg;
  animation-delay: 0s;
}
.book-2 {
  top: 65%;
  right: 15%;
  --r: 20deg;
  animation-delay: 1.5s;
}
.book-3 {
  top: 20%;
  left: 8%;
  --r: 10deg;
  animation-delay: 0.8s;
}
.book-4 {
  top: 60%;
  left: 12%;
  --r: -6deg;
  animation-delay: 2.2s;
}
.book-5 {
  top: 40%;
  right: 3%;
  --r: 15deg;
  animation-delay: 3s;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(850px, 100%);
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(255, 107, 26, 0.2);
  font-size: clamp(12px, 1.5vw, 14px);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

.hero-title {
  margin-bottom: 18px;
}

.title-line-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.svg-gradient-text {
  display: block;
  height: 11rem;
  width: 100%;
  max-width: 500px;

  background: linear-gradient(135deg, #ff6b1a, #e63e6d, #7c3aed);

  -webkit-mask-image: url("./webfonts/Az.svg");
  mask-image: url("./webfonts/Az.svg");

  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;
}

.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.title-line-2 {
  display: block;
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 18px);
  color: #444;
  margin-bottom: 28px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(255, 107, 26, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(255, 107, 26, 0.5);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.btn-primary:hover .btn-shine {
  left: 100%;
}

.btn-secondary {
  background: #fff;
  color: var(--dark) !important;
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-4px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(720px, 100%);
  margin-inline: auto;
}

.stat {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 18px 12px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(255, 107, 26, 0.15);
  transition: transform 0.3s;
}

.stat:hover {
  transform: translateY(-6px);
}

.stat-label {
  font-size: 1rem;
  color: var(--gray);
  margin-top: 6px;
  font-weight: bold;
}

.scroll-down-arrow {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  z-index: 5;
  animation: bounceDown 2s infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(36px, 6vw, 60px);
}

.section-tag {
  display: inline-block;
  background: rgba(255, 138, 61, 0.15);
  color: var(--primary-dark);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 14px);
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-title,
.section-title-white {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-title {
  color: var(--dark);
}
.section-title-white {
  color: #fff;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-yellow {
  background: linear-gradient(135deg, var(--yellow), #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(28px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--yellow), var(--primary-dark));
  transition: transform 0.4s;
  box-shadow: 0 12px 24px rgba(255, 107, 26, 0.25);
}

.feature-card:nth-child(2) .feature-icon-wrap {
  background: linear-gradient(135deg, var(--secondary), #e63e6d);
  box-shadow: 0 12px 24px rgba(230, 62, 109, 0.25);
}
.feature-card:nth-child(3) .feature-icon-wrap {
  background: linear-gradient(135deg, var(--accent), #2a9d8f);
  box-shadow: 0 12px 24px rgba(77, 196, 184, 0.25);
}
.feature-card:nth-child(4) .feature-icon-wrap {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  box-shadow: 0 12px 24px rgba(167, 139, 250, 0.25);
}
.feature-card:nth-child(5) .feature-icon-wrap {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 12px 24px rgba(96, 165, 250, 0.25);
}
.feature-card:nth-child(6) .feature-icon-wrap {
  background: linear-gradient(135deg, var(--yellow), #f59e0b);
  box-shadow: 0 12px 24px rgba(252, 211, 77, 0.3);
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(-6deg);
}

.feature-card h3 {
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  font-size: clamp(13px, 1.3vw, 14px);
  line-height: 1.8;
}

.about-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, #fff8f0 0%, #ffe8d6 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.about-text .section-title {
  text-align: right;
}

.about-desc {
  font-size: clamp(15px, 1.6vw, 17px);
  color: #444;
  margin: 20px 0 30px;
  line-height: 1.9;
}

.about-list {
  margin-bottom: 30px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  color: var(--dark);
}

.about-list i {
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.about-character {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(255, 138, 61, 0.4) 0%,
    transparent 70%
  );
  animation: glow 4s ease-in-out infinite;
}

.main-book {
  position: relative;
  z-index: 2;
  width: 80%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(255, 107, 26, 0.4);
  animation: floatMain 4s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border: 2px dashed rgba(255, 107, 26, 0.3);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.ring-1 {
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
}
.ring-2 {
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  animation-duration: 50s;
  animation-direction: reverse;
  border-color: rgba(167, 139, 250, 0.3);
}

.orbit-icon {
  position: absolute;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.orbit-1 {
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit1 6s ease-in-out infinite;
  color: var(--secondary);
}
.orbit-2 {
  bottom: -5%;
  left: 10%;
  animation: orbit2 7s ease-in-out infinite;
  color: var(--purple);
}
.orbit-3 {
  top: 30%;
  right: -8%;
  animation: orbit3 5s ease-in-out infinite;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  color: #fff;
}
.orbit-4 {
  bottom: 30%;
  left: -8%;
  animation: orbit4 6.5s ease-in-out infinite;
  color: var(--accent);
}

.contents-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contents-section .section-title {
  color: #fff;
}
.contents-section .section-tag {
  background: rgba(255, 138, 61, 0.2);
  color: #ffb877;
}
.contents-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

.contents-swiper {
  padding: 24px 48px 60px;
  position: relative;
}

.content-slide {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 22px;
  text-align: center;
  transition: all 0.4s;
  height: auto;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-slide:hover {
  background: rgba(255, 138, 61, 0.15);
  border-color: rgba(255, 138, 61, 0.5);
  transform: translateY(-8px);
}

.content-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 26, 0.4);
}

.content-slide h4 {
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.content-slide p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(13px, 1.3vw, 14px);
  line-height: 1.7;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
  background: #fff;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: 800;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  width: 12px !important;
  height: 12px !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 30px !important;
  border-radius: 6px !important;
}

.app-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(135deg, #ff6b1a 0%, #e63e6d 50%, #7c3aed 100%);
  color: #fff;
  position: relative;
}

.app-section::before,
.app-section::after {
  content: "";
  position: absolute;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.app-section::before {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}
.app-section::after {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -150px;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.app-desc {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
  margin: 20px 0 30px;
  color: rgba(255, 255, 255, 0.95);
}

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.app-feature {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: clamp(13px, 1.3vw, 14px);
  min-width: 0;
}

.app-feature i {
  width: 26px;
  height: 26px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.app-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: min(280px, 100%);
  height: 560px;
  background: #1a1a2e;
  border-radius: 50px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  animation: phoneFloat 5s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fff8f0, #fff);
  border-radius: 36px;
  overflow: hidden;
}

.phone-content {
  padding: 28px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 26px;
}

.phone-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.phone-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  gap: 8px;
  margin-bottom: 26px;
  padding: 0 6px;
}

.chart-bar {
  flex: 1;
  min-width: 0;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  animation: barGrow 1s ease-out backwards;
}

.chart-bar:nth-child(1) {
  animation-delay: 0.1s;
}
.chart-bar:nth-child(2) {
  animation-delay: 0.2s;
}
.chart-bar:nth-child(3) {
  animation-delay: 0.3s;
}
.chart-bar:nth-child(4) {
  animation-delay: 0.4s;
}
.chart-bar:nth-child(5) {
  animation-delay: 0.5s;
}

.chart-bar span {
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}

.phone-stats {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 14px;
}

.ps-item {
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 8px;
}
.ps-item:last-child {
  margin-bottom: 0;
}
.ps-item strong {
  color: var(--primary-dark);
}

.books-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--light-bg);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 24px);
}

.book-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.book-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--book-bg);
  z-index: 0;
  opacity: 0.1;
  transition:
    opacity 0.4s,
    height 0.4s;
}

.book-card:hover::before {
  opacity: 0.2;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.book-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--book-bg);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

.book-card img {
  width: 70%;
  margin: 0 auto 18px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.book-card:hover img {
  transform: scale(1.08) rotate(-3deg);
}

.book-card h4 {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.price-wrap {
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.price-wrap.no-book {
  min-height: 50px;
}

.old-price {
  color: var(--gray);
  text-decoration: line-through;
  font-size: 13px;
  display: block;
}

.new-price {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--primary-dark);
}

.currency {
  font-size: 12px;
  color: var(--gray);
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  gap: 8px;
  background: var(--book-bg);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  white-space: nowrap;
}

.buy-btn:hover {
  transform: scale(1.05);
}

.testimonials-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, #ffe8d6 0%, #fff8f0 100%);
}

.testimonials-swiper {
  padding: 24px 10px 60px;
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  height: auto;
}

.quote-icon {
  position: absolute;
  top: 5px;
  left: 20px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.testimonial-card p {
  font-size: clamp(14px, 1.4vw, 15px);
  line-height: 1.9;
  color: #444;
  margin: 20px 0 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px dashed #e5e5e5;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--dark);
  font-size: 14px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--gray);
}

.cta-section {
  padding: clamp(60px, 8vw, 80px) 0;
  background: var(--light-bg);
}

.cta-card {
  background: linear-gradient(135deg, #ff6b1a 0%, #e63e6d 100%);
  border-radius: 28px;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 4vw, 40px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(255, 107, 26, 0.3);
}

.cta-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  bottom: -150px;
  left: -150px;
}

.cta-card h2 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.cta-card p {
  font-size: clamp(14px, 1.5vw, 17px);
  margin-bottom: 32px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--primary-dark) !important;
  padding: 18px 38px;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(15px, 1.7vw, 18px);
  transition: all 0.3s;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  min-height: 52px;
}

.btn-cta-large:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

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

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

@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

@keyframes floatBook {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-20px) rotate(var(--r, 0deg));
  }
}

@keyframes glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes floatMain {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

@keyframes orbit1 {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}
@keyframes orbit2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes orbit3 {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px);
  }
}
@keyframes orbit4 {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-15px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes barGrow {
  from {
    height: 0;
  }
  to {
    height: var(--h);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 1199px) {
  .books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .about-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .about-text,
  .app-text {
    text-align: center;
  }
  .about-text .section-title {
    text-align: center;
  }

  .about-list {
    max-width: 600px;
    margin-inline: auto;
  }
  .about-list li {
    text-align: right;
  }

  .about-visual {
    min-height: 360px;
  }

  .about-character {
    width: min(85%, 360px);
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
  }

  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .float-book {
    opacity: 0.6;
  }
  .book-5 {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  .svg-gradient-text {
    height: 7rem;
  }
  .floating-nav {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
  }

  .nav-inner {
    border-radius: 0 0 20px 20px;
    padding: 10px 14px;
    gap: 10px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
    z-index: 1001;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 10px 6px;
    font-size: 15px;
    text-align: right;
  }

  .nav-cta-mobile-wrap {
    display: block;
  }

  .nav-cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(255, 107, 26, 0.35);
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 32px) 14px 64px;
  }

  .title-line-1 {
    font-size: clamp(34px, 11vw, 56px);
    line-height: 1.25;
  }

  .title-line-2 {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    margin-bottom: 28px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat {
    padding: 14px 10px;
    border-radius: 14px;
  }
  .stat-num {
    font-size: 22px;
  }
  .stat-label {
    font-size: 12px;
  }

  .floating-books {
    opacity: 0.18;
  }
  .book-2,
  .book-4,
  .book-5 {
    display: none;
  }
  .book-1 {
    width: 64px;
    top: 16%;
    right: 2%;
  }
  .book-3 {
    width: 64px;
    top: 14%;
    left: 2%;
  }

  .features-grid,
  .app-features,
  .books-grid {
    grid-template-columns: 1fr;
  }

  .contents-swiper {
    padding: 18px 0 52px;
  }
  .testimonials-swiper {
    padding: 18px 0 52px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .phone-mockup {
    width: min(240px, 86vw);
    height: 470px;
    border-radius: 40px;
  }

  .phone-content {
    padding: 22px 14px;
  }
  .phone-chart {
    height: 160px;
  }

  .orbit-icon {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .cta-card {
    padding: 36px 18px;
  }

  .btn-cta-large {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    font-size: 14px;
  }

  .scroll-down-arrow {
    width: 42px;
    height: 42px;
    bottom: 14px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 11px;
    padding: 8px 12px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card,
  .feature-card,
  .book-card {
    border-radius: 20px;
  }

  .book-card img {
    width: 60%;
  }

  .discount-badge {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .about-visual {
    min-height: 300px;
  }

  .nav-inner {
    padding: 8px 12px;
  }
  .logo-wrap {
    font-size: 15px;
  }
  .logo-emoji {
    font-size: 20px;
  }
}

@media (max-height: 750px) and (max-width: 480px) {
  .floating-books {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 30px);
  }
  .hero-badge {
    margin-bottom: 14px;
  }
  .hero-desc {
    margin-bottom: 18px;
  }

  .hero-badge {
    display: none;
  }
  .btn-primary.see {
    margin-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 375px) {
  .svg-gradient-text {
    height: 5rem;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 10px;
  }
}
