/*
Theme Name: CODE Landing
Theme URI: https://code.co.mz/
Author: OpenAI
Description: Minimal landing page theme for CODE SU LDA.
Version: 1.0
Text Domain: code-landing
*/

:root {
  --code-blue: #1ba8e0;
  --code-dark: #2f4964;
  --code-text: #324a5f;
  --code-muted: #6c7a86;
  --code-bg: #f7fbfd;
  --code-border: rgba(27, 168, 224, 0.12);
  --shadow: 0 24px 60px rgba(20, 45, 70, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(27,168,224,0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--code-bg) 100%);
  color: var(--code-text);
  min-height: 100vh;
}

a { color: inherit; }

.code-site {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.code-panel {
  position: relative;
  width: min(760px, 100%);
  padding: 56px 32px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--code-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}

.code-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -180px -180px;
  width: 420px;
  height: 420px;
  background: url('assets/code-logo-round.png') center/contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.code-panel::after {
  content: "";
  position: absolute;
  inset: -160px -160px auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(27,168,224,0.12) 0%, rgba(27,168,224,0) 68%);
  pointer-events: none;
}

.code-logo {
  position: relative;
  width: min(440px, 82%);
  height: auto;
  margin: 0 auto 28px;
  display: block;
}

.code-wordmark {
  position: relative;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--code-dark);
}

.code-tagline {
  position: relative;
  margin: 12px auto 0;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--code-muted);
}

.code-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(27,168,224,0.18);
  background: rgba(27,168,224,0.06);
  text-decoration: none;
  font-weight: 700;
  color: var(--code-blue);
  letter-spacing: 0.01em;
}

.code-contact:hover,
.code-contact:focus-visible {
  background: rgba(27,168,224,0.12);
  outline: none;
}

.code-footer {
  position: relative;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--code-muted);
}

@media (max-width: 640px) {
  .code-panel { padding: 40px 22px; border-radius: 22px; }
  .code-panel::before { width: 320px; height: 320px; inset: auto auto -150px -150px; }
}
