/* ============================================================
   Prajco — Design System (Volume 1 Foundation)
   Brand: Purple / Cyan / Dark Navy / White + Glass
   Fonts: Space Grotesk (headings), Inter (body/buttons)
   ============================================================ */

:root {
  /* ---- Brand Colors ---- */
  --color-primary: #7C3AED;        /* Purple */
  --color-primary-light: #A78BFA;
  --color-secondary: #06B6D4;      /* Cyan */
  --color-navy: #0B1120;           /* Dark Navy */
  --color-white: #FFFFFF;

  /* ---- Accent ---- */
  --color-accent-blue: #22D3EE;    /* Light Cyan */
  --color-glass-white: rgba(255, 255, 255, 0.08);

  /* ---- Background ---- */
  --bg-gradient: linear-gradient(180deg, #0B1120 0%, #121A2E 50%, #0B1120 100%);
  --bg-dark: #0B1120;

  /* ---- Status Colors ---- */
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* ---- Typography ---- */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-button: 'Inter', sans-serif;

  /* ---- Radius ---- */
  --radius-card: 20px;
  --radius-button: 14px;
  --radius-input: 14px;

  /* ---- Layout ---- */
  --max-width-page: 1400px;
  --max-width-content: 1200px;

  /* ---- Shadows (soft, no hard black) ---- */
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.25);
  --shadow-glow-purple: 0 0 25px rgba(124, 58, 237, 0.35);
  --shadow-glow-blue: 0 0 25px rgba(6, 182, 212, 0.25);

  /* ---- Transitions ---- */
  --transition-smooth: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ============================================================
   RESET
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); }

p {
  color: rgba(255, 255, 255, 0.75);
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Skip to Content Link (Accessibility) ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-button);
  z-index: 2000;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 24px;
}

.page-wrapper {
  max-width: var(--max-width-page);
  margin: 0 auto;
}

section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
}

/* ============================================================
   GLASSMORPHISM CARD
   ============================================================ */
.glass-card {
  background: var(--color-glass-white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-purple);
  border-color: rgba(124, 58, 237, 0.4);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-button);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-purple);
  transform: scale(1.03);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary-light);
  transform: scale(1.03);
}

/* ============================================================
   ANIMATIONS (subtle, premium only)
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.float {
  animation: floatSoft 5s ease-in-out infinite;
}

/* ============================================================
   MOBILE-FIRST RULES
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { width: 100%; }
}
