/* =============================================
   PromoSurprise.com — Main Stylesheet
   ============================================= */

/* --- CSS Variables --- */
:root {
  --navy:       #0d1b3e;
  --navy-dark:  #080f22;
  --navy-mid:   #122352;
  --navy-light: #1e3a6e;
  --accent:     #4a90d9;
  --accent-alt: #1abc9c;
  --white:      #ffffff;
  --off-white:  #f4f6fb;
  --gray:       #6b7280;
  --gray-light: #e5e7eb;
  --text:       #1f2937;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--gray); }

/* --- Utility --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { margin-top: .6rem; font-size: 1.05rem; }
.badge { display: inline-block; background: var(--accent); color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 1rem; }
.btn { display: inline-block; padding: 13px 30px; border-radius: var(--radius); font-weight: 700; font-size: .95rem; cursor: pointer; border: none; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.btn-primary   { background: var(--accent); color: var(--white); }
.btn-outline   { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy      { background: var(--navy); color: var(--white); }
.btn-navy:hover{ background: var(--navy-light); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: 1180px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 38px; height: 38px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--white); }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.8); font-weight: 500; font-size: .95rem; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* Mobile Nav */
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(255,255,255,.85); padding: 14px 24px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.07); transition: background var(--transition); }
.mobile-nav a:hover { background: rgba(255,255,255,.06); }

/* =============================================
   HERO — Section 1
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 100px 20px 80px; text-align: center; color: var(--white); overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(74,144,217,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge { margin-bottom: 1.2rem; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 2.2rem; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 3.5rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--white); }
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; }

/* =============================================
   FEATURED DEALS — Section 2
   ============================================= */
.featured-deals { padding: 80px 20px; background: var(--off-white); }
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.deal-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.deal-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.deal-img {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.deal-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.deal-category { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.deal-body h3 { color: var(--text); }
.deal-body p { font-size: .9rem; flex: 1; }
.deal-pricing { display: flex; align-items: baseline; gap: 10px; }
.deal-price { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.deal-original { font-size: .9rem; color: var(--gray); text-decoration: line-through; }
.deal-discount { font-size: .8rem; font-weight: 700; color: var(--accent-alt); background: rgba(26,188,156,.1); padding: 2px 8px; border-radius: 12px; }
.deal-card .btn { margin-top: auto; width: 100%; text-align: center; }

/* =============================================
   CATEGORIES — Section 3
   ============================================= */
.categories { padding: 80px 20px; background: var(--navy); }
.categories .section-header h2 { color: var(--white); }
.categories .section-header p   { color: rgba(255,255,255,.65); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.cat-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  cursor: pointer; transition: background var(--transition), transform var(--transition);
}
.cat-card:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.cat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.cat-card h3 { color: var(--white); font-size: 1rem; }
.cat-card p   { color: rgba(255,255,255,.55); font-size: .82rem; margin-top: 4px; }

/* =============================================
   HOW IT WORKS — Section 4
   ============================================= */
.how-it-works { padding: 80px 20px; background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px; }
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }

/* =============================================
   SURPRISE DEAL OF THE WEEK — Section 5
   ============================================= */
.deal-of-week {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
}
.dotw-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.dotw-visual {
  background: rgba(255,255,255,.08); border-radius: 16px;
  height: 320px; display: flex; align-items: center; justify-content: center;
  font-size: 6rem; border: 1px solid rgba(255,255,255,.15);
}
.dotw-content .badge { background: var(--accent-alt); }
.dotw-content h2 { color: var(--white); margin-bottom: 1rem; }
.dotw-content p  { color: rgba(255,255,255,.7); margin-bottom: 1.8rem; }
.dotw-meta { display: flex; gap: 24px; margin-bottom: 1.8rem; flex-wrap: wrap; }
.dotw-meta-item strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.dotw-meta-item span   { font-size: .8rem; color: rgba(255,255,255,.55); text-transform: uppercase; }
.countdown { display: flex; gap: 12px; margin-bottom: 2rem; }
.countdown-unit { text-align: center; background: rgba(255,255,255,.1); border-radius: 8px; padding: 10px 14px; min-width: 60px; }
.countdown-unit strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); line-height: 1; }
.countdown-unit span   { font-size: .7rem; color: rgba(255,255,255,.55); text-transform: uppercase; margin-top: 4px; display: block; }

/* =============================================
   NEWSLETTER — Section 6
   ============================================= */
.newsletter {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  text-align: center;
}
.newsletter h2 { color: var(--white); margin-bottom: .8rem; }
.newsletter p   { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; justify-content: center; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 220px; padding: 14px 18px; border-radius: var(--radius);
  border: none; font-size: 1rem; outline: none;
}
.newsletter-form input::placeholder { color: var(--gray); }
.newsletter-note { margin-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.5); }

/* =============================================
   WHY CHOOSE US — Section 7
   ============================================= */
.why-us { padding: 80px 20px; background: var(--off-white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { margin-bottom: 8px; }

/* =============================================
   TESTIMONIALS — Section 8
   ============================================= */
.testimonials { padding: 80px 20px; background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testi-card {
  background: var(--off-white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; }
.testi-card blockquote { font-size: .98rem; color: var(--text); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}
.testi-author strong { display: block; font-size: .95rem; color: var(--text); }
.testi-author span   { font-size: .82rem; color: var(--gray); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
}
.footer-brand { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-copy { width: 100%; text-align: center; font-size: .82rem; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 10px; }

/* =============================================
   POLICY PAGES
   ============================================= */
.policy-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 60px 20px; text-align: center;
}
.policy-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.policy-hero p   { color: rgba(255,255,255,.65); margin-top: .6rem; }
.policy-body { padding: 60px 20px; }
.policy-body .container { max-width: 820px; }
.policy-body h2 { color: var(--navy); margin: 2rem 0 .8rem; font-size: 1.3rem; }
.policy-body p, .policy-body li { color: var(--text); margin-bottom: .8rem; line-height: 1.8; }
.policy-body ul { padding-left: 1.4rem; list-style: disc; }
.policy-body a { color: var(--accent); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .dotw-inner { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .dotw-inner { grid-template-columns: 1fr; }
  .dotw-visual { height: 200px; font-size: 4rem; }
  .hero { padding: 70px 20px 60px; }
  .hero-stats { gap: 28px; }
  .countdown { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .deals-grid, .categories-grid, .steps-grid, .features-grid, .testi-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
