:root {
  
  --primary-color: #ef4444;
  --primary-dark: #dc2626;
  --primary-light: #f87171;

  
  --bg-primary: #1a0a0a;
  --bg-secondary: #2a1515;
  --bg-tertiary: #220f0f;

  
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --text-tertiary: #666666;
  --text-dark: #333333;
  --text-light: #cccccc;

  
  --border-primary: rgba(239, 68, 68, 0.3);
  --border-light: #e0e0e0;

  
  --shadow-primary: rgba(239, 68, 68, 0.2);
  --shadow-medium: rgba(239, 68, 68, 0.4);
  --shadow-strong: rgba(239, 68, 68, 0.6);

  
  --overlay-dark: rgba(26, 10, 10, 0.75);
  --overlay-medium: rgba(26, 10, 10, 0.95);
  --overlay-light: rgba(26, 10, 10, 0.98);
  --overlay-black: rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
      0deg,
      var(--border-primary) 0px,
      var(--border-primary) 1px,
      transparent 1px,
      transparent 30px
    ),
    repeating-linear-gradient(
      90deg,
      var(--border-primary) 0px,
      var(--border-primary) 1px,
      transparent 1px,
      transparent 30px
    );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.main-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: var(--overlay-medium);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 50px var(--shadow-primary);
}


.page-header {
  text-align: center;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.brand-logo::before {
  content: "📈";
  font-size: 18px;
}

.hero-section {
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--primary-color);
  opacity: 0.05;
  animation: pulse-animation 4s ease-in-out infinite;
  border-radius: 50%;
}

@keyframes pulse-animation {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.05;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.08;
  }
}

.hero-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px var(--shadow-medium);
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.text-highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.section-heading {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-primary);
}

.content-section {
  padding: 10px 10px;
}


.featured-image {
  width: 100%;
  background: var(--bg-secondary);
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-primary);
  position: relative;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
}


.banner-container {
  width: 100%;
  background: var(--bg-primary);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.banner-content {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}


.dashboard-preview {
  width: 100%;
  background: var(--bg-tertiary);
  border-radius: 10px;
  border: 1px solid var(--border-primary);
}

.dashboard-preview img {
  width: 100%;
}

.chart-wrapper {
  width: 100%;
  height: 200px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.chart-visual {
  width: 90%;
  height: 80%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 150"><path d="M 0 120 Q 50 80, 100 90 T 200 40 T 300 60" stroke="%23ef4444" stroke-width="2" fill="none"/></svg>')
    center/contain no-repeat;
}

.position-details {
  background: var(--overlay-black);
  border-radius: 8px;
  padding: 15px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.detail-label {
  color: var(--text-tertiary);
}

.detail-value {
  color: var(--text-primary);
  font-weight: bold;
}

.action-button {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  border: none;
  border-radius: 25px;
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 4px 15px var(--shadow-medium);
  transition: transform 0.2s, box-shadow 0.2s;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-strong);
  background: var(--primary-dark);
}


.case-grid {
  display: grid;
  gap: 20px;
}

.case-item {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 15px;
  border: 1px solid var(--border-primary);
}

.case-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9;
  border: 1px solid var(--border-primary);
}

.case-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.stock-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
}

.stock-status {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: normal;
  opacity: 0.8;
}

.case-timestamp {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.chart-display {
  width: 100%;
  height: 150px;
  background: var(--overlay-black);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.chart-display::after {
  content: "";
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 80%;
  height: 60%;
  background: var(--primary-color);
  opacity: 0.3;
  clip-path: polygon(
    0% 100%,
    20% 80%,
    40% 90%,
    60% 40%,
    80% 30%,
    100% 20%,
    100% 100%,
    0% 100%
  );
}

.chart-label {
  position: absolute;
  background: var(--primary-color);
  opacity: 0.9;
  color: var(--bg-primary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
}


.trust-section {
  text-align: center;
  background: var(--bg-secondary) url("img/Track.png") center/cover no-repeat;
  border-radius: 15px;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  z-index: 0;
}

.trust-section > * {
  position: relative;
  z-index: 1;
}

.trust-quote {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.trust-subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.trust-rating {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 20px var(--shadow-medium);
  letter-spacing: 2px;
}


.reviews-container {
  background: var(--text-primary);
  color: var(--text-dark);
  border-radius: 10px;
  padding: 20px;
}

.review-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.review-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  flex-shrink: 0;
  overflow: hidden;
}

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

.review-body {
  flex: 1;
}

.user-name {
  font-weight: bold;
  color: var(--bg-primary);
  margin-bottom: 5px;
}

.review-text {
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
}


.cta-container {
  text-align: center;
  padding: 40px 20px;
}

.cta-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--bg-primary);
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 20px var(--shadow-medium);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--shadow-strong);
  background: var(--primary-dark);
}


.page-footer {
  padding: 30px 20px;
  text-align: center;
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.8;
  border-top: 1px solid var(--border-primary);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.page-header img {
  width: 100%;
}

.banner-content img {
  width: 100%;
}


.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--overlay-light);
  backdrop-filter: blur(10px);
  padding: 20px;
  box-shadow: 0 -4px 20px var(--shadow-primary);
  border-top: 2px solid var(--primary-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: slide-up 0.5s ease-out;
}

.consent-banner.is-hidden {
  display: none;
}

@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-wrapper {
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.consent-message {
  flex: 1;
  min-width: 250px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.consent-message a {
  color: var(--primary-color);
  text-decoration: underline;
}

.consent-message a:hover {
  color: var(--primary-light);
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept {
  background: var(--primary-color);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-strong);
  background: var(--primary-dark);
}

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

.btn-decline:hover {
  background: var(--border-primary);
}


@media (max-width: 768px) {
  body::before {
    background-size: 20px 20px;
  }

  .main-wrapper {
    max-width: 100%;
    box-shadow: none;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .content-section {
    padding: 20px 15px;
  }

  .section-heading {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .featured-image {
    border-radius: 8px;
  }

  .banner-container {
    border-radius: 8px;
  }

  .dashboard-preview {
    border-radius: 8px;
  }

  .detail-row {
    font-size: 12px;
  }

  .action-button {
    font-size: 14px;
    padding: 10px;
  }

  .case-item {
    border-radius: 8px;
    padding: 12px;
  }

  .stock-name {
    font-size: 18px;
  }

  .stock-status {
    font-size: 12px;
  }

  .case-timestamp {
    font-size: 11px;
  }

  .chart-display {
    height: 120px;
  }

  .chart-label {
    font-size: 10px;
    padding: 3px 6px;
  }

  .trust-section {
    border-radius: 12px;
    padding: 25px 15px;
  }

  .trust-quote {
    font-size: 16px;
  }

  .trust-subtitle {
    font-size: 18px;
  }

  .trust-rating {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .reviews-container {
    border-radius: 8px;
    padding: 15px;
  }

  .review-item {
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .user-avatar {
    width: 45px;
    height: 45px;
  }

  .user-name {
    font-size: 14px;
  }

  .review-text {
    font-size: 12px;
  }

  .cta-container {
    padding: 30px 15px;
  }

  .cta-text {
    font-size: 14px;
  }

  .cta-btn {
    padding: 12px 30px;
    font-size: 14px;
    border-radius: 25px;
    border: none;
  }

  .page-footer {
    padding: 25px 15px;
    font-size: 10px;
  }

  .footer-nav {
    gap: 10px;
    font-size: 11px;
  }

  .chart-wrapper {
    height: 150px;
  }

  .consent-banner {
    padding: 15px;
  }

  .consent-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .consent-message {
    font-size: 12px;
    min-width: 100%;
  }

  .consent-actions {
    width: 100%;
    flex-direction: column;
  }

  .consent-btn {
    width: 100%;
    padding: 12px;
  }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .hero-desc {
    font-size: 12px;
  }

  .section-heading {
    font-size: 18px;
  }

  .trust-rating {
    font-size: 24px;
  }

  .cta-btn {
    padding: 10px 25px;
    font-size: 13px;
    border: none;
  }

  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}
