/* ── Reset & Custom Cursors ───────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* macOS Black Custom Cursors */
html, body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 3L18.5 15.2H12.2L9.5 21.5L5.5 3Z' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto;
}
a, button, input[type="radio"], input[type="checkbox"], select, [data-nav], [data-mobilenav], .cursor-pointer {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 11V4.5a1.5 1.5 0 0 1 3 0V11m0-5.5a1.5 1.5 0 0 1 3 0v4m0-3a1.5 1.5 0 0 1 3 0v6c0 3-2 5-5 5H8.5c-3 0-5-2-5-5V9.5a1.5 1.5 0 0 1 3 0V11' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 10 2, pointer !important;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], textarea {
  cursor: text !important;
}

/* ── Premium Apple/SaaS Monochrome Theme ─────────────────────────────────── */
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-hover: #e5e5ea;
  --border: #e5e5ea;
  --text: #1d1d1f;
  --text-muted: #86868b;
  --accent: #000000;
  --accent-fg: #ffffff;
  --glass: rgba(255, 255, 255, 0.75);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
html.dark {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-hover: #2c2c2e;
  --border: #38383a;
  --text: #f5f5f7;
  --text-muted: #86868b;
  --accent: #ffffff;
  --accent-fg: #000000;
  --glass: rgba(0, 0, 0, 0.75);
  --shadow: 0 4px 24px rgba(255, 255, 255, 0.04);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(30px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.page-fade { animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Form Elements ───────────────────────────────────────────────────────── */
input, select, textarea {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent) !important;
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted) !important; }

/* ── Components ──────────────────────────────────────────────────────────── */
.glass-nav {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.3s;
}
.btn-primary:hover:not(:disabled) { transform: scale(1.02); opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-outline:hover:not(:disabled) { background: var(--surface); border-color: var(--text); }
.btn-outline:disabled { opacity: 0.5; cursor: not-allowed; }

.card-minimal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
