/* ==========================================================================
   ArgCraft.studio Main Stylesheet - Dark ARG / Cyberpunk Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Dark Cosmic Palette matching ARG aesthetics */
  --bg-dark: #0a0614;
  --bg-darker: #05030a;
  --bg-card: rgba(16, 10, 30, 0.75);
  --bg-card-hover: rgba(28, 16, 52, 0.88);
  --border-color: rgba(0, 245, 212, 0.15);
  --border-glow: rgba(0, 245, 212, 0.4);
  --border-pink: rgba(224, 36, 195, 0.3);

  /* Accents */
  --primary: #00f5d4;
  --primary-hover: #00d6b9;
  --primary-glow: rgba(0, 245, 212, 0.35);

  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-pink: #e024c3;
  --accent-magenta: #c026d3;
  --accent-green: #10b981;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-purple-muted: #c4b5fd;

  /* Status Colors */
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 25px rgba(0, 245, 212, 0.25);
  --shadow-glow-pink: 0 0 25px rgba(224, 36, 195, 0.25);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 20% 10%, rgba(224, 36, 195, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(0, 245, 212, 0.06) 0%, transparent 45%),
    var(--bg-dark);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--primary-glow);
}

/* Header & Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 6, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 245, 212, 0.15);
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-badge {
  background: linear-gradient(135deg, #00f5d4, #a855f7);
  color: #05030a;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(0, 245, 212, 0.08);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Main Layout */
.main-content {
  flex: 1;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  background-image: url('/images/argcraft%20hero%20no%20text.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(10, 6, 20, 0.4) 0%, rgba(10, 6, 20, 0.85) 80%),
    linear-gradient(to bottom, rgba(10, 6, 20, 0.6) 0%, transparent 25%, transparent 70%, var(--bg-dark) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-taglines {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-shadow: 0 0 12px rgba(0, 245, 212, 0.5);
  background: rgba(10, 6, 20, 0.65);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 245, 212, 0.3);
  backdrop-filter: blur(8px);
}

.hero-taglines .dot {
  color: var(--accent-pink);
  font-size: 0.8rem;
}

.hero-branding {
  margin: 0.5rem 0;
}

.hero-logo-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero-logo-title {
    font-size: 5.5rem;
  }
}

.hero-logo-title .logo-ac {
  color: var(--text-main);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-logo-title .logo-craft {
  color: #ffffff;
  position: relative;
}

.hero-logo-title .logo-studio {
  color: var(--primary);
  font-weight: 700;
  text-shadow: 0 0 25px rgba(0, 245, 212, 0.6);
}

.logo-studio {
  margin-left: -12px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-purple-muted);
  max-width: 680px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* CS-SECTION (PLANNED FEATURES & LANDING SECTION) */
.cs-section {
  position: relative;
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d071a 50%, var(--bg-dark) 100%);
  border-top: 1px solid rgba(0, 245, 212, 0.1);
}

.cs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cs-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cs-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.15);
}

.cs-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-purple-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .cs-title {
    font-size: 2rem;
  }
}

.cs-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.cs-description strong {
  color: var(--primary);
  font-weight: 600;
}

/* GRID */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.cs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cs-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 245, 212, 0.15);
}

.cs-card:hover::before {
  opacity: 1;
}

.cs-card-icon {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.1);
}

.cs-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.cs-card-body {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CALL TO ACTION */
.cs-cta {
  background: linear-gradient(135deg, rgba(224, 36, 195, 0.12) 0%, rgba(0, 245, 212, 0.12) 100%), var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 245, 212, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cs-cta h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.cs-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 550px;
}

.cs-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 500px;
  margin-top: 1rem;
}

@media (max-width: 576px) {
  .cs-form {
    flex-direction: column;
  }
}

.cs-input {
  flex: 1;
  background: rgba(10, 6, 20, 0.75);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all 0.25s ease;
}

.cs-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.25);
}

.cs-button {
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  color: #05030a;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.3);
}

.cs-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.5);
  background: linear-gradient(135deg, #ffffff, var(--primary));
}

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  color: #05030a;
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.3);
}

.btn-primary:hover {
  color: #05030a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.5);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
}

.btn-outline {
  background: rgba(10, 6, 20, 0.6);
  border-color: rgba(0, 245, 212, 0.3);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(0, 245, 212, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* FOOTER */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(0, 245, 212, 0.1);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* AUTH & FORM STYLES */
.auth-container {
  max-width: 440px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  background: rgba(10, 6, 20, 0.75);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.2);
}

/* BADGES & UTILITIES */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(0, 245, 212, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

/* ALERT MESSAGES */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}