﻿/*
 AIOS.CSS — AI Turing OS: Vortex
 Clean, high-contrast system theme: mostly Black & White with rainbow accents for the Vortex title.
 Includes touches of the golden ratio (φ ≈ 1.618) for rhythm and proportion.
*/

:root {
  --aios-black: #0b0d12;
  --aios-white: #ffffff;
  --aios-blue: #2563eb;
  --aios-blue-ink: #1e40af;
  --aios-blue-sky: #60a5fa;
  --aios-blue-wash: rgba(37, 99, 235, 0.06);
  --aios-rainbow: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);

  --phi: 1.618;
  --phi-inv: 0.618;
  --phi-inv2: 0.382;

  --space-xxs: calc(1rem * var(--phi-inv2));
  --space-xs: calc(1rem * var(--phi-inv));
  --space-sm: 1rem;
  --space-md: calc(1rem * var(--phi));
  --space-lg: calc(var(--space-md) * var(--phi));

  --fs-400: 1rem;
  --fs-600: 1.618rem;
  --fs-800: 2.618rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --outline: 2px solid var(--aios-blue);

  --shadow-sm: 0 6px 14px rgba(37, 99, 235, 0.12);
  --shadow-md: 0 12px 32px rgba(37, 99, 235, 0.16);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  color: var(--aios-black);
  background: var(--aios-white);
  font-family: Inter, system-ui, sans-serif;
  font-size: var(--fs-400);
  line-height: 1.5;
}

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

a { color: var(--aios-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: var(--fs-800); margin-bottom: var(--space-sm); }
h2 { font-size: var(--fs-600); margin-bottom: var(--space-xs); }
h3 { font-size: 1.4rem; margin-bottom: var(--space-xxs); }

.text-muted { color: var(--aios-blue-ink) !important; opacity: 0.9; }

.container { max-width: 1140px; margin-inline: auto; padding-inline: var(--space-sm); }

.page-hero {
  padding-block: var(--space-lg);
  background: linear-gradient(180deg, var(--aios-white) 0%, rgba(37,99,235,0.03) 100%);
  text-align: center;
}
.page-hero .title {
  font-size: var(--fs-800);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.page-hero .title span.underline-phi.text-blue {
  background: var(--aios-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.page-hero .title span.underline-phi.text-blue::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.42em;
  width: 61.8%;
  height: 3px;
  background: var(--aios-rainbow);
  border-radius: 3px;
}
.page-hero .subtitle { color: var(--aios-blue-ink); }

.card {
  background: var(--aios-white);
  border: 2px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--aios-blue);
}

.btn {
  cursor: pointer;
  border: none;
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 140ms ease;
}
.btn-primary {
  color: var(--aios-white);
  background: linear-gradient(180deg, var(--aios-blue) 0%, var(--aios-blue-ink) 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline {
  color: var(--aios-blue-ink);
  background: transparent;
  border: 2px solid var(--aios-blue);
}
.btn-outline:hover { background: var(--aios-blue-wash); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: var(--space-xs) var(--space-sm); }
.table th {
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--aios-blue);
}
.table tr + tr td { border-top: 1px solid rgba(37, 99, 235, 0.18); }
.table tbody tr:hover { background: var(--aios-blue-wash); }

.turingmini-gallery .product-block { max-width: 820px; width: 100%; margin: var(--space-md) auto; }
.turingmini-gallery .product-image-wrapper {
  background: var(--aios-white);
  border: 2px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.turingmini-gallery .product-image-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--aios-blue);
}
.turingmini-gallery h3 { color: var(--aios-black); }
.turingmini-gallery p { color: var(--aios-blue-ink); }

.spec-sheet h4 { color: var(--aios-black); }
.spec-sheet table { background: var(--aios-white); border-radius: var(--radius-md); }
.spec-sheet th { color: var(--aios-blue-ink); width: 28%; }

.footer {
  padding-block: var(--space-md);
  border-top: 2px solid rgba(37, 99, 235, 0.18);
  color: var(--aios-blue-ink);
  text-align: center;
}
