:root {
  --bg-main: #f8f8f8;
  --bg-soft: #ffffff;  
  --border: #e5e5e5;  
  --text-main: #000;
  --text-muted: rgb(68, 68, 68);
  --accent: rgb(0, 200, 150);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

nav a {
  margin-left: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  nav {
    display: none; 
  }
}

nav a:hover {
  color: var(--text-main);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 28px;
}

.logo strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}
/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(255,255,255,0.88) 0%,
      rgba(255,255,255,0.60) 38%,
      rgba(255,255,255,0.0) 65%
    ),
    linear-gradient(
      to top,
      rgba(248,248,248,1) 0%,
      rgba(248,248,248,0.5) 12%,
      rgba(248,248,248,0) 22%
    );
}

@media (max-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(
        160deg,
        rgba(255,255,255,0.97) 0%,
        rgba(255,255,255,0.92) 50%,
        rgba(255,255,255,0.55) 100%
      ),
      linear-gradient(
        to top,
        rgba(248,248,248,1) 0%,
        rgba(248,248,248,0.5) 10%,
        rgba(248,248,248,0) 20%
      );
  }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 170px;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 520px;
}

@media (max-width: 768px) {
  .hero-content {
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pill-group {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}
@media (max-width: 768px) {
  .pill-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pill-group .btn,
  .pill-group .btn2 {
    min-width: 200px;
    text-align: center;
  }
}

.btn {
  background: #000;
  color: #fff;
  border-radius: 300px;
  padding: 14px 28px;
  font-weight: 600;
}

.btn2 {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 300px;
  padding: 14px 28px;
  font-weight: 600;
}

/* ================= VALUE SECTION ================= */
.value-section {
  padding: 72px 24px 0px;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: auto;
  max-width: 560px;
}

/* ================= CORE OFFER ================= */
.core-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 32px;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}
@media (max-width: 768px) {
  .core-grid {
    grid-template-columns: 1fr;
  }

  .needs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .need-media {
    height: 110px;
  }

  .needs-section {
    padding: 40px 16px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .needs-title {
    font-size: 1.6rem;
    margin-bottom: 22px;
  }

  .value-section {
    padding: 40px 16px 0;
  }
}

.core-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.core-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.09);
}

.core-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #888;
  background: #f4f4f4;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 22px;
  align-self: flex-start;
}

.core-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.core-card p {
  font-size: 0.92rem;
  line-height: 1.68;
  color: #555;
  margin-bottom: 28px;
  flex: 1;
}

.core-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 9px 20px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  align-self: flex-start;
}

.core-link:hover {
  opacity: 0.82;
  text-decoration: none;
}

/* ================= MAIN EXPERT ADVISORS ================= */


.needs-section {
  padding: 36px 24px 60px;
}

.needs-eyebrow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.needs-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 32px;
}

.needs-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 20px;
}

.need-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #e8e8e8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}

.need-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

.need-card-top {
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.need-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
  background: #f4f4f4;
  border-radius: 6px;
  padding: 3px 9px;
}

.need-arrow {
  font-size: 0.9rem;
  color: var(--accent);
  position: absolute;
  right: 20px;
  transition: color 0.2s, transform 0.2s;
}

.need-card:hover .need-arrow {
  transform: translateX(3px);
}

.need-media {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid #f0f0f0;
}

.need-media.sp500  { background-image: url("Fotos/sp500ok.webp"); }
.need-media.nas100 { background-image: url("Fotos/nasok.webp"); }
.need-media.dax40  { background-image: url("Fotos/Nikkei.webp"); }
.need-media.fr40   { background-image: url("Fotos/UK100.png"); }
.need-media.eth    { background-image: url("Fotos/ethok.webp"); }

/* ================= TESTIMONIALS ================= */
.testimonials-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 28px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 24px;
}

.testimonials-header .section-title {
  font-size: 1.6rem;
  margin-bottom: 0;
}

/* --- Carousel wrapper --- */
.testimonials-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-track-container {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.testimonials-track {
  display: flex;
  gap: 16px;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Arrow buttons --- */
.testi-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.testi-arrow:hover:not(:disabled) {
  background: #111;
  border-color: #111;
  color: #fff;
}

.testi-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* --- Dots --- */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d4d4;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.testi-dot--active {
  background: #00c896;
  transform: scale(1.25);
}

/* --- Cards --- */
.testi-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.testi-stars {
  font-size: 0.8rem;
  color: #f5a623;
  letter-spacing: 2px;
}

.testi-stars .half-star {
  display: inline;
  background: linear-gradient(to right, #f5a623 50%, #e0e0e0 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.testi-stars .empty-star {
  color: #e0e0e0;
}

.testi-quote {
  font-size: 0.83rem;
  line-height: 1.65;
  color: #555;
  flex: 1;
  margin: 0;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.testi-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
}

.testi-author span {
  font-size: 0.72rem;
  color: #888;
}

@media (max-width: 540px) {
  .testimonials-section {
    padding: 32px 16px 20px;
  }
  .testi-arrow {
    width: 32px;
    height: 32px;
  }
}

/* ================= IMAGE CARD ================= */
.image-card-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}

.image-card-container {
  position: relative;
  height: 300px;
  border-radius: 28px;
  overflow: hidden;
  background-image: url("Fotos/contact.webp");
  background-size: cover;
  background-position: center;
}

.image-card {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 44px;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}
@media (max-width: 768px) {
  .image-card {
    position: static;
    transform: none;
    margin: 20px;
    max-width: none;
  }

  .image-card-container {
    height: auto;
    padding: 20px 0;
  }
}

.image-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.image-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.6;
}

.card-btn {
  display: inline-block;
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
}

.footer {
  width: 100%;
  font-size: 0.9rem;
}

/* ================= FRANJA SUPERIOR ================= */

.footer-top {
  background: #2f3a44;
  color: #eaeaea;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  color: #d6dbe0;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #8a9ba8;
  margin: 0;
}

.footer-email {
  font-size: 0.82rem;
  color: #00c896;
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

/* ================= FRANJA LEGAL ================= */

.footer-bottom {
  background: #f5f5f5;
  color: #444;
  padding: 25px 20px;
  border-top: 1px solid #ddd;
}

.footer-bottom .copyright {
  text-align: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.3px;
}

.footer-legal {
  max-width: 1200px;
  margin: auto;
}
.footer-legal p {
  text-align: justify;
}

.footer-legal h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: #333;
  letter-spacing: 0.4px;
}

.footer-legal p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .footer-top {
    padding: 32px 16px;
  }

  .footer-bottom {
    padding: 48px 16px;
  }

  .footer-nav {
    gap: 14px;
  }

  .footer-legal {
    padding: 0 8px;
  }
}

/* ================= AUTH MODAL ================= */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.auth-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 22px;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: fadeInScale 0.25s ease;
}
@media (max-width: 480px) {
  .auth-box {
    width: 90%;
    padding: 24px;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.auth-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.auth-box input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.auth-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-buttons button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-buttons button:hover {
  opacity: 0.85;
}

.auth-toggle-text {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 8px;
}

.register-pill {
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 6px;
}

.close-btn {
  background: transparent;
  border: none;
  color: #666;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
}
.forgot-container {
  text-align: right;
  margin-top: 6px;
  margin-bottom: 10px;
}

.forgot-link {
  font-size: 13px;
  color: #777;
  cursor: pointer;
  transition: 0.2s;
}

.forgot-link:hover {
  color: #000;
  text-decoration: underline;
}
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.auth-box {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 20px;
  width: 320px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.auth-box h3 {
  margin-bottom: 20px;
  text-align: left;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 10px;
}

.auth-actions button {
  background: #00c896;
  color: #000;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.forgot-link {
  font-size: 13px;
  color: #777;
  cursor: pointer;
}

.forgot-link:hover {
  text-decoration: underline;
  color: black;
}

.auth-toggle-text {
  margin-top: 15px;
  font-size: 14px;
}

.register-pill {
  background: black;
  color: white;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 5px;
  font-weight: 700;
}

.close-btn {
  margin-top: 15px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
}
.recover-btn {
  width: 100%;
  background: black;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
}