/* modern.css - Premium UI adjustments for index page */

:root {
  --gradient-blue: linear-gradient(135deg, #0057B8 0%, #00224a 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

/* Base resets for modern components */
.premium-bg {
  background-color: #f8fafc;
}

.text-gradient {
  background: linear-gradient(90deg, #0057B8, #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-alt {
  background: linear-gradient(90deg, #ffb700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Hero */
.premium-hero {
  position: relative;
  background-color: #ffffff;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.premium-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0,87,184,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.premium-hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .premium-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 87, 184, 0.1);
  color: #0057B8;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-heading {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (max-width: 768px) {
  .hero-heading { font-size: 2.8rem; }
}

.hero-desc {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 550px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (max-width: 992px) {
  .hero-desc { margin: 0 auto 40px; }
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (max-width: 992px) {
  .hero-actions { justify-content: center; }
}

.btn-gradient {
  background: var(--gradient-blue);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 87, 184, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 87, 184, 0.4);
}

.btn-outline-glass {
  background: transparent;
  color: #0057B8;
  border: 2px solid rgba(0, 87, 184, 0.2);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
  background: rgba(0, 87, 184, 0.05);
  border-color: #0057B8;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeIn 1s ease-out 1s both;
}

@media (max-width: 992px) {
  .hero-stats { justify-content: center; }
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 500px;
  animation: floatInRight 1s ease-out 0.5s both;
}

@media (max-width: 992px) {
  .hero-visual { min-height: 400px; }
}

.hero-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: var(--gradient-blue);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.1;
}

@media (max-width: 768px) {
  .hero-circle { width: 300px; height: 300px; }
}

.hero-main-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  max-width: 650px;
  height: 380px;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  border: 3px solid rgba(255,255,255,0.3);
}

.glass-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  padding: 15px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,1);
  z-index: 2;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s infinite ease-in-out;
}

.top-widget {
  top: 10%;
  right: -5%;
  animation-delay: 1s;
}

.bottom-widget {
  bottom: 15%;
  left: -5%;
}

.text-accent { color: #ffb700; }

/* Modern Bikes Section */
.section-header-modern {
  text-align: center;
  margin-bottom: 60px;
}

.modern-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.modern-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.modern-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
}

.modern-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 87, 184, 0.1);
}

.modern-card-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.modern-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.modern-card:hover .modern-card-img-wrap img {
  transform: scale(1.1);
}

.modern-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 87, 184, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
}

.modern-card:hover .modern-card-overlay {
  opacity: 1;
}

.modern-card-overlay .btn {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.modern-card:hover .modern-card-overlay .btn {
  transform: translateY(0);
}

.modern-card-content {
  padding: 30px;
  position: relative;
}

.card-tag {
  position: absolute;
  top: -15px;
  right: 30px;
  background: #0057B8;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,87,184,0.3);
}

.tag-premium { background: #111; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.tag-mileage { background: #25D366; box-shadow: 0 4px 10px rgba(37,211,102,0.3); }

.modern-card-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.modern-price {
  color: #0057B8;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.modern-specs {
  display: flex;
  gap: 20px;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.modern-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}

.modern-specs li i { color: #0057B8; }

/* Dark EMI Section */
.dark-section {
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc') center/cover;
  opacity: 0.05;
  z-index: 0;
}

.emi-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .emi-grid-modern { grid-template-columns: 1fr; }
}

.modern-title-light {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.emi-text-side p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.emi-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.emi-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 1.1rem;
}

.emi-features li i {
  color: #ffb700;
  font-size: 1.2rem;
}

.emi-dashboard-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.emi-dashboard-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
}

.emi-dashboard-header h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
}

.emi-dashboard-body {
  padding: 30px;
}

.form-group-modern {
  margin-bottom: 25px;
}

.form-group-modern label {
  display: flex;
  justify-content: space-between;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 12px;
}

.highlight-val {
  color: #ffb700;
  font-weight: 700;
  font-size: 1.1rem;
}

.styled-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #334155;
  border-radius: 5px;
  outline: none;
}

.styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffb700;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 183, 0, 0.5);
}

.emi-result-modern {
  margin-top: 40px;
  background: var(--gradient-blue);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emi-result-modern::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  animation: shimmer 3s infinite linear;
}

.result-label {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.result-value {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin: 10px 0 20px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.result-breakdown {
  display: flex;
  justify-content: space-around;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}

/* Advantage Section */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  border-bottom-color: #0057B8;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.adv-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(0, 87, 184, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0057B8;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.advantage-card:hover .adv-icon-wrap {
  background: #0057B8;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.advantage-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #0f172a;
}

.advantage-card p {
  color: #64748b;
  line-height: 1.7;
}

/* SEO Modern Card */
.seo-modern {
  position: relative;
}

.seo-card {
  background: white;
  padding: 60px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.seo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--gradient-blue);
}

.cta-banner {
  margin-top: 40px;
  background: #f8fafc;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid #e2e8f0;
}

.cta-banner h3 {
  color: #0f172a;
  margin-bottom: 5px;
}

.cta-banner p {
  margin-bottom: 0;
  color: #64748b;
}

/* Reviews Section */
.reviews-section {
  position: relative;
}

.reviews-header {
  text-align: center;
  margin-bottom: 20px;
}

.reviews-overall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.reviews-overall-score {
  font-size: 3.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.reviews-overall-details {
  text-align: left;
}

.reviews-stars {
  color: #ffb700;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.reviews-count {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 25px;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 5rem;
  color: rgba(0, 87, 184, 0.06);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 87, 184, 0.1);
  border-color: rgba(0, 87, 184, 0.1);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.85rem;
  color: #94a3b8;
}

.review-card-stars {
  color: #ffb700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.review-text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.review-google-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}

.review-google-badge i {
  color: #4285F4;
  font-size: 1rem;
}

.reviews-cta {
  text-align: center;
  margin-top: 50px;
}

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}

/* Layout Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Gallery Section Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 280px;
  background: #f1f5f9;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 87, 184, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 87, 184, 0.9), transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
  .gallery-item {
    height: 220px;
  }
}
