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

html {
  scroll-behavior: smooth;
}

/* Offset for fixed navbar when scrolling to anchors */
section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #000;
  background: #fff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #111;
  padding: 15px 20px;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.burger {
  display: block;
  position: relative;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: #fff;
  left: 0;
  transition: 0.25s ease-in-out;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2),
.burger span:nth-child(3) { top: 8px; }
.burger span:nth-child(4) { top: 16px; }

.burger.open span:nth-child(1) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.burger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.burger.open span:nth-child(4) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: #000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-list a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: #ffda40;
}

.lang-switch {
  padding: 5px 10px;
}

.lang-switch:hover {
  color: #ffda40 !important;
}

/* Hero Section */
.hero {
  height: 700px;
  background-color: #FFDA40;
  background-image: url('/images/hero-bg.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  z-index: 1;
}

.hero-title {
  font-size: 82px;
  font-weight: 600;
  color: #000;
  margin-bottom: 0;
  line-height: 1.17;
}

.hero-subtitle {
  font-size: 42px;
  font-weight: 400;
  color: #000;
  margin-top: 15px;
  line-height: 30px;
}

.hero-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero-arrow svg {
  width: 38px;
  height: 19px;
  fill: #fff;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Base */
section {
  padding: 75px 0;
}

.section-title {
  font-size: 42px;
  line-height: 1.23;
  font-weight: 600;
  margin-bottom: 40px;
}

.section-title-lg {
  font-size: 42px;
}

/* Intro Section */
.intro {
  display: flex;
  gap: 100px;
  align-items: flex-start;
  padding: 75px 0;
}

.intro-image {
  flex-shrink: 0;
  width: 260px;
  margin: 0 20px;
}

.intro-image img {
  width: 100%;
  border-radius: 0;
}

.intro-text {
  flex: 1;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  max-width: 660px;
  padding-left: 0;
  margin: 0 20px;
}

/* Book Section */
.book-section {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.book-content {
  flex: 1;
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50%;
}

.book-title {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}

.book-subtitle {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 25px;
  color: #000;
}

.book-line {
  width: 60px;
  height: 4px;
  background: #ffda40;
  margin-bottom: 25px;
}

.book-descr {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.book-image {
  flex: 0 0 560px;
  height: 560px;
  max-width: 560px;
  background-color: #ffda40;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.book-image-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Buttons Section */
.buttons-section {
  padding: 40px 0 80px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 18px 65px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid #ffda40;
  background: #ffda40;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 1px;
  min-width: 180px;
}

.btn:hover {
  background: #fff;
}

/* For Whom Section */
.for-whom-list {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 50px;
}

.for-whom-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-left: 80px;
}

.for-whom-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.for-whom-icon svg {
  width: 30px;
  height: 30px;
  fill: #ffda40;
}

.for-whom-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.for-whom-content p {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

/* Beliefs Section */
.beliefs-section {
  background: #ffda40;
}

.beliefs-list {
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 50px;
}

.belief-item {
  display: flex;
  gap: 20px;
  margin-bottom: 55px;
  padding-left: 80px;
  max-width: 1060px;
}

.belief-item:last-child {
  margin-bottom: 0;
}

.belief-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.belief-text {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  max-width: 871px;
}

/* New Norm Section (between beliefs and community) */
.new-norm-section {
  padding-top: 105px;
  padding-bottom: 45px;
}

.new-norm-line {
  width: 140px;
  height: 1px;
  background-color: #000;
  margin: 0 auto;
}

.new-norm-text {
  max-width: 960px;
  margin: 30px auto;
  text-align: center;
  font-size: 24px;
  line-height: 38px;
  font-weight: 400;
  padding-left: 20px;
  padding-right: 20px;
}

.new-norm-text p {
  margin: 0;
}

/* Community Section */
.community-section {
  text-align: center;
  padding-top: 75px;
  padding-bottom: 45px;
}

.community-section .section-title {
  font-size: 42px;
  line-height: 51.66px;
  margin-bottom: 40px;
}

.community-subtitle {
  font-size: 22px;
  line-height: 33px;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
}

/* Feedback Section */
.feedback-section {
  text-align: center;
  padding: 0 0 75px;
}

.feedback-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 40px;
}

.feedback-content {
  line-height: 30px;
}

.feedback-email-link {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #ffda40;
  font-size: 22px;
}

.feedback-hint {
  font-size: 18px;
  font-weight: 400;
  margin-top: 20px;
  color: #000;
}

/* Telegram Section */
.telegram-section {
  background-color: #fff;
  padding: 75px 0;
}

.telegram-title {
  font-size: 18px;
  line-height: 32px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 30px;
}

.telegram-link {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #fff;
}

.telegram-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.telegram-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
}

.telegram-check {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: #ffda40;
}

/* Donate Section */
.donate-section {
  text-align: center;
  background: #fff;
  color: #000;
  padding: 75px 0;
}

.donate-card {
  background: #fff;
  border: 2px solid #ffda40;
  border-radius: 10px;
  padding: 60px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.donate-title {
  font-size: 25px;
  font-weight: 600;
  line-height: 30.75px;
  margin-bottom: 20px;
}

.donate-text {
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  margin: 0 0 30px;
  max-width: 706px;
}

.donate-link {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #ffda40;
}

.paypal-form {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.paypal-input {
  padding: 0 20px;
  font-size: 16px;
  border: 1px solid #ffda40;
  border-radius: 30px;
  width: 190px;
  height: 45px;
  background: transparent;
  color: #000;
}

.paypal-input::placeholder {
  color: #666;
}

.paypal-btn {
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  background: transparent;
  color: #000;
  border: 2px solid #ffda40;
  border-radius: 30px;
  height: 45px;
  cursor: pointer;
  margin-left: 10px;
}

/* Subscribe Section */
.subscribe-section {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 50px 0;
}

.subscribe-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-input {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  width: 300px;
  max-width: 100%;
}

.subscribe-btn {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  background: #ffda40;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscribe-btn:hover {
  background: #fff;
}

/* Footer */
.footer {
  background: #ffda40;
  color: #000;
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 22px;
  font-weight: 400;
  color: #000;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: #000;
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-book h4,
.footer-subscribe h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #000;
}

.footer-book ul,
.footer-links ul {
  list-style: none;
}

.footer-book li,
.footer-links li {
  margin-bottom: 8px;
}

.footer-book a,
.footer-links a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-book a:hover,
.footer-links a:hover {
  opacity: 0.7;
}

.footer-subscribe-form {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}

.footer-subscribe-input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 14px;
  background: #fff;
}

.footer-subscribe-btn {
  padding: 12px 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-subscribe-btn svg {
  fill: #ffda40;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 0;
  text-align: left;
}

.footer-copyright {
  font-size: 14px;
  color: #000;
  margin: 0;
}

/* Links Section */
.links-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 0 75px;
}

.links-section a {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  border: 2px solid #ffda40;
  background-color: #fff;
  padding: 0 60px;
  height: 60px;
  line-height: 56px;
  border-radius: 30px;
  transition: all 0.2s;
}

.links-section a:hover {
  background-color: #ffda40;
  color: #000;
}

/* Yellow Separator */
.yellow-separator {
  width: 960px;
  max-width: 100%;
  height: 1px;
  background-color: #ffda40;
  border: none;
  margin: 8px auto;
}

/* Feedback Section */
.feedback-section {
  text-align: center;
  background: #f5f5f5;
}

.feedback-email {
  margin-top: 20px;
}

.feedback-email a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

.feedback-hint {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
}

/* About Author Page */
.about-hero {
  background: #ffda40;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  padding: 80px 20px 60px;
  text-align: center;
}

.about-hero-title {
  font-size: 120px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.about-hero-subtitle {
  font-size: 48px;
  font-weight: 400;
  color: #000;
  font-style: italic;
  margin-bottom: 20px;
}

.about-hero-heart {
  margin-top: 20px;
}

.about-content {
  padding: 75px 20px 15px;
  box-sizing: content-box;
}

.about-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex-shrink: 0;
  width: 360px;
  height: 560px;
}

.about-image img {
  width: 360px;
  height: 560px;
  object-fit: contain;
}

.about-text {
  max-width: 760px;
}

.about-text h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #ffda40;
  margin-top: 16px;
  margin-bottom: 20px;
}

.about-text .intro-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.contact-section {
  background: #ebebeb;
  padding: 120px 20px;
  text-align: center;
}

.contact-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-line {
  margin-bottom: 15px;
}

.contact-line a {
  color: #000;
  font-weight: 500;
}

.contact-line span {
  margin: 0 10px;
  color: #999;
}

.page-header {
  padding: 120px 0 60px;
  text-align: center;
}

.page-title {
  font-size: 48px;
  font-weight: 600;
}

.author-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-weight: 400;
}

.contact-info {
  background: #f5f5f5;
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info a {
  color: #000;
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  color: #000;
  font-weight: 500;
}

/* Team Page */
.team-hero {
  background: #ffda40;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.team-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-hero-title {
  font-size: 220px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 30px;
  letter-spacing: -5px;
}

.team-hero-heart {
  margin-top: 30px;
}

.team-hero-heart svg {
  width: 80px;
  height: 80px;
}

.team-section {
  padding: 60px 0;
}

.team-section h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 60px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}

.team-section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: -20px auto 40px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.team-member {
  padding: 20px;
  text-align: center;
}

.team-member-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
  margin: 0 auto 20px;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.team-member p {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  color: #444;
}

/* Responsive */
@media (max-width: 980px) {
  .mobile-header {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    overflow-y: auto;
  }

  .nav.open {
    display: block;
  }

  .nav-container {
    flex-direction: column;
    padding: 0;
  }

  .nav-logo {
    display: none;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
  }

  .hero {
    height: 400px;
    min-height: auto;
    padding: 60px 20px;
    background-size: cover;
  }

  .hero-title {
    font-size: 30px;
    line-height: 1.17;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 20px;
    margin-top: 10px;
  }

  .intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 75px 20px;
  }

  .intro-image {
    width: 220px;
    margin: 0 auto 20px;
  }

  .intro-text {
    padding-left: 0;
    max-width: 100%;
    margin: 0;
  }

  .book-section {
    flex-direction: column;
  }

  .book-content {
    padding: 40px 20px;
    max-width: 100%;
    text-align: center;
  }

  .book-image {
    min-height: 350px;
    max-width: 100%;
    background-position: center;
  }

  .for-whom-item,
  .belief-item {
    padding-left: 0;
  }

  .new-norm-text {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    line-height: 28px;
  }

  .new-norm-section {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    text-align: center;
  }

  .section-title-lg {
    font-size: 28px;
  }

  .buttons-section {
    padding: 30px 20px;
  }

  .intro {
    padding: 60px 20px;
  }

  .intro-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .team-hero {
    min-height: 400px;
    padding-top: 60px;
  }

  .team-hero-title {
    font-size: 80px;
  }

  .team-hero-heart svg {
    width: 50px;
    height: 50px;
  }

  .team-section h2 {
    font-size: 28px;
  }

  .team-member-avatar {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
    line-height: 1.17;
    letter-spacing: 0.5px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .book-title {
    font-size: 24px;
  }

  .for-whom-content h3 {
    font-size: 18px;
  }

  .for-whom-content p,
  .belief-text {
    font-size: 16px;
  }

  .subscribe-input {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-subscribe-form {
    flex-direction: column;
  }

  .links-section {
    flex-direction: column;
    gap: 20px;
  }

  .about-hero-title {
    font-size: 60px;
  }

  .about-hero-subtitle {
    font-size: 28px;
  }

  .about-grid {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .team-hero-title {
    font-size: 50px;
  }

  .team-section h2 {
    font-size: 24px;
  }

  .team-member-avatar {
    width: 150px;
    height: 150px;
  }

  .team-member h3 {
    font-size: 16px;
  }

  .team-grid,
  .team-grid.three-col {
    grid-template-columns: 1fr;
  }
}
