/* SMES, Freelancers and Enterprise CSS */
/* =========================================================
   TOPWEBSUITE SOLUTIONS PAGES CSS
   Works for:
   - smes.html
   - freelancers.html
   - agencies.html
   - enterprises.html
========================================================= */

/* ------------------------------
   Root / Theme
------------------------------ */
:root {
  --primary: #3C68E6;
  --primary-dark: #2f57c7;
  --secondary: #E4E5E7;
  --text-dark: #111827;
  --text-body: #4b5563;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --bg-soft: #f8fafc;
  --bg-white: #ffffff;
  --success: #15803d;
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.06);
  --shadow-card: 0 14px 40px rgba(17, 24, 39, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

/* ------------------------------
   Layout Helpers
------------------------------ */
.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ------------------------------
   Header
------------------------------ */
.page-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.page-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.page-header nav a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.25s ease;
}

.page-header nav a:hover {
  color: var(--primary);
}

/* ------------------------------
   Buttons
------------------------------ */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(60, 104, 230, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ------------------------------
   Hero
------------------------------ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(60, 104, 230, 0.10), transparent 30%),
    linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%);
}

.hero-section .container {
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(60, 104, 230, 0.08);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #111827;
  max-width: 900px;
  margin-bottom: 22px;
}

.hero-section p {
  max-width: 760px;
  font-size: 1.14rem;
  color: var(--text-body);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ------------------------------
   Generic Sections
------------------------------ */
.content-section,
.faq-section,
.cta-section {
  padding: 78px 0;
}

.light-bg {
  background: var(--bg-soft);
}

.content-section h2,
.faq-section h2,
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.content-section > .container > p,
.faq-section > .container > p,
.cta-section > .container > p {
  max-width: 820px;
  color: var(--text-body);
  font-size: 1.08rem;
  margin-bottom: 34px;
}

/* ------------------------------
   Cards / Feature Boxes
------------------------------ */
.card,
.feature-box,
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.card,
.feature-box {
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(60, 104, 230, 0.22);
}

.card h3,
.feature-box h3,
.faq-item h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card p,
.feature-box p,
.faq-item p {
  color: var(--text-body);
  font-size: 1rem;
}

/* ------------------------------
   FAQ
------------------------------ */
.faq-section .container {
  max-width: 960px;
}

.faq-item {
  padding: 24px 22px;
}

.faq-item + .faq-item {
  margin-top: 16px;
}

/* ------------------------------
   CTA
------------------------------ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(60, 104, 230, 0.10), transparent 45%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.cta-section .container {
  max-width: 900px;
}

.cta-section p {
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  margin-top: 10px;
}

/* ------------------------------
   Footer
------------------------------ */
.page-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.92);
  padding: 24px 0;
}

.page-footer p {
  text-align: center;
  font-size: 0.95rem;
}

/* ------------------------------
   Nice spacing between grids and titles
------------------------------ */
.grid-2,
.grid-3 {
  margin-top: 28px;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 1024px) {
  .hero-section {
    padding: 72px 0 60px;
  }

  .content-section,
  .faq-section,
  .cta-section {
    padding: 64px 0;
  }

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

@media (max-width: 768px) {
  .page-header .container {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header nav {
    width: 100%;
    gap: 12px;
  }

  .hero-section {
    padding: 60px 0 48px;
  }

  .hero-section h1 {
    font-size: clamp(2.3rem, 8vw, 3.4rem);
  }

  .hero-section p,
  .content-section > .container > p,
  .faq-section > .container > p,
  .cta-section > .container > p {
    font-size: 1rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card,
  .feature-box,
  .faq-item {
    padding: 22px 18px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo {
    font-size: 1.2rem;
  }

  .eyebrow {
    font-size: 0.85rem;
    min-height: 34px;
    padding: 0 14px;
  }

  .content-section,
  .faq-section,
  .cta-section {
    padding: 54px 0;
  }
}