/* ============================================
   Solve ICT Tools — Professional Static Site
   ============================================ */

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

:root {
  --primary:    #1a2a3a;
  --primary-2:  #0f1d2b;
  --accent:     #0ea5a9;
  --accent-2:   #0c8c8f;
  --accent-light: #e6f7f8;
  --text:       #2d3748;
  --text-light: #718096;
  --bg:         #ffffff;
  --bg-alt:     #f8fafc;
  --bg-card:    #ffffff;
  --border:     #e2e8f0;
  --success:    #38a169;
  --danger:     #e53e3e;
  --radius:     8px;
  --radius-lg:  12px;
  --shadow:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.08);
  --max-width:  1100px;
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
                Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-2); }

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

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--primary); }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p  { margin-bottom: 1rem; color: var(--text); }

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14,165,169,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--primary-2);
  color: #fff;
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-gumroad {
  background: #ff90e8;
  color: #fff;
}
.btn-gumroad:hover {
  background: #e573d0;
  color: #fff;
  transform: translateY(-1px);
}
.btn-lemon {
  background: #1b1b1b;
  color: #fff;
}
.btn-lemon:hover {
  background: #333;
  color: #fff;
  transform: translateY(-1px);
}

.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0;
}

/* --- Header / Nav --- */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.logo:hover { color: #fff; }

.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 50%, var(--primary) 100%);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.hero .subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.hero .btn { font-size: 1.05rem; padding: 14px 36px; }

/* --- Sections --- */
section { padding: 60px 0; }
section.alt { background: var(--bg-alt); }

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.product-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.product-card h3 { font-size: 1.15rem; }
.product-card .description {
  color: var(--text-light);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 0;
}
.product-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 16px 0;
}
.product-card .price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}

/* --- Product Detail Page --- */
.product-detail {
  padding: 60px 0;
}
.product-detail .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.product-detail .breadcrumb a { color: var(--text-light); }
.product-detail .breadcrumb a:hover { color: var(--accent); }

.product-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.product-header .info .icon-big {
  font-size: 3rem;
  margin-bottom: 12px;
}
.product-header .info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.product-header .info .tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.product-header .info .price-large {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-sidebar {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-self: start;
  position: sticky;
  top: 90px;
}
.product-sidebar h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.product-sidebar ul {
  list-style: none;
  margin-bottom: 1rem;
}
.product-sidebar li {
  padding: 6px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-sidebar li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.product-body {
  max-width: 720px;
}
.product-body h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.product-body ul, .product-body ol {
  margin: 0 0 1.5rem 1.5rem;
}
.product-body li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.product-body .highlight-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* --- Features List --- */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 1.5rem 0;
}
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-item .check {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item h4 { margin-bottom: 4px; font-size: 1rem; }
.feature-item p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* --- How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 28px 20px;
}
.step .num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--text-light); margin: 0; }

/* --- About Page --- */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}
.about-content .bio {
  font-size: 1.05rem;
  line-height: 1.8;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 1.5rem 0;
}
.credential {
  background: var(--bg-alt);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  border-left: 3px solid var(--accent);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-light); }
.contact-info a { font-weight: 600; }

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 40px 0 30px;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-inner h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.footer-inner p, .footer-inner a {
  font-size: 0.88rem;
  color: #94a3b8;
}
.footer-inner a:hover { color: var(--accent); }
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* --- Payment badges --- */
.payment-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.payment-badge.gumroad {
  background: #ff90e8;
  color: #fff;
}
.payment-badge.lemon {
  background: #1b1b1b;
  color: #fff;
}
.payment-badge.payfast {
  background: #3399cc;
  color: #fff;
}

/* --- Testimonials placeholder --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}
.testimonial-card .quote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 12px;
}
.testimonial-card .author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

/* --- Newsletter --- */
.newsletter-box {
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-box h3 { margin-bottom: 8px; }
.newsletter-box p { color: var(--text-light); margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 450px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus {
  border-color: var(--accent);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 50px 0 40px;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 8px;
}
.page-header p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .subtitle { font-size: 1rem; }

  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 12px;
    border-bottom: 3px solid var(--accent);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }

  .product-grid { grid-template-columns: 1fr; }
  
  .product-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-sidebar { position: static; }

  .features-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .credentials { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}
