/* EstateX - Premium Fintech Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --navy: #0a1628;
  --navy-light: #0f1f38;
  --card-bg: #1a3a5c;
  --card-bg-alt: #132d4a;
  --gold: #c9a84c;
  --gold-hover: #d4b85e;
  --gold-dark: #b8963f;
  --white: #ffffff;
  --white-80: rgba(255,255,255,.8);
  --white-60: rgba(255,255,255,.6);
  --white-40: rgba(255,255,255,.4);
  --white-10: rgba(255,255,255,.1);
  --white-05: rgba(255,255,255,.05);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max-w: 1200px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── EU Banner ── */
.eu-banner {
  background: linear-gradient(90deg, #1a3a5c, #0f2744);
  border-bottom: 1px solid var(--white-10);
  padding: 12px 20px;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--white-80);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 1001;
}
.eu-banner .eu-icon { flex-shrink: 0; font-size: 1.1rem; margin-top: 1px; }
.eu-banner p { flex: 1; }
.eu-banner .eu-close {
  background: none; border: 1px solid var(--white-40); color: var(--white-80);
  border-radius: 4px; cursor: pointer; font-size: .75rem; padding: 4px 10px;
  flex-shrink: 0; transition: all var(--transition); white-space: nowrap;
}
.eu-banner .eu-close:hover { background: var(--white-10); border-color: var(--white-60); }
.eu-banner.hidden { display: none; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-10);
  padding: 0 24px;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: none; color: var(--white);
  font-size: 1.5rem; cursor: pointer; padding: 4px;
}
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: var(--white-80); font-size: .875rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white); background: var(--white-05);
}
.header-ctas { display: flex; gap: 10px; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem; cursor: pointer;
  border: none; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
}
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid var(--white-40);
}
.btn-secondary:hover { border-color: var(--white); background: var(--white-05); color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--navy-light); }
.section-card { background: var(--card-bg); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-header h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -.02em; line-height: 1.2; }
.section-header p { font-size: 1.1rem; color: var(--white-60); line-height: 1.7; }
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gold); margin-bottom: 16px;
}

/* ── Hero ── */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 3.2rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em; margin-bottom: 24px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero h1 .highlight { color: var(--gold); }
.hero .subtitle {
  font-size: 1.15rem; color: var(--white-60); max-width: 640px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero .prompt {
  font-size: .9rem; color: var(--white-40); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 600; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-image {
  margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden;
  max-height: 420px; position: relative;
}
.hero-image img { width: 100%; height: 420px; object-fit: cover; }
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy) 0%, transparent 40%);
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.card .card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(201,168,76,.12); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 20px;
}
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--white-60); font-size: .92rem; line-height: 1.65; margin-bottom: 20px; }
.card .btn { margin-top: auto; }

/* ── Property Cards ── */
.property-card {
  background: var(--card-bg);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.property-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.property-card .property-img {
  height: 220px; overflow: hidden; position: relative;
}
.property-card .property-img img { width: 100%; height: 100%; object-fit: cover; }
.property-card .property-img .badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,22,40,.85); backdrop-filter: blur(8px);
  padding: 4px 12px; border-radius: 20px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--gold);
}
.property-card .property-body { padding: 24px; }
.property-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.property-card .property-meta { color: var(--white-60); font-size: .85rem; margin-bottom: 16px; }
.property-card .property-stats {
  display: flex; gap: 20px; padding-top: 16px;
  border-top: 1px solid var(--white-10);
}
.property-card .stat { }
.property-card .stat-label { font-size: .72rem; color: var(--white-40); text-transform: uppercase; letter-spacing: .06em; }
.property-card .stat-value { font-size: 1rem; font-weight: 700; color: var(--gold); }

/* ── Steps ── */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--white-10);
}
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(201,168,76,.1); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: var(--gold);
  flex-shrink: 0;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--white-60); font-size: .92rem; }

/* ── Feature List ── */
.feature-list { display: grid; gap: 16px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px;
  background: var(--white-05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--white-10);
}
.feature-item .check { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.feature-item span { color: var(--white-80); font-size: .95rem; }

/* ── Risk List ── */
.risk-list { display: grid; gap: 12px; }
.risk-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px;
  background: rgba(200,60,60,.06);
  border: 1px solid rgba(200,60,60,.15);
  border-radius: var(--radius-sm);
}
.risk-item .icon { color: #e8614d; flex-shrink: 0; font-size: 1rem; margin-top: 2px; }
.risk-item span { color: var(--white-80); font-size: .92rem; }

/* ── Not List ── */
.not-list { display: grid; gap: 10px; max-width: 600px; }
.not-item {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 20px;
  background: var(--white-05);
  border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--white-80);
}
.not-item .x { color: #e8614d; font-weight: 700; flex-shrink: 0; }

/* ── Info Box ── */
.info-box {
  background: var(--card-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  margin: 32px 0;
  color: var(--white-80);
  font-size: .92rem;
  line-height: 1.7;
}
.info-box.warning {
  border-left-color: #e8614d;
  background: rgba(200,60,60,.08);
}

/* ── FAQ Tabs ── */
.faq-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px; justify-content: center;
}
.faq-tab {
  padding: 10px 24px; border-radius: 40px;
  background: var(--white-05); border: 1px solid var(--white-10);
  color: var(--white-60); font-size: .875rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.faq-tab:hover { border-color: var(--white-40); color: var(--white); }
.faq-tab.active { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.faq-panel { display: none; }
.faq-panel.active { display: block; }
.faq-item {
  border-bottom: 1px solid var(--white-10);
  padding: 24px 0;
}
.faq-question {
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-question .arrow { transition: transform var(--transition); color: var(--gold); font-size: .8rem; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  color: var(--white-60); font-size: .92rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-top: 16px; }

/* ── CTA Section ── */
.cta-section {
  text-align: center; padding: 80px 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,.06) 0%, transparent 60%);
}
.cta-section .container { position: relative; }
.cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.cta-section p { color: var(--white-60); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Team Grid ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.team-card {
  background: var(--card-bg); border: 1px solid var(--white-10);
  border-radius: var(--radius); overflow: hidden; text-align: center;
  transition: all var(--transition);
}
.team-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.team-card .team-photo { height: 240px; overflow: hidden; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .team-info { padding: 24px; }
.team-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.team-card p { color: var(--white-60); font-size: .85rem; line-height: 1.6; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--white-60); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--white-05); border: 1px solid var(--white-10);
  color: var(--white); font-family: inherit; font-size: .92rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.contact-info .info-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 24px; color: var(--white-60); font-size: .92rem;
}
.contact-info .info-item .icon { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }

/* ── Legal Pages ── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.legal-content .legal-date { color: var(--white-40); font-size: .85rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.4rem; font-weight: 700; margin-top: 48px; margin-bottom: 16px; color: var(--gold); }
.legal-content h3 { font-size: 1.1rem; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
.legal-content p { color: var(--white-80); margin-bottom: 16px; font-size: .95rem; line-height: 1.8; }
.legal-content ul { margin-bottom: 16px; padding-left: 0; }
.legal-content ul li {
  color: var(--white-60); font-size: .92rem; line-height: 1.7;
  padding: 6px 0 6px 24px; position: relative;
}
.legal-content ul li::before {
  content: ''; position: absolute; left: 8px; top: 14px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-light);
  border-top: 1px solid var(--white-10);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--white-40); font-size: .85rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--white-40); margin-bottom: 20px;
}
.footer-col a {
  display: block; color: var(--white-60); font-size: .88rem;
  padding: 5px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-social {
  display: flex; gap: 16px; margin-top: 24px;
}
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white-05); border: 1px solid var(--white-10);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-60); font-size: .9rem;
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08); }
.footer-bottom {
  border-top: 1px solid var(--white-10);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
}
.footer-disclaimer {
  color: var(--white-40); font-size: .78rem; line-height: 1.6;
  max-width: 700px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--white-40); font-size: .78rem; }
.footer-legal a:hover { color: var(--gold); }

/* ── Two Column Layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col .col-img { border-radius: var(--radius); overflow: hidden; }
.two-col .col-img img { width: 100%; height: 360px; object-fit: cover; }

/* ── Stats Bar ── */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; padding: 48px 0; }
.stat-block .stat-number { font-size: 2.4rem; font-weight: 800; color: var(--gold); }
.stat-block .stat-desc { font-size: .85rem; color: var(--white-60); margin-top: 4px; }

/* ── Token Section ── */
.token-card {
  background: var(--card-bg);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
}
.token-card .token-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 20px;
}
.token-card .token-badge.propx { background: rgba(201,168,76,.15); color: var(--gold); }
.token-card .token-badge.esx { background: rgba(100,180,255,.15); color: #64b4ff; }
.token-card .token-badge.nft { background: rgba(180,100,255,.15); color: #b464ff; }
.token-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.token-card > p { color: var(--white-60); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; }
.token-characteristics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.token-char {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 16px; background: var(--white-05);
  border-radius: var(--radius-sm); font-size: .88rem; color: var(--white-80);
}
.token-char .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .header-ctas { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10,22,40,.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px;
    border-bottom: 1px solid var(--white-10);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; width: 100%; }

  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .section-header { margin-bottom: 40px; }

  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .token-characteristics { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .stats-bar { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
