/* Landing Page Styles - Based on Figma Design */

/* Color Palette from Figma */
:root {
  --landing-red: #88050a;
  --landing-dark-red: #440b0d;
  --landing-button-bg: #050505;
  --landing-light-red: #b38082;
  --landing-lighter-red: #d7a3a5;
  --landing-white: #ffffff;
  --landing-text-gray: #444;
}

/* Reset for landing page */
html, body {
  margin: 0;
  padding: 0;
}

/* Landing Page Container */
.landing-page {
  margin: 0;
  padding: 0;
  background-color: var(--landing-red);
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

/* Header */
.landing-header {
  background-color: var(--landing-red);
  border-bottom: 1px solid var(--landing-light-red);
  padding: 24px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1840px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 25px;
  font-weight: bold;
  color: var(--landing-white);
}

.main-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.main-nav a {
  font-size: 18px;
  color: var(--landing-white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.main-nav a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.cta-button-header {
  background-color: var(--landing-button-bg);
  color: var(--landing-white);
  font-size: 16px;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.cta-button-header:hover {
  background-color: #1a1a1a;
}

.login-link {
  font-size: 18px;
  font-weight: bold;
  color: var(--landing-white);
  text-decoration: none;
  white-space: nowrap;
}

/* Hero Section */
.hero {
  padding: 80px 40px;
  text-align: center;
}

.hero-content {
  max-width: 1013px;
  margin: 0 auto;
  background-color: var(--landing-white);
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* border: 2px solid var(--landing-dark-red); */
}

.hero-title {
  margin-bottom: 48px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  line-height: 1.2;
  color: var(--landing-text-gray);
  transform: scaleY(1.4);
  transform-origin: center;
  display: inline-block;
}

.hero-description {
  font-size: 20px;
  line-height: 1.2;
  color: var(--landing-text-gray);
  margin-bottom: 48px;
  max-width: 593px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: var(--landing-button-bg);
  color: var(--landing-white);
  font-size: 20px;
  font-weight: bold;
  padding: 28px 38px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #1a1a1a;
}

/* Video Placeholder */
.video-placeholder {
  width: 100%;
  max-width: 650px;
  height: 390px;
  margin: 60px auto 40px;
  background-color: #f2f2f2;
  border: 3px solid #000000;
  border-radius: 4px;
}

/* Feature Tabs */
.feature-tabs-container {
  text-align: center;
}

.feature-tabs {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 10px;
  border: 1px solid #b6b6b6;
  border-radius: 0;
}

.tab {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: normal;
  background-color: var(--landing-white);
  color: var(--landing-text-gray);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab:hover {
  background-color: #f5f5f5;
}

.tab-active {
  background-color: #000000;
  color: var(--landing-white);
}

.tab-active:hover {
  background-color: #000000;
}

/* Sections - unified white paper sheets (A4 proportions) */
section {
  padding: 80px 60px;
  background-color: var(--landing-white);
  margin: 0 auto;
  max-width: 1013px;
  min-height: 1432px; /* A4 proportion: 1013 * 1.414 */
  border: 2px solid var(--landing-dark-red);
  margin-bottom: 20px;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: bold;
  color: var(--landing-dark-red);
}

/* Features Section */
.features-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  font-weight: normal;
  color: var(--landing-text-gray);
  margin-bottom: 60px;
  transform: scaleY(1.4);
  transform-origin: left center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  padding: 32px 0;
  border-bottom: 1px solid #e0e0e0;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.feature-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--landing-text-gray);
  margin-bottom: 12px;
}

.feature-coming-soon .feature-name {
  color: #b0b0b0;
  margin-bottom: 0;
}

.feature-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--landing-text-gray);
  margin: 0;
}

.feature-coming-soon .feature-description {
  color: #b0b0b0;
}

.coming-soon-badge {
  background-color: #000000;
  color: var(--landing-white);
  font-size: 12px;
  font-weight: normal;
  padding: 4px 12px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 16px;
}

/* For Whom Section */
#for-whom {
  display: flex;
  flex-direction: column;
}

.for-whom-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  font-weight: normal;
  color: var(--landing-text-gray);
  margin-bottom: 40px;
  transform: scaleY(1.4);
  transform-origin: left center;
  flex-shrink: 0;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px 60px;
  flex: 1;
  align-content: space-evenly;
}

.for-whom-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.for-whom-card-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--landing-text-gray);
  margin-bottom: 16px;
}

.for-whom-card-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--landing-text-gray);
  margin: 0;
}

/* About and Contacts Section (combined) */
.about-contacts {
  position: relative;
  transform-origin: top center;
  transition: transform 0.3s ease;
}

/* Responsive scaling for different desktop sizes */
@media (max-width: 1200px) {
  .about-contacts {
    transform: scale(0.95);
  }
}

@media (max-width: 1100px) {
  .about-contacts {
    transform: scale(0.85);
  }
}

@media (max-width: 900px) {
  .about-contacts {
    transform: scale(0.75);
  }
}

/* Handwritten notes - pixel-perfect positioning from Figma */
/* Base coordinates: Rectangle 185 at x=454, y=4150 */

/* Container for handwritten note with overflow */
.handwritten-note-container {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

/* Image positioning inside container */
.handwritten-note-img {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

/* About section notes (top) - Group 13-315 */
.note-about-1 {
  position: absolute;
  /* Figma: x=1139.75, y=4129 → Relative to section x=454, y=4150 */
  left: 685.75px;
  top: 50px;
  width: 377.33px;
  height: 69.77px;
  transform: rotate(26.984deg);
  z-index: 10;
}

.note-about-1 .handwritten-note-img {
  /* From Figma: h-[1019.28%] left-[-19.88%] top-[-241.64%] w-[137.49%] */
  height: 1019.28%;
  left: -19.88%;
  top: -241.64%;
  width: 137.49%;
}

.note-about-2 {
  position: absolute;
  /* Figma: x=1109.77, y=4192.43 */
  left: 655.77px;
  top: 102.43px;
  width: 387.91px;
  height: 40.03px;
  transform: rotate(26.34deg);
  z-index: 10;
}

.note-about-2 .handwritten-note-img {
  /* From Figma: h-[1776.33%] left-[-19.88%] top-[-596.6%] w-[137.49%] */
  height: 1776.33%;
  left: -19.88%;
  top: -596.6%;
  width: 137.49%;
}

.note-about-3 {
  position: absolute;
  /* Figma: x=1107.25, y=4298.88 */
  left: 653.25px;
  top: 108.88px;
  width: 101.43px;
  height: 54.30px;
  transform: rotate(-9.572deg);
  z-index: 10;
}

.note-about-3 .handwritten-note-img {
  /* From Figma: h-[1473.13%] left-[-241.29%] top-[-575.99%] w-[591.56%] */
  height: 1473.13%;
  left: -241.29%;
  top: -575.99%;
  width: 591.56%;
}

/* Contacts section - left notes - Group 13-395 */
.note-contacts-left-1 {
  position: absolute;
  /* Figma: x=569.89, y=4949 */
  left: 115.89px;
  top: 799px;
  width: 132px;
  height: 37px;
  z-index: 10;
}

.note-contacts-left-1 .handwritten-note-img {
  /* From Figma: h-[386.49%] left-[-17.6%] top-[-67.57%] w-[254.9%] */
  height: 386.49%;
  left: -17.6%;
  top: -67.57%;
  width: 254.9%;
}

.note-contacts-left-2 {
  position: absolute;
  /* Figma: x=541, y=4985.65 */
  left: 87px;
  top: 835.65px;
  width: 194.21px;
  height: 79px;
  transform: rotate(-1.892deg);
  z-index: 10;
}

.note-contacts-left-2 .handwritten-note-img {
  /* From Figma: h-[181.01%] left-[-0.12%] top-[-81.01%] w-[173.25%] */
  height: 181.01%;
  left: -0.12%;
  top: -81.01%;
  width: 173.25%;
}

.note-contacts-left-3 {
  position: absolute;
  /* Figma: x=596.89, y=5015.88 */
  left: 142.89px;
  top: 865.88px;
  width: 147.93px;
  height: 79px;
  transform: rotate(-1.892deg);
  z-index: 10;
}

.note-contacts-left-3 .handwritten-note-img {
  /* From Figma: h-[181.01%] left-[-127.29%] top-[-81.01%] w-[227.45%] */
  height: 181.01%;
  left: -127.29%;
  top: -81.01%;
  width: 227.45%;
}

/* Contacts section - right notes */
.note-contacts-right-1 {
  position: absolute;
  /* Figma: x=1082.33, y=5223.39 */
  left: 628.33px;
  top: 1073.39px;
  width: 365.32px;
  height: 140.35px;
  transform: rotate(1.031deg);
  z-index: 10;
}

.note-contacts-right-1 .handwritten-note-img {
  /* From Figma: h-[195.59%] left-[-0.09%] top-[-95.59%] w-[100.19%] */
  height: 195.59%;
  left: -0.09%;
  top: -95.59%;
  width: 100.19%;
}

.note-contacts-right-2 {
  position: absolute;
  /* Figma: x=1102, y=5097.89 */
  left: 648px;
  top: 947.89px;
  width: 365px;
  height: 134px;
  z-index: 10;
}

.note-contacts-right-2 .handwritten-note-img {
  /* From Figma: h-[204.62%] left-[-0.09%] top-0 w-[100.19%] */
  height: 204.62%;
  left: -0.09%;
  top: 0;
  width: 100.19%;
}

.note-contacts-right-3 {
  position: absolute;
  /* Figma: x=781.04, y=5205.70 */
  left: 187.04px;
  top: 880.70px;
  width: 195.16px;
  height: 136.46px;
  transform: rotate(-153.752deg);
  z-index: 10;
}

.note-contacts-right-3 .handwritten-note-img {
  /* From Figma: object-cover (full size) */
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  object-fit: cover;
}

.note-contacts-right-4 {
  position: absolute;
  /* Figma: x=1186.78, y=4997 */
  left: 562.78px;
  top: 820px;
  width: 170px;
  height: 341.81px;
  transform: rotate(58.288deg);
  z-index: 10;
}

.note-contacts-right-4 .handwritten-note-img {
  /* From Figma: h-full left-0 top-0 w-[150.8%] */
  height: 100%;
  left: 0;
  top: 0;
  width: 150.8%;
}

.about-part {
  margin-bottom: 60px;
}

.about-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  font-weight: normal;
  color: var(--landing-text-gray);
  margin-bottom: 40px;
  transform: scaleY(1.4);
  transform-origin: left center;
}

.about-left {
  margin-bottom: 40px;
}

.about-goal-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--landing-text-gray);
  margin: 0;
  max-width: 400px;
}

.about-right {
  padding-left: 0;
}

.about-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--landing-text-gray);
  margin: 0;
  max-width: 500px;
  margin-left: auto;
}

.section-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 60px 0;
}

.contacts-part {
  text-align: center;
}

.contacts-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  font-weight: normal;
  color: var(--landing-text-gray);
  margin-bottom: 60px;
  transform: scaleY(1.4);
  transform-origin: center;
}

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

.contact-item {
  text-align: center;
  margin-bottom: 24px; /* Стандартный отступ для всех */
}

.contact-item:last-child {
  margin-bottom: 0; /* Убираем отступ у последнего элемента */
}

/* Отступ между Телеграм и Тг-канал */
.contact-item.contact-item-telegram {
  margin-bottom: 160px !important;  /* ← ЗДЕСЬ меняй отступ после Телеграм */
}

.contact-label {
  font-size: 18px;
  color: var(--landing-text-gray);
  margin: 0;
}

/* Footer */
.landing-footer {
  background-color: var(--landing-red);
  padding: 60px 40px;
  text-align: center;
}

.footer-content p {
  color: var(--landing-white);
  font-size: 14px;
  margin-bottom: 24px;
}

.cta-button-footer {
  background-color: var(--landing-white);
  color: var(--landing-dark-red);
  font-size: 18px;
  font-weight: bold;
  padding: 16px 48px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cta-button-footer:hover {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav {
    flex-direction: column;
    gap: 16px;
  }

  .for-whom-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 24px;
    margin-bottom: 40px;
  }

  .hero {
    padding: 60px 24px 100px;
  }

  .section-header h2 {
    font-size: 36px;
  }
}

