/* ===========================================
   skipQs - Shared Professional Styles
   Mobile-first, consistent design system
=========================================== */

:root {
  --primary: #002f34;
  --primary-light: #004d57;
  --accent: #23e5db;
  --bg: #f7f8f8;
  --bg-white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --yellow: #ffce32;
  --success: #059669;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --nav-bg: #0f172a;
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Professional Navbar */
.pro-nav {
  background: var(--nav-bg);
  color: white;
  padding: 0.875rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  padding-top: calc(0.875rem + var(--safe-top));
}

.pro-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pro-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
}

.pro-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pro-nav-links a {
  color: rgba(255,255,255,0.95);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.pro-nav-links a:hover { background: rgba(255,255,255,0.1); }

.pro-nav-links a.btn-nav {
  background: rgba(255,255,255,0.2);
  font-weight: 600;
}

/* Card styles */
.pro-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9375rem;
}

.pro-btn-primary {
  background: var(--primary);
  color: white;
}

.pro-btn-primary:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* Form inputs */
.pro-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pro-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,47,52,0.1);
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding-bottom: var(--safe-bottom);
}

@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; justify-content: space-around; padding: 8px 0; }
  body { padding-bottom: 70px; }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 12px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.mobile-nav-item span { font-size: 1.25rem; margin-bottom: 2px; }
.mobile-nav-item.active { color: var(--primary); font-weight: 600; }

/* Container */
.pro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) { .pro-container { padding: 0 24px; } }
