/*
Theme Name: GDPR Data Request Template
Description: Custom WordPress Page Template Stylesheet for GDPR Data Request portal.
Version: 1.0.0
Author: DataPrivacy Hub
*/

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-dark-950: #0b0f19;
  --bg-dark-900: #111827;
  --bg-dark-850: #161e2e;
  --bg-dark-800: #1f2937;
  --bg-dark-700: #374151;

  --text-white: #ffffff;
  --text-gray-100: #f3f4f6;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
  --text-gray-500: #6b7280;

  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-400: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.25);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.5);

  /* Glassmorphism Surface */
  --glass-bg: rgba(17, 24, 39, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Layout & Spacing */
  --container-max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Main Container Scope
   -------------------------------------------------------------------------- */
.np_gdpr-template-main {
  font-family: var(--font-family);
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%), var(--bg-dark-950);
  color: var(--text-gray-300);
  min-height: 100vh;
  line-height: 1.6;
}

.np_gdpr-template-main *, 
.np_gdpr-template-main *::before, 
.np_gdpr-template-main *::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   3. Layout Components & Containers
   -------------------------------------------------------------------------- */
.np_container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.np_section {
  padding: 5rem 0;
}

.np_section-alt {
  background-color: rgba(17, 24, 39, 0.3);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   4. Glassmorphism Card Component
   -------------------------------------------------------------------------- */
.np_glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.np_glass-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 20px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.np_hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
  text-align: center;
}

.np_hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.np_hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary-400);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.np_hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.np_gradient-text {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--primary-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.np_hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray-400);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. Request Types Grid
   -------------------------------------------------------------------------- */
.np_grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.np_type-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.np_type-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.np_type-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.np_type-desc {
  font-size: 0.875rem;
  color: var(--text-gray-400);
}

/* --------------------------------------------------------------------------
   7. Form Component
   -------------------------------------------------------------------------- */
.np_form-wrapper {
  max-width: 36rem;
  margin: 0 auto;
}

.np_form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.np_form-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.np_form-header p {
  color: var(--text-gray-400);
  font-size: 0.95rem;
}

.np_gdpr-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.np_form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.np_form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-gray-100);
}

.np_form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-dark-850);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.np_form-control::placeholder {
  color: var(--text-gray-500);
}

.np_form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

select.np_form-control option {
  background-color: var(--bg-dark-900);
  color: var(--text-white);
}

.np_form-hint {
  font-size: 0.75rem;
  color: var(--text-gray-500);
}

.np_info-notice {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-gray-300);
}

.np_info-icon {
  color: var(--primary-400);
  font-weight: 700;
}

.np_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.np_btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--text-white);
  width: 100%;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.np_btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.np_btn-primary:active {
  transform: translateY(0);
}

.np_form-message {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.np_form-message.np_success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary-500);
  color: var(--primary-400);
}

/* --------------------------------------------------------------------------
   8. Process Steps Timeline
   -------------------------------------------------------------------------- */
.np_process-wrapper {
  max-width: 48rem;
  margin: 0 auto;
}

.np_process-header {
  text-align: center;
  margin-bottom: 3rem;
}

.np_process-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.np_process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.np_step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
}

.np_step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-400);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.np_step-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.np_step-content p {
  font-size: 0.9rem;
  color: var(--text-gray-400);
}

.np_contact-dpo {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--text-gray-400);
}

.np_contact-dpo a {
  color: var(--primary-400);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .np_hero-title {
    font-size: 2rem;
  }

  .np_grid-3 {
    grid-template-columns: 1fr;
  }
}
