/* ========================================
   PERDYSY MODERN HOMEPAGE
   Namespaced with pdsy- prefix
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

/* ========== VARIABLES ========== */
.pdsy-hero, .pdsy-categories, .pdsy-products, .pdsy-hiw, .pdsy-promo, .pdsy-testimonials, .pdsy-brands {
  --pdsy-primary: #1b72b9;
  --pdsy-primary-dark: #155d96;
  --pdsy-accent: #298fc2;
  --pdsy-text: #333333;
  --pdsy-muted: #777777;
  --pdsy-bg: #ffffff;
  --pdsy-bg-light: #f8f9fb;
  --pdsy-bg-warm: #faf8f5;
  --pdsy-border: #e8e8e8;
  --pdsy-gold: #c9a84c;
  --pdsy-success: #2ecc71;
  --pdsy-white: #ffffff;
  --pdsy-font: 'Jost', Arial, Helvetica, sans-serif;
  --pdsy-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --pdsy-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --pdsy-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --pdsy-shadow-hover: 0 12px 48px rgba(0,0,0,0.15);
  --pdsy-radius: 12px;
  --pdsy-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--pdsy-font);
  box-sizing: border-box;
}

.pdsy-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BUTTONS ========== */
.pdsy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; font-family: var(--pdsy-font);
  font-size: 15px; font-weight: 600; letter-spacing: 0.5px;
  border: none; cursor: pointer; transition: var(--pdsy-transition);
  border-radius: 8px; text-transform: uppercase; text-decoration: none;
  line-height: 1.4;
}
.pdsy-btn--sm { padding: 10px 16px; font-size: 12px; }
.pdsy-btn--primary {
  background: var(--pdsy-primary); color: var(--pdsy-white) !important;
  box-shadow: 0 4px 16px rgba(27,114,185,0.3);
}
.pdsy-btn--primary:hover {
  background: var(--pdsy-primary-dark);
  box-shadow: 0 6px 24px rgba(27,114,185,0.4);
  transform: translateY(-2px); color: var(--pdsy-white) !important;
}
.pdsy-btn--outline {
  background: transparent; color: var(--pdsy-primary) !important;
  border: 2px solid var(--pdsy-primary);
}
.pdsy-btn--outline:hover {
  background: var(--pdsy-primary); color: var(--pdsy-white) !important;
  transform: translateY(-2px);
}
.pdsy-btn--white {
  background: var(--pdsy-white); color: var(--pdsy-primary) !important;
  box-shadow: var(--pdsy-shadow-sm);
}
.pdsy-btn--white:hover { box-shadow: var(--pdsy-shadow-md); transform: translateY(-2px); }

/* ========== SECTION TITLES ========== */
.pdsy-section-title { text-align: center; margin-bottom: 48px; }
.pdsy-section-title h2 {
  font-size: 36px; font-weight: 500; margin-bottom: 12px;
  color: var(--pdsy-text); letter-spacing: -0.5px; font-family: var(--pdsy-font);
}
.pdsy-section-title p {
  font-size: 17px; color: var(--pdsy-muted);
  max-width: 560px; margin: 0 auto; font-family: var(--pdsy-font);
}
.pdsy-divider {
  width: 48px; height: 3px; background: var(--pdsy-primary);
  margin: 16px auto 0; border-radius: 2px;
}

/* ========== HERO ========== */
.pdsy-hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #f0f7fd 0%, #e8f1f8 40%, #faf8f5 100%);
  overflow: hidden; padding: 60px 0;
}
.pdsy-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,114,185,0.06) 0%, transparent 70%);
}
.pdsy-hero .pdsy-container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 2; }
.pdsy-hero__content { flex: 1; max-width: 560px; }
.pdsy-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(27,114,185,0.08); color: var(--pdsy-primary);
  padding: 8px 16px; border-radius: 24px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 24px;
}
.pdsy-hero__title {
  font-size: 52px !important; font-weight: 600 !important; line-height: 1.15 !important;
  color: var(--pdsy-text) !important; margin-bottom: 20px !important; letter-spacing: -1px;
  font-family: var(--pdsy-font) !important;
}
.pdsy-hero__title span { color: var(--pdsy-primary) !important; }
.pdsy-hero__text {
  font-size: 18px; color: var(--pdsy-muted);
  line-height: 1.7; margin-bottom: 36px; font-family: var(--pdsy-font);
}
.pdsy-hero__buttons { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.pdsy-trust-badges { display: flex; gap: 32px; flex-wrap: wrap; }
.pdsy-trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--pdsy-muted); font-weight: 500;
}
.pdsy-trust-badge svg { flex-shrink: 0; }
.pdsy-hero__image { flex: 1; display: flex; justify-content: center; position: relative; }
.pdsy-hero__image img {
  width: 100%; max-width: 520px; border-radius: 16px;
  box-shadow: var(--pdsy-shadow-lg); height: auto;
}
.pdsy-hero__float {
  position: absolute; background: var(--pdsy-white);
  padding: 16px 20px; border-radius: var(--pdsy-radius);
  box-shadow: var(--pdsy-shadow-md); animation: pdsy-float 3s ease-in-out infinite;
}
.pdsy-hero__float--left { bottom: 40px; left: -30px; }
.pdsy-hero__float--right { top: 40px; right: -20px; }
.pdsy-float__label { font-size: 11px; text-transform: uppercase; color: var(--pdsy-muted); letter-spacing: 1px; }
.pdsy-float__value { font-size: 20px; font-weight: 600; color: var(--pdsy-primary); margin-top: 4px; }
@keyframes pdsy-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== CATEGORIES ========== */
.pdsy-categories { padding: 100px 0; background: var(--pdsy-bg); }
.pdsy-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pdsy-category-card {
  position: relative; border-radius: var(--pdsy-radius); overflow: hidden;
  cursor: pointer; transition: var(--pdsy-transition);
  background: var(--pdsy-bg-light); padding: 48px 32px;
  text-align: center; border: 1px solid var(--pdsy-border);
  text-decoration: none !important; display: block;
}
.pdsy-category-card:hover {
  transform: translateY(-6px); box-shadow: var(--pdsy-shadow-hover);
  border-color: var(--pdsy-primary);
}
.pdsy-category-icon {
  width: 72px; height: 72px; margin: 0 auto 24px;
  background: rgba(27,114,185,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--pdsy-transition);
}
.pdsy-category-card:hover .pdsy-category-icon { background: var(--pdsy-primary); }
.pdsy-category-card:hover .pdsy-category-icon svg { stroke: var(--pdsy-white); }
.pdsy-category-icon svg { transition: var(--pdsy-transition); }
.pdsy-category-card h3 {
  font-size: 22px; font-weight: 600; margin-bottom: 8px;
  color: var(--pdsy-text); font-family: var(--pdsy-font);
}
.pdsy-category-card p { font-size: 15px; color: var(--pdsy-muted); margin-bottom: 0; }
.pdsy-card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; font-weight: 600;
  color: var(--pdsy-primary); transition: var(--pdsy-transition);
}
.pdsy-category-card:hover .pdsy-card-arrow { gap: 12px; }

/* ========== PRODUCTS ========== */
.pdsy-products { padding: 100px 0; background: var(--pdsy-bg-light); }
.pdsy-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pdsy-product-card {
  background: var(--pdsy-white); border-radius: var(--pdsy-radius);
  overflow: hidden; transition: var(--pdsy-transition); position: relative;
  border: 1px solid transparent;
}
.pdsy-product-card:hover { transform: translateY(-4px); box-shadow: var(--pdsy-shadow-hover); border-color: var(--pdsy-border); }
.pdsy-product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 12px; border-radius: 4px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: #fff;
}
.pdsy-badge--bestseller { background: var(--pdsy-gold); }
.pdsy-badge--trending { background: var(--pdsy-primary); }
.pdsy-badge--new { background: var(--pdsy-success); }
.pdsy-product-image {
  position: relative; overflow: hidden;
  background: var(--pdsy-bg-light); padding: 20px;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.pdsy-product-image img { width: 85%; transition: var(--pdsy-transition); height: auto; }
.pdsy-product-card:hover .pdsy-product-image img { transform: scale(1.05); }
.pdsy-product-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; gap: 8px; padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.03));
  transform: translateY(100%); transition: var(--pdsy-transition);
}
.pdsy-product-card:hover .pdsy-product-actions { transform: translateY(0); }
.pdsy-product-actions .pdsy-btn { flex: 1; }
.pdsy-product-info { padding: 20px; }
.pdsy-product-brand {
  font-size: 12px; text-transform: uppercase; color: var(--pdsy-muted);
  letter-spacing: 1px; margin-bottom: 4px;
}
.pdsy-product-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; color: var(--pdsy-text); }
.pdsy-product-bottom { display: flex; align-items: center; justify-content: space-between; }
.pdsy-product-price { font-size: 18px; font-weight: 600; color: var(--pdsy-accent); }
.pdsy-product-rating { display: flex; gap: 2px; }

/* ========== HOW IT WORKS ========== */
.pdsy-hiw { padding: 100px 0; background: var(--pdsy-bg); }
.pdsy-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.pdsy-steps-grid::before {
  content: ''; position: absolute; top: 40px; left: 20%; right: 20%;
  height: 2px; background: linear-gradient(90deg, transparent, var(--pdsy-border), transparent);
}
.pdsy-step-card { text-align: center; position: relative; z-index: 2; }
.pdsy-step-number {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--pdsy-primary), var(--pdsy-accent));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: var(--pdsy-white);
  box-shadow: 0 4px 20px rgba(27,114,185,0.25);
}
.pdsy-step-card h3 {
  font-size: 20px; font-weight: 600; margin-bottom: 8px;
  color: var(--pdsy-text); font-family: var(--pdsy-font);
}
.pdsy-step-card p { font-size: 15px; color: var(--pdsy-muted); max-width: 280px; margin: 0 auto; }

/* ========== PROMO BANNER ========== */
.pdsy-promo {
  padding: 80px 0;
  background: linear-gradient(135deg, #1b72b9, #298fc2, #1b72b9);
  color: var(--pdsy-white); text-align: center; position: relative;
  overflow: hidden;
}
.pdsy-promo::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
}
.pdsy-promo .pdsy-container { position: relative; z-index: 2; }
.pdsy-promo__eyebrow {
  font-size: 14px; text-transform: uppercase; letter-spacing: 3px;
  opacity: 0.8; margin-bottom: 16px; color: var(--pdsy-white);
}
.pdsy-promo h2 {
  font-size: 48px !important; font-weight: 700 !important; margin-bottom: 16px !important;
  color: var(--pdsy-white) !important; font-family: var(--pdsy-font) !important;
}
.pdsy-promo p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; color: var(--pdsy-white); }

/* ========== TESTIMONIALS ========== */
.pdsy-testimonials { padding: 100px 0; background: var(--pdsy-bg-warm); }
.pdsy-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pdsy-testimonial-card {
  background: var(--pdsy-white); padding: 36px; border-radius: var(--pdsy-radius);
  box-shadow: var(--pdsy-shadow-sm); transition: var(--pdsy-transition);
  border: 1px solid var(--pdsy-border);
}
.pdsy-testimonial-card:hover { box-shadow: var(--pdsy-shadow-md); transform: translateY(-4px); }
.pdsy-testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.pdsy-testimonial-text {
  font-size: 16px; line-height: 1.7; color: var(--pdsy-text);
  margin-bottom: 20px; font-style: italic;
}
.pdsy-testimonial-author { display: flex; align-items: center; gap: 12px; }
.pdsy-testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pdsy-primary), var(--pdsy-accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--pdsy-white); font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.pdsy-testimonial-name { font-weight: 600; font-size: 15px; color: var(--pdsy-text); }
.pdsy-testimonial-role { font-size: 13px; color: var(--pdsy-muted); }

/* ========== BRANDS ========== */
.pdsy-brands { padding: 80px 0; background: var(--pdsy-bg); border-top: 1px solid var(--pdsy-border); }
.pdsy-brand-grid {
  display: flex; justify-content: center; align-items: center;
  gap: 48px; flex-wrap: wrap;
}
.pdsy-brand-item {
  font-size: 22px; font-weight: 600; color: var(--pdsy-border);
  letter-spacing: 2px; text-transform: uppercase;
  transition: var(--pdsy-transition); cursor: pointer;
  font-family: var(--pdsy-font);
}
.pdsy-brand-item:hover { color: var(--pdsy-text); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .pdsy-hero__title { font-size: 42px !important; }
  .pdsy-product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .pdsy-hero .pdsy-container { flex-direction: column; text-align: center; }
  .pdsy-hero__content { max-width: 100%; }
  .pdsy-hero__buttons { justify-content: center; }
  .pdsy-trust-badges { justify-content: center; }
  .pdsy-hero__title { font-size: 34px !important; }
  .pdsy-hero__float { display: none; }
  .pdsy-category-grid { grid-template-columns: 1fr; gap: 16px; }
  .pdsy-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pdsy-steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdsy-steps-grid::before { display: none; }
  .pdsy-testimonial-grid { grid-template-columns: 1fr; }
  .pdsy-section-title h2 { font-size: 28px !important; }
  .pdsy-promo h2 { font-size: 32px !important; }
  .pdsy-hero { min-height: auto; padding: 40px 0; }
}
@media (max-width: 480px) {
  .pdsy-product-grid { grid-template-columns: 1fr; }
  .pdsy-hero__title { font-size: 28px !important; }
  .pdsy-brand-grid { gap: 24px; }
}