/* PharmaSales Web Design System - Navy Blue, Green, Gold Yellow & White Palette */

:root {
  --navy-dark: #0a1128;
  --navy-card: rgba(28, 42, 72, 0.9);
  --navy-card-hover: rgba(37, 55, 92, 0.95);
  
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-emerald: rgba(16, 185, 129, 0.4);
  --border-gold: rgba(251, 191, 36, 0.4);

  --primary-green: #10b981;
  --primary-green-hover: #059669;
  --primary-green-glow: rgba(16, 185, 129, 0.35);
  
  --accent-gold: #fbbf24;
  --accent-gold-dark: #f59e0b;
  --accent-gold-glow: rgba(251, 191, 36, 0.3);
  
  --text-white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--navy-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.2) 0%, transparent 55%),
              radial-gradient(circle at 80% 40%, rgba(251, 191, 36, 0.15) 0%, transparent 45%),
              var(--navy-dark);
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-white);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-text {
  color: var(--accent-gold);
}

.green-text {
  color: var(--primary-green);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--primary-green);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.4rem;
  font-family: 'Outfit', sans-serif;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  object-fit: cover;
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* PlayStore Badge Button (Gold & Green Accent) */
.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  border: 2px solid var(--accent-gold);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
  transition: var(--transition-bounce);
}

.btn-playstore:hover {
  transform: translateY(-2px);
  border-color: var(--primary-green);
  box-shadow: 0 8px 25px var(--primary-green-glow);
}

.btn-playstore svg {
  width: 24px;
  height: 24px;
  color: var(--accent-gold);
}

.btn-playstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-playstore-text .small-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.btn-playstore-text .large-text {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
}

.hero-logo-box {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-logo-img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 35px var(--accent-gold-glow), 0 0 20px var(--primary-green-glow);
  object-fit: cover;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.host-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--accent-gold);
  font-family: monospace;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: var(--navy-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  transition: var(--transition-fast);
}

.stat-card:hover {
  background: var(--navy-card-hover);
  border-color: var(--primary-green);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Section Styling */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--navy-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  background: var(--navy-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-6px);
}

.feature-card:hover::before {
  opacity: 1;
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Steps Walkthrough */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-items: flex-start;
  transition: var(--transition-fast);
}

.step-item:hover {
  border-color: var(--accent-gold);
  background: var(--navy-card-hover);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
  color: #000000;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Prominent Acceptance Notice Banner */
.acceptance-notice {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(251, 191, 36, 0.18));
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.acceptance-icon {
  font-size: 2rem;
  color: var(--accent-gold);
}

.acceptance-text p {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.05rem;
}

.acceptance-text span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Expanded Legal Section (No Scrollbox Collapse!) */
.legal-expanded-box {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-card {
  background: var(--navy-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-fast);
}

.legal-card:hover {
  border-color: var(--border-gold);
  background: var(--navy-card-hover);
}

.legal-card h3 {
  font-size: 1.6rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-glass);

  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-card h4 {
  color: var(--primary-green);
  margin: 20px 0 8px;
  font-size: 1.15rem;
}

.legal-card p, .legal-card ul {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-card ul {
  padding-left: 24px;
}

.legal-card li {
  margin-bottom: 8px;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 40px;
  background: #050b1a;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

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

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
}

.footer-brand span {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-white);
}

.footer-col p {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-map:hover {
  background: rgba(251, 191, 36, 0.25);
  border-color: var(--accent-gold);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .step-item {
    grid-template-columns: 1fr;
  }
  .acceptance-notice {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
