/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --primary-color:#2563eb; --primary-dark:#1d4ed8; --secondary-color:#7c3aed; --accent-color:#06b6d4;
  --success-color:#10b981; --warning-color:#f59e0b; --error-color:#ef4444;
  --text-primary:#1f2937; --text-secondary:#6b7280; --text-light:#9ca3af;
  --bg-primary:#ffffff; --bg-secondary:#f8fafc; --bg-accent:#f1f5f9; --border-color:#e5e7eb;
  --shadow-sm:0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl:0 25px 50px -12px rgb(0 0 0 / 0.25);
}

body{
  font-family:'Inter',sans-serif; font-size:16px; line-height:1.6;
  color:var(--text-primary); background:var(--bg-primary); overflow-x:hidden;
}

/* ===== Animated Background ===== */
.bg-animation{ position:fixed; inset:0; z-index:-1;
  background:linear-gradient(135deg,#667eea 0%,#764ba2 100%); opacity:.03; }
.floating-orb{ position:absolute; border-radius:50%;
  background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));
  opacity:.1; animation:float 15s infinite ease-in-out; }
.orb-1{ width:300px;height:300px; top:10%; left:5%; animation-delay:0s; }
.orb-2{ width:200px;height:200px; top:50%; right:10%; animation-delay:-5s; }
.orb-3{ width:150px;height:150px; bottom:20%; left:60%; animation-delay:-10s; }
@keyframes float{ 0%,100%{transform:translateY(0) rotate(0)} 33%{transform:translateY(-30px) rotate(120deg)} 66%{transform:translateY(30px) rotate(240deg)} }

/* ===== Header ===== */
header{
  background:rgba(255,255,255,.95); backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(37,99,235,.1); position:sticky; top:0; z-index:1000;
  transition:all .3s cubic-bezier(.4,0,.2,1);
}
.header-container{ max-width:1400px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; padding:20px 40px; }
.logo{ display:flex; align-items:center; gap:12px; font-size:1.5rem; font-weight:800; color:var(--primary-color); text-decoration:none; transition:transform .3s ease; }
.logo:hover{ transform:scale(1.05); }
.logo-icon{ width:40px; height:40px; background:linear-gradient(135deg,var(--primary-color),var(--secondary-color)); border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.2rem; }
nav ul{ list-style:none; display:flex; gap:40px; align-items:center; }
nav a{ text-decoration:none; color:var(--text-primary); font-weight:500; font-size:1rem; position:relative; padding:8px 16px; border-radius:8px; transition:all .3s ease; }
nav a:hover{ color:var(--primary-color); background:rgba(37,99,235,.05); }
nav a::after{ content:''; position:absolute; bottom:0; left:50%; width:0; height:2px; background:var(--primary-color); transition:all .3s ease; transform:translateX(-50%); }
nav a:hover::after{ width:80%; }
.menu-toggle{ display:none; background:none; border:0; font-size:1.5rem; color:var(--text-primary); cursor:pointer; padding:8px; border-radius:8px; transition:all .3s ease; }
.menu-toggle:hover{ background:var(--bg-accent); color:var(--primary-color); }

/* ===== Hero ===== */
.hero-section{ min-height:100vh; display:flex; align-items:center; padding:120px 40px 80px;
  background:linear-gradient(135deg,#f8fafc 0%, #e2e8f0 100%); position:relative; overflow:hidden; }
.hero-content{ max-width:1400px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.hero-text{ animation:slideInLeft 1s ease-out; }
.hero-text h1{ font-size:4rem; font-weight:900; line-height:1.1; margin-bottom:24px;
  background:linear-gradient(135deg,var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-text .highlight{ background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-text p{ font-size:1.25rem; color:var(--text-secondary); line-height:1.7; margin-bottom:40px; max-width:500px; }
.typed-text{ color:var(--primary-color); font-weight:600; }
.hero-buttons{ display:flex; gap:20px; flex-wrap:wrap; }
.btn-primary{ display:inline-flex; align-items:center; gap:8px; padding:16px 32px;
  background:linear-gradient(135deg,var(--primary-color),var(--primary-dark)); color:#fff; font-weight:600; text-decoration:none; border-radius:12px; box-shadow:var(--shadow-lg);
  transition:all .3s cubic-bezier(.4,0,.2,1); position:relative; overflow:hidden; }
.btn-primary::before{ content:''; position:absolute; inset:0; left:-100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); transition:left .5s; }
.btn-primary:hover::before{ left:100%; }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-2xl); }
.btn-secondary{ display:inline-flex; align-items:center; gap:8px; padding:16px 32px; background:transparent; color:var(--text-primary); font-weight:600; text-decoration:none; border:2px solid var(--border-color); border-radius:12px; transition:all .3s ease; }
.btn-secondary:hover{ border-color:var(--primary-color); color:var(--primary-color); background:rgba(37,99,235,.05); }

.hero-image{ position:relative; animation:slideInRight 1s ease-out; }
.hero-image img{ width:85%; height:auto; border-radius:20px; box-shadow:var(--shadow-2xl); transition:transform .3s ease; }
.hero-image:hover img{ transform:scale(1.02); }

/* ===== Features ===== */
.features-section{ padding:120px 40px; background:var(--bg-primary); }
.section-header{ text-align:center; margin-bottom:80px; }
.section-badge{ display:inline-flex; align-items:center; gap:8px; background:rgba(37,99,235,.1); color:var(--primary-color); padding:8px 16px; border-radius:20px; font-size:.875rem; font-weight:600; margin-bottom:16px; }
.section-title{ font-size:3rem; font-weight:800; color:var(--text-primary); margin-bottom:16px; line-height:1.2; }
.section-subtitle{ font-size:1.25rem; color:var(--text-secondary); max-width:600px; margin:0 auto; line-height:1.6; }
.features-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(350px,1fr)); gap:40px; max-width:1400px; margin:0 auto; }
.feature-card{ background:var(--bg-primary); border:1px solid var(--border-color); border-radius:20px; padding:40px 32px; text-align:center; box-shadow:var(--shadow-md); transition:all .3s cubic-bezier(.4,0,.2,1); position:relative; overflow:hidden; }
.feature-card::before{ content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(135deg,var(--primary-color),var(--secondary-color)); }
.feature-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-2xl); border-color:rgba(37,99,235,.2); }
.feature-icon{ width:64px;height:64px; background:linear-gradient(135deg,var(--primary-color),var(--secondary-color)); border-radius:16px; display:flex; align-items:center; justify-content:center; margin:0 auto 24px; color:#fff; font-size:1.5rem; transition:transform .3s ease; }
.feature-card:hover .feature-icon{ transform:scale(1.1) rotate(5deg); }
.feature-card h3{ font-size:1.5rem; font-weight:700; color:var(--text-primary); margin-bottom:16px; }
.feature-card p{ color:var(--text-secondary); line-height:1.6; }

/* ===== Reviews ===== */
.reviews-section{ padding:120px 40px; background:linear-gradient(135deg,#f8fafc 0%, #e2e8f0 100%); position:relative; overflow:hidden; }
.reviews-section::before{ content:''; position:absolute; inset:0; background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>'); pointer-events:none; }
.reviews-container{ max-width:1400px; margin:0 auto; position:relative; }
.reviews-slider{ position:relative; overflow:hidden; border-radius:20px; margin-top:60px; }
.reviews-track{ display:flex; transition:transform .6s cubic-bezier(.4,0,.2,1); }
.review-slide{ flex:0 0 100%; display:grid; grid-template-columns:repeat(auto-fit, minmax(320px,1fr)); gap:32px; padding:0 20px; }
.review-card{ background:var(--bg-primary); border-radius:20px; padding:40px 32px; box-shadow:var(--shadow-lg); transition:all .3s cubic-bezier(.4,0,.2,1); position:relative; border:1px solid rgba(37,99,235,.1); }
.review-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-2xl); }
.review-header{ display:flex; align-items:center; gap:16px; margin-bottom:24px; }
.reviewer-avatar{ width:60px;height:60px; border-radius:50%; object-fit:cover; border:3px solid var(--primary-color); transition:transform .3s ease; }
.review-card:hover .reviewer-avatar{ transform:scale(1.1); }
.reviewer-info h4{ font-size:1.125rem; font-weight:600; color:var(--text-primary); margin-bottom:4px; }
.reviewer-role{ font-size:.875rem; color:var(--text-secondary); background:var(--bg-accent); padding:4px 12px; border-radius:12px; display:inline-block; }
.star-rating{ display:flex; gap:4px; margin-bottom:20px; }
.star{ color:#fbbf24; font-size:1.25rem; }
.review-title{ font-size:1.25rem; font-weight:700; color:var(--text-primary); margin-bottom:16px; }
.review-text{ color:var(--text-secondary); line-height:1.7; margin-bottom:24px; font-style:italic; }
.review-badge{ display:inline-flex; align-items:center; gap:6px; background:linear-gradient(135deg,var(--success-color), #059669); color:#fff; padding:6px 12px; border-radius:20px; font-size:.75rem; font-weight:600; }
.slider-nav{ position:absolute; top:50%; transform:translateY(-50%); width:48px;height:48px; background:var(--bg-primary); border:1px solid var(--border-color); border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .3s ease; z-index:10; box-shadow:var(--shadow-md); }
.slider-nav:hover{ background:var(--primary-color); color:#fff; transform:translateY(-50%) scale(1.1); box-shadow:var(--shadow-lg); }
.slider-nav.prev{ left:-24px; }
.slider-nav.next{ right:-24px; }
.slider-indicators{ display:flex; justify-content:center; gap:12px; margin-top:40px; }
.indicator{ width:12px; height:12px; border-radius:50%; background:var(--border-color); cursor:pointer; transition:all .3s ease; }
.indicator.active{ background:var(--primary-color); transform:scale(1.2); }

/* ===== Stats ===== */
.stats-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); gap:40px; margin-top:80px; padding-top:80px; border-top:1px solid var(--border-color); }
.stat-item{text-align:center;}
.stat-number{ font-size:2.5rem; font-weight:800; color:var(--primary-color); margin-bottom:8px; display:block; }
.stat-label{ color:var(--text-secondary); font-weight:500; }

/* ===== Brokers ===== */
.brokers-section{ padding:120px 40px; background:var(--bg-primary); }
.brokers-container{ max-width:1400px; margin:0 auto; }
.broker-card{ background:var(--bg-primary); border:1px solid var(--border-color); border-radius:20px; padding:40px; margin-bottom:32px; box-shadow:var(--shadow-md); transition:all .3s cubic-bezier(.4,0,.2,1); position:relative; overflow:hidden; }
.broker-card::before{ content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(135deg,var(--primary-color),var(--secondary-color)); }
.broker-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-2xl); border-color:rgba(37,99,235,.2); }
.broker-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:32px; flex-wrap:wrap; gap:20px; }
.broker-logo-section{ display:flex; align-items:center; gap:20px; }
.broker-logo img{ width:160px; height:auto; border-radius:12px; transition:transform .3s ease; }
.broker-card:hover .broker-logo img{ transform:scale(1.05); }
.broker-rating{ display:flex; align-items:center; gap:8px; background:var(--bg-accent); padding:8px 16px; border-radius:12px; }
.rating-stars{ color:#fbbf24; font-size:1.125rem; }
.rating-text{ font-weight:600; color:var(--text-primary); }
.broker-details{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:20px 40px; margin-bottom:24px; }
.detail-item{ display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--bg-accent); }
.detail-label{ font-weight:600; color:var(--text-primary); }
.detail-value{ color:var(--text-secondary); text-align:right; }
.detail-value .highlight{ color:var(--primary-color); font-weight:600; }
.broker-actions{ display:flex; gap:16px; justify-content:flex-end; align-items:center; }
.btn-outline{ padding:12px 24px; background:transparent; color:var(--primary-color); border:2px solid var(--primary-color); border-radius:8px; text-decoration:none; font-weight:600; transition:all .3s ease; }
.btn-outline:hover{ background:var(--primary-color); color:#fff; transform:translateY(-2px); }

/* ===== CTA ===== */
.cta-section{ padding:120px 40px; background:linear-gradient: #FFFFFF; color:#000000; text-align:center; position:relative; overflow:hidden; }
.cta-section::before{ content:''; position:absolute; inset:0; background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>'); }
.cta-content{ max-width:1400px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; position:relative; z-index:1; }
.cta-text h2{ font-size:3rem; font-weight:800; margin-bottom:24px; line-height:1.2; }
.cta-text p{ font-size:1.25rem; margin-bottom:40px; opacity:.9; line-height:1.6; }
.btn-white{ background:#fff; color:var(--primary-color); padding:16px 32px; border-radius:12px; text-decoration:none; font-weight:700; display:inline-flex; align-items:center; gap:8px; box-shadow:var(--shadow-lg); transition:all .3s ease; }
.btn-white:hover{ transform:translateY(-2px); box-shadow:var(--shadow-2xl); }
.cta-image img{ width:80%; border-radius:20px; box-shadow:var(--shadow-2xl); }

/* ===== Footer ===== */
footer{ background:var(--text-primary); color:#fff; padding:60px 40px 40px; }
.footer-content{ max-width:1400px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:40px; margin-bottom:40px; }
.footer-section h3{ font-size:1.25rem; font-weight:700; margin-bottom:20px; color:#fff; }
.footer-section p, .footer-section a{ color:rgba(255,255,255,.8); text-decoration:none; line-height:1.6; transition:color .3s ease; }
.footer-section a:hover{ color:#fff; }
.footer-bottom{ text-align:center; padding-top:40px; border-top:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.6); }

/* ===== Animations ===== */
@keyframes slideInLeft{ from{opacity:0; transform:translateX(-60px)} to{opacity:1; transform:translateX(0)} }
@keyframes slideInRight{ from{opacity:0; transform:translateX(60px)} to{opacity:1; transform:translateX(0)} }
@keyframes fadeInUp{ from{opacity:0; transform:translateY(40px)} to{opacity:1; transform:translateY(0)} }

.animate-on-scroll{ opacity:0; transform:translateY(30px); transition:all .6s cubic-bezier(.4,0,.2,1); }
.animate-on-scroll.animated{ opacity:1; transform:translateY(0); }

/* Ripple effect element (was injected via JS; moved to CSS) */
.ripple{ position:absolute; border-radius:50%; background:rgba(255,255,255,.3); transform:scale(0); animation:ripple-animation .6s linear; pointer-events:none; }
@keyframes ripple-animation{ to{ transform:scale(4); opacity:0; } }

/* ===== Responsive ===== */
@media (max-width:1024px){
  .hero-content,.cta-content{ grid-template-columns:1fr; gap:60px; text-align:center; }
  .hero-text h1{ font-size:3rem; }
  .section-title{ font-size:2.5rem; }
  .cta-text{ text-align:center; }
}
@media (max-width:768px){
  .menu-toggle{ display:block; }
  nav ul{ display:none; position:absolute; top:100%; left:0; right:0; background:rgba(255,255,255,.98); backdrop-filter:blur(20px); flex-direction:column; padding:20px; box-shadow:var(--shadow-xl); border-radius:0 0 20px 20px; }
  nav.active ul{ display:flex; }
  .header-container{ padding:16px 20px; }
  .hero-section{ padding:80px 20px 60px; }
  .hero-text h1{ font-size:2.5rem; }
  .features-section,.reviews-section,.brokers-section,.cta-section{ padding:80px 20px; }
  .section-title{ font-size:2rem; }
  .cta-text h2{ font-size:2.5rem; }
  .broker-header{ flex-direction:column; text-align:center; }
  .broker-details{ grid-template-columns:1fr; }
  .broker-actions{ justify-content:center; }
  .slider-nav{ display:none; }
  .review-slide{ grid-template-columns:1fr; }
}
@media (max-width:480px){
  .hero-text h1{ font-size:2rem; }
  .section-title{ font-size:1.75rem; }
  .cta-text h2{ font-size:2rem; }
  .hero-buttons{ flex-direction:column; align-items:stretch; }
  .btn-primary,.btn-secondary{ justify-content:center; }
}

/* Utilities */
.text-gradient{
  background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
