/* Secure Studio AI — landing stylesheet
 * Author: Robert Pardela (AI)
 * Brand: deep navy #061428 · electric cyan #00d4e8 · ink body
 * Type: Sora (display) + IBM Plex Sans (body)
 * Theme: dark navy hero band + light editorial body sections
 */

:root {
  --navy: #061428;
  --navy-mid: #0a1f3a;
  --navy-soft: #122a48;
  --ink: #0c1a2e;
  --ink-soft: #1e334f;
  --cyan: #00c8dc;
  --cyan-bright: #2ad8ea;
  --cyan-deep: #0099ab;
  --cyan-dim: rgba(0, 200, 220, 0.12);
  --cyan-glow: rgba(0, 212, 232, 0.35);
  --paper: #f2f5f8;
  --paper-soft: #f7f9fb;
  --paper-white: #ffffff;
  --muted: #5a6b7d;
  --muted-strong: #3d4f63;
  --line: rgba(12, 26, 46, 0.1);
  --line-strong: rgba(12, 26, 46, 0.16);
  --surface: rgba(255, 255, 255, 0.92);
  --shadow: 0 20px 48px rgba(6, 20, 40, 0.1);
  --shadow-soft: 0 10px 28px rgba(6, 20, 40, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --max: 1120px;
  --header-h: 70px;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 700;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0;
}

#app {
  min-height: 100vh;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
  padding: 0.65rem clamp(1rem, 3vw, 2rem);
  background: rgba(6, 20, 40, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 200, 220, 0.12);
  color: #e8f0f6;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 200, 220, 0.25);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-note {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(232, 240, 246, 0.78);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--cyan-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.locale-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  color: #e8f0f6;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #e8f0f6;
  border-radius: 2px;
}

/* ——— Buttons ——— */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}

.button-primary:hover {
  background: var(--cyan-bright);
}

.button-secondary {
  background: transparent;
  color: #e8f0f6;
  border-color: rgba(232, 240, 246, 0.28);
}

.button-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.06);
  color: #e8f0f6;
  border-color: rgba(255, 255, 255, 0.14);
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.button-quiet:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 48%, #081830 100%);
  color: #e8f0f6;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(0, 200, 220, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 12% 80%, rgba(0, 153, 171, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 40% 10%, rgba(42, 216, 234, 0.08), transparent 50%);
  animation: hero-light-drift 14s ease-in-out infinite alternate;
}

@keyframes hero-light-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  to {
    transform: translate3d(-2%, 1.5%, 0) scale(1.04);
    opacity: 0.85;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  animation: fade-rise 0.7s ease both;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #ffffff;
  max-width: none;
  margin: 0;
  text-shadow: 0 0 40px rgba(0, 200, 220, 0.25);
}

.hero h1 {
  color: rgba(232, 240, 246, 0.92);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  max-width: 28ch;
  letter-spacing: -0.02em;
}

.hero-body {
  max-width: 42ch;
  color: rgba(232, 240, 246, 0.72);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 220, 0.28);
  background: rgba(0, 200, 220, 0.08);
  color: rgba(232, 240, 246, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
}

/* Hero visual — large logo + chips */

.hero-visual {
  animation: fade-rise 0.85s 0.12s ease both;
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
}

.hero-stage-glow {
  position: absolute;
  width: min(420px, 90%);
  height: min(420px, 90%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 232, 0.32) 0%, rgba(0, 153, 171, 0.08) 45%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    opacity: 0.7;
    transform: translate(-50%, -52%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -52%) scale(1.06);
  }
}

.hero-logo-mark {
  position: relative;
  z-index: 1;
  width: min(280px, 68vw);
  aspect-ratio: 1;
  border-radius: 28%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 200, 220, 0.35),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(0, 212, 232, 0.22);
  animation: logo-breathe 6s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(0, 200, 220, 0.35),
      0 24px 64px rgba(0, 0, 0, 0.45),
      0 0 80px rgba(0, 212, 232, 0.22);
  }
  50% {
    transform: scale(1.025);
    box-shadow:
      0 0 0 1px rgba(0, 212, 232, 0.5),
      0 28px 72px rgba(0, 0, 0, 0.5),
      0 0 100px rgba(0, 212, 232, 0.32);
  }
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-caption {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(232, 240, 246, 0.75);
  max-width: 28ch;
}

.hero-pipeline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.pipe-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 220, 0.3);
  background: rgba(8, 24, 48, 0.65);
  color: #e8f0f6;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: fade-rise 0.6s ease both;
}

.pipe-chip-1 {
  animation-delay: 0.25s;
}
.pipe-chip-2 {
  animation-delay: 0.4s;
}
.pipe-chip-3 {
  animation-delay: 0.55s;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections (light editorial) ——— */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.75rem) clamp(1rem, 3vw, 2rem);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.section-copy {
  max-width: 52ch;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.motion-rise {
  animation: fade-rise 0.65s ease both;
}

.rise-1 {
  animation-delay: 0.05s;
}
.rise-2 {
  animation-delay: 0.15s;
}
.rise-3 {
  animation-delay: 0.25s;
}
.rise-4 {
  animation-delay: 0.35s;
}

/* Stats */

.stats-band {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.stat-card h3 {
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.stat-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Platform */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--paper-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.platform-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 200, 220, 0.2);
}

.platform-icon-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  color: var(--cyan);
  font-size: 1rem;
}

.platform-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-deep);
  letter-spacing: 0.04em;
}

.platform-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--paper-white);
  border: 1px solid var(--line);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.timeline-item p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Features */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-white);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--cyan-dim);
  color: var(--cyan-deep);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.feature-row p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Advantages */

.why-section {
  background: linear-gradient(180deg, transparent, rgba(0, 200, 220, 0.04));
}

.advantages-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.advantages-list li {
  position: relative;
  padding: 1rem 1.15rem 1rem 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--paper-white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.advantages-list li::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--paper-white);
  border: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */

.contact-panel {
  max-width: 640px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
  font-weight: 400;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted-strong);
}

.consent-field input {
  margin-top: 0.2rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-status.is-error {
  background: rgba(180, 40, 40, 0.08);
  color: #8a1f1f;
  border: 1px solid rgba(180, 40, 40, 0.2);
}

.form-status.is-info {
  background: var(--cyan-dim);
  color: var(--ink-soft);
  border: 1px solid rgba(0, 153, 171, 0.25);
}

.contact-form .button-primary {
  color: var(--navy);
  align-self: flex-start;
}

/* Final CTA */

.final-cta {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.final-cta-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #e8f0f6;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.final-cta-panel h2 {
  color: #ffffff;
  max-width: 24ch;
}

.final-cta-panel > p {
  max-width: 48ch;
  color: rgba(232, 240, 246, 0.72);
}

.final-cta .button-secondary {
  color: #e8f0f6;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 3vw, 2rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 52ch;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  text-align: right;
}

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

.footer-link {
  color: var(--cyan-deep);
  font-weight: 600;
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-mark {
    width: min(220px, 56vw);
  }

  .stats-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-menu-open {
    grid-template-columns: 1fr auto;
  }

  .site-header.is-menu-open .site-nav,
  .site-header.is-menu-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-menu-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.5rem 0 0.25rem;
  }

  .site-header.is-menu-open .header-actions {
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .timeline-item,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-atmosphere,
  .hero-stage-glow,
  .hero-logo-mark {
    animation: none !important;
  }
}
