:root {
  --cy-ink: #101923;
  --cy-muted: #52606d;
  --cy-line: #dce3e8;
  --cy-blue: #0b63ce;
  --cy-blue-dark: #084a9d;
  --cy-green: #06b6d4;
  --cy-soft: #f3f6f8;
  --cy-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cy-ink); background: var(--cy-white); font-family: Poppins, Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.cy-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.cy-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--cy-line); backdrop-filter: blur(12px); }
.cy-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cy-brand { display: inline-flex; align-items: center; text-decoration: none; }
.cy-brand img { display: block; width: 190px; height: auto; object-fit: contain; }
.cy-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.cy-links a { text-decoration: none; }
.cy-links a:hover, .cy-links a:focus-visible { color: var(--cy-blue); }
.cy-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 6px; background: var(--cy-blue); color: white; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.cy-button:hover, .cy-button:focus-visible { background: var(--cy-blue-dark); transform: translateY(-1px); }
.cy-button--secondary { background: transparent; border-color: rgba(255,255,255,.62); }
.cy-button--secondary:hover, .cy-button--secondary:focus-visible { background: white; color: var(--cy-ink); }
.cy-hero { color: white; background: #101923; overflow: hidden; }
.cy-hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.cy-hero-copy { padding: 88px 64px 76px max(20px, calc((100vw - 1160px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.cy-hero-copy, .cy-hero-panel { min-width: 0; }
.cy-hero h1 { max-width: 720px; margin: 0 0 24px; font-size: clamp(42px, 5vw, 70px); line-height: 1.04; letter-spacing: 0; }
.cy-hero p { max-width: 650px; margin: 0; color: #cbd5df; font-size: 18px; line-height: 1.75; }
.cy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cy-hero-panel { position: relative; min-height: 420px; background: linear-gradient(145deg, #002b5e, #0b63ce 56%, #06b6d4); display: grid; place-items: center; }
.cy-hero-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 42px 42px; }
.cy-island { position: relative; width: min(72%, 450px); padding: 34px; border: 1px solid rgba(255,255,255,.42); border-radius: 8px; background: rgba(8,31,47,.4); box-shadow: 0 20px 70px rgba(0,0,0,.26); }
.cy-island strong { display: block; font-size: 28px; margin-bottom: 12px; }
.cy-island span { color: #d8f3ee; line-height: 1.6; }
.cy-band { padding: 90px 0; }
.cy-band--soft { background: var(--cy-soft); }
.cy-band--dark { background: var(--cy-ink); color: white; }
.cy-heading { max-width: 760px; margin-bottom: 44px; }
.cy-heading h2 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.14; letter-spacing: 0; }
.cy-heading p { margin: 0; color: var(--cy-muted); font-size: 17px; line-height: 1.75; }
.cy-band--dark .cy-heading p { color: #bdc9d4; }
.cy-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--cy-line); border-radius: 8px; overflow: hidden; background: white; }
.cy-service { padding: 38px; }
.cy-service + .cy-service { border-left: 1px solid var(--cy-line); }
.cy-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid currentColor; border-radius: 6px; color: var(--cy-blue); }
.cy-icon--green { color: var(--cy-green); }
.cy-service h2, .cy-service h3 { margin: 0 0 12px; font-size: 26px; letter-spacing: 0; }
.cy-service p { color: var(--cy-muted); line-height: 1.7; }
.cy-list { padding: 0; margin: 24px 0 28px; list-style: none; }
.cy-list li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid #edf1f3; }
.cy-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--cy-green); font-weight: 800; }
.cy-text-link { color: var(--cy-blue); font-weight: 700; text-decoration: none; }
.cy-text-link:hover, .cy-text-link:focus-visible { text-decoration: underline; }
.cy-city-rail { display: grid; grid-template-columns: .8fr 2.2fr; gap: 46px; align-items: start; }
.cy-city-rail h2 { margin: 0; font-size: 34px; }
.cy-city-copy { color: var(--cy-muted); font-size: 17px; line-height: 1.8; }
.cy-cities { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; color: var(--cy-blue); font-weight: 700; }
.cy-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--cy-line); }
.cy-step { padding: 28px 28px 0 0; }
.cy-step span { color: var(--cy-blue); font-weight: 800; }
.cy-step h3 { margin: 16px 0 8px; }
.cy-step p { color: var(--cy-muted); line-height: 1.65; }
.cy-proof { display: grid; gap: 12px; }
.cy-proof-item { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px; border: 1px solid var(--cy-line); border-radius: 6px; background: white; text-decoration: none; }
.cy-proof-item:hover, .cy-proof-item:focus-visible { border-color: var(--cy-blue); }
.cy-proof-item h3 { margin: 0 0 6px; font-size: 20px; }
.cy-proof-item p { margin: 0; color: var(--cy-muted); }
.cy-faq { display: grid; gap: 10px; }
.cy-faq details { border: 1px solid var(--cy-line); border-radius: 6px; background: white; }
.cy-faq summary { padding: 20px 22px; cursor: pointer; font-weight: 700; }
.cy-faq p { margin: 0; padding: 0 22px 22px; color: var(--cy-muted); line-height: 1.75; }
.cy-cta { padding: 68px 0; background: var(--cy-blue); color: white; }
.cy-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cy-cta h2 { margin: 0 0 10px; font-size: 36px; }
.cy-cta p { margin: 0; color: #dceaff; }
.cy-footer { padding: 54px 0 28px; background: #0b121a; color: #c7d1db; }
.cy-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 42px; }
.cy-footer h2, .cy-footer h3 { color: white; margin-top: 0; }
.cy-footer a { color: #c7d1db; }
.cy-footer ul { list-style: none; padding: 0; line-height: 2; }
.cy-legal { margin-top: 38px; padding-top: 22px; border-top: 1px solid #263442; font-size: 13px; }
.cy-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.cy-panel { padding: 32px; border: 1px solid var(--cy-line); border-radius: 8px; background: white; }
.cy-panel h3 { margin-top: 0; font-size: 24px; }
.cy-panel p { color: var(--cy-muted); line-height: 1.75; }
.cy-callout { border-left: 4px solid var(--cy-green); padding: 22px 26px; background: #edf8f1; color: #164d2d; }
.cy-callout strong { display: block; margin-bottom: 6px; }

.cyprus-software {
  --cy-blue: #7c3aed;
  --cy-blue-dark: #5b21b6;
  --cy-green: #a855f7;
  --cy-ink: #f8fafc;
  --cy-muted: #94a3b8;
  --cy-line: rgba(255, 255, 255, 0.12);
  --cy-soft: #0f172a;
  --cy-white: #020617;
}

.cyprus-software .cy-header { background: rgba(2, 6, 23, .96); border-bottom-color: rgba(255,255,255,.08); }
.cyprus-software .cy-header .cy-links a { color: #d8b4fe; }
.cyprus-software .cy-header .cy-links a:hover,
.cyprus-software .cy-header .cy-links a:focus-visible { color: #f3e8ff; }
.cyprus-software .cy-brand img { width: 97px; height: 45px; object-fit: contain; }
.cyprus-software .cy-hero-panel { background: linear-gradient(145deg, #2e1065, #5b21b6 58%, #7c3aed); }
.cyprus-software .cy-cta { background: #6d28d9; }
.cyprus-software .cy-icon { color: #7c3aed; }
.cyprus-software .cy-icon--green { color: #a855f7; }

/* Override hardcoded white backgrounds and specific borders for dark mode */
.cyprus-software .cy-service-grid,
.cyprus-software .cy-panel,
.cyprus-software .cy-faq details,
.cyprus-software .cy-proof-item {
    background: #0f172a;
}
.cyprus-software .cy-list li { border-top-color: rgba(255, 255, 255, 0.05); }
.cyprus-software .cy-callout { background: rgba(168, 85, 247, 0.1); color: #e9d5ff; border-left-color: #a855f7; }
.cyprus-software .cy-hero h1,
.cyprus-software .cy-heading h2,
.cyprus-software .cy-service h2,
.cyprus-software .cy-service h3,
.cyprus-software .cy-step h3,
.cyprus-software .cy-proof-item h3,
.cyprus-software .cy-panel h3,
.cyprus-software .cy-faq summary {
    color: #f8fafc;
}
.cyprus-software .cy-service p,
.cyprus-software .cy-heading p,
.cyprus-software .cy-step p,
.cyprus-software .cy-proof-item p,
.cyprus-software .cy-panel p,
.cyprus-software .cy-faq p {
    color: #94a3b8;
}

@media (max-width: 900px) {
  .cy-links a:not(.cy-button) { display: none; }
  .cy-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cy-hero-copy { padding: 72px 24px 64px; }
  .cy-hero-panel { min-height: 330px; }
  .cy-process { grid-template-columns: repeat(2, 1fr); }
  .cy-city-rail, .cy-split { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  .cy-container { width: min(100% - 28px, 1160px); }
  .cy-nav { min-height: 64px; }
  .cy-brand img { width: 150px; }
  .cyprus-software .cy-brand img { width: 86px; height: 40px; }
  .cy-links .cy-button { min-height: 40px; padding: 0 13px; font-size: 12px; }
  .cy-links .cy-button { display: none; }
  .cy-hero h1 { font-size: 40px; }
  .cy-hero h1 { overflow-wrap: anywhere; }
  .cy-hero p { font-size: 16px; }
  .cy-band { padding: 66px 0; }
  .cy-service-grid, .cy-footer-grid { grid-template-columns: 1fr; }
  .cy-service + .cy-service { border-left: 0; border-top: 1px solid var(--cy-line); }
  .cy-service { padding: 28px 22px; }
  .cy-actions { flex-direction: column; }
  .cy-actions .cy-button { width: 100%; }
  .cy-island { width: calc(100% - 28px); padding: 28px 22px; }
  .cy-process { grid-template-columns: 1fr; }
  .cy-step { padding-right: 0; }
  .cy-proof-item { grid-template-columns: 1fr; }
  .cy-cta-inner { align-items: flex-start; flex-direction: column; }
  .cy-cta h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
