/* Custom Font */
@font-face {
  font-family: "CustomFont";
  src: url("../fonts/LT_55850.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* PP Neue Montreal Font from website3 */
@font-face {
  src: url("https://fonts.cdnfonts.com/css/pp-neue-montreal") format("woff2");
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: 400;
}

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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

/* Grid stripes background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, transparent 0%, transparent calc(50% - 1px), rgba(0, 0, 0, 0.05) calc(50% - 1px), rgba(0, 0, 0, 0.05) calc(50% + 1px), transparent calc(50% + 1px), transparent 100%);
  background-size: 8.33% 100%;
  pointer-events: none;
  z-index: 1;
}


/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  mix-blend-mode: difference;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-brand {
  font-family: "CustomFont", serif;
  font-size: 3rem;
  letter-spacing: 0.1em;
  color: #000;
}

.nav-link {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  padding: 0.5rem 1rem;
  border: 1px solid #000;
}

.nav-link:hover {
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.1);
}

/* Main */
.main {
  margin-top: 6rem;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-family: "CustomFont", serif;
  font-size: 180px;
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 0.9;
  margin-top: 8rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.hero-description {
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: "CustomFont", serif;
  font-size: 60px;
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #000;
  margin: 2rem 0 1rem 0;
  text-transform: uppercase;
}

.hero-subtext {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
  color: #999;
  margin: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Templates Section */
.templates-section {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 8rem;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6rem;
  grid-auto-flow: dense;
}

.template-item {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.template-item:nth-child(1) {
  animation-delay: 0.2s;
}

.template-item:nth-child(2) {
  animation-delay: 0.4s;
}

.template-item:nth-child(3) {
  animation-delay: 0.6s;
}


/* Audience Section */
.audience-section {
  padding: 6rem 2rem 12rem;
}

.audience-container {
  max-width: 1200px;
  margin: 0 auto;
}

.audience-intro {
  margin-bottom: 8rem;
  max-width: 800px;
}

.audience-main-title {
  font-size: 300px;
  font-weight: normal;
  line-height: 0.9;
  margin-bottom: 3rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: normal;
  font-family: "CustomFont", sans-serif;
}

.audience-intro-text {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
}

.audience-link {
  font-size: 24px;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  color: #000;
  display: inline-block;
}

.audience-link:hover {
  color: #666;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-bottom: 8rem;
}

.audience-item {
  grid-column: span 4;
  padding: 3rem 2rem;
  border: 1px solid #000;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  background: #fff;
}

.audience-item-premium {
  background: #000;
  color: #fff;
}

.audience-content {
  flex-grow: 1;
}

.profession-type {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 0.5rem;
  color: inherit;
}

.profession-name {
  font-size: 64px;
  font-weight: normal;
  margin-bottom: 2rem;
  line-height: 0.9;
  letter-spacing: normal;
  color: inherit;
  font-family: "CustomFont", sans-serif;
}

.profession-name-premium {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.profession-features {
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}

.profession-features li {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  color: inherit;
  text-transform: none;
  font-weight: 500;
}

.profession-features li::before {
  content: "– ";
}

.audience-item-premium .profession-features li {
  color: #fff;
}

/* CTA Section */
.audience-cta {
  position: relative;
  margin-left: -2rem;
  margin-right: -2rem;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4rem 8rem;
  background: #f8f8f8;
}

.cta-section-title {
  position: absolute;
  top: 4rem;
  left: 4rem;
  z-index: 3;
  font-size: 120px;
  font-weight: normal;
  line-height: 0.9;
  margin: 0;
  color: #000;
  text-transform: uppercase;
  letter-spacing: normal;
  font-family: "CustomFont", sans-serif;
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #000;
}

.cta-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 2.5rem;
  font-family: "PP Neue Montreal", sans-serif;
}

.cta-description {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 3rem;
  font-weight: 600;
  max-width: 650px;
}

.cta-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-link {
  font-size: 28px;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  color: #000;
  transition: opacity 0.3s ease;
}

.cta-link:hover {
  opacity: 0.7;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 4rem 2rem 2rem;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

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

.footer-title {
  font-family: "CustomFont", serif;
  font-size: 3.5rem;
  font-weight: normal;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #fff;
}

.footer-subtitle {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.footer-heading {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-bottom p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.template-item:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.1);
}

.template-item--inverted {
  background: #000;
  color: #fff;
}

.template-item--inverted:hover {
  background: rgba(0, 0, 0, 0.9);
}

.template-item--inverted .template-number {
  color: #fff;
}

.template-item--inverted .template-title {
  color: #fff;
}

.template-item--inverted .template-price {
  color: #fff;
}

.template-item--inverted .template-description p {
  color: #ccc;
}

.template-item--inverted .price-reason {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border-left: 3px solid #fff;
}

.template-item--inverted .price-reason strong {
  color: #fff;
}

.template-item--inverted .btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.template-item--inverted .btn-primary:hover {
  background: #ccc;
  border-color: #ccc;
}

.template-item--inverted .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.template-item--inverted .btn-secondary:hover {
  background: #fff;
  color: #000;
}

.template-content {
  display: flex;
  height: 100%;
  min-height: 500px;
}

.template-image {
  flex: 1;
  overflow: hidden;
  position: relative;
  margin: 1rem;
}

.template-image a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 8px;
}

.template-image a:hover img {
  transform: scale(1.05);
}

.template-item:hover .template-image img {
  transform: scale(1.05);
}

.template-info {
  flex: 1;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.template-number {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 1.2rem;
  opacity: 0.7;
  color: #000;
}

.template-title {
  font-family: "CustomFont", serif;
  font-size: 6rem;
  font-weight: normal;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #000;
}

.template-price {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.5rem;
}

.template-description {
  margin-bottom: 1.5rem;
}

.template-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0.5rem;
}

.price-reason {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  border-left: 3px solid #000;
}

.price-reason strong {
  color: #000;
  font-weight: 600;
}

.template-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  border-radius: 8px;
  text-align: center;
  flex: 1;
  font-family: "PP Neue Montreal", sans-serif;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background: #ffffff;
  color: #000;
  border: 2px solid #000;
}

.btn-primary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Grid Layouts */
.template-item--large {
  grid-column: span 12;
  grid-row: span 1;
}

.template-item--medium {
  grid-column: span 12;
  grid-row: span 1;
}

.template-item--large .template-image {
  height: 300px;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .hero-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 72px;
    margin-bottom: 2rem;
    letter-spacing: 0px;
  }

  .hero-description p {
    font-size: 16px;
    line-height: 1.6;
  }

  .templates-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .template-item--large,
  .template-item--medium {
    grid-column: span 4;
    grid-row: span 1;
  }

  .template-image {
    height: 250px;
  }

  .template-title {
    font-size: 1.8rem;
  }

  .template-price {
    font-size: 2rem;
  }

  .template-info {
    padding: 1rem;
  }

  /* Адаптивность для секции аудитории */
  .audience-section {
    padding: 3rem 1rem 6rem;
  }

  .audience-main-title {
    font-size: 120px;
    margin-bottom: 2rem;
  }

  .audience-intro-text {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }

  .audience-link {
    font-size: 18px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
  }

  .audience-item {
    grid-column: span 1;
    padding: 2rem 1.5rem;
  }

  .profession-image {
    margin-bottom: 1rem;
  }

  .profession-image img {
    height: 150px !important;
  }

  .profession-type {
    font-size: 14px;
    margin-bottom: 0.5rem;
  }

  .profession-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .profession-features {
    font-size: 14px;
  }

  .profession-features li {
    margin-bottom: 0.5rem;
  }

  /* Адаптивность для навигации */
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  /* Адаптивность для контента шаблонов */
  .template-content {
    flex-direction: column;
  }

  /* Адаптивность для кнопок шаблонов */
  .template-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}