@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

/* ==========================================
   DESIGN SYSTEM VARIABLES & THEME DEFINITIONS
   ========================================== */
:root {
  /* Color Palette (NBY IT Official Brand Theme - Light Studio Layout) */
  --bg-dark: #fafafc;                 /* Crisp light slate background */
  --bg-card: rgba(255, 255, 255, 0.85); /* Premium light glass card */
  --bg-card-hover: rgba(248, 250, 252, 0.95);
  --bg-input: #ffffff;                /* Clean white inputs */
  
  --primary-blue: #11224E;            /* Corporate Navy Primary */
  --primary-hover: #1e3a80;
  --accent-purple: #FF7D40;           /* Corporate Sunset Orange Highlight */
  --accent-purple-hover: #e56d34;
  
  /* Text Colors (High Contrast Slate) */
  --text-white: #0f172a;              /* Deep slate/black for headings */
  --text-primary: #334155;            /* Mid slate for primary text */
  --text-secondary: #475569;          /* Slate grey for subtext */
  --text-muted: #94a3b8;              /* Soft slate grey for borders/placeholders */
  
  /* Status Colors */
  --status-success: #10b981;
  --status-success-bg: rgba(16, 185, 129, 0.08);
  --status-error: #ef4444;
  --status-error-bg: rgba(239, 68, 68, 0.08);
  --status-warning: #FF7D40;
  --status-warning-bg: rgba(255, 125, 64, 0.08);
  
  /* Borders and Gradients */
  --border-glow: rgba(255, 125, 64, 0.2);
  --border-light: rgba(17, 34, 78, 0.08); /* Subtle navy border line */
  --border-focus: #FF7D40;
  
  --gradient-hero: linear-gradient(135deg, #11224E 0%, #FF7D40 100%);
  --gradient-card: linear-gradient(180deg, rgba(17, 34, 78, 0.01) 0%, rgba(17, 34, 78, 0.03) 100%);
  
  /* Layout & Spacing */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  --shadow-sm: 0 2px 8px rgba(17, 34, 78, 0.03);
  --shadow-md: 0 16px 48px -12px rgba(17, 34, 78, 0.08); /* Premium soft shadow */
  --shadow-glow: 0 10px 30px -5px rgba(255, 125, 64, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom background ambient glow blobs */
body::before, body::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.06; /* Low opacity for pristine light background */
  pointer-events: none;
}

body::before {
  top: 10%;
  left: -100px;
  background: var(--primary-hover);
}

body::after {
  bottom: 20%;
  right: -100px;
  background: var(--accent-purple);
}

/* Focus indicator reset for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 4px;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
}

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

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #FF7D40 0%, #e56d34 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #11224E 0%, #FF7D40 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 125, 64, 0.2);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}

.logo-text span {
  color: var(--accent-purple);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--status-success);
  background: var(--status-success-bg);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-success);
  animation: pulse-dot 2s infinite;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 60px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-tag {
  background: rgba(255, 125, 64, 0.08);
  border: 1px solid rgba(255, 125, 64, 0.15);
  color: #e56d34;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 520px;
}

.hero-visual {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.hero-visual:hover img {
  transform: scale(1.03);
}

/* Subtle gradient shadow for hero image inside white layout */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(17, 34, 78, 0.05) 100%);
  pointer-events: none;
}

/* ==========================================
   SECTION: WHAT'S INCLUDED
   ========================================== */
.included-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.included-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.included-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-card);
  opacity: 0.5;
  pointer-events: none;
}

.included-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 125, 64, 0.3);
  box-shadow: var(--shadow-md);
  background: var(--bg-input);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 125, 64, 0.08);
  border: 1px solid rgba(255, 125, 64, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.included-card:hover .card-icon {
  background: rgba(255, 125, 64, 0.15);
  border-color: var(--accent-purple);
  color: var(--accent-purple-hover);
  transform: rotate(5deg) scale(1.05);
}

.included-card h3 {
  font-size: 1.25rem;
  color: var(--text-white);
}

.included-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================
   SECTION: CHOOSE YOUR SERVICE
   ========================================== */
.services-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 34, 78, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-normal);
}

.service-card p {
  font-size: 0.8125rem;
  line-height: 1.4;
  opacity: 0.9;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 125, 64, 0.3);
  background: var(--bg-card-hover);
}

/* Active Service Tier State */
.service-card.active {
  background: rgba(255, 125, 64, 0.08);
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(255, 125, 64, 0.15);
}

.service-card.active .service-card-icon {
  background: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 125, 64, 0.3);
}

.service-card.active h3 {
  color: var(--accent-purple-hover);
}

/* Mobile service accordion fallback styled specifically */
.mobile-service-accordion {
  display: none;
}

/* ==========================================
   SPLIT LAYOUT: FORM & SIDEBAR PREVIEW
   ========================================== */
.interactive-playground {
  padding: 60px 0 100px 0;
  border-top: 1px solid var(--border-light);
}

.playground-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: start;
}

/* PROGRESSIVE DISCLOSURE FORM */
.glass-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: border-color var(--transition-normal);
}

.form-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 125, 64, 0.08);
  border: 1px solid rgba(255, 125, 64, 0.15);
  color: var(--accent-purple);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.glass-form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

/* Form Steps Setup */
.form-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-step.step-2 {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  border-top: 1px dashed var(--border-light);
  padding-top: 0;
  margin-top: 0;
}

.form-step.step-2.expanded {
  max-height: 1000px;
  opacity: 1;
  padding-top: 24px;
  margin-top: 20px;
}

/* Input Fields Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group label span.required {
  color: var(--status-error);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: var(--transition-fast);
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(17, 34, 78, 0.12);
  border-radius: var(--border-radius-md);
  padding: 14px 16px 14px 44px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:hover {
  border-color: rgba(17, 34, 78, 0.25);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(255, 125, 64, 0.15);
  background: #ffffff;
}

.form-input:focus ~ .input-icon {
  color: var(--accent-purple);
}

/* Specific Style for Select input */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.input-wrapper::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--text-muted);
  position: absolute;
  right: 16px;
  pointer-events: none;
}

.input-wrapper.no-arrow::after {
  content: none;
}

/* File Drag & Drop Styling */
.upload-container {
  border: 2px dashed rgba(17, 34, 78, 0.15);
  border-radius: var(--border-radius-md);
  padding: 24px 16px;
  text-align: center;
  background: rgba(17, 34, 78, 0.01);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.upload-container:hover, .upload-container.dragover {
  border-color: var(--accent-purple);
  background: rgba(255, 125, 64, 0.03);
}

.upload-container input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-icon {
  font-size: 2rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.upload-container:hover .upload-icon {
  color: var(--accent-purple);
  transform: translateY(-2px);
}

.upload-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.upload-text span {
  color: var(--accent-purple);
  font-weight: 600;
}

.upload-limits {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* File list display under upload */
.uploaded-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 34, 78, 0.03);
  border: 1px solid rgba(17, 34, 78, 0.06);
  border-radius: var(--border-radius-sm);
  padding: 8px 12px;
  font-size: 0.8125rem;
}

.file-details {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.file-details span.file-name {
  color: var(--text-white);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 250px;
}

.file-details span.file-size {
  color: var(--text-muted);
}

.file-remove {
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.file-remove:hover {
  color: var(--status-error);
}

/* Textarea character count overlay */
.textarea-container {
  position: relative;
}

.textarea-container textarea {
  resize: vertical;
  min-height: 100px;
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-top: -4px;
}

.char-counter.warning {
  color: var(--status-warning);
}

.char-counter.error {
  color: var(--status-error);
}

/* Desired Format - custom pills selection */
.pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-label {
  background: rgba(17, 34, 78, 0.03);
  border: 1px solid rgba(17, 34, 78, 0.12);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  color: var(--text-secondary);
}

.pill-label:hover {
  border-color: rgba(17, 34, 78, 0.25);
  background: rgba(17, 34, 78, 0.06);
}

.pill-checkbox:checked + .pill-label {
  background: rgba(255, 125, 64, 0.08);
  border-color: var(--accent-purple);
  color: var(--accent-purple-hover);
}

/* Deadline selectors */
.deadline-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.deadline-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.deadline-label {
  background: rgba(17, 34, 78, 0.03);
  border: 1px solid rgba(17, 34, 78, 0.12);
  border-radius: var(--border-radius-md);
  padding: 14px;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  user-select: none;
}

.deadline-label:hover {
  border-color: rgba(17, 34, 78, 0.25);
  background: rgba(17, 34, 78, 0.06);
}

.deadline-radio:checked + .deadline-label {
  background: rgba(255, 125, 64, 0.08);
  border-color: var(--accent-purple);
}

.deadline-label span.time {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-white);
}

.deadline-radio:checked + .deadline-label span.time {
  color: var(--accent-purple-hover);
}

.deadline-label span.desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Real-time Field Errors */
.form-group.has-error .form-input {
  border-color: var(--status-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group.has-error .input-icon {
  color: var(--status-error);
}

.error-message {
  font-size: 0.75rem;
  color: var(--status-error);
  display: none;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.form-group.has-error .error-message {
  display: flex;
}

/* Form Trust Badges Footer */
.form-trust-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-ssl-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.form-ssl-badge span.lock-icon {
  color: var(--status-success);
}

.form-trust-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.6;
  transition: var(--transition-normal);
}

.form-trust-logos:hover {
  opacity: 0.9;
}

.form-trust-logo {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.form-trust-logo.clutch { color: var(--text-white); }
.form-trust-logo.upwork { color: #37a200; }
.form-trust-logo.fiverr { color: #1dbf73; }

/* PRIMARY CTA BUTTON STYLING */
.btn-submit-container {
  margin-top: 16px;
}

.btn-primary {
  width: 100%;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  background: var(--accent-purple);
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(255, 125, 64, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-purple-hover);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 125, 64, 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary span {
  position: relative;
  z-index: 2;
}

/* Button states (Loading, Success) */
.btn-primary.loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-primary.loading .btn-text,
.btn-primary.success .btn-text {
  display: none;
}

/* Loading 3-dot spinner */
.spinner-container {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.btn-primary.loading .spinner-container {
  display: flex;
}

.spinner-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: spinner-bounce 1.4s infinite ease-in-out both;
}

.spinner-dot:nth-child(1) { animation-delay: -0.32s; }
.spinner-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes spinner-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* SUCCESS MODE PANEL & FORM REDIRECT */
.form-success-wrapper {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 10px;
  animation: fade-in 0.5s ease forwards;
}

.form-success-wrapper.visible {
  display: flex;
}

.success-badge-circle {
  width: 72px;
  height: 72px;
  background: var(--status-success-bg);
  border: 2px solid var(--status-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--status-success);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  animation: bounce-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.form-success-wrapper h2 {
  font-size: 1.75rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.form-success-wrapper p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 24px;
}

/* ==========================================
   RIGHT SIDEBAR: DYNAMIC PREVIEW PANEL
   ========================================== */
.preview-panel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

/* Pricing / Order details panel */
.pricing-glow-card {
  background: linear-gradient(135deg, rgba(17, 34, 78, 0.02) 0%, rgba(255, 125, 64, 0.03) 100%);
  border: 1px solid rgba(255, 125, 64, 0.18);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.pricing-glow-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 125, 64, 0.08) 0%, rgba(255, 125, 64, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(17, 34, 78, 0.08);
  padding-bottom: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.pricing-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.pricing-title p {
  font-size: 0.8125rem;
}

.free-tag-badge {
  background: var(--accent-purple);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 6px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(255, 125, 64, 0.3);
  animation: glow-pulse 2s infinite alternate;
}

/* Pricing content parameters */
.pricing-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.875rem;
}

.spec-item span.label {
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-item span.value {
  color: var(--text-white);
  font-weight: 600;
  text-align: right;
  max-width: 200px;
}

.spec-item.scope-description {
  flex-direction: column;
  gap: 6px;
  background: rgba(17, 34, 78, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 12px;
}

.spec-item.scope-description span.value {
  text-align: left;
  max-width: 100%;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* SOCIAL PROOF TESTIMONIAL CAROUSEL */
.social-proof-carousel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  overflow: hidden;
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.carousel-slide-wrapper {
  position: relative;
  flex: 1;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.stars-rating {
  color: var(--accent-purple);
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-style: italic;
}

.testimonial-client {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-source {
  color: var(--accent-purple-hover);
}

/* Testimonial pagination indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-normal);
  opacity: 0.5;
}

.carousel-dot.active {
  background: var(--accent-purple);
  width: 18px;
  border-radius: 100px;
  opacity: 1;
}

/* FAQ DROPDOWN ACCORDION */
.sidebar-faq {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.faq-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.faq-item {
  border: 1px solid rgba(17, 34, 78, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(17, 34, 78, 0.2);
}

.faq-trigger {
  width: 100%;
  background: rgba(17, 34, 78, 0.01);
  border: none;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
  text-align: left;
  transition: var(--transition-normal);
}

.faq-trigger span.icon {
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  background: rgba(17, 34, 78, 0.01);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Active FAQ Item State */
.faq-item.active {
  border-color: rgba(255, 125, 64, 0.25);
  background: rgba(255, 125, 64, 0.02);
}

.faq-item.active .faq-trigger {
  color: var(--accent-purple-hover);
}

.faq-item.active .faq-trigger span.icon {
  transform: rotate(180deg);
  color: var(--accent-purple-hover);
}

.faq-item.active .faq-content {
  max-height: 200px;
  opacity: 1;
  padding: 0 16px 16px 16px;
}

/* ==========================================
   TRUST BADGES & SECURE FOOTER
   ========================================== */
.footer-brands {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
}

.footer-brands p {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.brands-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  opacity: 0.7;
  transition: var(--transition-normal);
}

.brands-flex:hover {
  opacity: 1;
}

.brand-logo-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
}

.brand-logo-item.clutch { color: var(--primary-blue); }
.brand-logo-item.fiverr { color: #1dbf73; }
.brand-logo-item.upwork { color: #37a200; }
.brand-logo-item.behance { color: #0057ff; }

/* Sub footer copyrights */
.sub-footer {
  border-top: 1px solid rgba(17, 34, 78, 0.1);
  padding: 24px 0;
  background: #0d121f; /* Premium dark navy footer anchor */
}

.sub-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.sub-footer-links {
  display: flex;
  gap: 24px;
}

.sub-footer-links a:hover {
  color: #ffffff;
}

/* ==========================================
   TOAST NOTIFICATION INGREDIENTS
   ========================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: #ffffff;
  border-left: 4px solid var(--status-success);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 30px rgba(17, 34, 78, 0.12);
  padding: 16px 20px;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25);
  color: var(--text-white);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  font-size: 1.25rem;
  color: var(--status-success);
}

.toast-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toast-title {
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.875rem;
}

.toast-message {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.toast-close {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-white);
}

/* ==========================================
   MOBILE STICKY CTA
   ========================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 12px 16px;
  z-index: 99;
  box-shadow: 0 -4px 20px rgba(17, 34, 78, 0.05);
}

.mobile-sticky-btn {
  width: 100%;
  min-height: 44px;
  background: var(--accent-purple);
  border: none;
  border-radius: var(--border-radius-md);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 4px 14px rgba(255, 125, 64, 0.3);
}

/* ==========================================
   CUSTOM ANIMATIONS KEYS
   ========================================== */
@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); opacity: 0.5; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes glow-pulse {
  0% { box-shadow: 0 4px 14px rgba(255, 125, 64, 0.2); border-color: rgba(255, 125, 64, 0.1); }
  100% { box-shadow: 0 4px 25px rgba(255, 125, 64, 0.4), 0 0 10px rgba(255, 125, 64, 0.15); border-color: rgba(255, 125, 64, 0.3); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); opacity: 0.8; }
  70% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (Breakpoints)
   ========================================== */

/* TABLET MODE (Under 1024px) */
@media screen and (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }
  
  .included-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .playground-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .preview-panel-sidebar {
    position: static;
  }
}

/* MEDIUM TABLET / MOBILE (Under 768px) */
@media screen and (max-width: 768px) {
  .services-grid {
    display: none; /* Switch to accordion or vertical stack on mobile */
  }
  
  .mobile-service-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
  
  .mobile-service-item {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  
  .mobile-service-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-white);
  }
  
  .mobile-service-trigger .trigger-icon {
    font-size: 1.25rem;
    margin-right: 12px;
    background: rgba(17, 34, 78, 0.04);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-service-trigger .trigger-arrow {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: transform var(--transition-normal);
  }
  
  .mobile-service-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    background: rgba(17, 34, 78, 0.01);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
  }
  
  .mobile-service-item.active {
    border-color: var(--accent-purple);
    background: rgba(255, 125, 64, 0.03);
  }
  
  .mobile-service-item.active .mobile-service-trigger {
    color: var(--accent-purple-hover);
  }
  
  .mobile-service-item.active .mobile-service-trigger .trigger-icon {
    background: var(--accent-purple);
    color: #ffffff;
  }
  
  .mobile-service-item.active .mobile-service-trigger .trigger-arrow {
    transform: rotate(180deg);
    color: var(--accent-purple-hover);
  }
  
  .mobile-service-item.active .mobile-service-content {
    max-height: 180px;
    opacity: 1;
    padding: 0 16px 16px 16px;
  }
  
  .deadline-selector-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .glass-form-card {
    padding: 24px;
  }
  
  .form-trust-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .form-trust-logos {
    width: 100%;
    justify-content: space-between;
  }
  
  .brands-flex {
    gap: 24px;
  }
  
  .sub-footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .sub-footer-links {
    justify-content: center;
  }
  
  .mobile-sticky-cta {
    display: block; /* Show sticky CTA on mobile */
  }
  
  body {
    padding-bottom: 70px; /* Offset for sticky button */
  }
}

/* MINIMUM MOBILE SPEC (Under 480px) */
@media screen and (max-width: 480px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .logo-text {
    font-size: 1.125rem;
  }
  
  .hero-section {
    padding: 40px 0 30px 0;
  }
  
  .site-header {
    padding: 12px 0;
  }
}
