/* Global IT Manager – www.globalitmanager.com */
/* Marketing site for the GIM product line */

:root {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --panel: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --brand: #60a5fa;
  --brand2: #3b82f6;
  --accent: #fbbf24;
  --line: #334155;
  --success: #22c55e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin: 0 0 1em;
  color: var(--muted);
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--brand2);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.brand-text span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

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

@media (max-width: 640px) {
  .nav-links { gap: 16px; font-size: 0.9rem; }
}

/* Hero */
.hero {
  padding: 80px 24px 100px;
  text-align: center;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-logo {
  display: block;
  margin: 0 auto 24px;
  height: 80px;
  width: auto;
}

.hero h1 {
  margin: 0 0 24px;
  color: var(--text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero .lead.byline {
  font-size: 1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.hero .cta-secondary {
  margin-left: 12px;
  background: transparent;
  border: 2px solid var(--line);
  color: var(--text);
}

.hero .cta-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

@media (max-width: 640px) {
  .hero { padding: 48px 20px 64px; }
  .hero .cta-secondary { margin-left: 0; margin-top: 12px; }
}

/* Sections */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  margin: 0;
}

/* Beta notice */
.beta-notice {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-card {
  padding: 24px;
  background: var(--panel);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.about-card h3 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.about-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Modules grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.module-card {
  padding: 28px;
  background: var(--panel);
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.module-card:hover {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.module-card h3 {
  color: var(--brand);
  margin-bottom: 8px;
}

.module-card .tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.module-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.module-card li {
  margin-bottom: 6px;
}

.gim-tm-note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.9;
}

sup.tm {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.05em;
}

/* CTA / Contact */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
  border-top: 1px solid var(--line);
}

.cta-section h2 {
  color: var(--text);
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 560px;
  margin: 0 auto 24px;
}

.cta-section .email-link {
  display: inline-block;
  padding: 12px 24px;
  background: var(--panel);
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--brand);
  font-weight: 600;
}

.cta-section .email-link:hover {
  border-color: var(--brand);
  background: rgba(96, 165, 250, 0.1);
}

/* Footer */
.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cookie consent notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 20px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-notice--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-notice-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-notice-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.cookie-notice-text a {
  color: var(--brand);
  text-decoration: underline;
}
.cookie-notice-text a:hover {
  color: var(--brand2);
}
.cookie-notice-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cookie-notice-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
.cookie-notice-btn:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .cookie-notice-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-notice-btn {
    align-self: center;
  }
}
