/* ============================================================
   Top Trade Websites — Portfolio Hub
   style.css
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f8fafc;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: #0f172a;
}

.section-sub {
  text-align: center;
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(8px);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.navbar-brand-icon {
  width: 32px;
  height: 32px;
  background: #3b82f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.navbar-cta {
  display: none;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s;
}

.navbar-cta:hover {
  background: rgba(255,255,255,0.1);
}

@media (min-width: 560px) {
  .navbar-cta {
    display: flex;
  }
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #164e63 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #f8fafc;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-headline {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-headline span {
  color: #93c5fd; /* blue-300 */
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subheadline strong {
  color: #fff;
  font-weight: 700;
}

/* ---------- WHATSAPP BUTTON (always green — brand recognition) ---------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  flex-shrink: 0;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- PORTFOLIO GRID ---------- */
.portfolio-section {
  background: #f1f5f9;
}

/* PORTFOLIO GRID — 1 col mobile, 2 tablet, 3 desktop */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   PORTFOLIO CARD — Copy/paste the HTML block between
   "START PORTFOLIO CARD" and "END PORTFOLIO CARD" comments
   inside the .portfolio-grid div to add a new website.
   ============================================================ */
.portfolio-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-preview {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e2e8f0;
}

.card-preview iframe {
  width: 400%;
  height: 800px;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
  border: none;
}

.card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-trade-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.card-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.3;
}

.btn-view-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  width: fit-content;
}

.btn-view-site:hover {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

/* ---------- WHY A REAL WEBSITE WINS ---------- */
.why-section {
  background: #0f172a;
  color: #fff;
}

.why-section .section-title {
  color: #fff;
}

.why-section .section-sub {
  color: #94a3b8;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.why-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-6px);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.why-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #93c5fd;
  margin-bottom: 12px;
}

.why-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- VALUE PROP / ABOUT ---------- */
.about-section {
  background: #f1f5f9;
  text-align: center;
}

.about-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 32px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
  max-width: 720px;
  margin: 0 auto;
}

.about-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.about-brand-icon {
  width: 32px;
  height: 32px;
  background: #3b82f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.about-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
}

.about-headline {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.about-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #475569;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.about-price-note {
  margin-top: 20px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  font-weight: 600;
}

/* ---------- STICKY WHATSAPP BUTTON ---------- */
.sticky-whatsapp {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.2) 60%, transparent 100%);
  z-index: 1000;
  display: flex;
  justify-content: center;
}

/* Show on mobile only — hide on desktop */
@media (min-width: 768px) {
  .sticky-whatsapp {
    display: none;
  }
}

.sticky-whatsapp a {
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: background 0.2s;
}

.sticky-whatsapp a:hover {
  background: #1ebe5d;
}

.sticky-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0f172a;
  color: #64748b;
  text-align: center;
  padding: 40px 20px 96px;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: #3b82f6;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.footer-brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- RESPONSIVE HELPERS ---------- */
@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 72px 0 80px;
  }
}
