/* ARVIK Frontend Premium UI - use fonts via HTML <link> in head */

body.frontend-site {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  background: #FDF6F4 !important;
  color: #2D1818;
}
body.frontend-site::before,
body.frontend-site::after { display: none !important; }
[data-theme="dark"] body.frontend-site { background: #0D0D0D !important; }

/* Header */
body.frontend-site .arvik-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 176, 80, 0.08);
  box-shadow: none;
}
body.frontend-site .arvik-header.scrolled {
  box-shadow: 0 8px 30px rgba(145, 65, 65, 0.08);
}
[data-theme="dark"] body.frontend-site .arvik-header {
  background: rgba(10, 22, 18, 0.92);
  border-color: rgba(255,255,255,0.06);
}
body.frontend-site .arvik-logo .logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
body.frontend-site .arvik-logo .logo-icon {
  background: linear-gradient(135deg, #00B050, #914141);
  animation: none;
  border-radius: 12px;
}
body.frontend-site .arvik-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 14px !important;
}
body.frontend-site .arvik-nav .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #00B050, #914141);
}

/* Hero */
.hero-premium {
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
  background: #914141;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 176, 80, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(233, 150, 122, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, #914141 0%, #5C2828 45%, #00B050 100%);
}
.hero-bg-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h1v40H0V0zm39 0h1v40h-1V0zM0 0h40v1H0V0zm0 39h40v1H0v-1z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-premium .container { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #F5C4B8;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  background: #00B050;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-premium h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-premium h1 .accent { color: #F5C4B8; }
.hero-premium .hero-lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.5rem; }
.hero-cta-group .btn-gold {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(233, 150, 122, 0.35);
}
.hero-cta-group .btn-hero-outline {
  padding: 14px 32px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.06);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-cta-group .btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 480px;
}
.hero-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.hero-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #F5C4B8;
  line-height: 1.2;
}
.hero-metric span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* Dashboard card */
.hero-dashboard-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  position: relative;
}
.hero-dashboard-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.hero-dashboard-card .live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 222, 128, 0.15);
  color: #00B050;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-mini-stat {
  text-align: center;
  padding: 10px;
  background: rgba(0,0,0,0.15);
  border-radius: 12px;
}
.hero-mini-stat .val { color: #F5C4B8; font-weight: 700; font-size: 0.95rem; }
.hero-mini-stat .lbl { color: rgba(255,255,255,0.5); font-size: 0.7rem; }

.hero-side-img {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.hero-side-img.img-1 { top: -20px; right: -30px; }
.hero-side-img.img-2 { bottom: 40px; left: -40px; width: 90px; height: 90px; }

/* Trust strip */
.trust-strip {
  background: #fff;
  border-top: 1px solid rgba(0, 176, 80, 0.08);
  padding: 1.25rem 0;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
[data-theme="dark"] .trust-strip { background: #1F1414; border-color: rgba(255,255,255,0.06); }
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--arvik-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-item i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 176, 80, 0.1);
  color: #00B050;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* Section styling */
body.frontend-site .section-badge {
  background: linear-gradient(135deg, rgba(0,176,80,0.12), rgba(233,150,122,0.08));
  border: 1px solid rgba(0, 176, 80, 0.15);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
body.frontend-site .section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-alt { background: #fff; }
[data-theme="dark"] .section-alt { background: #1A1212; }
.section-soft {
  background: linear-gradient(180deg, #FBEFEB 0%, #FDF6F4 100%);
}
[data-theme="dark"] .section-soft { background: #0D0D0D; }

/* About showcase */
.about-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image-stack { position: relative; }
.about-image-main {
  border-radius: 24px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(145, 65, 65, 0.15);
}
.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 50px rgba(145, 65, 65, 0.12);
  text-align: center;
}
[data-theme="dark"] .about-image-badge { background: #1F1414; }
.about-image-badge strong { font-size: 1.75rem; color: #00B050; display: block; }
.value-pill {
  display: flex;
  gap: 14px;
  padding: 1.25rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 176, 80, 0.1);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}
[data-theme="dark"] .value-pill { background: #1F1414; }
.value-pill:hover {
  transform: translateX(6px);
  border-color: #00B050;
  box-shadow: 0 8px 24px rgba(0, 176, 80, 0.1);
}
.value-pill i {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,176,80,0.12), rgba(233,150,122,0.1));
  color: #00B050;
  border-radius: 12px;
  font-size: 1.1rem;
}
.value-pill h6 { margin-bottom: 4px; font-weight: 700; }

/* Premium plan cards */
body.frontend-site .plan-card {
  border: 1px solid rgba(0, 176, 80, 0.12) !important;
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(145, 65, 65, 0.06) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
[data-theme="dark"] body.frontend-site .plan-card { background: #1F1414 !important; }
body.frontend-site .plan-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 24px 50px rgba(0, 176, 80, 0.15) !important;
  border-color: #00B050 !important;
}
body.frontend-site .plan-card.featured {
  border: 2px solid #E9967A !important;
  transform: scale(1.03);
}
body.frontend-site .plan-card.featured:hover { transform: scale(1.03) translateY(-10px) !important; }
body.frontend-site .plan-card-header {
  background: linear-gradient(160deg, #914141, #00B050) !important;
  padding: 2rem 1.5rem !important;
  border-radius: 0;
}
body.frontend-site .plan-card-header .capital { font-size: 1.85rem; letter-spacing: -0.02em; }
.plan-roi-tag {
  display: inline-block;
  background: rgba(233, 150, 122, 0.2);
  color: #F5C4B8;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 8px;
}

/* Feature bento */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.bento-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(0, 176, 80, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .bento-card { background: #1F1414; }
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 176, 80, 0.1);
  border-color: rgba(0, 176, 80, 0.25);
}
.bento-card.span-2 { grid-column: span 2; }
.bento-card.featured-bento {
  background: linear-gradient(135deg, #914141, #00B050);
  color: #fff;
  border: none;
}
.bento-card.featured-bento .bento-icon { background: rgba(255,255,255,0.15); color: #F5C4B8; }
.bento-card.featured-bento p { color: rgba(255,255,255,0.75); }
.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(0, 176, 80, 0.1);
  color: #00B050;
  margin-bottom: 1rem;
}
.bento-card h6 { font-weight: 700; margin-bottom: 0.5rem; }

/* Testimonial grid */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card-premium {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 176, 80, 0.08);
  box-shadow: 0 4px 20px rgba(145, 65, 65, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
[data-theme="dark"] .testimonial-card-premium { background: #1F1414; }
.testimonial-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 176, 80, 0.1);
}
.testimonial-stars { color: #E9967A; margin-bottom: 1rem; font-size: 0.85rem; }
.testimonial-card-premium p {
  flex: 1;
  color: var(--arvik-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--arvik-border);
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author small { color: var(--arvik-text-muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #914141 0%, #00B050 60%, #E9967A 100%);
  border-radius: 28px;
  padding: 3.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/frontend/cta-bg.jpg') center/cover;
  opacity: 0.08;
}
.cta-banner .container-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 1.5rem; }

/* Counter premium */
body.frontend-site .counter-section {
  background: #914141 !important;
  padding: 70px 0 !important;
}
body.frontend-site .counter-section::before { opacity: 0.06 !important; }
body.frontend-site .counter-box .counter-value { font-size: 2.5rem; }

/* Page banner */
body.frontend-site .page-banner {
  background: linear-gradient(135deg, rgba(145,65,65,0.88) 0%, rgba(0,176,80,0.82) 100%),
    url('../images/frontend/banner-bg.jpg') center/cover !important;
  padding: 110px 0 70px !important;
  position: relative;
  overflow: hidden;
}
body.frontend-site .page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(233,150,122,0.15), transparent 50%);
}
body.frontend-site .page-banner .container { position: relative; z-index: 1; }
body.frontend-site .page-banner h1 { font-weight: 800; letter-spacing: -0.02em; }

/* Footer premium */
body.frontend-site .arvik-footer {
  background: linear-gradient(180deg, #914141, #5C2828);
  padding-top: 70px;
}
body.frontend-site .arvik-footer .arvik-logo {
  display: inline-flex !important;
}
body.frontend-site .arvik-footer .arvik-logo:hover {
  color: #fff;
  padding-left: 0;
}
body.frontend-site .arvik-footer .arvik-logo .logo-img {
  filter: brightness(0) invert(1);
}
body.frontend-site .social-links a {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Auth */
body.frontend-site .auth-wrapper {
  background: linear-gradient(135deg, rgba(145,65,65,0.92), rgba(0,176,80,0.88)),
    url('../images/frontend/auth-bg.jpg') center/cover no-repeat !important;
}
body.frontend-site .auth-card {
  border-radius: 24px;
  max-width: 920px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
}
body.frontend-site .auth-card-header {
  background: linear-gradient(160deg, rgba(145,65,65,0.95), rgba(0,176,80,0.9)),
    url('../images/frontend/hero-trading.jpg') center/cover !important;
  animation: none !important;
  min-height: 100%;
}

/* Login pages only — terracotta palette, no green */
body.frontend-site[data-page="login"] .auth-wrapper {
  background: linear-gradient(135deg, rgba(145,65,65,0.95), rgba(92,40,40,0.92)),
    url('../images/frontend/auth-bg.jpg') center/cover no-repeat !important;
}
body.frontend-site[data-page="login"] .auth-card-header {
  background: linear-gradient(160deg, rgba(145,65,65,0.98), rgba(92,40,40,0.95)),
    url('../images/frontend/hero-trading.jpg') center/cover !important;
}
body.frontend-site[data-page="login"] .btn-arvik-primary {
  background: linear-gradient(135deg, var(--arvik-secondary) 0%, var(--arvik-secondary-dark) 100%);
  box-shadow: 0 4px 15px rgba(var(--arvik-secondary-rgb), 0.35);
}
body.frontend-site[data-page="login"] .btn-arvik-primary:hover {
  box-shadow: 0 8px 25px rgba(var(--arvik-secondary-rgb), 0.45);
}
body.frontend-site[data-page="login"] .form-control-arvik:focus,
body.frontend-site[data-page="login"] .form-select-arvik:focus {
  border-color: var(--arvik-secondary);
  box-shadow: 0 0 0 3px rgba(var(--arvik-secondary-rgb), 0.15);
}
body.frontend-site[data-page="login"] a:not(.btn) {
  color: var(--arvik-secondary);
}
body.frontend-site[data-page="login"] a:not(.btn):hover {
  color: var(--arvik-secondary-dark);
}
body.frontend-site[data-page="login"] .form-check-input:checked {
  background-color: var(--arvik-secondary);
  border-color: var(--arvik-secondary);
}
body.frontend-site[data-page="login"] .form-check-input:focus {
  border-color: var(--arvik-secondary);
  box-shadow: 0 0 0 0.25rem rgba(var(--arvik-secondary-rgb), 0.25);
}
body.frontend-site[data-page="login"] .password-toggle-wrap {
  position: relative;
}
body.frontend-site[data-page="login"] .password-toggle-wrap .form-control {
  padding-right: 2.75rem;
}
body.frontend-site[data-page="login"] .password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #6c757d;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}
body.frontend-site[data-page="login"] .password-toggle-btn:hover {
  color: var(--arvik-secondary);
}

/* Contact */
body.frontend-site .contact-info-card {
  border-radius: 20px;
  background: linear-gradient(160deg, #914141, #00B050);
}

/* Disable noisy effects */
body.frontend-site #particle-canvas { display: none !important; }
body.frontend-site .scroll-progress { height: 2px; }

/* Responsive */
@media (max-width: 991px) {
  .about-showcase { grid-template-columns: 1fr; }
  .about-image-badge { right: 12px; bottom: 12px; }
  .feature-bento { grid-template-columns: 1fr 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-side-img { display: none; }
  .hero-metrics { grid-template-columns: 1fr; max-width: 100%; }
}
@media (max-width: 575px) {
  .feature-bento { grid-template-columns: 1fr; }
  .hero-premium { padding-top: 90px; min-height: auto; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}
