/* ============================================================
   OFFICEKLOUD LANDING PAGE — ORIGINAL LAYOUT + THEME SUPPORT
   - Default variables = DARK (original look)
   - .light class on <html> switches to LIGHT theme
   - Structure/layout unchanged
   ============================================================ */

/* THEME VARIABLES (DARK = ORIGINAL DESIGN) */
:root {
  --bg: #050816;
  --bg-soft: #0f172a;
  --bg-soft-alt: #020617;
  --primary: #7c3aed;
  --primary-soft: rgba(124, 58, 237, 0.1);
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.1);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-soft: #1f2937;
  --danger: #f97373;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.8);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-full: 9999px;
  --max-width: 1120px;
  --nav-height: 72px;
}

/* LIGHT THEME OVERRIDES */
.light {
  --mode: light;

  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-soft-alt: #f9fafb;

  --primary: #7c3aed;
  --primary-soft: rgba(124, 58, 237, 0.06);

  --accent: #16a34a;
  --accent-soft: rgba(22, 163, 74, 0.06);

  --text-main: #0f172a;
  --text-muted: #6b7280;

  --border-soft: #eceff3;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* GLOBAL RESET / BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
font-size-adjust: 0.58;
}

.light body {
  background: radial-gradient(circle at top, #e5e7eb 0, #f8fafc 40%, #e5e7eb 100%);
}

.light body1 {
  background: #fcfcfc !important; /* pure white background */
}


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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85), transparent);
  border-bottom: 1px solid rgba(31, 41, 55, 0.6);
}

.light .nav {
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.94), transparent);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: conic-gradient(from 180deg, #22c55e, #0ea5e9, #7c3aed, #ec4899, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
  font-size: 16px;
  font-weight: 700;
  color: #020617;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.logo-text-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(129, 140, 248, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(129, 140, 248, 0.6);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.7);
}

.light .btn-ghost {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(209, 213, 219, 0.8);
  color: var(--text-main);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--text-main);
  background: rgba(17, 24, 39, 0.9);
}

.light .btn-ghost:hover {
  background: #e5e7eb;
}

/* HERO */
.hero {
  padding: 40px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  margin-bottom: 16px;
}

.light .pill {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(209, 213, 219, 0.9);
}

.pill-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.light .pill-badge {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.pill-text {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-title span.gradient {
  background: linear-gradient(135deg, #22c55e, #2dd4bf, #38bdf8, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-highlight span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at 0 0, rgba(124, 58, 237, 0.25), transparent 55%);
}

.light .hero-highlight span {
  border-color: rgba(209, 213, 219, 0.9);
  background: radial-gradient(circle at 0 0, rgba(124, 58, 237, 0.12), transparent 55%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-meta strong {
  color: #e5e7eb;
}

.light .hero-meta strong {
  color: #111827;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.28), transparent 60%),
              radial-gradient(circle at bottom, rgba(15, 118, 110, 0.5), rgba(15, 23, 42, 0.95));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(55, 65, 81, 0.95);
  overflow: hidden;
  min-height: 280px;
}

.light .hero-visual {
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.2), transparent 60%),
              linear-gradient(to bottom right, #f9fafb, #e5e7eb);
  border-color: rgba(209, 213, 219, 0.9);
}

.hero-visual-heading {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-visual-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero-visual-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-visual-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
  font-size: 11px;
}

.hero-visual-card {
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(55, 65, 81, 0.85);
  padding: 10px;
}

.light .hero-visual-card {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
}

.hero-visual-card h4 {
  font-size: 11px;
  margin-bottom: 6px;
}

.hero-visual-kpi-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.hero-visual-kpi-row span.value {
  color: #e5e7eb;
  font-weight: 600;
}

.light .hero-visual-kpi-row span.value {
  color: #111827;
}

.hero-visual-timeline {
  margin-top: 8px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 60px;
}

.hero-visual-bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(88, 28, 135, 0.9), rgba(59, 130, 246, 0.9));
  opacity: 0.9;
}

.hero-visual-legend {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

.hero-visual-placeholder {
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 10px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.8);
}

.light .hero-visual-placeholder {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(209, 213, 219, 0.9);
}

.hero-visual-placeholder-title {
  font-size: 11px;
  font-weight: 500;
}

.hero-visual-placeholder-text {
  font-size: 10px;
  color: var(--text-muted);
}

/* TRUST STRIP */
.trust-strip {
  padding: 8px 0 28px;
}

.trust-inner {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.15), transparent 60%);
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.light .trust-inner {
  border-color: rgba(209, 213, 219, 0.9);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), #f9fafb);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
}

.trust-logo-pill {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

.light .trust-logo-pill {
  border-color: rgba(209, 213, 219, 0.9);
  background: #ffffff;
}

/* SECTIONS */
section.section {
  padding: 32px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.light section.section {
  border-top-color: rgba(209, 213, 219, 0.9);
}

.section-header {
  margin-bottom: 20px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 540px;
}

/* TWO COLUMN */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
  padding: 16px;
}

.light .card {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
}

.card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.list li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 1px;
  color: var(--accent);
}

.list li.bad::before {
  color: var(--danger);
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 12px;
}

.step {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(55, 48, 163, 0.35), rgba(15, 23, 42, 0.98));
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.light .step {
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.18), #ffffff);
  border-color: rgba(209, 213, 219, 0.9);
}

.step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}

.light .step-number {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.9);
}

.step h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.step p {
  color: var(--text-muted);
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 12px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--text-muted);
  margin-bottom: 6px;
}

.light .feature-tag {
  border-color: rgba(209, 213, 219, 0.9);
}

.feature-tag-span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.feature-grid h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.feature-grid p {
  color: var(--text-muted);
  margin-bottom: 6px;
}

.feature-grid ul {
  padding-left: 16px;
  color: var(--text-muted);
}

.feature-grid ul li {
  margin-bottom: 3px;
}

/* GALLERY PLACEHOLDERS */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
  padding: 14px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.light .gallery-item {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
}

.gallery-placeholder {
  height: 140px;
  border-radius: 10px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(31, 41, 55, 0.8),
    rgba(31, 41, 55, 0.8) 6px,
    rgba(15, 23, 42, 0.9) 6px,
    rgba(15, 23, 42, 0.9) 12px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 0.9);
  font-size: 11px;
  text-align: center;
  padding: 6px;
}

.light .gallery-placeholder {
  background: repeating-linear-gradient(
    -45deg,
    #e5e7eb,
    #e5e7eb 6px,
    #f9fafb 6px,
    #f9fafb 12px
  );
  color: #6b7280;
}

.gallery-caption-title {
  font-weight: 500;
}

.gallery-caption-text {
  color: var(--text-muted);
  font-size: 11px;
}

/* COMPARISON */
.comparison {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  font-size: 12px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
  font-size: 11px;
}

.comparison-table th,
.comparison-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.light .comparison-table th,
.light .comparison-table td {
  border-bottom-color: rgba(209, 213, 219, 0.9);
}

.comparison-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--text-muted);
  gap: 4px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  font-size: 12px;
}

.faq-item h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.faq-item p {
  color: var(--text-muted);
}

/* CTA FOOTER */
.cta-footer {
  padding: 32px 0 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.light .cta-footer {
  border-top-color: rgba(209, 213, 219, 0.9);
}

.cta-footer-inner {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.4), rgba(15, 23, 42, 0.98));
  padding: 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.light .cta-footer-inner {
  border-color: rgba(209, 213, 219, 0.9);
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.28), #f9fafb);
}

.cta-footer-text {
  max-width: 480px;
}

.cta-footer-text h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.cta-footer-text p {
  font-size: 13px;
  color: #e5e7eb;
}

.light .cta-footer-text p {
  color: #111827;
}

.footer {
  padding: 12px 0 24px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.light .footer {
  border-top-color: rgba(209, 213, 219, 0.9);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
  }
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .comparison {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-inner {
    gap: 10px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 24px;
  }
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-footer-inner {
    align-items: flex-start;
  }
}

.bg-img-1 {
  background-image: url(images/dashboard.png) !important;
}

.bg-img-2 {
  background-image: url(images/dashboard.png) !important;
}

.bg-img-2 {
  background-image: url(images/dashboard.png) !important;
}

.bg-img {
  background-size: cover !important;
}