/* ===== Kpsoclub - Main Stylesheet ===== */

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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f7;
  --bg-card: #f2f2f2;
  --bg-card-hover: #e8e8e8;
  --accent-orange: #387ed1;
  --accent-yellow: #5b9bd5;
  --accent-green: #387ed1;
  --text-primary: #1a1a1a;
  --text-secondary: #444444;
  --text-muted: #888888;
  --border-color: #e0e0e0;
  --border-accent: #387ed1;
  --recommended-bg: #eff6ff;
  --recommended-border: #387ed1;
  --header-bg: #ffffff;
  --footer-bg: #f7f7f7;
  --nav-bg: #ffffff;
  --font-main: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
}

body {
  background-color: #ffffff;
  color: #1a1a1a;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #2b6cb0;
}

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

/* ===== HEADER + NAV (merged) ===== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 50px;
  width: auto;
}

/* ===== NAVIGATION (inline in header) ===== */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: #444444;
  font-size: 14px;
  padding: 8px 12px;
  display: inline-block;
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

.nav-sep {
  display: inline-block;
  width: 36px;
  flex-shrink: 0;
  user-select: none;
}

.nav-cta {
  background: #387ed1;
  color: #fff !important;
  border-radius: 20px;
  padding: 8px 18px !important;
  font-weight: 700;
  border-bottom: none !important;
  margin-left: 8px;
  transition: background 0.2s, transform 0.1s !important;
}

.nav-cta:hover {
  background: #2b6cb0;
  color: #fff !important;
  border-bottom: none !important;
  transform: scale(1.03);
}

/* Hamburger menu */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #e0e0e0;
  color: #1a1a1a;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 18px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  text-align: center;
  padding: 64px 20px 48px;
  background: #eff6ff;
  border-bottom: 1px solid #e0e0e0;
}

.hero-section h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 12px;
  color: #1a1a1a;
}

.hero-subtitle {
  font-size: 17px;
  color: #444444;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}


.hero-legal {
  font-size: 12px;
  color: #64748b;
  margin-top: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 0;
}

.hero-features li {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 14px;
  color: #444444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
}

.offer-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* ===== PRICING CARDS ===== */
.pricing-section {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.section-subtitle {
  color: #444444;
  font-size: 16px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #387ed1;
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(29,78,216,0.13);
  border-color: #387ed1;
}

.pricing-card.recommended {
  background: #eff6ff;
  border-color: #387ed1;
  transform: scale(1.03);
}

.pricing-card.recommended:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: #387ed1;
}

.recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #387ed1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.disclaimer-note {
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.disclaimer-note a {
  color: #dc2626;
  text-decoration: underline;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.plan-name small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-original {
  font-size: 18px;
  color: #888888;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-sale {
  font-size: 42px;
  font-weight: 800;
  color: #387ed1;
  margin-bottom: 4px;
}

.price-sale span {
  font-size: 22px;
}

.price-savings {
  font-size: 13px;
  color: #16a34a;
  margin-bottom: 24px;
  font-weight: 600;
}

.read-more-btn {
  background: none;
  border: none;
  color: #387ed1;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0 4px;
  text-align: left;
  display: block;
}

.read-more-btn:hover {
  color: #2b6cb0;
  text-decoration: underline;
}

.plan-details {
  margin: 10px 0 14px;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.plan-details p {
  margin-bottom: 8px;
}

.plan-details ul {
  padding-left: 18px;
  margin: 0;
}

.plan-details ul li {
  margin-bottom: 4px;
}

.btn-buy {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #387ed1;
  margin-top: auto;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn-buy:hover {
  background: #2b6cb0;
  color: #fff;
  transform: scale(1.02);
}

.pricing-card.recommended .btn-buy {
  background: #387ed1;
}

.pricing-card.recommended .btn-buy:hover {
  background: #2b6cb0;
}

.footer-follow-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.footer-telegram-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.btn-telegram-footer {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #387ed1;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.btn-telegram-footer:hover {
  background: #2b6cb0;
  color: #fff;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}

.social-icon-link:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f7f7f7;
  border-top: 1px solid #e0e0e0;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #444444;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent-orange);
}

.footer-regulatory {
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
  text-align: center;
}

.footer-regulatory-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-regulatory-links a {
  font-size: 13px;
  color: #444444;
  border: 1px solid #e0e0e0;
  padding: 4px 14px;
  border-radius: 20px;
}

.footer-regulatory-links a:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.footer-disclaimer {
  font-size: 12px;
  color: #888888;
  max-width: 900px;
  margin: 16px auto;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 20px 0;
}

.footer-social a {
  color: #444444;
  font-size: 20px;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent-orange);
}

.footer-copyright {
  font-size: 13px;
  color: #888888;
  margin-top: 16px;
}

/* ===== INNER PAGE STYLES ===== */
.page-hero {
  background: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
  padding: 50px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.page-hero p {
  color: #444444;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
}

.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-orange);
  margin: 24px 0 10px;
}

.page-content p {
  color: #444444;
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.page-content ul li {
  color: #444444;
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.7;
}

.page-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
}

.page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content ol li {
  color: #444444;
  padding: 4px 0;
  line-height: 1.7;
}

.info-card {
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
}

.info-card h3 {
  color: var(--accent-orange);
  margin: 0 0 14px;
  font-size: 16px;
}

.info-card p, .info-card li {
  font-size: 14px;
  color: #444444;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.contact-card {
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.contact-card p {
  font-size: 14px;
  color: #444444;
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--accent-orange);
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.social-link-card {
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}

.social-link-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  color: #1a1a1a;
}

.social-link-card .icon {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}

.social-link-card .label {
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  display: block;
}

.social-link-card .handle {
  font-size: 13px;
  color: #888888;
  margin-top: 4px;
  display: block;
}

.discount-tag {
  display: block;
  text-align: center;
  background: #387ed1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.alert-warning {
  background: #eff6ff;
  border: 1px solid #387ed1;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #2b6cb0;
  font-size: 14px;
  margin: 20px 0;
}

.alert-info {
  background: #f0fff4;
  border: 1px solid #16a34a;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #15803d;
  font-size: 14px;
  margin: 20px 0;
}

.sebi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid var(--accent-yellow);
  color: #92400e;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 8px 0;
}

.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: #387ed1;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  margin: 20px 0;
}

.btn-cta:hover {
  background: #2b6cb0;
  color: #fff;
  transform: scale(1.02);
}

.step-card {
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  background: #387ed1;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  color: #1a1a1a;
  font-size: 16px;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: #444444;
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table th {
  background: #f2f2f2;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table td {
  color: #444444;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
}

table tr:nth-child(even) td {
  background: #f7f7f7;
}

/* ===== OFFER PAGE ===== */
.offer-hero {
  background: #eff6ff;
  border-bottom: 2px solid #387ed1;
  padding: 60px 20px;
  text-align: center;
}

.offer-hero h1 {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.offer-hero .subtitle {
  color: #444444;
  font-size: 16px;
  margin-bottom: 30px;
}

body.nav-open {
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-sep {
    display: none;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 3;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-right: none;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px;
    border-radius: 8px !important;
    text-align: center;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.recommended {
    transform: scale(1);
    order: -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 40px 16px 30px;
  }
}

/* Most Popular badge */
.pricing-card.most-popular {
  border: 2px solid #387ed1;
  position: relative;
}
.most-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #387ed1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
