/* style.css - Premium, Trustworthy Design for ProstaFlow */

:root {
  --primary-color: #0b3954; /* Deep, trustworthy blue */
  --secondary-color: #087e8b; /* Teal, health/wellness */
  --accent-color: #ff5a5f; /* Action color for CTA */
  --accent-hover: #e0484d;
  --bg-color: #f7f9fb; /* Soft, clean background */
  --white: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #e0e6ed;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; text-align: center; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1.2rem; }

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
.logo span {
  color: var(--secondary-color);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-main);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}
.btn, .cta-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white) !important;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
}
.btn:hover, .cta-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, #eef3f7 100%);
  padding: 4rem 0;
  overflow: hidden;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-text {
  flex: 1;
}
.hero-text p.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-width: 400px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}
.trust-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}
.trust-badges img {
  height: 40px;
  width: auto;
}

/* Sections */
section {
  padding: 5rem 0;
}
section:nth-child(even) {
  background-color: var(--white);
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Cards */
.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.card h3 {
  color: var(--secondary-color);
  margin-top: 1rem;
}

/* Article Cluster */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border-color: var(--secondary-color);
}
.article-card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}
.article-card a {
  margin-top: auto;
  font-weight: 600;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-card a:hover {
  text-decoration: none;
  color: var(--accent-hover);
}
.article-card a::after {
  content: '→';
  transition: transform 0.3s ease;
}
.article-card a:hover::after {
  transform: translateX(4px);
}

/* Pricing / Offer Section */
.offer-section {
  background-color: var(--primary-color);
  color: var(--white);
}
.offer-section h2, .offer-section p {
  color: var(--white);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.pricing-card {
  background: var(--white);
  color: var(--text-main);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
}
.pricing-card.popular {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
}
.pricing-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
}
.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1rem 0;
}
.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.features-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  text-align: left;
}
.features-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.features-list li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
}
.guarantee-card {
  margin-top: 3rem;
  background: var(--white);
  color: var(--text-main);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.guarantee-card img {
  max-width: 150px;
}
.guarantee-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.guarantee-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.card-types-mini {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}
.card-types-mini span {
  font-size: 0.7rem;
  font-weight: 700;
  background: #f0f4f8;
  color: var(--primary-color);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #d1d9e6;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}
.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: #051925;
  color: #a0aec0;
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #a0aec0;
}
.footer-links a:hover {
  color: var(--white);
}
.disclaimers {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.8rem;
  text-align: center;
}
.disclaimers p {
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .trust-badges {
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .pricing-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* Secure Checkout */
.secure-checkout {
  margin-top: 3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}
.secure-checkout p {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.checkout-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.checkout-icons .icon {
  background: var(--white);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
