/*
Theme Name: Tapose
Theme URI: https://tapose.pl
Author: Tapose
Author URI: https://tapose.pl
Description: Tapose - Real estate crowdfunding platform landing page theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tapose
Tags: one-page, landing-page, minimalist
*/

/* ============================================================
   IMPORTS & VARIABLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --black:        #0A0A0A;
  --white:        #FFFFFF;
  --gray-bg:      #F4F4F4;
  --gray-border:  #E0E0E0;
  --gray-text:    #555555;
  --font:         'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width:    1280px;
  --nav-height:   72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }
ul, ol { list-style: none; }

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.scrolled {
  border-color: var(--gray-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-logo-square {
  width: 14px;
  height: 14px;
  background: var(--black);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.55; }

.nav-cta {
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================================
   TICKER BAR
   ============================================================ */

.ticker-bar {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 32px;
}

.ticker-sep {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.5;
  padding: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height);
}

.hero-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
	padding-left:0px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 32px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--black);
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-title .italic {
  font-style: italic;
  font-weight: 700;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-text);
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
}

.hero-form {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.hero-input {
  flex: 1;
  height: 52px;
  border: 1px solid var(--black);
  border-right: none;
  padding: 0 18px;
  font-family: var(--font);
  font-size: 14px;
  background: var(--white);
  color: var(--black);
  outline: none;
}

.hero-input::placeholder { color: #AAAAAA; }
.hero-input:focus { border-color: var(--black); }

.hero-submit {
  height: 52px;
  padding: 0 26px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.hero-submit:hover {
  background: #333;
}

.hero-note {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 2px;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 2px;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 40%, #2a2a2a 60%, #0a0a0a 100%);
}

/* ============================================================
   SECTION LABELS
   ============================================================ */

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}

/* ============================================================
   PROCESS SECTION (01)
   ============================================================ */

.process-section {
  padding-block: calc(var(--spacing) * 24);
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 80px;
}

.process-heading {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.process-step {
  padding: 0 32px;
  border-left: 1px solid var(--gray-border);
}

.process-step:first-child { padding-left: 0; border-left: none; }

.step-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-text);
}

/* ============================================================
   FEATURES GRID
   ============================================================ */

.features-section {
  padding: 0 0 0;
}

.features-bg {
  background: var(--gray-bg);
  padding: 60px 40px;
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature-card {
  padding: 40px 44px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  margin: -1px 0 0 -1px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-text);
}

/* ============================================================
   SECURITY SECTION (02) - DARK
   ============================================================ */

.security-section {
  background: var(--black);
  color: var(--white);
  padding: 100px 0;
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.security-section .section-label {
  color: rgba(255,255,255,0.5);
}

.security-heading {
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.security-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.security-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.security-item-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.security-item-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   FAQ SECTION (03)
   ============================================================ */

.faq-section {
  padding: 100px 0;
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-heading {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.faq-list {
  border-top: 1px solid var(--gray-border);
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.faq-question:hover { opacity: 0.7; }

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-text);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding-bottom: 0;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: 100px 40px;
  text-align: center;
  background: var(--white);
}

.cta-heading {
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-text);
  max-width: 420px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--gray-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-logo-square {
  width: 12px;
  height: 12px;
  background: var(--black);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--gray-text);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--black); }

.footer-copy {
  font-size: 12px;
  color: var(--gray-text);
  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-main { grid-template-columns: 1fr 1fr; }
  .process-inner { grid-template-columns: 1fr; gap: 40px; }
  .security-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .container { padding: 0 24px; }

  .nav-links { display: none; }

  .hero-main { grid-template-columns: 1fr; }

  .hero-content {
    padding: 60px 24px 48px;
    max-width: 100%;
  }

  .hero-image-wrap {
    height: 300px;
  }

  .hero-image-placeholder { min-height: 300px; }

  .process-section { padding: 64px 0 0; }

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

  .process-step {
    border-left: none;
    border-top: 1px solid var(--gray-border);
    padding: 24px 0 0;
  }

  .process-step:first-child { border-top: none; padding-top: 0; }

  .features-bg { padding: 48px 24px; }

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

  .feature-card { margin: 0 0 -1px 0; }

  .security-section { padding: 64px 0; }

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

  .faq-section { padding: 64px 0; }

  .cta-section { padding: 64px 24px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }

  .footer-copy { text-align: center; }

  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-form { flex-direction: column; gap: 8px; }
  .hero-input { border: 1px solid var(--black); width: 100%; flex: none; }
  .hero-submit { height: 52px; width: 100%; }
  .nav-inner { padding: 0 24px; }
}

