/* ============================================
   CSoft Healthcare Solutions - Main Stylesheet
   ============================================ */

:root {
  /* Primary Colors */
  --primary-teal: #008C8C;
  --deep-teal: #006B6B;
  --fresh-green: #35B779;
  --light-green: #DFF7E8;
  --soft-mint: #F4FFF8;
  --white: #FFFFFF;
  --off-white: #FAFFFC;

  /* Text Colors */
  --dark-text: #123333;
  --muted-text: #5F7474;
  --border-color: #D8ECE7;

  /* Accent */
  --accent-gradient: linear-gradient(135deg, #008C8C, #35B779);
  --hero-gradient: linear-gradient(160deg, #F4FFF8 0%, #DFF7E8 50%, #FAFFFC 100%);

  /* Shadows */
  --shadow-soft: 0 12px 30px rgba(0, 107, 107, 0.10);
  --shadow-hover: 0 16px 40px rgba(0, 107, 107, 0.16);
  --shadow-card: 0 4px 16px rgba(0, 107, 107, 0.08);

  /* Radii */
  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-input: 10px;
  --radius-section: 24px;

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  padding: var(--section-padding);
  background: var(--soft-mint);
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-teal);
  background: var(--light-green);
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-text);
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--fresh-green);
  color: var(--white);
}

.btn-accent:hover {
  background: #2da56c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 20px rgba(0, 107, 107, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--deep-teal);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo span {
  color: var(--fresh-green);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-teal);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-text);
  padding: 4px 0;
  position: relative;
}

.nav-dropdown > .nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: width var(--transition-normal);
}

.nav-dropdown:hover > .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown:hover > .nav-dropdown-toggle {
  color: var(--primary-teal);
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu-inner {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 12px 0;
  min-width: 280px;
  max-height: 480px;
  overflow-y: auto;
}

.dropdown-menu-inner a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  transition: all var(--transition-fast);
}

.dropdown-menu-inner a::after {
  display: none;
}

.dropdown-menu-inner a:hover {
  background: var(--soft-mint);
  color: var(--primary-teal);
  padding-left: 24px;
}

.dropdown-menu-inner a svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--primary-teal);
  opacity: 0.6;
}

.dropdown-menu-inner a:hover svg {
  opacity: 1;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-text);
}

.mobile-nav a:hover {
  color: var(--primary-teal);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 0 100px;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 140, 140, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-teal);
  background: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark-text);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--primary-teal);
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-teal);
}

.hero-stat span {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-text);
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary-teal);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--light-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-teal);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-teal);
}

.card-link:hover {
  gap: 10px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   Problem Section
   ============================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-normal);
}

.problem-card:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-soft);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-text);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* ============================================
   Platform Overview
   ============================================ */
.platform-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.platform-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-text);
}

.platform-text p {
  font-size: 1.05rem;
  color: var(--muted-text);
  margin-bottom: 28px;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-check svg {
  width: 14px;
  height: 14px;
  color: var(--fresh-green);
}

.platform-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.platform-feature p {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 0;
}

.platform-visual {
  background: var(--soft-mint);
  border-radius: var(--radius-section);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* ============================================
   Solutions Section
   ============================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-teal);
}

.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 0.93rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ============================================
   Why CSoft Section
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.why-card:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-soft);
}

.why-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--accent-gradient);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--primary-teal);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--deep-teal);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand p {
  font-size: 0.93rem;
  line-height: 1.8;
  margin-top: 16px;
  opacity: 0.85;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--fresh-green);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  color: var(--fresh-green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--fresh-green);
}

/* ============================================
   Page Banner (inner pages)
   ============================================ */
.page-banner {
  padding: 140px 0 60px;
  background: var(--hero-gradient);
  text-align: center;
}

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1.1rem;
  color: var(--muted-text);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--muted-text);
}

.breadcrumbs a {
  color: var(--primary-teal);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 1.05rem;
  color: var(--muted-text);
  margin-bottom: 16px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-teal);
  border: 3px solid var(--light-green);
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.timeline-item span {
  font-size: 0.85rem;
  color: var(--primary-teal);
  font-weight: 600;
}

.timeline-item p {
  font-size: 0.93rem;
  color: var(--muted-text);
  margin-top: 4px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--soft-mint);
  border-radius: var(--radius-card);
  padding: 40px;
}

.contact-info-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: var(--muted-text);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary-teal);
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-text);
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  color: var(--dark-text);
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--primary-teal);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e74c3c;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-input);
  font-size: 1rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0, 140, 140, 0.1);
}

.form-control::placeholder {
  color: #a0b4b4;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: 0.82rem;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-control {
  border-color: #e74c3c;
}

.form-group.error .form-error {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ============================================
   Blog Page
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  height: 200px;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted-text);
  margin-bottom: 12px;
}

.blog-tag {
  background: var(--light-green);
  color: var(--primary-teal);
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.78rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-text);
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ============================================
   Product Page (Individual)
   ============================================ */
.product-hero {
  padding: 140px 0 80px;
  background: var(--hero-gradient);
}

.product-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero-text .product-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-teal);
  background: var(--light-green);
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}

.product-hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-hero-text p {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin-bottom: 28px;
}

.product-hero-visual {
  background: var(--white);
  border-radius: var(--radius-section);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--muted-text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--primary-teal);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--light-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-teal);
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: var(--white);
}

.faq-question:hover {
  color: var(--primary-teal);
}

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ============================================
   Thank You Page
   ============================================ */
.thankyou-content {
  text-align: center;
  padding: 160px 0 100px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thankyou-icon svg {
  width: 40px;
  height: 40px;
  color: var(--fresh-green);
}

.thankyou-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.thankyou-content p {
  font-size: 1.1rem;
  color: var(--muted-text);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ============================================
   Interoperability Section
   ============================================ */
.interop-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.interop-standards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.standard-badge {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all var(--transition-normal);
}

.standard-badge:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-card);
}

.standard-badge h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.standard-badge p {
  font-size: 0.85rem;
  color: var(--muted-text);
}

/* ============================================
   AI Section
   ============================================ */
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ai-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

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

.ai-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ai-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--deep-teal);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Solutions Page
   ============================================ */
.solution-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.solution-detail:last-child {
  border-bottom: none;
}

.solution-detail.reverse {
  direction: rtl;
}

.solution-detail.reverse > * {
  direction: ltr;
}

.solution-detail h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.solution-detail p {
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 20px;
}

.solution-detail ul {
  margin-bottom: 24px;
}

.solution-detail ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.solution-detail ul li svg {
  width: 18px;
  height: 18px;
  color: var(--fresh-green);
  min-width: 18px;
}

.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-teal);
}

/* ============================================
   Legal Pages (Privacy Policy, Terms of Service)
   ============================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content > p {
  font-size: 1rem;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-updated {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-teal);
  background: var(--light-green);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 28px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary-teal);
  font-weight: 500;
}

.legal-content a:hover {
  color: var(--deep-teal);
  text-decoration: underline;
}

.legal-contact-box {
  background: var(--soft-mint);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin: 16px 0 24px;
}

.legal-contact-box p {
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--dark-text);
}

.legal-contact-box strong {
  color: var(--deep-teal);
}
