/* Bot4Trade — Final Polished Responsive CSS (scoped)
   Scoped to .bt4-landing to avoid cross-file overrides and preserve original visuals.
   IMPORTANT: wrap landing page HTML content in a root element with class="bt4-landing"
*/

/* ===== CSS VARIABLES (global root kept to preserve design tokens) ===== */
:root{
  --primary: #0b6b3a;
  --primary-light: #148a49;
  --accent: #d4af37;
  --text-dark: #1a1a1a;
  --text-medium: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-light: #f7fafc;
  --bg-lighter: #edf2f7;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*{margin:0;padding:0;box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}
body{
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* ========== SCOPE ROOT ========== */
.bt4-landing {}

/* ===== CONTAINER ===== */
.bt4-landing .container{
  max-width:1280px;
  margin:0 auto;
  padding:0 clamp(1rem,4vw,2rem);
}

/* ===== BUTTONS ===== */
.bt4-landing .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding:0.875rem 1.75rem;
  font-weight:700;
  font-size:1rem;
  border-radius:var(--radius-md);
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:all var(--transition);
  white-space:nowrap;
}
.bt4-landing .btn-primary{
  background:var(--primary);
  color:white;
  box-shadow:var(--shadow-md);
}
.bt4-landing .btn-primary:hover{
  background:var(--primary-light);
  transform:translateY(-2px);
  box-shadow:var(--shadow-lg);
}
.bt4-landing .btn-accent{
  background:linear-gradient(135deg,var(--primary-light),var(--accent));
  color:white;
  box-shadow:var(--shadow-md);
}
.bt4-landing .btn-accent:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-lg);
}
.bt4-landing .btn-outline{
  background:transparent;
  color:var(--primary);
  border:2px solid var(--primary);
}
.bt4-landing .btn-outline:hover{
  background:var(--primary);
  color:white;
}

/* ===== HERO ===== */
.bt4-landing .hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  padding:var(--spacing-xl) 0;
  background:linear-gradient(135deg,#f0fdf4 0%,#ecfdf5 100%);
  position:relative;
  overflow:hidden;
}
.bt4-landing .hero::before{
  content:'';
  position:absolute;
  top:-50%;
  right:-20%;
  width:800px;
  height:800px;
  background:radial-gradient(circle,rgba(11,107,58,0.08),transparent 70%);
  border-radius:50%;
  filter:blur(60px);
}
.bt4-landing .hero-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--spacing-lg);
  align-items:center;
  position:relative;
  z-index:1;
}
.bt4-landing .hero-text{max-width:600px;}
.bt4-landing .hero-badge{
  display:inline-block;
  background:rgba(11,107,58,0.1);
  color:var(--primary);
  padding:0.5rem 1rem;
  border-radius:50px;
  font-size:0.875rem;
  font-weight:600;
  margin-bottom:var(--spacing-md);
}
.bt4-landing .hero h1{
  font-size:clamp(2.5rem,5vw,4rem);
  font-weight:900;
  line-height:1.1;
  margin-bottom:var(--spacing-md);
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.bt4-landing .hero-subtitle{
  font-size:clamp(1.125rem,2vw,1.5rem);
  color:var(--text-medium);
  margin-bottom:var(--spacing-md);
  line-height:1.5;
}
.bt4-landing .hero-cta{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-bottom:var(--spacing-md);
}
.bt4-landing .hero-trust{
  display:flex;
  align-items:center;
  gap:0.5rem;
  color:var(--text-light);
  font-size:0.875rem;
}
.bt4-landing .hero-image{position:relative;}
.bt4-landing .hero-image img{
  width:100%;
  max-width:600px;
  border-radius:var(--radius-xl);
  box-shadow:0 20px 60px rgba(11,107,58,0.2);
  transition:transform var(--transition);
}
.bt4-landing .hero-image img:hover{transform:scale(1.02);}

/* ===================================================
   STORY ICONS (UPDATED TO FULL-BLEED IMAGE COVER)
   =================================================== */
.bt4-landing .story-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:clamp(0.75rem,2vw,1.5rem);
  margin-top:var(--spacing-lg);
  padding:0 1rem;
}
.bt4-landing .story-item{
  aspect-ratio:1;
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all var(--transition);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  position:relative;
  padding:0;
}

/* ***** NEW FULL-BLEED COVER PHOTOS ***** */
.bt4-landing .story-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform var(--transition);
  display:block;
  -webkit-backface-visibility:hidden;
}

/* Hover zoom */
.bt4-landing .story-item:hover img{
  transform:scale(1.03);
}

/* Card hover */
.bt4-landing .story-item:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:var(--primary);
}

/* ===== FEATURES ===== */
.bt4-landing .features{padding:var(--spacing-xl) 0;background:var(--bg-light);}
.bt4-landing .section-header{text-align:center;max-width:700px;margin:0 auto var(--spacing-lg);}
.bt4-landing .section-header h2{font-size:clamp(2rem,4vw,3rem);font-weight:800;color:var(--primary);margin-bottom:var(--spacing-sm);}
.bt4-landing .section-header p{font-size:1.125rem;color:var(--text-medium);}
.bt4-landing .features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:var(--spacing-lg);margin-top:var(--spacing-lg);}
.bt4-landing .feature-card{
  background:white;border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:var(--spacing-lg);
  box-shadow:var(--shadow-sm);
  transition:all var(--transition);
  display:flex;
  flex-direction:column;
  gap:var(--spacing-md);
}
.bt4-landing .feature-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--primary);}
.bt4-landing .feature-icon{width:100%;height:200px;border-radius:var(--radius-md);overflow:hidden;background:var(--bg-lighter);}
.bt4-landing .feature-icon img{width:100%;height:100%;object-fit:cover;}
.bt4-landing .feature-card h3{font-size:1.5rem;font-weight:700;color:var(--text-dark);}
.bt4-landing .feature-card p{color:var(--text-medium);line-height:1.7;}

.bt4-landing .feature-list,
.bt4-landing .why-us-list,
.bt4-landing .plan-features {
  list-style:none;
  margin:0;
  padding:0;
}
.bt4-landing .feature-list li{
  padding:0.5rem 0;color:var(--text-medium);
  display:flex;align-items:flex-start;gap:0.5rem;
}
.bt4-landing .feature-list li::before{content:'✓';color:var(--primary);font-weight:bold;flex-shrink:0;}

/* ===== ADVANTAGES ===== */
.bt4-landing .advantages{padding:var(--spacing-xl) 0;}
.bt4-landing .advantages-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--spacing-md);margin-top:var(--spacing-lg);}
.bt4-landing .advantage-card{background:white;border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--spacing-lg);text-align:center;box-shadow:var(--shadow-sm);transition:all var(--transition);}
.bt4-landing .advantage-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.bt4-landing .advantage-icon{width:80px;height:80px;margin:0 auto var(--spacing-md);border-radius:var(--radius-md);overflow:hidden;background:var(--bg-lighter);}
.bt4-landing .advantage-icon img{width:100%;height:100%;object-fit:cover;}
.bt4-landing .advantage-card h3{font-size:1.25rem;font-weight:700;margin-bottom:var(--spacing-xs);color:var(--text-dark);}
.bt4-landing .advantage-card p{color:var(--text-medium);line-height:1.6;}

/* ===== PLANS ===== */
.bt4-landing .plans{padding:var(--spacing-xl) 0;background:var(--bg-light);}
.bt4-landing .plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:var(--spacing-lg);margin-top:var(--spacing-lg);}
.bt4-landing .plan-card{background:white;border:2px solid var(--border);border-radius:var(--radius-lg);padding:var(--spacing-lg);display:flex;flex-direction:column;gap:var(--spacing-md);transition:all var(--transition);position:relative;}
.bt4-landing .plan-card.featured{border-color:var(--primary);box-shadow:0 12px 40px rgba(11,107,58,0.15);transform:scale(1.05);}
.bt4-landing .plan-card:hover{transform:translateY(-6px) scale(1.02);box-shadow:var(--shadow-lg);}
.bt4-landing .plan-badge{position:absolute;top:-12px;right:var(--spacing-md);background:linear-gradient(135deg,var(--primary),var(--accent));color:white;padding:0.375rem 0.875rem;border-radius:50px;font-size:0.75rem;font-weight:700;text-transform:uppercase;}
.bt4-landing .plan-header h3{font-size:1.5rem;font-weight:800;color:var(--primary);margin-bottom:var(--spacing-xs);}
.bt4-landing .plan-price{font-size:3rem;font-weight:900;color:var(--text-dark);line-height:1;}
.bt4-landing .plan-price span{font-size:1rem;color:var(--text-light);font-weight:600;}
.bt4-landing .plan-features li{padding:0.75rem 0;border-bottom:1px solid var(--bg-lighter);color:var(--text-medium);}
.bt4-landing .plan-features li:last-child{border-bottom:none;}

/* ===== WHY US ===== */
.bt4-landing .why-us{padding:var(--spacing-xl) 0;background:linear-gradient(135deg,var(--primary),var(--primary-light));color:white;}
.bt4-landing .why-us h2{color:white;margin-bottom:var(--spacing-lg);}
.bt4-landing .why-us-list{list-style:none;max-width:800px;margin:0 auto;padding:0;}
.bt4-landing .why-us-list li{padding:var(--spacing-md);background:rgba(255,255,255,0.1);border-radius:var(--radius-md);margin-bottom:var(--spacing-sm);font-size:1.125rem;backdrop-filter:blur(10px);transition:all var(--transition);}
.bt4-landing .why-us-list li:hover{background:rgba(255,255,255,0.15);transform:translateX(8px);}

/* ===== LEGAL ===== */
.bt4-landing .legal{padding:var(--spacing-lg) 0;background:var(--bg-lighter);text-align:center;color:var(--text-light);font-size:0.875rem;border-top:1px solid var(--border);}

/* ===== RESPONSIVE ===== */
@media (max-width:968px){
  .bt4-landing .hero-content{grid-template-columns:1fr;gap:var(--spacing-md);}
  .bt4-landing .hero-image{order:-1;}
  .bt4-landing .hero-text{text-align:center;}
  .bt4-landing .hero-cta{justify-content:center;}
  .bt4-landing .story-grid{grid-template-columns:repeat(2,1fr);}
  .bt4-landing .features-grid,.bt4-landing .advantages-grid{grid-template-columns:1fr;}
  .bt4-landing .plan-card.featured{transform:scale(1);}
}
@media (max-width:640px){
  .bt4-landing .btn{width:100%;}
  .bt4-landing .hero-cta{flex-direction:column;width:100%;}
  .bt4-landing .story-grid{gap:0.5rem;padding:0;}
  .bt4-landing .plan-price{font-size:2rem;}
}

/* ===== ANIMATIONS ===== */
@keyframes bt4-fadeIn{
  from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);}
}
.bt4-landing .animate-in{animation:bt4-fadeIn 0.6s ease-out forwards;opacity:0;}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;}
}
