/* ===== RESET & BASE ===== */
:root {
  --blue: #5B6ABF;
  --blue-hover: #4A59AE;
  --blue-light: #E8EAFE;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: 54px;
  font-weight: 700;
}

h2 {
  font-size: 40px;
  font-weight: 600;
}

h3 {
  font-size: 28px;
  font-weight: 600;
}

.subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 500;
  color: #999;
  font-size: 24px;
}

.mono {
  font-family: 'Fragment Mono', monospace;
}

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

.content {
  max-width: 960px;
  margin: 0 auto;
}

.section {
  padding: 80px 20px;
}

.section--gray {
  background: #f5f5f5;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.header__logo-img {
  height: 48px;
  width: auto;
}

.header__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.header__logo-text span {
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.header__nav a:hover {
  opacity: 0.6;
}

.header__nav-outline {
  border: 1.5px solid var(--blue);
  color: var(--blue) !important;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
}

.header__cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
  border: 1.5px solid var(--blue);
}

.header__cta:hover {
  background: var(--blue-hover) !important;
  opacity: 1 !important;
}

.header__hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 40px 20px 0;
  text-align: center;
}

.hero__content {
  max-width: 960px;
  margin: 0 auto;
}

.hero__text {
  text-align: center;
  margin-bottom: 40px;
}

.hero__text h1 {
  margin-bottom: 12px;
}

.hero__text .subtitle {
  font-size: 24px;
}

.hero__image {
  width: 100%;
  aspect-ratio: 1.6;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== HOME SECTIONS (alternating 2-col cards) ===== */
.home-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  gap: 24px;
  align-items: center;
}

.home-section--reverse {
  flex-direction: row-reverse;
}

.home-section__text {
  flex: 1;
  padding: 20px;
}

.home-section__text h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.home-section__text .subtitle {
  font-size: 18px;
  display: block;
  margin-bottom: 20px;
}

.home-section__image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
}

.home-section__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ===== BODY TEXT ===== */
.body-text {
  font-size: 16px;
  color: #888;
  line-height: 1.8;
  margin: 0 0 16px;
}

.body-text:first-of-type {
  margin-top: 16px;
}

.body-text + .btn {
  margin-top: 12px;
}

/* ===== CTA BUTTON ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
  border: none;
}

.btn:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 20px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 20px 16px;
}

.product-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.product-card__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-card__link {
  display: inline-block;
  padding: 10px 24px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}

.product-card__link:hover {
  background: var(--blue-hover);
  color: #fff;
}

/* ===== PRICING ===== */
.pricing {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

.pricing__info {
  flex: 1;
}

.pricing__price {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 16px 0;
}

.pricing__label {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
}

.pricing__features {
  list-style: none;
  margin: 24px 0;
}

.pricing__features li {
  padding: 8px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing__features li::before {
  content: '✓';
  font-weight: 700;
  color: var(--blue);
}

.pricing__image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
}

.pricing__image img {
  width: 100%;
  height: auto;
}

/* ===== FEATURES ===== */
.features {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  text-align: center;
}

.feature h3 {
  margin-bottom: 12px;
}

.feature p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: #f5f5f5;
  border-radius: 20px;
}

.step__emoji {
  font-size: 28px;
  flex-shrink: 0;
}

.step__content h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.step__content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ===== KOLSYRU STEPS (alternating two-col) ===== */
.kolsyru-hero {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.kolsyru-hero img {
  width: 100%;
  height: auto;
}

.step-row {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0;
}

.step-row--reverse {
  flex-direction: row-reverse;
}

.step-row__text {
  flex: 1;
}

.step-row__text h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-row__text p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.step-row__image {
  flex: 1;
  max-width: 320px;
  border-radius: 20px;
  overflow: hidden;
}

.step-row__image img {
  width: 100%;
  height: auto;
}

/* ===== FAQ ===== */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: 12px;
}

.faq__question {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.2s;
}

.faq__question:hover {
  background: var(--blue-hover);
}

.faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq__item.active .faq__question::after {
  content: '−';
}

.faq__item.active .faq__question {
  border-radius: 14px 14px 0 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--blue-light);
  border-radius: 0 0 14px 14px;
}

.faq__item.active .faq__answer {
  max-height: 600px;
}

.faq__answer p {
  padding: 20px 28px;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.faq__answer p + p {
  padding-top: 0;
}

/* ===== ABOUT ===== */
.about__content {
  max-width: 960px;
  margin: 0 auto;
}

.about__founders {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #444;
  font-size: 15px;
  margin-bottom: 32px;
}

.about__image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

.about__image img {
  width: 100%;
  height: auto;
}

.about__text p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}

/* ===== TERMS ===== */
.terms {
  max-width: 960px;
  margin: 0 auto;
}

.terms h2 {
  margin: 48px 0 16px;
  font-size: 28px;
}

.terms h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 32px 0 8px;
}

.terms p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #f9f9f9;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  transition: background 0.2s;
}

.contact-form button[type="submit"]:hover {
  background: var(--blue-hover);
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
  padding: 40px 20px 32px;
  border-top: 1px solid #eee;
}

.footer__inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer__logo {
  text-decoration: none;
  color: #000;
}

.footer__logo-img {
  height: 34px;
  width: auto;
}

.footer__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1;
}

.footer__logo-text span {
  display: block;
}

.footer__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer__links a {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 0.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.footer__email-action {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__email-pill {
  display: inline-block;
  background: #f0f0f0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.footer__copy-msg {
  font-size: 12px;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
}

.footer__copy-msg.show {
  opacity: 1;
}

/* ===== SCROLL ANIMATION ===== */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.hidden {
  opacity: 0;
  transform: translateY(30px);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 60px 20px 40px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header .subtitle {
  font-size: 22px;
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.two-col > * {
  flex: 1;
}

.two-col__image {
  border-radius: 20px;
  overflow: hidden;
}

.two-col__image img {
  width: 100%;
  height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  h1 { font-size: 43px; }
  h2 { font-size: 32px; }
  .hero__text .subtitle { font-size: 20px; }
}

@media (max-width: 809px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  .hero__text .subtitle { font-size: 18px; }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: block;
  }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #eee;
    gap: 16px;
  }

  .home-section,
  .home-section--reverse {
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing {
    flex-direction: column;
  }

  .two-col {
    flex-direction: column;
  }

  .step-row,
  .step-row--reverse {
    flex-direction: column;
  }

  .step-row__image {
    max-width: 100%;
  }

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

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .section {
    padding: 60px 20px;
  }
}
