/* OJS Cloud Hosting — Dark Design System */
:root {
  --ink: #e2e8f0;
  --ink-soft: #94a3b8;
  --primary: #00e5ff;
  --primary-dark: #00b8d4;
  --primary-light: #67f0ff;
  --accent: #a855f7;
  --accent-light: #c084fc;
  --accent-hot: #ff0080;
  --bg: #07070d;
  --surface: #0f0f18;
  --surface-2: #161622;
  --surface-3: #1e1e2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.25);
  --muted: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --max-width: 1140px;
  --header-h: 88px;
  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  /* legacy aliases */
  --navy: var(--surface-3);
  --navy-light: var(--surface-2);
  --teal: var(--primary);
  --teal-light: var(--primary-light);
  --gold: var(--accent);
  --gold-light: var(--accent-light);
  --gray-50: var(--surface);
  --gray-100: var(--surface-2);
  --gray-200: var(--border);
  --gray-400: var(--muted);
  --gray-600: var(--ink-soft);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: dark;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-glow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switch__btn {
  min-width: 2.25rem;
  padding: 0.375rem 0.625rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch__btn:hover {
  color: var(--ink);
}

.lang-switch__btn--active {
  background: var(--surface-3);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.plans__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.plans__rate-note {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.plans__note a {
  color: var(--primary);
  font-weight: 600;
}

.footer__disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  box-shadow: 0 6px 28px rgba(168, 85, 247, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  mask-image: linear-gradient(180deg, black, transparent 90%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 500px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 229, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 0, 128, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.hero__logo {
  width: min(100%, 400px);
  height: auto;
  margin: 0 auto 2rem;
}

.hero__tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.hero__title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.hero__trust-item strong {
  color: var(--primary);
  font-weight: 700;
}

.hero .btn--outline {
  background: rgba(255, 255, 255, 0.03);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--gray {
  background: var(--surface);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.5rem;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
}

.section--navy .section__eyebrow {
  color: var(--gold-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.section--navy .section__desc {
  color: rgba(255, 255, 255, 0.75);
}

/* Process workflow */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: process;
}

.process-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  border-top: 3px solid var(--primary);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.process-step:hover {
  box-shadow: var(--shadow-glow);
}

.process-step__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 229, 255, 0.2);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  transition: box-shadow 0.2s;
}

.pillar:hover {
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.12);
}

.pillar__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.pillar__text {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-glow);
}

.pricing-card--featured {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.06) 0%, var(--surface-2) 45%);
}

.pricing-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-brand);
  color: var(--bg);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.625rem;
  border-radius: 4px;
  white-space: nowrap;
  transform: none;
  left: auto;
}

.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.pricing-card__annual {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.pricing-card__check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
}

/* DOI section */
.doi-section__intro {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.doi-section__logo {
  width: min(100%, 160px);
  height: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.doi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.doi-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.doi-card:hover {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.1);
}

.doi-card__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.doi-card__text {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
}

/* FAQ */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.faq__question:hover {
  color: var(--primary);
}

.faq__question span {
  flex: 1;
  text-align: left;
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--gray-400);
}

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__item-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.125rem;
}

.contact__item-value {
  font-weight: 600;
}

.contact__item-value a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-group select:focus {
  background-color: var(--surface-3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
  background: var(--surface-3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  padding: 1rem;
  background: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius);
  color: #b91c1c;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

.form-error.visible {
  display: block;
}

/* Footer */
.footer {
  background: var(--surface);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0.5;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__brand img {
  height: 120px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.footer__brand-text {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  text-align: center;
}

.contact__item-value--address {
  font-weight: 500;
  line-height: 1.55;
  max-width: 22rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* Responsive */
@media (max-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doi-cards,
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__list {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav__list.open {
    display: flex;
  }

  .nav__list li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__toggle {
    display: flex;
  }

  .nav .btn--primary {
    display: none;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .process__grid,
  .doi-cards,
  .pricing__grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    text-align: center;
  }
}
