/* ==========================================================================
   PeddleMe - Brand Stylesheet
   ========================================================================== */

:root {
  --primary: #FF5A36;
  --primary-hover: #E04826;
  --secondary: #2B3A42;
  --accent: #FFB800;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

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

/* --- Typography & Buttons --- */
h1, h2, h3 {
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.2;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(255, 90, 54, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 90, 54, 0.45);
}

.btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: #FFF;
  transform: translateY(-2px);
}

.btn-card {
  width: 100%;
  background-color: var(--secondary);
  color: #FFF;
  padding: 12px 20px;
}

.btn-card:hover {
  background-color: #1A252C;
}

/* --- Header & Nav --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-mark { color: var(--secondary); }
.logo-accent { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 80px 0;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(255, 90, 54, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-backdrop {
  position: absolute;
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, rgba(255,90,54,0.15), rgba(43,58,66,0.05));
  border-radius: var(--radius-lg);
  top: 5%;
  left: 5%;
  z-index: 1;
}

.hero-img-link {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-img:hover {
  transform: scale(1.02);
}

/* --- Cycle Cards Section --- */
.cycles-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card-popular {
  border: 2px solid var(--primary);
  transform: scale(1.03);
}

.card-popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--accent);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 10;
  letter-spacing: 0.5px;
}

.card-image-container {
  position: relative;
  height: 240px;
  background-color: #F1F5F9;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img {
  transform: scale(1.05);
}

.size-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(43, 58, 66, 0.85);
  color: #FFF;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.card-age {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* --- About Us Section --- */
.about-section {
  padding: 90px 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.about-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.8;
}

/* --- Why PeddleMe Section --- */
.why-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.info-box {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.info-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.info-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--secondary);
  color: #FFF;
  padding: 64px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-white .logo-mark { color: #FFF; }

.footer-brand p {
  color: #94A3B8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-cta-block h3 {
  color: #FFF;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.footer-cta-block p {
  color: #94A3B8;
  margin-bottom: 20px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
  color: #64748B;
}

/* --- Sticky Mobile Bottom Bar --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  border-top: 1px solid var(--border-color);
}

.mobile-btn {
  width: 100%;
  font-size: 1.05rem;
  padding: 14px 20px;
  box-shadow: none;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons, .hero-features {
    justify-content: center;
  }

  .cards-grid, .grid-3 {
    grid-template-columns: 1fr;
  }

  .card-popular {
    transform: none;
  }

  .card-popular:hover {
    transform: translateY(-8px);
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .header {
    padding: 12px 0;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 32px;
    box-shadow: none;
    display: none;
    z-index: 999;
    border-bottom: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.25rem;
    font-weight: 700;
  }

  .header-cta .btn {
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.05rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
  }

  .hero-img {
    height: 260px;
  }

  .cycles-section, .why-section, .about-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-image-container {
    height: 210px;
  }

  .btn-card {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .footer {
    padding-bottom: 70px;
  }
}